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