function getNavigatorVersion()
{
	alert(window.navigator.appName);   
	//alert(window.navigator.appVersion);   
	//alert(window.navigator.userAgent);
	var IEVersion = parseFloat(window.navigator.userAgent.substr(window.navigator.userAgent.indexOf("MSIE")+5));   
	alert(IEVersion);
	if(navigator.userAgent.indexOf("MSIE")>0)return 1;
   if(isFirefox=navigator.userAgent.indexOf("Firefox")>0)return 2;
   if(isSafari=navigator.userAgent.indexOf("Safari")>0)return 3;   
   if(isCamino=navigator.userAgent.indexOf("Camino")>0)return 4;
   if(isMozilla=navigator.userAgent.indexOf("Gecko/")>0)return 5;
   return 0;

};
function setActiveStyleSheet(title){
	//document.getElementsByTagName("link")[0].href=title;  
	
	//alert(document.getElementsByTagName("link")[0].href);
	var LinkCSS = document.getElementById("LinkCSS");
	LinkCSS.disabled = true;
	LinkCSS.href = title;
	LinkCSS.disabled = false;
} 

function SetActiveCSS()
{
	if ( navigator.userAgent.indexOf("MSIE") > 0 )
	{
		var IEVersion = parseFloat(window.navigator.userAgent.substr(window.navigator.userAgent.indexOf("MSIE")+5)); 
		switch ( IEVersion )
		{
			case 5:
				
				break;
			case 6:
			
				break;
			case 7:
				setActiveStyleSheet("xcon2007_ie7.css");
				break;
			default:
			
				break;
		};
	}else if ( navigator.userAgent.indexOf("Firefox") > 0 ){
		setActiveStyleSheet("xcon2007_firefox.css");
	}
		
};


