// BrowserCheck Object // provides most commonly needed browser checking variables function BrowserCheck() { var b = navigator.appName if (b=="Netscape") this.b = "ns" else if (b=="Microsoft Internet Explorer") this.b = "ie" else this.b = b this.v = parseInt(navigator.appVersion) this.ns = (this.b=="ns" && this.v>=4) this.ns4 = (this.b=="ns" && this.v==4) this.ns5 = (this.b=="ns" && this.v==5) this.ie = (this.b=="ie" && this.v>=4) this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0) this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0) if (this.ie5) this.v = 5 this.min = (this.ns||this.ie) var p = navigator.platform //if (p=="MacPPC") this.p = "mac" //else this.p = p } // automatically create the "is" object is = new BrowserCheck() // determine relevant browser attributes browser = (document.images) ? 1 : 0; //Gordon function preLoadWinnipegCA(imageName) { if (document.images) { imagePath = ""; eval(imageName + " = new Image()"); eval(imageName + ".src = \"" + imagePath + imageName + ".gif\""); } } /* ... highlight function... */ function trilight(imageName,imageFile,imgHdr){ if (browser == 1) { document.images[imageName].src = eval(imageFile + ".src"); document.docTsr.src = eval(imgHdr + ".src"); } } function highlight(imageName,imageFile){ if (browser == 1) { document.images[imageName].src = eval(imageFile + ".src"); } } function OpenOffsitePage(lb, wnd) { var SelIndex = lb.selectedIndex; if (lb.selectedIndex <= 1) return; var Value = lb.options[SelIndex].value; // Get first char from Value var FirstChar = Value.substr(0, 1); // Get URL from Value var URL = Value.substr(1); // Determine whether to open in same frame or new window if(FirstChar == '1') { wnd.location.href = URL; } else { winStats='toolbar=yes,location=no,directories=no,menubar=yes,resizable=yes,' winStats+='scrollbars=yes' if (navigator.appName.indexOf("Microsoft")>=0) { winStats+=',left=50,top=50,width=600,height=400' }else{ winStats+=',screenX=50,screenY=50,width=600,height=400' } adWindow=window.open(URL,"",winStats) adWindow.focus() } } function OpenInNewWindow(Url) { OpenInNewWindowEx(Url, 'width=600,height=400,toolbar=yes,location=no,directories=no,menubar=yes,resizable=yes,scrollbars=yes'); } function OpenInNewWindowEx(Url, OpenParams) { open(Url, null, OpenParams); } 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