function Validator(theForm)
{
  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }
  
    if (theForm.CompanyName.value == "")
  {
    alert("Please enter a value for the \"Company/business name\" field.");
    theForm.CompanyName.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.Telephone.value == "")
  {
    alert("Please enter a value for the \"Telephone\" field.");
    theForm.Telephone.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.ProductName.value == "")
  {
    alert("Please enter a value for the \"Product or service name\" field.");
    theForm.ProductName.focus();
    return (false);
  }

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

  if (theForm.ProductRegularity.selectedIndex < 0)
  {
    alert("Please enter a value for the \"Product requirement regularity\" field.");
    theForm.ProductRegularity.focus();
    return (false);
  }

  if (theForm.Wantedtext.value == "")
  {
    alert("Please enter a value for the \"Your wanted information in text box\" field.");
    theForm.Wantedtext.focus();
    return (false);
  }
  return (true);
}