
/**********************************************************************************************
***********************************************************************************************
**                                                                                           **
**  PIMSAT | Institute of Higher Education                                                   **
**  Version 1.0                                                                              **
**                                                                                           **
**  http://www.pimsat-khi.edu.pk                                                             **
**                                                                                           **
**  Copyright 2010 (C) SW3 Solutions                                                         **
**  http://www.sw3solutions.com                                                              **
**                                                                                           **
**  ***************************************************************************************  **
**                                                                                           **
**  Project Manager:                                                                         **
**                                                                                           **
**      Name  :  Muhammad Tahir Shahzad                                                      **
**      Email :  mtahirshahzad@hotmail.com                                                   **
**      Phone :  +92 333 456 0482                                                            **
**      URL   :  http://mts.sw3solutions.com                                                 **
**                                                                                           **
***********************************************************************************************
**********************************************************************************************/

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("txtSubject", "B", "Please enter the Message Subject."))
		return false;
		
	if (!objFV.validate("txtMessage", "B", "Please enter your Comments/Message."))
		return false;

	return true;
}
