
// make your trip

function make_your_trip_form(){

if (document.make_your_trip.name.value == ""){
		alert("Please let us know your name !")
		document.make_your_trip.name.focus()
		return false;
	}


if(document.make_your_trip.email.value.length==0){
		alert("Your email is required, please !")
                document.make_your_trip.email.focus()
            return false;
                    }
       else{
            var maillength=document.make_your_trip.email.value.length
            var posat=document.make_your_trip.email.value.indexOf("@")   
            var posdot=document.make_your_trip.email.value.indexOf(".") 
           if(posat <= 0 || posat ==maillength-1 || posdot < posat || posdot == maillength-1){
                 alert("Sorry! That dosen't seem to be a valid e-mail account...")
                document.make_your_trip.email.focus()
        return false;
               }
}


	if (document.make_your_trip.address.value == ""){
		alert("Address is required !")
		document.make_your_trip.address.focus()
		 return false;
	}

if (document.make_your_trip.zip.value == ""){
		alert("Zip is required !")
		document.make_your_trip.zip.focus()
		 return false;
	}


if (document.make_your_trip.start_date.value == ""){
		alert("Please let us knon your proposed travel start date !")
		document.make_your_trip.start_date.focus()
		 return false;
	}


if (document.make_your_trip.departure_date.value == ""){
		alert("Please specify the departure date !")
		document.make_your_trip.departure_date.focus()
		 return false;
	}


if (document.make_your_trip.travel_plan.value == ""){
		alert("Please mention your travel plan !")
		document.make_your_trip.travel_plan.focus()
		 return false;
	}

}

// end make trip