function allselect()
{
try{
var checkedcount=0;
for(var i=0;i{
if(form1.orgIds[i].checked)
checkedcount++;
}
if(checkedcount==form1.orgIds.length)
{
for(var i=0;i{
form1.orgIds[i].checked=false;
}
}
else
{
for(var i=0;i{
form1.orgIds[i].checked=true;
}
}
if(form1.orgIds.checked==true)
form1.orgIds.checked=false;
else
form1.orgIds.checked=true;
}catch(ex){}
}
(全选)