


$navigateur=window.navigator.appName;
$systeme=window.navigator.platform;
$sys= $systeme.match(/Linux/gi);
$NavM= $navigateur.match(/Microsoft/gi);


if ($sys=="Linux"){

//Ecran supérieur a 1024 de largeur
	if (screen.availWidth>1140) {
	  document.write("<link rel=StyleSheet href=Style/style_L_g.css text/css>");
	   }
	
	// Ecran enre 900 et 1030
	if (screen.availWidth<1140) {
		    document.write("<link rel=StyleSheet href=Style/style_L_p.css type=text/css>");
	}

}


if ($sys!="Linux")

{
	//Ecran supérieur a 1024 de largeur
  if (screen.availWidth>1140) {
    document.write("<link rel=StyleSheet href=Style/style_W_g.css type=text/css>");
	  }
  
  // Ecran enre 900 et 1030
	if (screen.availWidth<1140) {
	  document.write("<link rel=StyleSheet href=Style/style_W_p.css type=text/css>");
	}
	
}

 function montre(object)
  {
   if (document.layers && document.layers[object])
    {
      document.layers[object].style.background = '#ffffc8';
    }
    else if (document.getElementById)
    {
     document.getElementById(object).style.background = '#ffffc8';  
      }
    else if (document.all)
    {
    document.all[object].style.style.background = '#ffffc8';
    }
  }

 function cache(object)
  {
  if (document.layers && document.layers[object])
    {
    document.layers[object].style.background = 'white';
    }
 
  else if (document.getElementById)
    {
    document.getElementById(object).style.background = 'white';
    }
     else if (document.all)
    {  
    document.all[object].style.style.background = 'white';
    }
  }




