una cosa del genere?

codice:
function somma(v,s){
 var f=document.nomeform;
 if(s) f.c.value+=parseInt(v);
 else f.c.value-=parseInt(v);
}
da usare cosi':

codice:
<input type="checkbox" value="10" onclick="somma(this.value, this.checked);" name="c1"/>
ciao