// JavaScript Document
function OpenWindow(url, width, height, windowName, isLocked)
{
	var winl = (screen.width - width) / 2;
	var wint = (screen.height - height) / 2;
	var settings = "height=" + height + 
		",width=" + width +
		",top=" + wint +
		",left=" + winl +
		",scrollbars=" + isLocked +
		",status=" + isLocked +
		",resizable=" + isLocked +
		",toolbar=" + isLocked + 
		",location=" + isLocked +
		",directories=" + isLocked;
	var win = window.open(url, windowName, settings);
}
