<!--

	function fnCheckUncheckAll(thisCheckIndex, thisCheckList){
		/* this function checks/unchecks all checkboxes
			in the thisCheckList list depending on the status of a 
			CheckUncheckAll checkbox that was selected.

			Note: This function requires that there is at list
					one CheckUncheckAll checkbox in the form */
		var blnCheck;
			
		with (document.thisForm){
			if (CheckUncheckAll.length){
				// multiple Check All Checkboxes in the form
				blnCheck = CheckUncheckAll[thisCheckIndex].checked;
			}
			else{
				// there is only one Check All checkbox in the form
				blnCheck = CheckUncheckAll.checked;			
			}

			// check all parks
			if (thisCheckList.length){
				for (i = 0; i < thisCheckList.length; i ++){
					// multiple checkboxes
					thisCheckList[i].checked = blnCheck;
				}
			}
			else{
				// single checkbox
				thisCheckList.checked = blnCheck;
			}
			
			if (CheckUncheckAll.length){
				// make sure both CheckAll boxes are checked (top and bottom)
				for (i = 0; i < CheckUncheckAll.length; i ++){
					CheckUncheckAll[i].checked = blnCheck;
				}
			}
		}
	}
// -->