	// ==== This JavaScript opens a new window centered in the middle of the screen with no scroll bars, title bars, etc. ====

var win= null;

function NewWindow(mypage,myname,w,h,scroll){
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;
	settings='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',toolbar=no,location=no,status=no,menubar=no,resizable=yes,dependent=no'
win=window.open(mypage,myname,settings)
	if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

	/***************************************************************************
	*
	*	As the href= in a link:
	*
	*	"javascript:NewWindow('FileName','newwindow','width','height','no')"
	*
	*	Where:
	*
	*	FileName=the name of the file the link is going to.
	*	width=width of the new window
	*	height=height of the new window
	*
	*   link to this page with <script src="/South/JavaScripts/NewCenteredWindow.js" language="JavaScript" type="text/javascript"></script>
	*
	***************************************************************************/
