Index: lams_central/web/includes/javascript/openUrls.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/openUrls.js,v diff -u -r1.10 -r1.11 --- lams_central/web/includes/javascript/openUrls.js 18 Jun 2006 18:32:10 -0000 1.10 +++ lams_central/web/includes/javascript/openUrls.js 30 Jun 2006 04:53:30 -0000 1.11 @@ -174,15 +174,17 @@ function openOrgManagement(orgId) { - var hight = 768; - var width = 1024; - if(screen){ - height = screen.availHeight; - width = screen.availWidth; + var height = 570; + var width = 796; + var left = 0; + var top = 0; + if(self.screen){ + top = self.screen.height/2-height/2; + left = self.screen.width/2-width/2; } if(isMac) { - omWin = window.open('admin/orgmanage.do?org='+orgId,'omWindow','left=0,top=0,width='+width+',height='+height+',resizable,location,menubar,scrollbars,dependent,status,toolbar'); + omWin = window.open('admin/orgmanage.do?org='+orgId,'omWindow','left='+left+',top='+top+',width='+width+',height='+height+',resizable,location,menubar,scrollbars,dependent,status,toolbar'); } else { @@ -193,7 +195,7 @@ } else { - omWin = window.open('admin/orgmanage.do?org='+orgId,'omWindow','left=0,top=0,width='+width+',height='+height+',resizable,location,menubar,scrollbars,dependent,status,toolbar'); + omWin = window.open('admin/orgmanage.do?org='+orgId,'omWindow','left='+left+',top='+top+',width='+width+',height='+height+',resizable,location,menubar,scrollbars,dependent,status,toolbar'); omWin.focus(); } }