
function findBrowser()
{
	var a = navigator.userAgent;
	var b=-1;
	var types=["MSIE","Chrome","Safari"];

	for(var i=0;i<types.length;i++)
	{
		if(a.search(types[i]) != -1)	//if string contains browser name
		{
		//	var myTextField = document.getElementById('myText');
			
			var c = types[i];
			if(c == "MSIE")
			{
				c="Internet Explorer";
			}
	
			document.getElementById('check').innerHTML = "<br /><p style=\"color:red; font-size:10px; \">Please note, using "+c+" browser may result in a one or two second delay when clicking the features.<br />Best viewed via Mozilla Firefox.</p>";	
			break;	
		}
	}	
	
	
}

