<!--Code derived from http://www.w3schools.com/js/js_browser.asp and http://msdn.microsoft.com/en-us/library/ms537509.aspx -->
function detectBrowser()
{
	if (navigator.appName == 'Microsoft Internet Explorer')
	{
		var ua = navigator.userAgent;
		var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
		if (re.exec(ua) != null)
		{
			rv = parseFloat(RegExp.$1);
		}
	}
	if (rv <= 6)
	{
		alert("Your current web browser is Internet Explorer 6 or below. This website will NOT function with this web browser. Internet Explorer 6 and below are outdated and more importantly extremely insecure. Please upgrade or switch to one of the browsers listed below:\n\nInternet Explorer 7 or 8 - www.microsoft.com/windows/internet-explorer\nFirefox - www.firefox.com\nSafari - www.apple.com/safari\nChrome - www.google.com/chrome");
	}
}