<!--

// DetectCSS ==========================================
function DetectCSS(ou)	{

css_NSm = "css_nsm.css";
css_NSp = "css_nsp.css";
css_IE5 = "css_ie.css";
css_IE4 = "css_ie4.css";
// DetectPlateform =====================================
var isMAC	=	(navigator.userAgent.indexOf("Mac") != -1);
var isLin	=	(navigator.userAgent.indexOf("Linux")!=-1);
var isPC	=	(navigator.userAgent.indexOf("Win") != -1);

var My_agent = navigator.userAgent;
var foo = My_agent.substring(My_agent.indexOf("MSIE"),My_agent.indexOf("MSIE") + 9);
var get_version = foo.substring(5,9);
var version_ie = parseFloat(get_version);


// DetectFureteur ======================================
var isNS4	=	(navigator.appName == "Netscape" && parseInt(navigator.appVersion) <= 5);
var isNS5	=	(navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 5);
var isIE	=	(navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= 4);

if ( isMAC == true) {
	if ( isNS4 == true)	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_NSm + "' type='text/css'>");	};
	if ( isNS5 == true)	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_IE5  + "' type='text/css'>");	};
	if ( (isIE == true) && (version_ie >= 5.5) )	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_IE5  + "' type='text/css'>");	};
	if ( (isIE == true) && (version_ie < 5.5) )	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_IE4  + "' type='text/css'>");	};
	};
	
if ( isPC  == true)	{
	if ( isNS4 == true)	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_NSp + "' type='text/css'>");	};
	if ( isNS5 == true)	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_IE5  + "' type='text/css'>");	};
	if ( (isIE == true) && (version_ie >= 5.5) )	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_IE5  + "' type='text/css'>");	};
	if ( (isIE == true) && (version_ie < 5.5) )	{	document.write("<link rel='stylesheet' href='" + ou + "/" + css_IE4  + "' type='text/css'>");	};
	};
}

//-->
