
/*******************************/
/****    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[7] = 'username'; pass[7] = 'password' "
(without "s)

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

// -------- Set Vars -----------
var users = new Array()
var pass = new Array()
	users[0] = 'Admin'; pass[0] = 'gass'	//Leave this Username for Webmaster (you) but change password
//Add/change user names here & Add/chage passwords here
	users[1] = 'prez'; pass[1] = '5linx'	//User1 name & password
	users[2] = 'vprez'; pass[2] = 'zacker'	//User2
	users[3] = 'treasurer'; pass[3] = 'souvenirs'	//User3
	users[4] = 'secretary'; pass[4] = '1994'	//ect
	users[5] = 'buckley'; pass[5] = 'gambling'
	users[6] = 'chenier'; pass[6] = 'compliance'
        users[7] = 'froelich'; pass[7] = 'canoe'	//User1 name & password
	users[8] = 'graves'; pass[8] = 'funnelcakes'	//User2
	users[9] = 'heyn'; pass[9] = 'travelingtaco'	//User3
	users[10] = 'janulionis'; pass[10] = 'woodcarvers'	//ect
	users[11] = 'moore'; pass[11] = 'republican'
	users[12] = 'murchie'; pass[12] = 'setuptona' 
        users[13] = 'osterman'; pass[13] = 'firetruck'	//User1 name & password
	users[14] = 'piwtorak'; pass[14] = 'ntsetup'	//User2
	users[15] = 'poole'; pass[15] = 'waterboy'	//User3
	users[16] = 'proefrock'; pass[16] = 'corky'	//ect
	users[17] = 'witt'; pass[17] = 'pizza'
	users[18] = 'calandra'; pass[18] = '45836'        
        users[19] = 'rescue'; pass[19] = 'engine#5'	          //bill hohl
	users[20] = 'carrousel'; pass[20] = 'roundhouse'	  //elizabeth
	users[21] = 'sweeney'; pass[21] = 'labatt'	          //dennis wozniak
	users[22] = 'kiwanis'; pass[22] = 'goldenrule'	          //david bernosky
	users[23] = 'starlight'; pass[23] = 'girls'               //debra thomas
	users[24] = 'souvenirs'; pass[24] = 'procurement'         //dennis lis
        users[25] = 'elks'; pass[25] = 'bpoe'	                  //diane ertel
	users[26] = 'golf'; pass[26] = 'holeinone'	          //dr joe
	users[27] = 'carnegie'; pass[27] = 'artdog'	          //ellen ryan
	users[28] = 'sutherlandserba'; pass[28] = 'fraternal'	  //frank serba
	users[29] = 'fairhavens'; pass[29] = 'freeballoons'       //helen zimmerman
	users[30] = 'historical'; pass[30] = 'society'            //jane penvose
        users[31] = 'b&gclubhardy'; pass[31] = 'footrace'	  //jeff hardy
	users[32] = 'ywca'; pass[32] = 'tremontst'	          //jill townson
	users[33] = 'littleleague'; pass[33] = 'baseball'	  //jim stein
	users[34] = 'dondavis'; pass[34] = 'parade'	          //joe boccolucci
	users[35] = 'boyscouts'; pass[35] = 'troup808'             //john moderacki
	users[36] = 'sutherlandallen'; pass[36] = 'lodge'         //lelan allen
        users[37] = 'tonarepublicans'; pass[37] = 'lawyer'	  //mark saltarelli
	users[38] = 'livehose'; pass[38] = 'engine#4'	          //marlise parkinson
	users[39] = 'pageant'; pass[39] = 'channel2'	          //maryalice demler
	users[40] = 'theman'; pass[40] = 'prezemeritus'	          //michael addy
	users[41] = 'fellowship'; pass[41] = 'ofgodsword'         //michael vantino
	users[42] = 'vietnamvets'; pass[42] = 'memorial'          //paul pietrowski
        users[43] = 'sikaflex'; pass[43] = 'petersoemannowner'	  //peter soemann
	users[44] = 'electrical'; pass[44] = 'sparky'	          //rich reeves
	users[45] = 'b7gclubbatel'; pass[45] = '4miler'	          //sandy batel
	users[46] = 'rotary'; pass[46] = 'humanitarian'	          //sandy brown
	users[47] = 'nor-ton'; pass[47] = 'millerpark'            //scott kiedrowski
	users[48] = 'ntdems'; pass[48] = 'roastbeef'              //shirley fiedyn
        users[49] = 'craftshow'; pass[49] = 'handmade'	          //sue brown
	users[50] = 'lodge247'; pass[50] = 'masonic'	          //thomas starnes
	users[51] = '1stmethodist'; pass[51] = 'parkinglot'	  //tom peters
	users[52] = 'shattuckfoundation'; pass[52] = 'staci&luke' //vickie shattuck
	users[53] = 'pocahontas'; pass[53] = 'friedbaloney'       //wanda chase   
	users[54] = 'innerharbor'; pass[54] = 'ellicottcreek'     //bill vaughan   
        users[55] = 'nthistorical'; pass[55] = 'oliverst'         //donna neal
        users[56] = 'oliverstpride'; pass[56] = 'sooscafe'        //linda jufer
        users[57] = 'innerharborjay'; pass[57] = 'trojanyachts'   //jay rowland
        users[58] = 'holyprotection'; pass[58] = 'mothermac'      //mother macaria
        users[59] = 'carcruise'; pass[59] = 'classics'            //debbie darling
        users[60] = 'troup8089'; pass[60] = 'eaglescout'          //bill simon
        users[61] = 'stjoes'; pass[61] = 'rcchurch'               //Bernadette Ball 

var wrighturl = 'memberinfo.html'	//Page you want the user to go to if Password is wright
var wrongurl = 'wrong.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