codice:
var cc = document.nomeForm.nomeCheckbox;
if(cc.checked) cc.click();