How to Change the output?

I have a small business and we just started to offer financing. Our estimates are all paperless and I can add code to them. I was able to find the code for a payment calculator that works with estimate but it outputs a table where variables need to be filled out. The desired output would look like:

If you financed "Job:Total" for 132 months at 9.99% your payment would be ___
If you financed "Job:Total" for 47 months at 7.99% your payment would be____
If you financed "Job:Total" for 37 months at 5.99% your payment would be____

Here is the script for the table I'm currently using. I would really like to see how the output can be changed into something other than a table. Coding this stuff is really cool. I trying to learn as much as I can. Thank you for any help.

<script language="JavaScript">
<!--
function showpay() {
if ((document.calc.loan.value == null || document.calc.loan.value.length == 0) ||
(document.calc.months.value == null || document.calc.months.value.length == 0)
||
(document.calc.rate.value == null || document.calc.rate.value.length == 0))
{ document.calc.pay.value = "Incomplete data";
}
else
{
var princ = document.calc.loan.value;
var term = document.calc.months.value;
var intr = document.calc.rate.value / 1200;
document.calc.pay.value = princ * intr / (1 - (Math.pow(1/(1 + intr), term)));
}

// payment = principle * monthly interest/(1 - (1/(1+MonthlyInterest)*Months))

}

// -->
</script>

The results of this loan payment calculator are for comparison purposes only.
They will be a close approximation of actual loan
repayments if available at the terms entered, from a financial institution. This
is being
provided for you to plan your next loan application. To use, enter values
for the
Loan Amount, Number of Months for Loan, and the Interest Rate (e.g.
7.25), and
click the Calculate button. Clicking the Reset button will clear entered
values.
<p>
<center>
<form name=calc method=POST>
<table width=30% border=5>
<tr><th bgcolor="#aaaaaa" width=25%><font color=black>Description</font></th>
<th bgcolor="#aaaaaa" width=25%><font color=black>Data Entry</font></th></tr>
<tr><td bgcolor="#eeeee">Loan Amount</td><td bgcolor="#eeeee" align=right><input
type=text name=loan
size=10></td></tr>
<tr><td bgcolor="#eeeee">Loan Length in Months </td><td bgcolor="#eeeee"
align=right>(Terms 132mo 47mo 37mo)<input type=text
name=months size=3></td></tr>
<tr><td bgcolor="#eeeee">Interest Rate </td><td bgcolor="#eeeee" align=right>( Rates 9.99% 7.99% 5.99%)<input
type=text name=rate
size=3></td></tr>
<tr><td bgcolor="#eeeee">Monthly Payment</td><td bgcolor="#2E64FE"
align=right><em>Calculated</em> <input
type=text name=pay size=10></td></tr>
<tr><td bgcolor="#eeeee"align=center><input type=button onClick='showpay()'
value=Calculate></td><td bgcolor="#eeeeee" align=center><input type=reset
value=Reset></td></tr>
</table>
</form>
<font size=1>Enter only numeric values (no commas), using decimal points
where needed.<br>
Non-numeric values will cause errors.</font>
</center>