
// Regular 
function checkUncheckAll(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall') {
		theForm[z].checked = theElement.checked;
		}
	}
}



// 1
function checkUncheckAll01(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall01') {
		theForm[z].checked = theElement.checked;
		}
	}
}


// 1a
function checkUncheckAll01a(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall01a') {
		theForm[z].checked = theElement.checked;
		}
	}
}


// 1b
function checkUncheckAll01b(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall01b') {
		theForm[z].checked = theElement.checked;
		}
	}
}


// 1c
function checkUncheckAll01c(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall01c') {
		theForm[z].checked = theElement.checked;
		}
	}
}


// 1d
function checkUncheckAll01d(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall01d') {
		theForm[z].checked = theElement.checked;
		}
	}
}


// 2
function checkUncheckAll02(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall02') {
		theForm[z].checked = theElement.checked;
		}
	}
}


// 3
function checkUncheckAll03(theElement) {
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++) {
		if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall03') {
		theForm[z].checked = theElement.checked;
		}
	}
}










						
