// Detect if browser is Netscape 3 + or IE 4 +. bName = navigator.appName; bVer = parseInt(navigator.appVersion); if ((bName == "Netscape" && bVer >= 3) || (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3"; else br = "n2"; // Function to "activate" images. function imgAct(imgName,ref) { if (br == "n3") { document[ref].src = eval("img" + imgName + "On.src"); } } // Function to "deactivate" images. function imgInact(imgName,ref) { if (br == "n3") { document[ref].src = eval("img" + imgName + "Off.src"); } } //--BROWSER CHECK var ua="UA"; ua=navigator.userAgent; function whichBrowser() { var br="BR"; if (ua.indexOf("MSIE") != -1) {br="IE";} if ((ua.indexOf('Mozilla') != -1) && ((ua.indexOf('Spoofer') == -1) && (ua.indexOf('compatible') == -1))) {br="NS";} return br; } function whichVersion(br) { var bv=0; bv=navigator.appVersion.substring(0,1); if (br == "IE") {(parseInt(bv));} if (br == "NS") {(parseInt(bv));} return bv; } function whichPlatform() { var os="OS"; if ((ua.indexOf("Win98")!=-1)||(ua.indexOf("Windows 98")!=-1)) { os='win32_98'; } if ((ua.indexOf("Win95")!=-1)||(ua.indexOf("Windows 95")!=-1)) { os='win32_95'; } else if ((ua.indexOf("WinNT")!=-1)||(ua.indexOf("Windows NT")!=-1)) {os='win32_NT'; } else if ((ua.indexOf("Win16")!=-1)||(ua.indexOf("Windows 3.1")!=-1)) {os='win16'; } else if ((ua.indexOf("Macintosh")!=-1)||(ua.indexOf("Mac")!=-1)) { os='Mac'; } else if (ua.indexOf("SunOS")!=-1) { os='unix sun'; } else if (ua.indexOf("IRIX")!=-1) { os='unix sgi'; } else if (ua.indexOf("HP-UX")!=-1) { os='unix hp'; } else if (ua.indexOf("AIX")!=-1) { os='unix ibm'; } else if (ua.indexOf("OS/2")!=-1) { os='os/2'; } return os; } b=whichBrowser(); v=whichVersion(b); o=whichPlatform(); //--End BROWSER CHECK function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; } } function changeImages() { if (document.images && (preloadFlag == true)) { for (var i=0; i function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i