function detectNavigator()
{
	var currentAppVersion	= "";
	var strChUserAgent = navigator.userAgent;
	var intSplitStart = strChUserAgent.indexOf("(",0);
	var intSplitEnd = strChUserAgent.indexOf(")",0);
	var strChStart = strChUserAgent.substring(0,intSplitStart);
	var strChMid = strChUserAgent.substring(intSplitStart, intSplitEnd);
	var strChEnd = strChUserAgent.substring(strChEnd);

	if(strChMid.indexOf("MSIE 8") != -1)
		currentAppVersion = "IE8";
	else if(strChMid.indexOf("MSIE 7") != -1)
		currentAppVersion = "IE7";
	else if(strChMid.indexOf("MSIE 6") != -1)
		currentAppVersion = "IE6";
	else if(strChMid.indexOf("MSIE 5.5") != -1)
		currentAppVersion = "IE5.5";
	else if(strChMid.indexOf("MSIE 5") != -1)
		currentAppVersion = "IE5";
	else if(strChEnd.indexOf("Firefox/2") != -1)
		currentAppVersion = "FIREFOX2";
	else if(strChEnd.indexOf("Firefox") != -1)
		currentAppVersion = "FIREFOX";
	else if(strChEnd.indexOf("Netscape/7") != -1)
		currentAppVersion = "NETSCAPE7";
	else if(strChEnd.indexOf("Netscape") != -1)
		currentAppVersion = "NETSCAPE";
	else if(strChStart.indexOf("Opera/9") != -1)
		currentAppVersion = "OPERA9"
	else if(strChStart.indexOf("Opera") != -1)
		currentAppVersion = "OPERA";
	else
		currentAppVersion = "AUTRE";
	
	return currentAppVersion;
}