function Validator(theForm)
{
  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Telephone.value == "")
  {
    alert("Please enter a value for the \"Telephone\" field.");
    theForm.Telephone.focus();
    return (false);
  }

  if (theForm.Address.value == "")
  {
    alert("Please enter a value for the \"Address\" field.");
    theForm.Address.focus();
    return (false);
  }

  if (theForm.TownCity.value == "")
  {
    alert("Please enter a value for the \"Town\" field.");
    theForm.TownCity.focus();
    return (false);
  }

  if (theForm.County.selectedIndex < 0)
  {
    alert("Please select one of the \"County\" options.");
    theForm.County.focus();
    return (false);
  }

  if (theForm.ProductInfo.value == "")
  {
    alert("Please enter a value for the \"Which products\" field.");
    theForm.ProductInfo.focus();
    return (false);
  }
  return (true);
}