function calcPayment(obj) {
		
	var num = obj.options[obj.selectedIndex].value;
	var rate;
	var total;
	
	if (num == 1) {
		rate = '$30';
		total = $30;
	}
	else if (num >= 2 && num <= 3) {
		rate = '$25';
		total = num * 25;
	}
	if (num > 3) {
		rate = '$20';
		total = num * 20;
	}
	
	document.form1.rate.value = rate;
	document.form1.total.value = '$' + total;

}