function uncheckAll(field) // Sets all checkboxes in a form to be unchecked // Just pass the function the name of the field that needs setting // e.g. onClick=”uncheckAll(document.form.checkboxName);” { if (typeof(field.length) == “undefined”) { field.checked = false ; } for