<!-- // find out if user has Internet Explorer or Netscape (or something else) -->
<!-- // from http://www.yourhtmlsource.com/javascript/supportdetection.html -->
var detect = navigator.userAgent.toLowerCase();
var OS,browser,total,thestring;
var version = 0;

if (checkIt('msie')) 
	browser = "IE";
	
if (!checkIt('compatible'))
	browser = "NN";

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}