function Form1_Validator(theForm)
{

 if (theForm.first_name.value == "")
  {
    alert("Please enter your first name.");
    theForm.first_name.focus();
    return (false);
  }

 if (theForm.last_name.value == "")
  {
    alert("Please enter your last name.");
    theForm.last_name.focus();
    return (false);
  }

 if (theForm.email.value == "")
  {
    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);
  }

 if (theForm.phone.value == "")
  {
     alert("Please enter your phone number.");
     theForm.phone.focus();
     return (false);
  }

}
