﻿function ToAirport()
{
  if (document.ToAirPort.FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.FirstName.focus();
	return false;
  }
  if (document.ToAirPort.LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.LastName.focus();
	return false;
  }
  if (document.ToAirPort.WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.WorkPhone.focus();
	return false;
  }
  if (document.ToAirPort.CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.CellPhone.focus();
	return false;
  }
  if (document.ToAirPort.Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.Email.focus();
	return false;
  }
  if (document.ToAirPort._FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort._FirstName.focus();
	return false;
  }
  if (document.ToAirPort._LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort._LastName.focus();
	return false;
  }
  if (document.ToAirPort._WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort._WorkPhone.focus();
	return false;
  }
  if (document.ToAirPort._CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort._CellPhone.focus();
	return false;
  }
   if (document.ToAirPort._Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort._Email.focus();
	return false;
  } 
    if (document.ToAirPort.PickupDate.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.PickupDate.focus();
	return false;
  }
    if (document.ToAirPort.AirlineFlight.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.AirlineFlight.focus();
	return false;
  }
    if (document.ToAirPort.AirlineDate.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.AirlineDate.focus();
	return false;
  }
    if (document.ToAirPort.DropOffTel.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.DropOffTel.focus();
	return false;
  }
    if (document.ToAirPort.DropOffAdd.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.ToAirPort.DropOffAdd.focus();
	return false;
  }

	var str;
	for(var i=0;i<document.ToAirPort.VehicleType.length;i++) 
	{ 
		if(document.ToAirPort.VehicleType[i].checked ==true) 
		str = document.ToAirPort.VehicleType[i].value; 	
		document.ToAirPort.Vehicle.value=str;
		if (str=="EconomyClass")
		{			
			document.ToAirPort.VehicleTypeValue.value = document.ToAirPort.EconomyClass.options[document.ToAirPort.EconomyClass.selectedIndex].value;	
			//alert("EconomyClass");
			//return true;
		}
		if (str=="BusinessClass")
		{
			document.ToAirPort.VehicleTypeValue.value = document.ToAirPort.BusinessClass.options[document.ToAirPort.BusinessClass.selectedIndex].value;	
			//alert("BusinessClass");
			//return true;
		}
		if (str=="LuxuryClass")
		{
 			document.ToAirPort.VehicleTypeValue.value = document.ToAirPort.LuxuryClass.options[document.ToAirPort.LuxuryClass.selectedIndex].value;	
			//alert("LuxuryClass");
			//return true;
		}
		if (str=="PassengerVan")
		{
			document.ToAirPort.VehicleTypeValue.value = document.ToAirPort.PassengerVan.options[document.ToAirPort.PassengerVan.selectedIndex].value;	
			//alert("PassengerVan");
			//return true;
		}
		if (str=="StretchLimousine")
		{
			document.ToAirPort.VehicleTypeValue.value = document.ToAirPort.Stretch.options[document.ToAirPort.Stretch.selectedIndex].value;	
			//alert("stretch");
			//return true;
		}
		if (str=="SUV")
		{
			document.ToAirPort.VehicleTypeValue.value = document.ToAirPort.Suv.options[document.ToAirPort.Suv.selectedIndex].value;	
			//alert("SUV");
			//return true;
		}
	}  
}

function FromAirport()
{
  if (document.FromAirPort.FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.FirstName.focus();
	return false;
  }
  if (document.FromAirPort.LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.LastName.focus();
	return false;
  }
  if (document.FromAirPort.WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.WorkPhone.focus();
	return false;
  }
  if (document.FromAirPort.CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.CellPhone.focus();
	return false;
  }
  if (document.FromAirPort.Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.Email.focus();
	return false;
  }
  if (document.FromAirPort._FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort._FirstName.focus();
	return false;
  }
  if (document.FromAirPort._LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort._LastName.focus();
	return false;
  }
  if (document.FromAirPort._WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort._WorkPhone.focus();
	return false;
  }
  if (document.FromAirPort._CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort._CellPhone.focus();
	return false;
  }
   if (document.FromAirPort._Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort._Email.focus();
	return false;
  } 
    if (document.FromAirPort.PickupDate.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.PickupDate.focus();
	return false;
  }
   if (document.FromAirPort.PickupTel.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.PickupTel.focus();
	return false;
  }
    if (document.FromAirPort.PickupAdd.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.PickupAdd.focus();
	return false;
  }
    if (document.FromAirPort.Flight.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.Flight.focus();
	return false;
  }
    if (document.FromAirPort.AirlineDate.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.FromAirPort.AirlineDate.focus();
	return false;
  }
  
	var str;
	for(var i=0;i<document.FromAirPort.VehicleType.length;i++) 
	{ 
		if(document.FromAirPort.VehicleType[i].checked ==true) 
		str = document.FromAirPort.VehicleType[i].value; 	
		document.FromAirPort.Vehicle.value=str;
		if (str=="EconomyClass")
		{			
			document.FromAirPort.VehicleTypeValue.value = document.FromAirPort.EconomyClass.options[document.FromAirPort.EconomyClass.selectedIndex].value;	
			//alert("EconomyClass");
			//return true;
		}
		if (str=="BusinessClass")
		{
			document.FromAirPort.VehicleTypeValue.value = document.FromAirPort.BusinessClass.options[document.FromAirPort.BusinessClass.selectedIndex].value;	
			//alert("BusinessClass");
			//return true;
		}
		if (str=="LuxuryClass")
		{
 			document.FromAirPort.VehicleTypeValue.value = document.FromAirPort.LuxuryClass.options[document.FromAirPort.LuxuryClass.selectedIndex].value;	
			//alert("LuxuryClass");
			//return true;
		}
		if (str=="PassengerVan")
		{
			document.FromAirPort.VehicleTypeValue.value = document.FromAirPort.PassengerVan.options[document.FromAirPort.PassengerVan.selectedIndex].value;	
			//alert("PassengerVan");
			//return true;
		}
		if (str=="StretchLimousine")
		{
			document.FromAirPort.VehicleTypeValue.value = document.FromAirPort.Stretch.options[document.FromAirPort.Stretch.selectedIndex].value;	
			//alert("stretch");
			//return true;
		}
		if (str=="SUV")
		{
			document.FromAirPort.VehicleTypeValue.value = document.FromAirPort.Suv.options[document.FromAirPort.Suv.selectedIndex].value;	
			//alert("SUV");
			//return true;
		}
	}  
}

function Rental()
{
  if (document.rental.FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.FirstName.focus();
	return false;
  }
  if (document.rental.LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.LastName.focus();
	return false;
  }
  if (document.rental.WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.WorkPhone.focus();
	return false;
  }
  if (document.rental.CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.CellPhone.focus();
	return false;
  }
  if (document.rental.Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.Email.focus();
	return false;
  }
  if (document.rental._FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental._FirstName.focus();
	return false;
  }
  if (document.rental._LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental._LastName.focus();
	return false;
  }
  if (document.rental._WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental._WorkPhone.focus();
	return false;
  }
  if (document.rental._CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental._CellPhone.focus();
	return false;
  }
   if (document.rental._Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental._Email.focus();
	return false;
  } 
    if (document.rental.PickupDate.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.PickupDate.focus();
	return false;
  }
    if (document.rental.District.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.District.focus();
	return false;
  }
    if (document.rental.PickupAdd.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.rental.PickupAdd.focus();
	return false;
  }
	var str;
	for(var i=0;i<document.rental.VehicleType.length;i++) 
	{ 
		if(document.rental.VehicleType[i].checked ==true) 
		str = document.rental.VehicleType[i].value; 	
		document.rental.Vehicle.value=str;
		if (str=="EconomyClass")
		{			
			document.rental.VehicleTypeValue.value = document.rental.EconomyClass.options[document.rental.EconomyClass.selectedIndex].value;	
			//alert("EconomyClass");
			//return true;
		}
		if (str=="BusinessClass")
		{
			document.rental.VehicleTypeValue.value = document.rental.BusinessClass.options[document.rental.BusinessClass.selectedIndex].value;	
			//alert("BusinessClass");
			//return true;
		}
		if (str=="LuxuryClass")
		{
 			document.rental.VehicleTypeValue.value = document.rental.LuxuryClass.options[document.rental.LuxuryClass.selectedIndex].value;	
			//alert("LuxuryClass");
			//return true;
		}
		if (str=="PassengerVan")
		{
			document.rental.VehicleTypeValue.value = document.rental.PassengerVan.options[document.rental.PassengerVan.selectedIndex].value;	
			//alert("PassengerVan");
			//return true;
		}
		if (str=="StretchLimousine")
		{
			document.rental.VehicleTypeValue.value = document.rental.Stretch.options[document.rental.Stretch.selectedIndex].value;	
			//alert("stretch");
			//return true;
		}
		if (str=="SUV")
		{
			document.rental.VehicleTypeValue.value = document.rental.Suv.options[document.rental.Suv.selectedIndex].value;	
			//alert("SUV");
			//return true;
		}
	}  
}

function CityTour()
{
  if (document.citytour.FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.FirstName.focus();
	return false;
  }
  if (document.citytour.LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.LastName.focus();
	return false;
  }
  if (document.citytour.WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.WorkPhone.focus();
	return false;
  }
  if (document.citytour.CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.CellPhone.focus();
	return false;
  }
  if (document.citytour.Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.Email.focus();
	return false;
  }
  if (document.citytour._FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour._FirstName.focus();
	return false;
  }
  if (document.citytour._LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour._LastName.focus();
	return false;
  }
  if (document.citytour._WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour._WorkPhone.focus();
	return false;
  }
  if (document.citytour._CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour._CellPhone.focus();
	return false;
  }
   if (document.citytour._Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour._Email.focus();
	return false;
  } 
    if (document.citytour.PickupDate.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.PickupDate.focus();
	return false;
  }
    if (document.citytour.Packages.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.Packages.focus();
	return false;
  }
    if (document.citytour.Service.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.Service.focus();
	return false;
  }
    if (document.citytour.PickupDistrict.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.PickupDistrict.focus();
	return false;
  }
    if (document.citytour.PickupAdd.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.citytour.PickupAdd.focus();
	return false;
  }

	var str;
	for(var i=0;i<document.citytour.VehicleType.length;i++) 
	{ 
		if(document.citytour.VehicleType[i].checked ==true) 
		str = document.citytour.VehicleType[i].value; 	
		document.citytour.Vehicle.value=str;
		if (str=="EconomyClass")
		{			
			document.citytour.VehicleTypeValue.value = document.citytour.EconomyClass.options[document.citytour.EconomyClass.selectedIndex].value;	
			//alert("EconomyClass");
			//return true;
		}
		if (str=="BusinessClass")
		{
			document.citytour.VehicleTypeValue.value = document.citytour.BusinessClass.options[document.citytour.BusinessClass.selectedIndex].value;	
			//alert("BusinessClass");
			//return true;
		}
		if (str=="LuxuryClass")
		{
 			document.citytour.VehicleTypeValue.value = document.citytour.LuxuryClass.options[document.citytour.LuxuryClass.selectedIndex].value;	
			//alert("LuxuryClass");
			//return true;
		}
		if (str=="PassengerVan")
		{
			document.citytour.VehicleTypeValue.value = document.citytour.PassengerVan.options[document.citytour.PassengerVan.selectedIndex].value;	
			//alert("PassengerVan");
			//return true;
		}
		if (str=="StretchLimousine")
		{
			document.citytour.VehicleTypeValue.value = document.citytour.Stretch.options[document.citytour.Stretch.selectedIndex].value;	
			//alert("stretch");
			//return true;
		}
		if (str=="SUV")
		{
			document.citytour.VehicleTypeValue.value = document.citytour.Suv.options[document.citytour.Suv.selectedIndex].value;	
			//alert("SUV");
			//return true;
		}
	}  
}

function Olympic()
{
  if (document.olympic.FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.FirstName.focus();
	return false;
  }
  if (document.olympic.LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.LastName.focus();
	return false;
  }
  if (document.olympic.WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.WorkPhone.focus();
	return false;
  }
  if (document.olympic.CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.CellPhone.focus();
	return false;
  }
  if (document.olympic.Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.Email.focus();
	return false;
  }
  if (document.olympic._FirstName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic._FirstName.focus();
	return false;
  }
  if (document.olympic._LastName.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic._LastName.focus();
	return false;
  }
  if (document.olympic._WorkPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic._WorkPhone.focus();
	return false;
  }
  if (document.olympic._CellPhone.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic._CellPhone.focus();
	return false;
  }
   if (document.olympic._Email.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic._Email.focus();
	return false;
  } 
    if (document.olympic.PickupDate.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.PickupDate.focus();
	return false;
  }
    if (document.olympic.PickupDistrict.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.PickupDistrict.focus();
	return false;
  }
    if (document.olympic.PickupAdd.value=="")
  {
    alert("Please fill out all required info (with * mark)!");
	document.olympic.PickupAdd.focus();
	return false;
  }

	var str;
	for(var i=0;i<document.olympic.VehicleType.length;i++) 
	{ 
		if(document.olympic.VehicleType[i].checked ==true) 
		str = document.olympic.VehicleType[i].value; 	
		document.olympic.Vehicle.value=str;
		if (str=="EconomyClass")
		{			
			document.olympic.VehicleTypeValue.value = document.olympic.EconomyClass.options[document.olympic.EconomyClass.selectedIndex].value;	
			//alert("EconomyClass");
			//return true;
		}
		if (str=="BusinessClass")
		{
			document.olympic.VehicleTypeValue.value = document.olympic.BusinessClass.options[document.olympic.BusinessClass.selectedIndex].value;	
			//alert("BusinessClass");
			//return true;
		}
		if (str=="LuxuryClass")
		{
 			document.olympic.VehicleTypeValue.value = document.olympic.LuxuryClass.options[document.olympic.LuxuryClass.selectedIndex].value;	
			//alert("LuxuryClass");
			//return true;
		}
		if (str=="PassengerVan")
		{
			document.olympic.VehicleTypeValue.value = document.olympic.PassengerVan.options[document.olympic.PassengerVan.selectedIndex].value;	
			//alert("PassengerVan");
			//return true;
		}
		if (str=="StretchLimousine")
		{
			document.olympic.VehicleTypeValue.value = document.olympic.Stretch.options[document.olympic.Stretch.selectedIndex].value;	
			//alert("stretch");
			//return true;
		}
		if (str=="SUV")
		{
			document.olympic.VehicleTypeValue.value = document.olympic.Suv.options[document.olympic.Suv.selectedIndex].value;	
			//alert("SUV");
			//return true;
		}
	}  
}


