function passw(){
	var Passed = 0
	var Name = new Array()
	Name[0] = "maryann"	// add to these user names 
        Name[1] = "steve"	// add to these user names
        Name[2] = "malcolm"
	var Pas = new Array()
	Pas[0] = "cavaliers"		// add to these passwords
	Pas[1] = "honeybet" 		// add to these passwords
        Pas[2] = "saints"
	var Usern = document.pass.usernam.value
	var Passs = document.pass.passwo.value
	for (var i = 0; i < 3; i++)   // the value after i < should be exactly the number of users
		{
		if (Usern == Name[i] && Passs == Pas[i])
			{
				self.location="membersnews.htm"  // substitut this with your code
				Passed = 1
				break
			}
		else
			{
			Passed = 0
			}
		}
	if (Passed == 0)
		{alert("Password Incorrect")}  // substitut this with your code
	}