Sweet! Nice and tidy... > function allstates(state, o) { > > var i; > > for (i = 0; i< o.length; i++) { > o[i].checked = state; > } > > }