attenzione, non puoi avere più checkbox con lo stesso id
comunque usando jQuery basterebbe fare qualcosa del tipo
codice:<label>seleziona/deseleziona tutto</label> <input type="checkbox" onchange="$('input[type=checkbox]').not(this).attr('checked', this.checked);" /> <hr /> <input type="checkbox" /> <input type="checkbox" /> <input type="checkbox" /> <input type="checkbox" /> <input type="checkbox" /> <input type="checkbox" /> ...