var win = null; function NewWindow(mypage,myname,w,h,scroll,resizable) { var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; var settings ='height='+h+','; settings +='width='+w+','; settings +='top='+wint+','; settings +='left='+winl+','; settings +='scrollbars='+scroll+','; settings +='resizable='+resizable+','; win = window.open(mypage,myname,settings); if(parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } function CenterWindow(url,myname,w,h,additional) { // example: javascript:CenterWindow('/components/compensation/', 'targetname', 400, 400, 'scroll=yes,resizable=yes'); var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; var settings ='height='+ h; settings += ',width='+ w; settings += ',top='+ wint; settings += ',left='+ winl; if(additional) { settings += ',' + additional; } window.open(url,myname,settings); } function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features); } function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, 'eServices', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=425,height=600');"); } function popUp2($URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, 'presentation', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=700,height=500');"); } function popUp4(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, 'popup', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400');"); }