<!--
	// THIS FUNCTION DETERMINES IF THE CURRENT BROWSER BEING USED IS A SUPPORTED BROWSER OF BARSMARTS.
	function isSupportedBrowser() {
		// declare all variables to be used on this page.
		var browserVersion = 0;
		
		// first check to see if the user is using Microsoft Internet Explorer.
		if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
			// if the browser is Microsoft Internet Explorer, then retrieve the current version being used.
			browserVersion = new Number(RegExp.$1);
			
			// check to see if the user is using Microsoft Internet Explorer 7 or 8.
			if (browserVersion >= 7 && browserVersion < 10)
				// if so, return true since BarSmarts supports the browser.
				return true;
			else
				// else, return false since older or new version of Microsoft Internet Explorer is yet to be supported.
				return false;
		} else if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
			// else, if the user is currently using Mozilla FireFox, then return true since all of Mozilla FireFox versions are supported since they update frequently.
			return true;
		} else if (/Chrome[\/\s](\d+\.)/.test(navigator.userAgent)) {
			// else, if Google Chrome is being used, then return true since all Google Chrome versions are supported since they update so frequently.
			return true;
		} else if (/Safari[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
			// else, if Apple Safari is being used, then check to see if the version of the browser can be determined.
			if (/Version[\/\s](\d+\.\d+)/.test(navigator.userAgent))
				// if so, retrieve the browser version.
				browserVersion = new Number(RegExp.$1);
				
			// check to see if the user is using Safari 4 or 5.
			if (browserVersion >= 4 && browserVersion < 6)
				// if so, return true since BarSmarts supports the browser.
				return true;
			else
				// else, return false since the older or new version of Apple Safari is yet to be suppported.
				return false;
		} else {
			// else, return false since no other browser is supported by BarSmarts even if it currently exist. (Was not tested fully in the desired browser therefore BarSmarts does not support it at the current time).
			return false;
		}
	}
//-->
