
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.phonem.value == "" && document.make_your_trip.phonel.value == "" ){
		alert("Atleast one phone number is required!")
		document.make_your_trip.phonem.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.arrival.value == "calender"){
		alert("Please let us knon your proposed travel start date !")
		document.make_your_trip.arrival.focus()
		 return false;
	}


if (document.make_your_trip.departure.value == "calender"){
		alert("Please specify the departure date !")
		document.make_your_trip.departure.focus()
		 return false;
	}


if (document.make_your_trip.plan.value == ""){
		alert("Please mention your travel plan !")
		document.make_your_trip.plan.focus()
		 return false;
	}

}



function small_form(){

if (document.small.name.value == ""){
		alert("Please let us know your name !")
		document.small.name.focus()
		return false;
	}


if(document.small.email.value.length==0){
		alert("Your email is required, please !")
                document.small.email.focus()
            return false;
                    }
       else{
            var maillength=document.small.email.value.length
            var posat=document.small.email.value.indexOf("@")   
            var posdot=document.small.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.small.email.focus()
        return false;
               }
}

	if (document.small.phone.value == "" ){
		alert("Phone number is required!")
		document.small.phone.focus()
		 return false;
	}

	if (document.small.address.value == ""){
		alert("Address is required !")
		document.small.address.focus()
		 return false;
	}


if (document.small.arrival.value == "calender"){
		alert("Please let us knon your proposed travel start date !")
		document.small.arrival.focus()
		 return false;
	}


if (document.small.departure.value == "calender"){
		alert("Please specify the departure date !")
		document.small.departure.focus()
		 return false;
	}


}
