I was not exactly sure how to phrase the title - so there you go. The issue is that I have a script that will add the correct number to the total, but if you choose another button within the radio group, it adds the new number as well as keeping the old number.

function checkTotal(addToTotal, callingName) {
	addToTotal = parseInt(addToTotal);
	thisForm = document.forms['makeCremation'][callingName];
	for (var i = 0; i < thisForm.length - 1; i++) {
		if(thisForm[i].checked) {
			sum = sum + parseInt(addToTotal);
		document.makeCremation.theTotal.value = sum.toFixed(2);
I then add the following line to the radio buttons:
onchange="checkTotal('<number I want to add>','<name of the calling radio group>');

I hope that makes sense. If anyone has any suggestions, please let me know.