
function validateForm( )
{
	var objFV = new FormValidator("frmContact");

	if (!objFV.validate("txtName", "B", "Please enter your Name."))
		return false;
		
	if (!objFV.validate("txtEmail", "B,E", "Please enter your valid Email Address."))
		return false;
		
	if (!objFV.validate("txtConfirmEmail", "B,E", "Please enter your valid Email Address."))
		return false;
		
	if (objFV.value("txtEmail") != objFV.value("txtConfirmEmail"))
	{
		alert("The Emails does not MATCH. Please re-type the correct Email Address.");

		objFV.focus("txtConfirmEmail");
		objFV.select("txtConfirmEmail");

		return false;
	}
		
	if (!objFV.validate("txtMessage", "B", "Please enter your Comments/Message."))
		return false;
		
	if (!objFV.validate("txtCode", "B,L(5)", "Please enter the valid Code as shown."))
		return false;

	return true;
}