function updateTotals() {	var adults = document.getElementById('formAdults').value;	var kids9 = document.getElementById('formChildren1-9').value;	var kids10 = document.getElementById('formChildren10-17').value;	var total = 0;		if(adults > 0) {		total +=  (adults * 100);		document.getElementById('formAdultsSubtotal').value = '$' + (adults * 100);	}	if(kids9 > 0) {		total +=  (kids9 * 60);		document.getElementById('formChildren1-9Subtotal').value = '$' + (kids9 * 60);	}	if(kids10 > 0) {		total +=  (kids10 * 80);		document.getElementById('formChildren10-17Subtotal').value = '$' + (kids10 * 80);	}		if(total > 0) {		document.getElementById('formTotal').value = '$' + total;	}	}window.onload = updateTotals;