document.qform.onsubmit=function(){
	if (window.document.qform.Arrival_Day.value=="mm/dd/yyyy"){
		alert("Please enter your Check In Day !")
		window.document.qform.Arrival_Day.focus();
		return false;	
	}
	
	if(window.document.qform.Duration.value==""){
		alert("Please enter your duration of trip !");
		document.qform.Duration.focus();
		return false;	
	}
	if (window.document.qform.Name.value==""){
		alert("Please enter your Name!")
		window.document.qform.Name.focus();
		return false;	
	}
	
	if (window.document.qform.EmailID.value==""){
		alert("Please enter your email! you@yourdomain.com")
		window.document.qform.EmailID.focus();
		return false;	
	}
	if (window.document.qform.Phone.value==""){
		alert("Please enter your Phone!")
		window.document.qform.Phone.focus();
		return false;	
	}
	
	if (window.document.qform.Country.value==""){
		alert("Please enter your Country !")
		window.document.qform.Country.focus();
		return false;	
	}
	document.qform.action="thanks.asp";
	document.qform.method="post";
	document.qform.submit();
}

