function Form_Validator(theForm)
{

  if (theForm.FirstName.value == "")
  {
    alert("Please enter your \"First Name\".");
    theForm.FirstName.focus();
    return (false);
  }
  
  if (theForm.LastName.value == "")
  {
    alert("Please enter your \"Last Name\".");
    theForm.LastName.focus();
    return (false);
  }
 
  if (theForm.Email.value == "")
  {
    alert("Please enter your \"Email Address\".");
    theForm.Email.focus();
    return (false);
  }

  var checkStr    = theForm.Email.value;
  var atFound     = false;
  var periodFound = false;

  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);

    if (ch == '@')
       atFound = true;
    else
    if (ch == '.' && atFound)
      periodFound = true;

  }
  if (!atFound || !periodFound)
  {
    alert("Please enter a valid \"Email Address\". Example: yourname@yourdomain.com.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Phone.value == "")
  {
    alert("Please enter your \"Phone Number\".");
    theForm.Phone.focus();
    return (false);
  }

  if (theForm.Phone.value.length < 8)
  {
    alert("Please complete your \"Phone Number\".");
    theForm.Phone.focus();
    return (false);
  }

   if (theForm.Message.value == "")
  {
    alert("Please enter your \"Message\".");
    theForm.Message.focus();
    return (false);
  }
    
  return (true);
}