function preload() { this.length = preload.arguments.length; for (var i = 0; i < this.length; i++) { this[i+1] = new Image(); this[i+1].src = preload.arguments[i]; } } if (document.images) { var imgs = new preload( "Imagenes/searchrates-off.gif", "Imagenes/searchrates-on.gif" ) } function swap(imgName) { if (document.images) { var test = document.images[imgName].src; if (test.indexOf("off")!=-1) { document.images[imgName].src = "Imagenes/"+imgName+"-on.gif"; } else { document.images[imgName].src = "Imagenes/"+imgName+"-off.gif"; } } } // BBB popup function function Rcertify() { popupWin = window.open('http://www.bbbonline.org/cks.asp?id=10206201951223705', 'Participant','location=yes,scrollbars=yes,width=450,height=300'); window.name = 'opener'; } // ARM calc function ARMcalc() { window.open("http://rws.mortgage101.com/templateroot/Calculators/APRLoanPayment.asp?PVLID=&AcctID=302216&P=erate","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, width=750, height=640") }