function checkUncheckAll(theElement) {
	
	var theForm = theElement.form;
	
	for(z=0; z<theForm.length;z++){
	
    	if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall'){
	  		theForm[z].checked = theElement.checked;
	  	}
	
	}
}
	

