function simple_loan(){
	
	//inputs
	var loanAmt = document.getElementById("loanAmt");
	var interest = document.getElementById("interest");
	var payments = document.getElementById("years");
	
	var tax = document.getElementById("tax");
	var insurance = document.getElementById("insurance");
	
	// outputs	
	var outputPaymentAmt = document.getElementById("outputPaymentAmt");
	var outputTax = document.getElementById("outputTax");
	var outputInsuranceMo = document.getElementById("outputInsuranceMo");
	var outputTotal = document.getElementById("outputTotal");

	outputPaymentAmt.innerHTML = '';
	outputTax.innerHTML = '';
	outputInsuranceMo.innerHTML = '';
	outputTotal.innerHTML = '';
	
	//do math
	var totalPrin = Math.pow( (1+interest.value/1200), payments.value*12);
	totalPrin = totalPrin-1;
	totalPrin = interest.value/1200 + ((interest.value/1200) / totalPrin);
	totalPrin = totalPrin*loanAmt.value;

	outputPaymentAmt.innerHTML = Math.round(totalPrin*100)/100;

	var totalTax = tax.value/12;
	outputTax.innerHTML = Math.round(totalTax*100)/100;
	
	var totalInsurance = insurance.value/12;
	outputInsuranceMo.innerHTML = Math.round(totalInsurance*100)/100;
	
	var total = totalPrin + totalTax + totalInsurance;
	outputTotal.innerHTML = Math.round(total*100)/100;

}