function verify_contact_us()
{
	if(Trim(document.contactus.txtName.value) == "")
	{
		alert("Please enter your name !!");
		document.contactus.txtName.focus();
		return false;
	}
	if(document.contactus.txtName.value == "")
	{
		alert("Please enter your name !!");
		document.contactus.txtName.focus();
		return false;
	}
	if(Trim(document.contactus.txtEmail.value)=="")
	{
		alert("Please enter Email !");
		document.contactus.txtEmail.focus();
		return false;
	}
	else if(!isEmail(document.contactus.txtEmail.value,1,0) || (document.contactus.txtEmail.value.length==0)){
		alert("Invalid Email Address !");
		document.contactus.txtEmail.focus();		
		return false;
	}
	if(Trim(document.contactus.txtVerifyEmail.value)=="")
	{
		alert("Please enter verify email!");
		document.contactus.txtVerifyEmail.focus();
		return false;
	}
	else if(!isEmail(document.contactus.txtVerifyEmail.value,1,0) || (document.contactus.txtVerifyEmail.value.length==0)){
		alert("Invalid verify Email Address !");
		document.contactus.txtVerifyEmail.focus();		
		return false;
	}
	if (document.contactus.txtEmail.value != document.contactus.txtVerifyEmail.value)
	{
		alert("Email and Verify Email do not match !");			
		document.contactus.txtVerifyEmail.select();
		document.contactus.txtVerifyEmail.focus();
		return false;
	}
	if(document.contactus.cmbsubject.value==0)
	{
		alert("Please select Subject !");
		document.contactus.cmbsubject.focus();
		return false;
	}
	if(Trim(document.contactus.txtcomment.value)=="")
	{
		alert("Please enter your comments!");
		document.contactus.txtcomment.focus();
		return false;
	}
	if(Trim(document.contactus.txtCode.value)=="")
	{
		alert("Please enter image code!");
		document.contactus.txtCode.focus();
		return false;
	}
	return true;
	
}
