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= 1.2) { px = window.screenX; py = window.screenY; pw = window.outerWidth; ph = window.outerHeight; borderw = window.outerWidth - window.innerWidth; } else { } } else if (is.ie5up) { h = h + 20; w = w + 20; px = window.screenLeft; py = window.screenTop; if (type == 'FUR') { // subtract 110 for the height of the tool bar py = py - 110; } else { // ok as is } pw = document.body.offsetWidth - 20; ph = document.body.offsetHeight- 20; borderw = -20; } else { skipcalculation = true; } var x = 0; var y = 0; if (skipcalculation == false) { if (type == 'FUR') { // Flush Upper Right x = px + pw - w - borderw - 4; y = py; } else { x = px + ( (pw - w) / 2); y = py + ( (ph - h) / 2); } } else { if (type == 'FUR') { // Flush Upper Right x = 0; y = 0; h = h - 125; } else { x = 300; y = 300; } } var position = "left="+x+",top="+y+",screenX="+x+",screenY="+y; // alert("position:\n"+position); var dimensions = "height="+h+",innerHeight="+h+",width="+w+",innerWidth="+w; return(dimensions+","+position); } function Is () { // convert all characters to lowercase to simplify testing var agt=navigator.userAgent.toLowerCase(); this.minor = parseFloat(navigator.appVersion); this.nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1)); this.ie = (agt.indexOf("msie") != -1); this.ie3 = (this.ie && (this.major < 4)); this.ie4 = (this.ie && (this.major == 4) && (agt.indexOf("msie 5")==-1) ); this.ie5 = (this.ie && (this.major == 4) && (agt.indexOf("msie 5")!=-1) ); this.ie5up = (this.ie && !this.ie3 && !this.ie4); this.js = 1.2; if ((this.nav4 && (this.minor > 4.05)) || this.ie5) { this.js = 1.3 } else if (this.nav5) { this.js = 1.4 } } var is; var isIE3Mac = false; // this section is designed specifically for IE3 for the Mac if ((navigator.appVersion.indexOf("Mac")!=-1) && (navigator.userAgent.indexOf("MSIE")!=-1) && (parseInt(navigator.appVersion)==3)) { isIE3Mac = true; } else { is = new Is(); }