function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Name.value == "")
  {
    alert("Please enter your name.");
    theForm.Name.focus();
    return (false);
  }

if (theForm.Email.value == "")
  {
    alert("Please enter your Email address");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length < 6)
  {
    alert("The Email address you entered is invalid");
    theForm.Email.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@_-.";
  var checkStr = theForm.Email.value;
  var allValid = true;
  var validGroups = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }

  
  if (theForm.PickupDay)
{
  if (theForm.PickupDay.selectedIndex == 0 || theForm.PickupDay.selectedIndex == 1)
  {
    alert("The \"Day\" is not a  valid selection");
    document.forms.form.PickupDay.focus();
    return (false);
  }
    if (theForm.PickupMonth.selectedIndex == 0 || theForm.PickupMonth.selectedIndex == 1)
  {
    alert("The \"AMonth\" is not a  valid selection");
    document.forms.form.PickupMonth.focus();
    return (false);
  }
      if (theForm.PickupYear.selectedIndex == 0 || theForm.PickupYear.selectedIndex == 1)
  {
    alert("The \"Year\" is not a  valid selection");
    document.forms.form.PickupYear.focus();
    return (false);
  }
}

  if (theForm.DropoffDay)
{
    if (theForm.DropoffDay.selectedIndex == 0 || theForm.DropoffDay.selectedIndex == 1)
  {
    alert("The \"Day\" is not a  valid selection");
    document.forms.form.DropoffDay.focus();
    return (false);
  }
    if (theForm.DropoffMonth.selectedIndex == 0 || theForm.DropoffMonth.selectedIndex == 1)
  {
    alert("The \"Month\" is not a  valid selection");
    document.forms.form.Month.focus();
    return (false);
  }
      if (theForm.DropoffYear.selectedIndex == 0 || theForm.DropoffYear.selectedIndex == 1)
  {
    alert("The \"Year\" is not a  valid selection");
    document.forms.form.DropoffYear.focus();
    return (false);
  }
}
  

  
  return (true);
}

