function DetectBrowser()
{
	

	//detect the platform settings using the user agent
	var agt=navigator.userAgent.toLowerCase();
	var appVer = navigator.appVersion.toLowerCase();
	var is_mac   = (agt.indexOf("mac")!=-1); 
	var is_os2   = ((agt.indexOf("os/2")!=-1) || 
					   (navigator.appVersion.indexOf("OS/2")!=-1) ||   
						(agt.indexOf("ibm-webexplorer")!=-1));
	var is_linux = (agt.indexOf("inux")!=-1);
	var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );

	//detect if the browser is ie
	var is_ie	= (appVer.indexOf("msie")!=-1);
	var msg = "Your current browser is no longer supported, \nto find out how to update your browser, \nplease enable popup on this site and refresh the page. \n\nThank You.";

	
	
	
		if (is_ie)
		{
			return "ie";
		}
	
		return "other";
	
	
}