function openStandard(pageURL) { var windowWidth = 500; var windowHeight = 350; var windowXPos = 0; var windowYPos = 0; var scrollWidth = 0; if (document.layers) { if (window.scrollbars.visible) scrollWidth = 20; windowXPos = window.screenX + (window.outerWidth / 2) - (windowWidth / 2); windowYPos = window.screenY + (window.outerHeight / 2) - (windowHeight / 2); } else if (document.all) { windowXPos = (screen.width / 2) - (windowWidth / 2); windowYPos = (screen.height / 2) - (windowHeight / 2); } var windowDetails = 'toolbar=no,status=yes,menubar=no,width='+windowWidth+',height='+windowHeight+',scrollbars=yes,screenX='+windowXPos+',screenY='+windowYPos+',top='+windowYPos+',left='+windowXPos if (! pageURL) pageURL = '/static/disclaimer.html'; standardWindow = window.open(pageURL,'StandardWindow4',windowDetails); if (standardWindow) standardWindow.focus(); }