function Form_Validator(theForm)
{

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

  if (theForm.name.value.length < 5)
  {
    alert("Please enter at least 5 characters in 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.email.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"email\" field.");
    theForm.email.focus();
    return (false);
  }
  
   if (theForm.message.value == "")
  {
    alert("Please enter a value for the \"message\" field.");
    theForm.message.focus();
    return (false);
  }

  if (theForm.message.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"message\" field.");
    theForm.message.focus();
    return (false);
  }

  return (true);
}
