function validation(frmenquiry)
		{
			if(frmenquiry.txtname.value=="")
			{
			alert("Person Name is Required");
			frmenquiry.txtname.focus();
			return false;
			}

			if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(frmenquiry.txtemail.value)))
			{
			alert("Valid E-mail Address! Required")
			frmenquiry.txtemail.focus();
			return false;
			}
			
			if(frmenquiry.txtcity.value=="")
			{
			alert("City is Required");
			frmenquiry.txtcity.focus();
			return false;
			}			
			
			if(frmenquiry.txtcountry.value=="")
			{
			alert("Country of Residence is Required");
			frmenquiry.txtcountry.focus();
			return false;
			}			
			
			if (frmenquiry.txtphone.value=="")
			{
			alert("Phone Number is Required")
			document.frmenquiry.txtphone.focus();
			return false;
			}
			
			
			frmCheckform = document.frmenquiry;
			// assigh the name of the checkbox;
			var chks = document.getElementsByName('interests[]');

			var hasChecked = false;
			// Get the checkbox array length and iterate it to see if any of them is selected
			for (var i = 0; i < chks.length; i++)
			{
				if (chks[i].checked)
				{
		        hasChecked = true;
				break;
				}
			}
	
			// if ishasChecked is false then throw the error message
			if (!hasChecked)
			{
			alert("Please Select at least any one of your interest");
			chks[0].focus();
			return false;
			}

			if (frmenquiry.txttraveldreams.value=="")
			{
			alert("Please describe your dream holiday in India")
			document.frmenquiry.txttraveldreams.focus();
			return false;
			}	
			
			if (frmenquiry.captchacode.value=="")
			{
			alert("Captcha Code Required")
			document.frmenquiry.captchacode.focus();
			return false;
			}
			
			
			
			return true;
		}

