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/Org name \" field.");
    theForm.CompanyName.focus();
    return (false);
  }

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