
function validacion(form){
	if (form.adults.value == "")
  	{
    	alert("You must enter at least one Adult");
    	form.adults.focus();
    	return (false);
  	}
	 if (form.hotel_name.value == "")
  	{
    	alert("You must enter a Hotel name");
    	form.hotel_name.focus();
    	return (false);
  	}
	
	 if (form.Arrival_Date1.value == "")
  	{
    	alert("You must enter your arrival date");
    	form.Arrival_Date1.focus();
    	return (false);
  	}

	 if (form.tiempo1.value == "")
  	{
    	alert("You must Select AM or PM");
    	form.tiempo1.focus();
    	return (false);
  	}

if (form.trip_air_hotel.checked & form.Departure_Date1.value == "")
  	{
    	alert("You must enter your departure date");
    	form.Departure_Date1.focus();
    	return (false);
  	}
	
	if (form.trip_air_hotel.checked & form.tiempo2.value == "")
  	{
    	alert("You must select AM or PM");
    	form.tiempo2.focus();
    	return (false);
  	}
	if (form.trip_hotel_air.checked & form.Departure_Date1.value == "")
  	{
    	alert("You must enter your Departure Date");
    	form.Departure_Date1.focus();
//		form.Departure_Date.value="";
   	return (false);
 	}
	if (form.trip_hotel_air.checked & form.tiempo2.value == "")
  	{
    	alert("You must select AM or PM");
    		return (false);
  	}
		return (true)
}

//////////////////////////************************************/////////////////////////

function validacionmr(form){
	if (form.track.value == "")
  	{
    	alert("You must select your destination first");
    		return (false);
  	}
	
	if (form.adults.value == "")
  	{
    	alert("You must enter at least one Adult");
    	form.adults.focus();
    	return (false);
  	}
	 if (form.hotel_name.value == "")
  	{
    	alert("You must enter a Hotel name");
    	form.hotel_name.focus();
    	return (false);
  	}
	
	if (form.Arrival_Date1.value == "")
  	{
    	alert("You must enter your arrival date");
    	form.Arrival_Date1.focus();
    	return (false);
  	}
	 if (form.tiempo1.value == "")
  	{
    	alert("You must Select AM or PM");
    	form.tiempo1.focus();
    	return (false);
  	}
	
	if (form.Departure_Date1.value == "")
  	{
    	alert("You must enter your departure date");
    	form.Departure_Date1.focus();
    	return (false);
  	}
	 if (form.tiempo2.value == "")
  	{
    	alert("You must Select AM or PM for your departure");
    	form.tiempo2.focus();
    	return (false);
  	}

		return (true)
}

/////////////////////////////////*******************************///////////////////////////////

function validacionmrow(form){
	if (form.track.value == "")
  	{
    	alert("You must select your destination first");
    		return (false);
  	}
	
	if (form.adults.value == "")
  	{
    	alert("You must enter at least one Adult");
    	form.adults.focus();
    	return (false);
  	}
	 if (form.hotel_name.value == "")
  	{
    	alert("You must enter a Hotel name");
    	form.hotel_name.focus();
    	return (false);
  	}
	
	if (form.Arrival_Date1.value == "")
  	{
    	alert("You must enter your arrival date");
    	form.Arrival_Date1.focus();
    	return (false);
  	}
	 if (form.tiempo1.value == "")
  	{
    	alert("You must Select AM or PM");
    	form.tiempo1.focus();
    	return (false);
  	}
	
		return (true)
}
//////////////////////////************************************/////////////////////////

function validaciontours(form){
	if (form.track.value == "")
  	{
    	alert("You must select your destination first");
    		return (false);
  	}
	
	if (form.adults.value == "")
  	{
    	alert("You must enter at least one Adult");
    	form.adults.focus();
    	return (false);
  	}
	 if (form.hotel_name.value == "")
  	{
    	alert("You must enter a Hotel name");
    	form.hotel_name.focus();
    	return (false);
  	}
	
	if (form.Arrival_Date1.value == "")
  	{
    	alert("You must enter your arrival date");
    	form.Arrival_Date1.focus();
    	return (false);
  	}
	 	
	if (form.Departure_Date1.value == "")
  	{
    	alert("You must enter your tour date");
    	form.Departure_Date1.focus();
    	return (false);
  	}
	 if (form.tiempo2.value == "")
  	{
    	alert("You must Select AM or PM for your tour departure");
    	form.tiempo2.focus();
    	return (false);
  	}

		return (true)
}
//////////////**********************/////////////////
function validacionOW(form){
			
	if (form.id.value == "")
  	{
    	alert("You must select the hotel you are departing from.");
    		return (false);
  	}
	 		 	
	if (form.Departure_Date1.value == "")
  	{
    	alert("You must enter your departure date");
    	form.Departure_Date1.focus();
    	return (false);
  	}
	 if (form.tiempo2.value == "")
  	{
    	alert("You must Select AM or PM for your hotel pickup time");
    	form.tiempo2.focus();
    	return (false);
  	}

		return (true)
}

//////////////**********************/////////////////
function validacionreserva(form){
			
//	if (form.title.value == "")
//  	{
//    	alert("Please select your title");
//    		return (false);
 // 	}
	 		 	
	if (form.Your_Name.value == "")
  	{
    	alert("You must enter your first name");
    	form.Your_Name.focus();
    	return (false);
  	}
	 if (form.Your_Name1.value == "")
  	{
    	alert("You must enter your last name");
    	form.Your_Name1.focus();
    	return (false);
  	}
 if (form.Email.value == "")
  	{
    	alert("You must enter your email address.");
    	form.Email.focus();
    	return (false);
  	}
if (form.Email2.value == "")
  	{
    	alert("You must enter an alternate email address or re-type the same one if you don't have any other email address.");
    	form.Email2.focus();
    	return (false);
  	}
if (form.airline.value == "")
  	{
    	alert("You must enter the airline name.");
    	form.airline.focus();
    	return (false);
  	}
if (form.flight.value == "")
  	{
    	alert("You must enter your flight number.");
    	form.flight.focus();
    	return (false);
  	}

if (form.Dcity.value == "")
  	{
    	alert("You must enter the city from where you are arriving to Cancun.");
    	form.Dcity.focus();
    	return (false);
  	}

		return (true)
}

//////////////**********************/////////////////
function validacionHH(form){
			
	if (form.id.value == "")
  	{
    	alert("You must select the hotel you are departing from.");
    		return (false);
  	}
	 		 	
	if (form.Departure_Date1.value == "")
  	{
    	alert("You must enter your service date");
    	form.Departure_Date1.focus();
    	return (false);
  	}
	 if (form.tiempo2.value == "")
  	{
    	alert("You must Select AM or PM for your hotel pickup time");
    	form.tiempo2.focus();
    	return (false);
  	}

	 if (form.hotelrm.value == "")
  	{
    	alert("You must select your destination hotel");
    	form.hotelrm.focus();
    	return (false);
  	}


		return (true)
}

//////////////**********************/////////////////
function validacionHHRM(form){
			
	if (form.hotelrm.value == "")
  	{
    	alert("You must select the hotel you are departing from.");
    		return (false);
  	}
	 		 	
	if (form.Departure_Date1.value == "")
  	{
    	alert("You must enter your service date");
    	form.Departure_Date1.focus();
    	return (false);
  	}
	 if (form.tiempo2.value == "")
  	{
    	alert("You must Select AM or PM for your hotel pickup time");
    	form.tiempo2.focus();
    	return (false);
  	}

	 if (form.id.value == "")
  	{
    	alert("You must select your destination hotel");
    	form.id.focus();
    	return (false);
  	}


		return (true)
}

