function validate(){

var Ucraft = "crafts";
var Pcraft = "0786";
var RedirectTo = "index.htm";


	if((document.form1.u1.value == Ucraft) && (document.form1.p1.value == Pcraft))
	{
		window.location.href = RedirectTo ;
	}
	else
	{
		alert("Login Failed: User ID or password is invalid")
		return false;
	}

}