function LoginLoad() {
	document.login.email.focus();
	return true;
}

function CheckEmail(the_script) {
	document.login.Action.value = "H";
	return true;
}

function Reset() {
document.login.email.value = "";
document.login.password.value = "";
//Assign the input focus to the first name
document.login.email.focus();
}

function IsEmail() {
var strTemp = document.login.email.value;
if (strTemp.length < 1) {
  alert("Please enter your User ID or email address");
  //reset to the original value in case modified by CheckEmail()
  document.login.Action.value == "L"
  document.login.email.focus();
  return false;
}
return true;
}

function IsPassword() {
var strTemp = document.login.password.value;
if (strTemp.length < 1) {
  alert("Please enter your password");
  document.login.password.focus();
  return false;
}
return true;
}


function FormSubmit() {
  if (IsEmail()) {
    if (document.login.Action.value == "H") {
		return true;
    }
    else {
		if (IsPassword()) {
		  return true;
		} 
    }
  }
  return false;
}

