<!--
// Global Variables
var isIE = false;
var isNetscape = false;
var oPopUpWindow = null;
var localeLanguage = "";
var localeCountry = "";


setBrowserType();



// ******** Begin functions ************** \\

function setBrowserType()
{
	var numRequiredIEVer = 5;
	var numRequiredMozillaVer = 5; // Use Mozilla verison NOT Netscape version
	var numCurrentBrowserVer = 0; //Value set below

	var objUserAgent = navigator.userAgent;

	//var sWrongBrowserPage = "incorrectbrowser.htm"; // Not used, alerts used instead of redirecting

	// Determine what the type of the brower is, only checking for IE and Netscape.
	if ((objUserAgent.toLowerCase().indexOf("msie") == -1) && (objUserAgent.toLowerCase().indexOf("mozilla") != -1))
	{
		isNetscape = true;
		isIE = false;

		//Set current browser version
		var intStart = 8; // Start at 8 for "mozilla/"
		var intEnd = objUserAgent.indexOf("(", intStart);
		numCurrentBrowserVer = parseFloat(objUserAgent.substring(intStart, intEnd));
	}
	else if (objUserAgent.toLowerCase().indexOf("msie") != -1)
	{
		isIE = true;
		isNetscape = false;

		//Set current browser version
		var intStart = objUserAgent.toLowerCase().indexOf("msie");
		var intEnd = objUserAgent.indexOf(";", intStart);
		numCurrentBrowserVer = parseFloat(objUserAgent.substring((intStart + 5), intEnd));
	}
	else
	{
		//Brower is neither IE or Netscape so set flags to false
		isIE = false;
		isNetscape = false;
	}

	//alert("appVersion = " + navigator.appVersion +"\n\nuserAgent = " + navigator.userAgent);
	//alert(numCurrentBrowserVer);
	if (isIE && (numCurrentBrowserVer < numRequiredIEVer) )
	{
		alert("This site requires at least version " + numRequiredIEVer + " of your browser to correctly display pages.");
		isIE = false;
		isNetscape = false;
	}
	else if (isNetscape && numCurrentBrowserVer < numRequiredMozillaVer )
	{
		alert("This site requires at least version " + numRequiredMozillaVer + " of your browser to correctly display pages.");
		isIE = false;
		isNetscape = false;
	}
}
// -->