<input type="checkbox" onclick="f=this.form.elements;v=this.checked;for(i =0;i<f.length;i++){if(f[i].type=='checkbox')f[i].checked=v;}">

ciao