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 * 110);		document.getElementById('formAdultsSubtotal').value = '$' + (adults * 110);	}	if(kids9 > 0) {		total +=  (kids9 * 70);		document.getElementById('formChildren1-9Subtotal').value = '$' + (kids9 * 70);	}	if(kids10 > 0) {		total +=  (kids10 * 90);		document.getElementById('formChildren10-17Subtotal').value = '$' + (kids10 * 90);	}		if(total > 0) {		document.getElementById('formTotal').value = '$' + total;	}	}window.onload = updateTotals;