If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Since you want to get all checkbox elements by name, the getElementsByName() function will get them for you.
Then you want to go through each checkbox, see if the checked attribute is true. If it is then you need to uncheck it by setting it to false.