function popupCenteredWindow(sUrl, lWidth, lHeight, sName, bScroll, bStatus){
	lLeft = (window.screen.width/2) - ((lWidth/2) + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	lTop = (window.screen.height/2) - ((lHeight/2) + 30); //half the screen height minus half the new window height (plus title and status bars).
	newWin = window.open(sUrl,sName,"height=" + lHeight + ",width=" + lWidth + ",left=" + lLeft + ",top=" + lTop + ",screenX=" + lLeft + ",screenY=" + lTop + ",scrollbars=" + bScroll + ",status="+bStatus);
	newWin.focus();
}
