function total_fields(f){
	re = /^\$|,/g;
	tv = "0.00";
	var field = "";
	var subtotal = 0;
	for(j = 0; j < f.elements.length; j++) {
		var e = f.elements[j];  // the element we're working on

		// We're only interested in <input type="text"> textfields
		if (e.type == "checkbox" && e.checked && e.value){ 
			subtotal += parseFloat(e.value);
		}
	}
	if (subtotal){ 
		f['Total'].value = '$' + subtotal;
	} else { 
		f['Total'].value = '';
		
	}
	




}
