function Validate()
{
	if(frmfeedback.txtName.value=="")
	{
		alert("Please enter the name");
		frmfeedback.txtName.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;
	}
	
	frmfeedback.submit();
}

var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i
function checkmail(eid)
{
	return emailfilter.test(eid)
}

