function goPop(file, width, height) { var x = (screen.width-width)/2; y = (screen.height-height)/2; OpenWin = this.open(file, "CtrlWindow", "width="+width+",height="+height+",toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no, screenX="+x+", screenY="+y+", left="+x+", top="+y); }