function passw(){
	var Passed = 0
	var Name = new Array()
	Name[0] = "resources"	// add to these user names
	var Pas = new Array()
	Pas[0] = "tieflorida"
	var Usern = document.pass.usernam.value
	var Passs = document.pass.passwo.value
	for (var i = 0; i < 1; i++)   // the value after i < should be exactly the number of users
		{
		if (Usern == Name[i] && Passs == Pas[i])
			{
			open ('http://www.tieflorida.com/resources/resources.html') ;  
				Passed = 1
				break
		
			}

		else
			{
			Passed = 0
			}
		}
	if (Passed == 0)
		{alert("Incorrect username or password, if unsure contact Terri Ward at (407) 327-9472")}  // substitut this with your code
	}