<!-- Start hiding
var msg1 = "The Flood Control District of Maricopa County has made every reasonable effort to obtain " +
			"and maintain this data as accurately as possible, however, human or mechanical error " +
			"remain a possibility.  The Flood Control District of Maricopa County assumes no " +
			"responsibility arising from the use of this information.  The data and maps are provided " +
			"without warranty of any kind, either expressed or implied.  Viewer/User understands and " +
			"agrees that The Flood Control District of Maricopa County does not guarantee the accuracy, " +
			"completeness, timeliness or correct sequencing of the data and information requested and " +
			"hereby expressly disclaims any responsibility for the truth, lack of truth, validity, " +
			"invalidity, accuracy, inaccuracy, errors or omissions, or for the use or results obtained " +
			"from the use of any said data and information.  Viewer/User agrees to indemnify The Flood " +
			"Control District of Maricopa County, their officers and employees from any liability which " +
			"may arise from any such data or information in its actual or altered form.  Any download " +
			"for commercial intent or resale of this information is prohibited, except in accordance " +
			"with a sublicensing agreement, and will be enforced in accordance with approved Flood " +
			"Control District of Maricopa County policy and Arizona State Statutes 39-121-03.  It is " +
			"ultimately the viewer/users responsibility to verify accuracy prior to acceptance.  All " +
			"downloaded information will be marked as 'Unofficial Document'." +
			"\n\nClick OK if you understand and accept the terms of use for this data or Cancel to reject."
window.focus();
var agree = confirm(msg1); 
if (!agree)
{
//	history.go(-1);
	window.close();
}
else
{
	// Resize window to full screen
	window.moveTo(0,0);
	window.resizeTo(screen.availWidth,screen.availHeight);

	//============================================================================================
	//Determines if the operating system is supported by the mapguide viewer/plug-in
	var msg1=(navigator.userAgent);
	var os='FALSE'
	//Check operating system for Windows 95
	var msg3=msg1.indexOf('Win95');
	var msg4=msg1.indexOf('Windows 95');
	//If value is not found, it returns -1
	if ((msg3 != -1) || (msg4 != -1))
	{
		var os='TRUE'
	}
	//Check operating system for Windows 98
	var msg3=msg1.indexOf('Win98');
	var msg4=msg1.indexOf('Windows 98');
	if ((msg3 != -1) || (msg4 != -1))
	{
		var os='TRUE'
	}
	//Check operating system for Windows NT
	var msg3=msg1.indexOf('Windows NT');
	if (msg3 != -1)
	{
		var os='TRUE'
	}
	//Check operating system for Windows 2000
	var msg3=msg1.indexOf('Windows NT 5.0');
	if (msg3 != -1)
	{
		var os='TRUE'
	}
	//Check operating system for Macintosh
	var msg3=msg1.indexOf('Macintosh');
	var msg4=msg1.indexOf('Mac_PowerPC');
	if ((msg3 != -1) || (msg4 != -1))
	{
		var os='FALSE'
	}
	//Check operating system for Sun/Unix
	var msg3=msg1.indexOf('SunOS');
	if (msg3 != -1)
	{
		var os='FALSE'
	}

	//============================================================================================
	//Check browser
	var browser='FALSE'
	var browsername=(navigator.appName)
	if ((browsername == "Netscape") || (browsername == "Microsoft Internet Explorer"))
	{
		//For MIE browsers, check version (at least 4.x)
		if (browsername == "Microsoft Internet Explorer")
		{
			var version=(navigator.appVersion)
			if (version >= "4.0")
			{
				var browser='TRUE'
			}
		}
		else
		{
//Since we are not supporting Netscape, leave the "browser" variable false
			//For Netscape browsers, check version (at least 4.x)
//			var version=(navigator.appVersion)
//			if (version >= "4.0")
//			{
//					var browser='TRUE'
//			}
			
		}
	}

	//============================================================================================
	//If operating system and browser are not supported, close application
	if ((os != "TRUE") || (browser != "TRUE"))
	{
		//Message to display if the operating system and browser are not supported
//		msg="Microsoft Internet Explorer [4.x or greater] or Netscape " +
//			"\nNavigator [4.x or greater] and Microsoft Windows " +
//	 		"\n98/2000/NT/XP are required to view the maps."
		msg="Microsoft Internet Explorer [4.x or greater] and Microsoft " +
			"\nWindows [98/2000/NT/XP] are required to view the maps."
		alert(msg);
		window.close();
	}
}

// End hiding --> 
