perche' il tagName e' input non checkbox,
poi nel ciclo testi per verificare che il type sia =='checkbox' e procedi se lo e'
prova
codice:
function hide_show(){
var inps=document.getElementsByTagName('input');
var tabella=document.getElementById('report');
var str_visibili='';
var str_nascoste='';
for (var i=0;i<inps.length;i++){
if (inps[i].type=='checkbox'){
if(inps[i].checked==true){
str_visibili=str_visibili+' '+inps[i].getAttribute("id");
}else{
str_nascoste=str_visibili+' '+inps[i].getAttribute("id");
}
}
}
alert ('visibili: ' + str_visibili + ' - nascoste: '+str_nascoste);
}
ciao