
function valida(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.acceso.value == "")
  	{
    	alert("You must enter your ACCESS CODE");
    	form.acceso.focus();
    	return (false);
  	}
	
	 if (form.inDate.value == "mm/dd/yyyy")
  	{
    	alert("You must enter your arrival date");
    	form.inDate.focus();
    	return (false);
  	}

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

if (form.trip_hotel_air.checked & form.outDate.value == "mm/dd/yyyy")
  	{
    	alert("You must enter your departure date");
    	form.outDate.focus();
    	return (false);
  	}
	
	if (form.trip_hotel_air.checked & form.tiempo2.value == "")
  	{
    	alert("You must select AM or PM");
    	form.tiempo2.focus();
    	return (false);
  	}

		return (true)
}
///VALIDA LA FORMA DE COTIZACION
function valida_quote(form){
	if (form.title.value == "0")
  	{
    	alert("Please select your title");
    	form.title.focus();
    	return (false);
  	}
	
	if (form.Your_Name.value == "")
  	{
    	alert("Please enter your full name");
    	form.Your_Name.focus();
    	return (false);
  	}
if (form.Email.value == "")
  	{
    	alert("Please enter your email address");
    	form.Email.focus();
    	return (false);
  	}
if (form.Email2.value == "")
  	{
    	alert("Please enter your alternate email address");
    	form.Email2.focus();
    	return (false);
  	}
	
if (form.airline.value == "")
  	{
    	alert("Please enter the airline name");
    	form.airline.focus();
    	return (false);
  	}	
if (form.flight.value == "")
  	{
    	alert("Please enter the flight number");
    	form.flight.focus();
    	return (false);
  	}	
if (form.Dcity.value == "")
  	{
    	alert("Please airport of origin");
    	form.Dcity.focus();
    	return (false);
  	}	
	
	
		return (true)
}
/// FIN DE VALICACION DE COTIZACION 
