function WinOpen(file, winname, w, h, scroll)
	{
			var clientX;
			clientX = screen.width;
			var clientY;
			clientY = screen.height;
			var posX;
			posX = (clientX - w) / 2;
			var posY;
			posY = (clientY - h) / 2;
			var MyWin;
			var winprops;
			winprops="top=" + posY + ", left=" + posX + ", height=" + h + ", width=" + w + ",menubar=no,scrollbars=" + scroll + ",resizable=no,dependent=yes";
			MyWin = window.open(file,winname,winprops);
			MyWin.focus();
	}