se frmCtrlPrz e' il nome del form
...
for (t=0;t<document.frmCtrlPrz.elements[nInp].length;t++){
if(document.frmCtrlPrz.elements[nInp][t].checked == true){
...