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

	if (!objFV.validate("txtFriendsName", "B", "Please enter your Friend's Name."))
		return false;		
		
	if (!objFV.validate("txtFriendsEmail", "B,E", "Please enter your Friend's valid Email Address."))
		return false;
		
	if (!objFV.validate("txtYourName", "B", "Please enter your Name."))
		return false;		
		
	if (!objFV.validate("txtYourEmail", "B,E", "Please enter your valid Email Address."))
		return false;		
		
	if (!objFV.validate("txtMessage", "B", "Please enter your Message."))
		return false;
		
	if (!objFV.validate("txtSpamCode", "B,L(5)", "Please enter the valid Code as shown."))
		return false;

	return true;
}
