function checkAll(obj_set_name){
	var checkboxes = document.getElementsByName(obj_set_name);
	var total_boxes = checkboxes.length;

	for(var i=0; i< total_boxes; i++ ){
		current_value = checkboxes[i].checked;
		if(current_value == false){
			checkboxes[i].checked = true;
		}
	}
}

function uncheckAll(obj_set_name){
	var checkboxes = document.getElementsByName(obj_set_name);
	var total_boxes = checkboxes.length;

	for(var i=0; i< total_boxes; i++ ){
		current_value = checkboxes[i].checked;
		if(current_value == true){
			checkboxes[i].checked = false;
		}
	}
}

/*
function checkAll(maxcount) {
   for (var j = 1; j <= maxcount; j++) {
	box = eval("document.checkboxform.list_items[]"); 
	if (box.checked == false) box.checked = true;
   }
}

function uncheckAll(maxcount) {
   for (var j = 1; j <= maxcount; j++) {
	box = eval("document.checkboxform.delete_cb" + j); 
	if (box.checked == true) box.checked = false;
   }
}

function switchAll(maxcount) {
for (var j = 1; j <= maxcount; j++) {
box = eval("document.checkboxform.delete_cb" + j); 
box.checked = !box.checked;
   }
}
*/


