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