// Make sure the user enters a name, company and email address (the latter twice for accuracy)
function ValidateForm(form)
{
  if (form.Name.value=="" || form.Company.value=="" || form.Email1.value=="")
  {
        alert('Please fill in all fields before continuing');
        return false;
  }

  if (form.Email1.value!=form.EmailCopy.value)
  {
      alert('Your two email address entries must be identical');
      return false;
  }

  var e;
  e = form.Email1.value;
  if ((e.indexOf("@")<0) || (e.indexOf(".")<0))
  {
      alert('Your email address was entered incorrectly');
      return false;
  }

  return true;
}
