function PassValidator(theForm)
{
  // Form Submit Validator
  if (theForm.email.value == "")
  {
    alert("Please enter your email address.");
    theForm.email.focus();
    return (false);
  } 
  else if (theForm.setwrd.value == "")
  {
    alert("Please enter your password.");
    theForm.setwrd.focus();
    return (false);
  } 
  return (true);
}

function UpdateValidator(theForm)
{
  // Form Submit Validator
  if (theForm.firstname.value == "")
  {
    alert("Please enter a First name.");
    theForm.firstname.focus();
    return (false);
  }
  else if (theForm.lastname.value == "")
  {
    alert("Please enter a Last name.");
    theForm.lastname.focus();
    return (false);
  } 
  else if (theForm.email.value == "")
  {
    alert("Please enter an email address.");
    theForm.email.focus();
    return (false);
  } 
  else if (theForm.password.value == "")
  {
    alert("Please enter a password address.");
    theForm.password.focus();
    return (false);
  }
  return (true);
}

function EmailAllValidator(theForm)
{
  // Form Submit Validator
  if (theForm.subject.value == "")
  {
    alert("Please enter a subject in the subject line.");
    theForm.subject.focus();
    return (false);
  }
  else if (theForm.message.value == "")
  {
    alert("Please enter your message before submitting.");
    theForm.message.focus();
    return (false);
  }
  return (true);
}

function SendPassValidator(theForm)
{
  // Form Submit Validator
  if (theForm.email.value == "")
  {
    alert("Please enter your email address.");
    theForm.email.focus();
    return (false);
  } 
  return (true);
}