function checkAlls(){
var form = document.docBasicInfoFormBean;
if(null == form.code){
return false;
}
if(form.code.length == null){
if(!form.code.disabled){
if(!form.checkAll.checked){
form.code.checked =false;
}else{
form.code.checked =true;
}
}
}
for(var i=0;i<form.code.length ;i++){
//alert(form.code[i].checked);
var code = form.code[i].value;
if(!form.code[i].disabled){
if(!form.checkAll.checked){
form.code[i].checked =false;
}else{
form.code[i].checked =true;
}
}
}
}
var form = document.docBasicInfoFormBean;
if(null == form.code){
return false;
}
if(form.code.length == null){
if(!form.code.disabled){
if(!form.checkAll.checked){
form.code.checked =false;
}else{
form.code.checked =true;
}
}
}
for(var i=0;i<form.code.length ;i++){
//alert(form.code[i].checked);
var code = form.code[i].value;
if(!form.code[i].disabled){
if(!form.checkAll.checked){
form.code[i].checked =false;
}else{
form.code[i].checked =true;
}
}
}
}