
<!--
function checkform(formvalue)
{
	var emailID=document.formvalue.email
	ok=true
	if(formvalue.name.value=="")
	{
		alert("Please enter your name.")
		formvalue.name.focus()
		ok=false
	}
	else if(formvalue.country.value=="")
	{
		alert("Please enter your country.")
		formvalue.country.focus()
		ok=false
	}
	else if(formvalue.email.value=="")
	{
		alert("Please enter your email.")
		formvalue.email.focus()
		ok=false
	}
	else if(formvalue.tel_no.value=="")
	{
		alert("Please enter your Phone No.")
		formvalue.tel_no.focus()
		ok=false
	}
	
	else if(formvalue.date_of_travel.value=="")
	{
		alert("Please select your arrival Day.")
		formvalue.date_of_travel.focus()
		ok=false
	}
	else if(formvalue.month_of_travel.value=="")
	{
		alert("Please select your arrival Month.")
		formvalue.month_of_travel.focus()
		ok=false
	}
	else if(formvalue.year_of_travel.value=="")
	{
		alert("Please select your arrival Year.")
		formvalue.year_of_travel.focus()
		ok=false
	}
	else if(formvalue.duration_of_travel.value=="")
	{
		alert("Please enter No. of Days.")
		formvalue.duration_of_travel.focus()
		ok=false
	}
	else if(formvalue.approx_budget_per_person_per_day.value=="")
	{
		alert("Please select your Budget in USD.")
		formvalue.approx_budget_per_person_per_day.focus()
		ok=false
	}
	else if(formvalue.no_of_adults.value=="")
	{
		alert("Please enter No. of adults.")
		formvalue.no_of_adults.focus()
		ok=false
	}
	else if(formvalue.no_of_childrens.value=="")
	{
		alert("Please enter No. of Children.")
		formvalue.no_of_childrens.focus()
		ok=false
	}
	else if(formvalue.other_requirements.value=="")
	{
		alert("Please specify Your Travel Plan.")
		formvalue.other_requirements.focus()
		ok=false
	}
	else if ((emailID.value==null)||(emailID.value==""))
	{
		alert("Please Enter your Email ID")
		emailID.focus()
		ok = false
	}
	else if (echeck(emailID.value)==false)
	{
		emailID.focus()
		ok = false
	}
	//return (true);
	return ok
}
function echeck(str) 
{
	var at="@"
	var dot="."
	var lat=str.indexOf(at)
	var lstr=str.length
	var ldot=str.indexOf(dot)
	if (str.indexOf(at)==-1){
	   alert("Invalid E-mail ID")
	   return false
	}

	if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
	   alert("Invalid E-mail ID")
	   return false
	}

	if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		alert("Invalid E-mail ID")
		return false
	}

	 if (str.indexOf(at,(lat+1))!=-1){
		alert("Invalid E-mail ID")
		return false
	 }

	 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		alert("Invalid E-mail ID")
		return false
	 }

	 if (str.indexOf(dot,(lat+2))==-1){
		alert("Invalid E-mail ID")
		return false
	 }
	
	 if (str.indexOf(" ")!=-1){
		alert("Invalid E-mail ID")
		return false
	 }
	 return true					
}
//-->

	function ValidateNumb(input,event)
	{
		var keyCode = event.which ? event.which : event.keyCode;
		if((parseInt(keyCode)>=48 && parseInt(keyCode)<=57) || (parseInt(keyCode)==47) || (parseInt(keyCode)==45))
		{
			return true;
		}
		return false;
	}


	function ValidateNuma(input,event)
	{
		var keyCode = event.which ? event.which : event.keyCode;
		if((parseInt(keyCode)>=65 && parseInt(keyCode)<=90) || (parseInt(keyCode)>=97 && parseInt(keyCode)<=122) || (parseInt(keyCode)==32) || (parseInt(keyCode)==46))
		{
			return true;
		}
		return false;
	}


	function ValidateNum(input,event){
		var keyCode = event.which ? event.which : event.keyCode;
		if((parseInt(keyCode)>=48 && parseInt(keyCode)<=57) || (parseInt(keyCode)==32) || (parseInt(keyCode)==43) || (parseInt(keyCode)==45)){
			return true;
		}
		return false;
	}

