function Validate()
{
	if(frmFeedback.txtName.value=="")
	{
		alert("Please enter name...");
		frmFeedback.txtName.focus();
		return false;
	}
	
	if(frmFeedback.txtCompanyName.value=="")
	{
		alert("Please enter company name...");
		frmFeedback.txtCompanyName.focus();
		return false;
	}
	
	if(frmFeedback.txtEmail.value=="")
	{
		alert("Please enter the email id...");
		frmFeedback.txtEmail.focus();
		return false;
	}
	else if (checkmail(frmFeedback.txtEmail.value) == false)
	{
			alert("Please enter valid email id...");
			frmFeedback.txtEmail.focus();
			return false;
	}
	if(frmFeedback.txtNumber.value=="")
	{
		alert("Please enter access code...");
		frmFeedback.txtNumber.focus();
		return false;
	}
	frmFeedback.submit();
}

var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i
function checkmail(eid)
{
	return emailfilter.test(eid)
}
