
	function popScreenShot(url)
	{
		// best to put the resize param first to help ensure it's parsed
		var features = "resizable=yes";
		var top = (screen.height - 580) / 2 - 15;
		var left = (screen.width - 780) / 2;

		if (left < 0)
			left = 0;
		if (top < 0)
			top = 0;
		features += ", width=780, height=580";
		features += ", top=" + top;
		features += ", left=" + left;
		features += ", toolbar=no, statusbar=no, menubar=no, location=no";
		window.open("../scripts/screenshot.php?image=" + url, "Screenshot", features);
	}
	
