// JavaScript Document
function formcheck(regform) {
   if (regform.uname.value == "")
  {
    alert("Please fill in your username. We need this to know which record to update.");
    return (false);
  }	
   if (regform.pwd.value == "")
  {
    alert("Please selct a new password. This should be something you can remember and not easy for others to guess.");
    return (false);
  }	
  if (regform.pwd.value != regform.pwd2.value) {
	alert("Your password entries do not match. Please try again.");
    return (false);
  }
    if (regform.email.value == "")
  {
    alert("Please fill in your email. We need this to send you password reminders in case you forget.");
    return (false);
  }	
    if (regform.response.value == "")
  {
    alert("Please select a security question and fill in your answer. This helps us identify you in case you forget your username.");
    return (false);
  }	

}

