function popupCenteredWindow(sUrl, lWidth, lHeight, sName, bScroll, bStatus, bResize){
	//	sURL	(URL of the page to open)
	//	lWidth	(width of the popup)
	//	lHeight	(height of the popup)
	//	sName	(name given to the window)
	//	bScroll	(allow scroll bars [yes|no|1|0])
	//	bStatus	(allow status bar [yes|no|1|0])
	//	bResize	(allow resizing of the window [yes|no|1|0])
	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 + ", resizable=" + bResize);
	newWin.focus();
}
