	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;
	  }
     }
    }
	
	
	function disableprovince(value) { 
		if(value != '001' ) { 
//			document.getElementbyId('ppr').style.display = "none";
			if (document.getElementById) { // DOM3 = IE5, NS6
				document.getElementById('ppr').style.display = 'none';
			} else {
				if (document.layers) { // Netscape 4
					document.ppr.display = 'none';
				}
				else { // IE 4
					document.all.ppr.style.display = 'none';
				}
			}
		}else {
//			document.getElementbyId('ppr').style.display = "block";
			if (document.getElementById) { // DOM3 = IE5, NS6
				document.getElementById('ppr').style.display = 'block';
			} else {
				if (document.layers) { // Netscape 4
					document.ppr.display = 'block';
				}
				else { // IE 4
					document.all.ppr.style.display = 'block';
				}
			}			
		}			
	 }