// JavaScript Document
<!--



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}



function contact_form(){

if (document.contact.name.value == ""){
		alert("Contact Person name required")
		document.contact.name.focus()
		return false;
	}

if (document.contact.address.value == ""){
		alert("PLease let us know your address")
		document.contact.address.focus()
		return false;
	}

if(document.contact.email.value.length==0){
		alert("Email feild is required !...")
                document.contact.email.focus()
            return false;
                    }
       else{
            var maillength=document.contact.email.value.length
            var posat=document.contact.email.value.indexOf("@")   
            var posdot=document.contact.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.contact.email.focus()
        return false;
               }
}


	if (document.contact.query.value == ""){
		alert("Please send us your query, Blank feild is not allowed")
		document.contact.query.focus()
	}
}








function make_trip(){

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;
	}

}
