I have an issue where I need to set the value for checkboxes so that if the box is checked I pass a certain value and if the box is left unchecked i also pass a value.

Right now the code I have written is working fine if the box is checked. I am not getting anything to pass when the box is unchecked.

Here is the javascript i have written.

Code:
           <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
...