
function Form2_Validator(theForm)
{
  if (theForm.company.value == "")
  {
    alert("Please fill in your company name.");
    theForm.company.focus();
    return (false);
  }

  if (theForm.surname.value == "")
  {
    alert("Please fill in your first name.");
    theForm.surname.focus();
    return (false);
  }

  if (theForm.famname.value == "")
  {
    alert("Please fill in your last name.");
    theForm.famname.focus();
    return (false);
  }
  
  if (theForm.telephone.value == "")
  {
    alert("Please fill in your telephone number.");
    theForm.telephone.focus();
    return (false);
  }

  if (theForm.compemail.value == "")
  {
    alert("Please fill in your e-mail address.");
    theForm.compemail.focus();
    return (false);
  }
  
    return (true);
}

