<!--
function Validate(theForm)
{
  if (theForm.TypeOfService.selectedIndex == 0)
  {
    alert("The first \"Select type of service\" option is not a valid selection.  Please choose one of the other options.");
    theForm.TypeOfService.focus();
    return (false);
  }

  if (theForm.TypeOfVehicle.selectedIndex == 0)
  {
    alert("The first \"Select type of vehicle\" option is not a valid selection.  Please choose one of the other options.");
    theForm.TypeOfVehicle.focus();
    return (false);
  }

  if (theForm.ReservationDate.value == "")
  {
    alert("Please enter a value for the \"Reservation Date\" field.");
    theForm.ReservationDate.focus();
    return (false);
  }

  if (theForm.DurationOfService.selectedIndex == 0)
  {
    alert("The first \"Select duration of service\" option is not a valid selection.  Please choose one of the other options.");
    theForm.DurationOfService.focus();
    return (false);
  }

  if (theForm.PickUpTime.value == "")
  {
    alert("Please enter a value for the \"Pick up time\" field.");
    theForm.PickUpTime.focus();
    return (false);
  }

  if (theForm.PickUpTime.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Pick up time\" field.");
    theForm.PickUpTime.focus();
    return (false);
  }

  if (theForm.PickUpAddress.value == "")
  {
    alert("Please enter a value for the \"Pick up address\" field.");
    theForm.PickUpAddress.focus();
    return (false);
  }

  if (theForm.PickUpAddress.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Pick up address\" field.");
    theForm.PickUpAddress.focus();
    return (false);
  }

  if (theForm.PickUpPhone.value == "")
  {
    alert("Please enter a value for the \"Pick up phone\" field.");
    theForm.PickUpPhone.focus();
    return (false);
  }

  if (theForm.PickUpPhone.value.length < 7)
  {
    alert("Please enter at least 7 characters in the \"Pick up phone\" field.");
    theForm.PickUpPhone.focus();
    return (false);
  }

  if (theForm.DropOffTime.value == "")
  {
    alert("Please enter a value for the \"Drop off time\" field.");
    theForm.DropOffTime.focus();
    return (false);
  }

  if (theForm.DropOffTime.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Drop off time\" field.");
    theForm.DropOffTime.focus();
    return (false);
  }

  if (theForm.DropOffAddress.value == "")
  {
    alert("Please enter a value for the \"Drop off address\" field.");
    theForm.DropOffAddress.focus();
    return (false);
  }

  if (theForm.DropOffAddress.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Drop off address\" field.");
    theForm.DropOffAddress.focus();
    return (false);
  }

  if (theForm.HowContact.selectedIndex == 0)
  {
    alert("The first \"How to contact you\" option is not a valid selection.  Please choose one of the other options.");
    theForm.HowContact.focus();
    return (false);
  }

  if (theForm.NumberOfPassengers.selectedIndex == 0)
  {
    alert("The first \"Number of people\" option is not a valid selection.  Please choose one of the other options.");
    theForm.NumberOfPassengers.focus();
    return (false);
  }

  if (theForm.CustomerName.value == "")
  {
    alert("Please enter a value for the \"Customer Name\" field.");
    theForm.CustomerName.focus();
    return (false);
  }

  if (theForm.CustomerName.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Customer Name\" field.");
    theForm.CustomerName.focus();
    return (false);
  }

  if (theForm.CompanyName.value == "")
  {
    alert("Please enter a value for the \"Company name\" field.");
    theForm.CompanyName.focus();
    return (false);
  }

  if (theForm.CompanyName.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Company name\" field.");
    theForm.CompanyName.focus();
    return (false);
  }

  if (theForm.Address.value == "")
  {
    alert("Please enter a value for the \"Address\" field.");
    theForm.Address.focus();
    return (false);
  }

  if (theForm.Address.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Address\" field.");
    theForm.Address.focus();
    return (false);
  }

  if (theForm.City.value == "")
  {
    alert("Please enter a value for the \"City\" field.");
    theForm.City.focus();
    return (false);
  }

  if (theForm.City.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"City\" field.");
    theForm.City.focus();
    return (false);
  }

  if (theForm.State.value == "")
  {
    alert("Please enter a value for the \"State\" field.");
    theForm.State.focus();
    return (false);
  }

  if (theForm.State.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"State\" field.");
    theForm.State.focus();
    return (false);
  }

  if (theForm.State.value.length > 2)
  {
    alert("Please enter at most 2 characters in the \"State\" field.");
    theForm.State.focus();
    return (false);
  }

  if (theForm.Zip.value == "")
  {
    alert("Please enter a value for the \"Zip Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

  if (theForm.Zip.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"Zip Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

  if (theForm.Zip.value.length > 10)
  {
    alert("Please enter at most 10 characters in the \"Zip Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

  if (theForm.PhoneNumber.value == "")
  {
    alert("Please enter a value for the \"Phone number\" field.");
    theForm.PhoneNumber.focus();
    return (false);
  }

  if (theForm.PhoneNumber.value.length < 7)
  {
    alert("Please enter at least 7 characters in the \"Phone number\" field.");
    theForm.PhoneNumber.focus();
    return (false);
  }

  if (theForm.EMmail.value == "")
  {
    alert("Please enter a value for the \"Current e-mail \" field.");
    theForm.EMmail.focus();
    return (false);
  }

  if (theForm.EMmail.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Current e-mail \" field.");
    theForm.EMmail.focus();
    return (false);
  }
  return (true);
}
//-->


