// centertop of the popup window is in dead centerfunction popUpCC(winpage, winname, w, h, scroll, resize) {var winl = (screen.width - w) / 2;var wint = (screen.height - h) / 2;winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable='+resizewin = window.open(winpage, winname, winprops)if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }}// centertop of the popup window is in center and slightly leftfunction popUpCL(winpage, winname, w, h, scroll, resize) {var winl = (screen.width - w) / 3;var wint = (screen.height - h) / 2;winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable='+resizewin = window.open(winpage, winname, winprops)if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }}// *** visually this is the best setting// centertop of the popup window is in center and slightly upfunction popUpUC(winpage, winname, w, h, scroll, resize) {var winl = (screen.width - w) / 2;var wint = (screen.height - h) / 3;winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable='+resizewin = window.open(winpage, winname, winprops)if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }}// centertop of the popup window is slightly left and upfunction popUpUL(winpage, winname, w, h, scroll, resize) {var winl = (screen.width - w) / 3;var wint = (screen.height - h) / 3;winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable='+resizewin = window.open(winpage, winname, winprops)if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }}