/*
 * checkAll.js - copyright 2006 VTLS, Inc.
 * Utility methods used to check/uncheck the controller check box and
 * all the checkboxes in the form will be checked/unchecked.
 ***************************************************************************/
 
 
//allbox is the checkbox controller
function checkAll(form,allbox){
	for (var i = 0; i < form.elements.length; i++) {
		var e = form.elements[i];
		if (e.type == 'checkbox')
		{
			e.checked = allbox.checked;
		}
	}
}
