');
gnewWindow.document.writeln ('| ' + intCounter + ' | ');
gnewWindow.document.writeln ('' +
formatDollar(curMonthPaymentAmount.toString()) + ' | ');
curMonthInterestPayment = intLoanBalance * curInterestRate;
gnewWindow.document.writeln ('' +
formatDollar(curMonthInterestPayment.toString()) + ' | ');
curPrinciplePayment = curMonthPaymentAmount - curMonthInterestPayment;
gnewWindow.document.writeln ('' +
formatDollar(curPrinciplePayment.toString()) + ' | ');
intLoanBalance = intLoanBalance - curPrinciplePayment;
gnewWindow.document.writeln ('' +
formatDollar(intLoanBalance.toString()) + ' | ');
gnewWindow.document.writeln ('
');
}
gnewWindow.document.writeln ('