//checks all CheckBoxes with the given name with the given value
function CheckAllCheckBoxes(checkControl,aspCheckBoxID)
{
	for(i = 0; i < document.forms[1].elements.length; i++)
	{
		elm = document.forms[1].elements[i]
		if (elm.type == 'checkbox')
		{
			if (elm.name.indexOf(aspCheckBoxID) > -1)
			{
				elm.checked = checkControl.checked;
			}
		}
	}
}
