
function validateForm( )
{
	var objFV = new FormValidator("frmSignup");

	if (!objFV.validate("txtName", "B", "Please enter the User Name."))
		return false;
		
	if (!objFV.validate("txtEmail", "E,B", "Please enter the User valid Email Address."))
		return false;	

	if (!objFV.validate("txtUserName", "B,L(3)", "Please enter the valid User Name."))
		return false;		

	if (!objFV.validate("txtPassword", "B,L(4)", "Please enter the valid Password."))
		return false;
		
	if (!objFV.validate("txtConfirmPassword", "B,L(4)", "Please enter the valid Confirm Password."))
		return false;		

	if (objFV.value("txtPassword") != objFV.value("txtConfirmPassword"))
	{
		alert("The Password does not MATCH with the Confirm Password.");

		objFV.focus("txtConfirmPassword");
		objFV.select("txtConfirmPassword");

		return false;
	}	

	return true;
}