function Form1_Validator(theForm)
{
 if (theForm.FirstName.value == "" || theForm.FirstName.value == "First Name")
  {
    alert("Please enter your first name.");
    theForm.FirstName.focus();
    return (false);
  }

 if (theForm.LastName.value == "" || theForm.LastName.value == "Last Name")
  {
    alert("Please enter your last name.");
    theForm.LastName.focus();
    return (false);
  }

 if (theForm.email.value == "" || theForm.email.value == "Email")
  {
    alert("Please enter your email address.");
    theForm.email.focus();
    return (false);
  }

  if (isEmail(theForm.email.value) == false)
  {
    alert("Please enter a valid email address.");
    theForm.email.focus();
    return (false);
  }

}

