function validateCheckArray(whichForm,whichCheckBoxArray,myMin){
	var _countChecked = 0;
	var dirty = 0;
	/* iterate through all the elements in the checkbox array */
	for(i=0;i<document[whichForm][whichCheckBoxArray].length;i++)
	{
		/* and check to see if each is checked */
		if(document[whichForm][whichCheckBoxArray][i].checked==true)
			/* if it is, increment a counter */
			{ _countChecked++; }
	}
	
	/* of is the count too low */
	if(_countChecked < myMin)
		{ 	dirty = 1;
			return dirty;}
	
}//end howManyChecked()

function checkAllArray(whichForm, whichCheckBoxArray){
	for(i=0;i<document[whichForm][whichCheckBoxArray].length;i++)
	{
		document[whichForm][whichCheckBoxArray][i].checked=true
	}//end for
}//end checkAllArray

function uncheckAllArray(whichForm, whichCheckBoxArray){
	for(i=0;i<document[whichForm][whichCheckBoxArray].length;i++)
	{
		document[whichForm][whichCheckBoxArray][i].checked=false
	}//end for
}//end checkAllArray