	///Common JS Functions
	
	function OpenScrollingPopup(URL, width, height) {
		var now = new Date();
		var left = Math.round(screen.width / 2) - Math.round(width / 2);
		var top = Math.round(screen.height / 2) - Math.round(height / 2);
		if (left < 0 || top < 0) {
			left = 0;
			top = 0;
		}
		var remote = window.open(URL, "popup" + now.getTime(), "width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,resizable=1,status=0,menubar=0,scrollbars=yes,left=" + left + ",top=" + top);
	}

	// MOD RR 5/9/03
	// Changed to open in the center of the screen.
	function OpenPopup(URL, width, height) {
		var now = new Date();
		var left = Math.round(screen.width / 2) - Math.round(width / 2);
		var top = Math.round(screen.height / 2) - Math.round(height / 2);
		if (left < 0 || top < 0) {
			left = 0;
			top = 0;
		}
		var remote = window.open(URL, "popup" + now.getTime(), "width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,resizable=1,status=0,menubar=0,scrollbars=no,left=" + left + ",top=" + top);
	}	

	// MOD RR 5/9/03: Changed width.
	// MOD RR 5/19/03:  Also passing query string.
	function PrintPage(GUID)
	{
		OpenScrollingPopup('/NR/www_indygov_org/utilities/PrintPage.asp?ID='+GUID + "&query=" + 
			escape(location.search),'500','600');
	}
