
	function popUpInfo(url)
	{
		// best to put the resize param first to help ensure it's parsed
		var features = "resizable=no, scrollbars=yes";
		var top = 0;
		var left = 0;
		var width = screen.width / 2;
		var height = screen.height / 2;

		if (left < 0)
			left = 0;
		if (top < 0)
			top = 0;
		features += ", width=" + width + ", height=" + height;
		features += ", top=" + top;
		features += ", left=" + left;
		features += ", toolbar=no, statusbar=no, menubar=no, location=no, modal=yes";
		window.open(url, "Information", features);
	}

	function popUpPrintable(url)
	{
		// best to put the resize param first to help ensure it's parsed
		var features = "resizable=no, scrollbars=yes";
		var top = 0;
		var left = 0;
		var width = 800;
		var height = screen.height*0.80;

		if (left < 0)
			left = 0;
		if (top < 0)
			top = 0;
		features += ", width=" + width + ", height=" + height;
		features += ", top=" + top;
		features += ", left=" + left;
		features += ", toolbar=yes, statusbar=no, menubar=no, location=no, modal=no";
		window.open(url, "Information", features);
	}
	
	function popUpHelp(url) {
		//This takes a string and opens a new window
		var features = "resizable=no, scrollbars=yes";
		var width = 300;
		var height = 300;
		var top = (screen.height - height) / 2;
		var left = (screen.width - width) / 2;

		if (left < 0)
			left = 0;
		if (top < 0)
			top = 0;
		features += ", width=" + width + ", height=" + height;
		features += ", top=" + top;
		features += ", left=" + left;
		features += ", toolbar=no, statusbar=no, menubar=no, location=no, modal=yes";
		window.open(url, "Help", features);
	}

	function popUpText(url, title) {
		//This takes a string and opens a new window
		var features = "resizable=no, scrollbars=yes";
		var width = 500;
		var height = 500;
		var top = (screen.height - height) / 2;
		var left = (screen.width - width) / 2;
		url = url + "&title=" + title;

		if (left < 0)
			left = 0;
		if (top < 0)
			top = 0;
		features += ", width=" + width + ", height=" + height;
		features += ", top=" + top;
		features += ", left=" + left;
		features += ", toolbar=no, statusbar=no, menubar=no, location=no, modal=yes";
		window.open(url, title, features);
	}