function Form1_Validator(theForm)
{

  if (theForm.name.value == "")
  {
    alert("Please enter a value for the \"name\" field.");
    theForm.name.focus();
    return (false);
  }

 if (theForm.email.value == "")
  {
    alert("Please enter a value for the \"email\" field.");
    theForm.email.focus();
    return (false);
  }

 if (theForm.comments.value == "")
  {
    alert("Please enter a value for the \"comments\" field.");
    theForm.comments.focus();
    return (false);
  }

  return (true);
}
