/*
'===========================================================================
'Name:			PrayerPartner.js
'Purpose:		Functions should be included on PrayerPartner.asp.
'
'Change History:
'DATE		AUTHOR			REQUEST #	DESCRIPTION
'6/28/2006	John Lamberton	W2C			Updated to for new contact form
'8/10/2006	Jacob Stuart	732			Changed TextSizeError to CommentsError
'										and check for SpecialInstructions
'===========================================================================
*/


	function validateForm(objForm) 
	{
		ValidateHaveErrors = 0;
		
		(objForm.cboPrayerCalendar.selectedIndex == 1)
		? blnReqEmail = false
		: blnReqEmail = true;
		
		ValidateContactForm(objForm);
		
		if (objForm.chkSpecialInstructions.checked) {
			ValidateTextArea(objForm.txtComments, "CommentsError", false);
		}
		
		if (ValidateHaveErrors) alert("You have entered invalid data in one or more fields.  Please review.");		
		return (!ValidateHaveErrors);
	}


