function total(inChk) { if (inChk.checked == true) { document.quiz.score.value = parseInt(document.quiz.score.value) + parseInt(inChk.value) } if (inChk.checked == false) { document.quiz.score.value = parseInt(document.quiz.score.value) - parseInt(inChk.value) } }
