<!-- Begin
function MakeArray(n) {
this.length = n;
for (var i = 1; i <= n; i++) {
this[i] = 0 }
return this
}
Pct = new MakeArray(6);
Pct[1] = ".03"
Pct[2] = ".05"
Pct[3] = ".08"
Pct[4] = ".10"
Pct[5] = ".12"
Pct[6] = ".15"
Pmts = new MakeArray(5);
Pmts[1] = "52"
Pmts[2] = "26"
Pmts[3] = "12"
Pmts[4] = "4"
Pmts[5] = "1"
function compute(form, mult){
Income = parseInt(form.income.value);
for (i=1; i < 6; i++){
if (form[i+"ThreePct"].value==null||form[i+"ThreePct"].value.length==0){
form[i+"ThreePct"].value=0;}
if (form[i+"FivePct"].value==null||form[i+"FivePct"].value.length==0){
form[i+"FivePct"].value=0;}
if (form[i+"EightPct"].value==null||form[i+"EightPct"].value.length==0){
form[i+"EightPct"].value=0;}
if (form[i+"TenPct"].value==null||form[i+"TenPct"].value.length==0){
form[i+"TenPct"].value=0;}
if (form[i+"TwelvePct"].value==null||form[i+"TwelvePct"].value.length==0){
form[i+"TwelvePct"].value=0;}
if (form[i+"FifteenPct"].value==null||form[i+"FifteenPct"].value.length==0){
form[i+"FifteenPct"].value=0;}
with (Math){
var Payments = Pmts[i];
var TithePmt = Income / Payments;
form[i+"ThreePct"].value = '$' + round(TithePmt * Pct[1]);
form[i+"FivePct"].value = '$' + round(TithePmt * Pct[2]);
form[i+"EightPct"].value = '$' + round(TithePmt * Pct[3]);
form[i+"TenPct"].value = '$' + round(TithePmt * Pct[4]);
form[i+"TwelvePct"].value = '$' + round(TithePmt * Pct[5]);
form[i+"FifteenPct"].value = '$' + round(TithePmt * Pct[6]);
    }
  }
return
}
// End --> 