
<!--
function Form_Validator(theForm)
{

  //Name:
    if (theForm.YourName.value == "")
    {
      alert("Please enter your \"Name\" .");
      theForm.YourName.focus();
      return (false);
    }

  //Email:
    var str=theForm.YourEmail.value
    var filter=/^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
      if (filter.test(str))
      testresults=true
      else{
      alert("Please input a valid email address!");
      return (false);
      }

  //YourCompany:
    if (theForm.YourCompany.value == "")
    {
      alert("Please enter youra \"Company/Organization\" name.");
      theForm.YourCompany.focus();
      return (false);
    }

  //Address:
    if (theForm.YourAddress.value == "")
    {
      alert("Please enter your \"Address\".");
      theForm.YourAddress.focus();
      return (false);
    }

  //City:
    if (theForm.YourCity.value == "")
    {
      alert("Please enter your \"City\".");
      theForm.YourCity.focus();
      return (false);
    }
  
  //State:
    if (theForm.YourState.value == "")
    {
      alert("Please enter your \"State\".");
      theForm.YourState.focus();
      return (false);
    }
  
  //Zip:
    if (theForm.Zip.value == "")
    {
      alert("Please enter your \"Zip Code\".");
      theForm.Zip.focus();
      return (false);
    }

  //OfficePhone:
    if (theForm.OfficePhone.value == "")
    {
      alert("Please enter your Phone number.");
      theForm.OfficePhone.focus();
      return (false);
    }

  //MaterialsDeadline:
    if (theForm.MaterialsDeadline.selectedIndex == 0)
    {
      alert("Please select the deadline for Ms. Lord \'s\ materials.");
      theForm.MaterialsDeadline.focus();
      return (false);
    }

  //Travel:
    if (theForm.Travel.selectedIndex == 0)
    {
      alert("Please select if travel included option.");
      theForm.Travel.focus();
      return (false);
    }

  //Honorarium:
    if (theForm.Honorarium.selectedIndex == 0)
    {
      alert("Please select Honorarium option.");
      theForm.Honorarium.focus();
      return (false);
    }

  //Decision TimeFrame:
    if (theForm.TimeFrame.selectedIndex == 0)
    {
      alert("Please select the decision time frame option.");
      theForm.TimeFrame.focus();
      return (false);
    }

  //EventName:
    if (theForm.EventName.value == "")
    {
      alert("Please enter your Event Name.");
      theForm.EventName.focus();
      return (false);
    }

  //EventType:
    if (theForm.EventType.value == "")
    {
      alert("Please enter your Event Type.");
      theForm.EventType.focus();
      return (false);
    }

  //TimeAlloted:
    if (theForm.TimeAlloted.selectedIndex == 0)
    {
      alert("Please select if Time Alloted option.");
      theForm.TimeAlloted.focus();
      return (false);
    }

//Script end
  return (true);
}
//-->

