function login (thisform) {
	// validate email
	if (thisform.email.value.length == 0 || thisform.email.value.indexOf("@",0) == -1 || thisform.email.value.indexOf(".",0) == -1) {
		alert("You must enter a valid email to proceed.");
		thisform.email.focus();
		thisform.email.select();
		return false;
	}
	if (thisform.password.value.length == 0) {
		alert("You must enter your password to proceed.");
		thisform.password.focus();
		thisform.password.select();
		return false;
	}
}
