function checkForm()
{
		with (window.document.frmEnquiry) {
		if (isEmpty(txtName, 'Enter Name')) {
			return;	
		} else if (isEmpty(txtAddress, 'Enter address')) {
			return;	
		}else if (isEmpty(txtContact, 'Enter contact number')) {
			return;		
		}else if (isNaN(txtContact.value)) {
			alert("Contact number should be numeric only");
			return;		
		} else if (isEmpty(txtEmail, 'Enter email address')) {
			return;		
		} else if (isEmpty(txtQuery, 'Enter query')) {
			return;	
		} else if (isEmpty(txtCaptcha, 'Please enter image code')) {
			return; 	
		} else {
			var emailID=txtEmail;
			if (echeck(emailID.value)==false){
			emailID.value="";
			emailID.focus();
			return;
			}
			submit();
		}
	}
}
	
