// **************************************************************// InternetActive Calculators™// Version 2.0// Copyright © 1998 - 2000 Desert Cactus Software Corporation// **************************************************************// Initialize and establish starting, ending, and incremental// interest rates, and the number of changes for the loan.var SR = 0;var ER = 0;var IR = 0;var NORC = 0;SR = 5.0;ER = 11.0;IR = 1.0;NORC = 6;// **************************************************************// Help window.function help(form) {	window.open("vrmchelp.html","newWindow","toolbar=yes,location=0,directories=yes,status=no,menubar=1,scrollbars=yes,resizable=0,copyhistory=1,width=300,height=200,top=200,left=450");}// **************************************************************// Verification function for loan amount.var DCS = 0function checkLA(form) {	function checkNumber(input, msg) {		var M = form.LoanAmount.value;			for (var I = 0; I < M.length; I++) {				var J = M.substring(I, I + 1);				if ((J < "0" || J > "9") && J != "." && J != "") {				alert(msg);				return false;			}		}	return true;	}	var M = form.LoanAmount.value;	if (M != "") {		if ((M < 0) || (M > 1000000000)) {			alert("Please enter a numeric value between 0 and 1 billion (a 1 followed by nine zeroes).");			form.LoanAmount.focus();			form.LoanAmount.select();		}	}	if (!checkNumber(M, "Please enter a valid numeric expression.")) {		form.LoanAmount.focus();		form.LoanAmount.select();		return;	}}// **************************************************************// Verification function for number of months.DCS = "Copyright &copy; 1998 - 2000 Desert Cactus Software Corporation."function checkM(form) {	function checkNumber(input, msg) {		var M = form.NumberOfMonths.value;			for (var I = 0; I < M.length; I++) {				var J = M.substring(I, I + 1);				if ((J < "0" || J > "9") && J != "." && J != "") {				alert(msg);				return false;			}		}	return true;	}	var M = form.NumberOfMonths.value;	if (M != "") {		if ((M < 0) || (M > 600)) {			alert("Please enter a numeric value between 0 and 600.");			form.NumberOfMonths.focus();			form.NumberOfMonths.select();		}	}	if (!checkNumber(M, "Please enter a valid numeric expression.")) {		form.NumberOfMonths.focus();		form.NumberOfMonths.select();		return;	}	}// **************************************************************