All your checkboxes should be named. Then reference each box as your would any form element.

document.formName.elementName.value

or
document.forms['formName'].elements['elementName'].value

or

document.getElementById('elementName').value

For the last reference, you also need to give your checkboxes unique id's.