function _processPopupWindow() { setTimeout('window.open("'+this._url+'","'+this._label+'","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+this.Scroll+',resizable=yes,width='+this._winWidth+',height='+this._winHeight+',screenX='+this._winX+',screenY='+this._winY+',dependent=no");',this._delay); } function PopUp(popID,popSecDelay,popWinWidth,popWinHeight,popWinX,popWinY,popURL,popScroll) { var offset = (popScroll == 1 ? 20 : 0) this._label = popID; this._url = popURL; this._winWidth = eval(parseInt(popWinWidth) + parseInt(offset)); this._winHeight = eval(parseInt(popWinHeight) + parseInt(offset)); this._winX = popWinX; this._winY = popWinY; this.win = null; this._delay = popSecDelay * 1000; this.doPopUp = _processPopupWindow; this.Scroll = (popScroll == 1 ? 'yes' : 'no'); } function openWindow(theName,theSrc,theWidth,theHeight,theScroll) { ChildWin = new PopUp(theName,0,theWidth,theHeight,25,25,theSrc,theScroll); ChildWin.doPopUp(); }