function login_user()
	{		
		if(document.form1.username.value=="pwsamember")
		{
			var str_password = document.form1.password.value;
			
			switch (str_password)
			{
				case "wine2008" :
				window.location.href = "welcome.html";
				break;
				case "notapplicable" :
				window.location.href = "404.htm";
				break;
				case "notapplicable" :
				window.location.href = "404.htm";
				break;
				default :
				alert("Sorry, incorrect password.");
				break;
			}
		}
		else
		{
			alert("Invalid username.");
		}
		
	}