var isns4 = (document.layers != null); var isie = (document.all != null); function showImg(imgName, imgState){ document.images[imgName].src = eval(imgName + imgState + ".src"); } function showLocImg(imgName, imgState){ if(isns4){ document.locationsConsole.document.images[imgName].src = eval(imgName + imgState + ".src"); } else if(isie){ document.images[imgName].src = eval(imgName + imgState + ".src"); } } function windowOpen(winURL,winNAME,w,h) { newWin = window.open(winURL,winNAME,"width="+w+",height="+h+",directories=no,menubar=no,scrollbars,toolbar=no") newWin.focus(); } function windowOpenNoScroll(winURL,winNAME,w,h) { newWin = window.open(winURL,winNAME,"width="+w+",height="+h+",directories=no,menubar=no,scrollbars=no,toolbar=no") newWin.focus(); } function changeBG(whichOne, whichColor){ whichOne.bgColor = whichColor } function handleResize(){ location.reload; } if(isns4){ window.captureEvents(Event.RESIZE); window.onresize = handleResize; }