/*******************************/
/****    BCR PASSWORD BOX   ****/
/***    FREEWARE JS SCRIPT   ***/
/**     Fell free to edit     **/
/* But Please send ideas to me */
/**   at  benrob@talk21.com   **/
/*** IF USED ON YOUR WEBSITE ***/
/**** SEND ME AN E-MAIL AND ****/
/*****  GIVE ME THE CREDIT *****/
/******    E-mail me at   ******/
/*****  benrob@talk21.com  *****/
/*******************************/

/*
To add/change users & Passwords just change the users array 
and passwords were it tells you.

You can have as many/little as you like 
When you add a new user be sure to add a Pass word
so a new user would look like
" users[1] = 'username'; pass[1] = 'password' "
(without "s)

REMEMBER: Usernames & Passwords are case sensative so 'pass'
is different to 'Pass' & 'PaSs'
*/

// -------- Set Vars -----------
var users = new Array()
var pass = new Array()
	users[0] = 'Admin'; pass[0] = 'Pass'	

//Leave this Username for Webmaster (you) but change password
//Add/change user names here & Add/change passwords here

	users[1] = 'spiritpassages'; pass[1] = 'spiritpassages'	//User1 name & password
	users[2] = 'gentlebear'; pass[2] = 'U2bybldar'	//User2 name & password
	users[3] = 'thomasabraham'; pass[3] = 'thomasabraham'	//User3 name & password
	users[4] = 'gusives'; pass[4] = 'qigong50'	//User4 name & password
	users[5] = 'maxsydrune'; pass[5] = 'maxsydrune'	//User5 name & password
	users[6] = 'marialuisa'; pass[6] = 'borinquen'	//User6 name & password
	users[7] = 'bobroffman'; pass[7] = 'bubba8816'	//User7 name & password
	users[8] = 'silverwolf'; pass[8] = 'artemissp'	//User8 name & password
	users[9] = 'PamSorrentino'; pass[9] = 'Lazaris1'	//User9 name & password
        users[10] = 'fourwinds9694'; pass[10] = 'be1ieve2'	//User10 name & password

var wrighturl = 'members/index.html'	//Page you want the user to go to if Password is wright
var wrongurl = 'sorry.html'	//  "   "   "    "   "   "  "  "  "    "   "  "  wrong

//-----------------------------------------
//----------- Leave this alone ------------
function isPass(){
	var dn = document.nameenter
	userN = dn.usern.value
	passV = dn.pass.value
	if (userN.length < 1){ alert('Enter Username'); return false }
	if (passV.length < 1){ alert('Enter Password'); return false }
	for (var i = 0; i < users.length ; i++){
	if (users[i] == userN && pass[i] == passV){ location.href = wrighturl; return false}
	if (users[i] == userN && pass[i] != passV){ location.href = wrongurl; return false}
	}
	location.href = wrongurl
}
function list(){
	userO=window.open('about:blank','winID','height=400,width=200,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no')
	userO.document.write('<u><big> List Of Users </big></u><br> \n')
	for (var u = 0; u < users.length; u++){
		userO.document.write(' &raquo; ' + users[u] + "<br> \n")
	}
	userO.document.write('<a href="javascript:window.close()"> Close </a>')
}
//------------------------------------------
//------------------------------------------
//       DISCLAIMER
// USE SCRIPT AT OWN RISK
