Posting this for anyone looking for a quick reference to opening a pop-up window so that it is centralized based on the available screen width:
Simple enough but did not find this argument in a quick search - primarily submitting w.r.t. title of thread.
Code:
<script language="JavaScript" type="text/javascript">
function openWinSite(){
var strPg;
var w = window.screen.availWidth*.25;
var h = window.screen.availheight*.25;
var strParams = 'left='+ w +',top='+ h +',height=360,width=620,toolbar=no,menubar=no,...,scrollbars=no';
strPg = "yourPage.htm"
myWindow = window.open(strPg, 'newWin', strParams)
}
</script>