
<!--  to hide script contents from old browsers

var iVersion, sError;
var sBrowser=navigator.appName;
var minIEVersion = 4;
var minNSVersion = 6;

//---------------------------------------------------------------------
//	Check to see what browser and version the user has.
//---------------------------------------------------------------------
function CheckBrowser(bAlert) {
	var iPos;
	var BrowserVer = navigator.userAgent;	
	
	if (sBrowser == 'Microsoft Internet Explorer') {
		iPos = BrowserVer.indexOf("MSIE",1);
		iVersion = Number(BrowserVer.substr(iPos+5,3));
		
		if (iVersion < minIEVersion) {
			sError = 'Your browser is ' + sBrowser + ' version ' + iVersion + '.  The minimum version \nsupported is ' + minIEVersion + ', you must upgrade your browser to use all the features of this site!';
			if (bAlert == true) alert(sError);
			return false;
		}

	} else if (sBrowser == 'Netscape') {
		iPos = BrowserVer.indexOf("Netscape",1);

		if (iPos > 0) {
			iVersion = Number(BrowserVer.substr(iPos+9,3));
								
			if (iVersion < 1) 
				iVersion = Number(BrowserVer.substr(iPos+8,1));
			
			if (iVersion < minNSVersion) {
				sError = 'Your browser is Netscape ' + iVersion + '.  You must upgrade to version ' + minNSVersion + ' \nor greater in order to use all the features of this site!';
				if (bAlert == true) alert(sError);
				return false;
			}
		} else {
			sError = 'The version of your Netscape browser could not be determined! \nYou must have at least version ' + minNSVersion + ' in order to use all the features of this site!';
			if (bAlert == true) alert(sError);
			return false;
		}
			
	} else {
		sError = 'This site has been designed and tested on Microsoft Internet Explorer and Netscape Navigator. \nAll of the features of this site may not be available on your browser!';
		if (bAlert == true) alert(sError);
		return false;
	}	
	return true;
}

// end hiding contents from old browsers  -->