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

  if (theForm.WhoAreYou.selectedIndex < 0)
  {
    alert("Please select one of the \"About you\" options.");
    theForm.WhoAreYou.focus();
    return (false);
  }

  if (theForm.County.selectedIndex < 0)
  {
    alert("Please select one of the \"County\" options.");
    theForm.County.focus();
    return (false);
  }

  if (theForm.HowDidYouFindUs.selectedIndex < 0)
  {
    alert("Please select one of the \"How did you find us?\" options.");
    theForm.HowDidYouFindUs.focus();
    return (false);
  }

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