// Hide the "faux select"
			function HideSelect() {
			
				//document.getElementById('tools_on').style.display='block'; 

				//document.getElementById('direct_access').style.display = "none";
				//document.getElementById('direct_access').className = "open";
			
				//document.getElementById('buy_car').style.display = "none";
				//document.getElementById('buy_car').className = "open";
				if(document.getElementById('buy'))
				{				
					if (document.all)
						document.getElementById('buy').style.height = "27px";
					else
						document.getElementById('buy').style.height = "20px";
				}
				if(document.getElementById('websites'))
				{
					document.getElementById('websites').style.display = "none";
					document.getElementById('websites').className = "open";
				}
				if(document.getElementById('sites'))
				{
					if (document.all)
						document.getElementById('sites').style.height = "27px";
					else
						document.getElementById('sites').style.height = "20px";
				}
				//document.getElementById('select_career').style.display = "none";
				//document.getElementById('select_career').className = "open";
				if(document.getElementById('career'))
				{
					if (document.all)
						document.getElementById('career').style.height = "27px";
					else
						//document.getElementById('career').style.height = "20px";
						if (typeof showhide == 'function') showhide(0); 
				}
				//SpÃ©cial pour les pages glossaire
			}
			
			// Hide/show the profiles
			//ancienne version
                                                //function CacheProfils(obj, value){
				//if(obj == "profil_liens"){
					//document.getElementById('profil_liens').style.display = "block";
					//document.getElementById('profil_intitules').style.display = "none";
				//}
				//else{
					//document.getElementById('profil_intitules').style.display = "block";
					//document.getElementById('profil_liens').style.display = "none";
				//}
			//}
			var Profil="";
	 		function sauveProfil() {
                                                  var expire = new Date ();
                                                  expire.setTime (expire.getTime() + (1000*3600*24*365*3)); // ~= 3ans  expire = expire.toGMTString();
                                                  document.cookie='Profil='+Profil+'; path=/; expires='+expire;
                                                }
                                                                                
 						   
			function initProfil() {
                                                  tempArray = document.cookie.split(';');
                                                  for (tA = 0; tA < tempArray.length; tA++) {
                                                    if (tempArray[tA].indexOf('Profil') > -1) {
                                                      PValue = tempArray[tA].split('=');
                                                      ProfilValue = PValue[1]; 
		  	      CacheProfils(ProfilValue, "profil_intitules");
                                                    }
                                                  }
                                                }
			//nouvelle version
                                                function CacheProfils(obj, value){
				if(obj == "profil_intitules"){
					document.getElementById('profil_intitules').style.display = "block";
					document.getElementById(value).style.display = "none";
				}
				else{
				    Profil = obj;
					document.getElementById('profil_intitules').style.display = "none";
					document.getElementById(obj).style.display = "block"; 
					sauveProfil();
				}
			}
			// Hide/Show the tools/news and Open/Close the tools and profiles
			function OpenClose(objClose, objOpen, objClose2, objOpen2, objClose3, objOpen3){ 
				if (objOpen==null){
		   	  	if (document.getElementById(objClose).style.display == "none")
			      document.getElementById(objClose).style.display = "block";
					else
			      document.getElementById(objClose).style.display = "none";
				}
				
				else {
			   	document.getElementById(objClose).style.display = "none";

					if (objClose2)
						document.getElementById(objClose2).style.display = "none";

					if (objOpen2)
				      document.getElementById(objOpen2).style.display = "block";
					if (objClose3)
						document.getElementById(objClose3).style.display = "none";

					if (objOpen3)
				      document.getElementById(objOpen3).style.display = "block";

			      if (document.getElementById(objOpen).style.display == "block")
						document.getElementById(objOpen).style.display = "none";

			      else
						document.getElementById(objOpen).style.display = "block";
			    }
			
			}

			// Hide/Show the lists, mimicking a select
			function OpenCloseSelects(objOpen, objClose, objClose2, objClose3, titre1, titre2, titre3){ 

					if (objClose)
						document.getElementById(objClose).style.display = "none";

					if (objClose2)
						document.getElementById(objClose2).style.display = "none";

					if (objClose3)
				      document.getElementById(objClose3).style.display = "none";

			      if (document.getElementById(objOpen).style.display == "block")
						document.getElementById(objOpen).style.display = "none";
			      else
						document.getElementById(objOpen).style.display = "block";
					
					var link_class = "link_"+ objOpen;
					var link_classoff = "link_"+ objClose;
					var link_classoff2 = "link_"+ objClose2;
					var link_classoff3 = "link_"+ objClose3;
					
					if (document.getElementById(link_class).className == "")
						document.getElementById(link_class).className = "on";
					else
						document.getElementById(link_class).className = "";
					if (objClose) {
                                                                                  if (document.getElementById(link_classoff)) {
					    if (document.getElementById(link_classoff).className == "on")
						document.getElementById(link_classoff).className = "";
					    }
                                                                                }
                                                                                if (objClose2) {
                                                                                  if (document.getElementById(link_classoff2)) {	
					    if (document.getElementById(link_classoff2).className == "on")
						document.getElementById(link_classoff2).className = "";
					  }
                                                                                }
                                                                                if (objClose3) {
                                                                                  if (document.getElementById(link_classoff3)) {	
					  if (document.getElementById(link_classoff3).className == "on")
					    document.getElementById(link_classoff3).className = "";
			                                  }
                                                                                }
			}
		
			// Hide/Show * next to mandatory fields on Check/Uncheck of the Club Contact checkbox
			function champsObligatoire( field ) {	
				var arr = new Array(); 
				var elems = document.getElementsByTagName("*");
				for ( var cls, i = 0; ( elem = elems[i] ); i++ )
				{
					if ( elem.className == field )
					{
							if(document.getElementById('yes').checked == false) {
								elem.style.display = 'none';
							}
							if(document.getElementById('yes').checked == true) {
								elem.style.display = 'inline';
							}
					}
				}
			
				
			}
			
			// Hide/Show the details for each search result
			
			function getElementsByClassName( clsName ) { 
				var arr = new Array(); 
				var elems = document.getElementsByTagName("*");
				for ( var cls, i = 0; ( elem = elems[i] ); i++ )
				{
					if ( elem.className == clsName )
					{
						if (elem.style.display == "block")
							elem.style.display = "none";
						else if (elem.style.display == "none")
							elem.style.display = "block";
					}
				}
				
				if(document.getElementById('cacher').style.display == 'inline') {
					document.getElementById('cacher').style.display = 'none';
					document.getElementById('montrer').style.display = 'inline';
				}
				else if (document.getElementById('montrer').style.display == 'inline') {
					document.getElementById('montrer').style.display = 'none';
					document.getElementById('cacher').style.display = 'inline';
				}
					
				
			}

			ns_flashp = new Image();
			function ns_flashcounter(ns_flashn){
			
				// var ns_flash="http://fr.sitestat.com/renault-group/renault-com/s?RenaultCom.fr.Group.Flash.Global_locations."+ns_flashn+"&ns_type=flash";
				var ns_flash="http://fr.sitestat.com/renault-group/renault-com/s?"+ns_flashn+"&ns_type=flash";
				
				// document.ns_flashp.src=ns_flash;
				ns_flashp.src=ns_flash;
			}
			
			
			function ns_flashredirect(ns_flashn, ns_urln){
			
				var ns_flash="http://fr.sitestat.com/renault-group/renault-com/s?lien.RenaultCom.fr.Group.Flash.Global_locations."+ns_flashn+"&ns_type=clickout&ns_url="+ns_urln;
				
				document.ns_flashp.src=ns_flash;
			}




function popup(urlPage, nWidth, nHeight)
{
 var nPage2;
 nPage2 = window.open(urlPage, "","width="+nWidth+",height="+nHeight+",resizable=1,menubar=0,status=0,toolbar=0,location=0,scrollbars=1,directories=0,left=50,top=50");
 //return false;
}

function popup2(urlPage, nWidth, nHeight)
{
 var nPage2;
 nPage2 = window.open(urlPage, "","width="+nWidth+",height="+nHeight+",resizable=1,menubar=1,status=1,toolbar=1,location=1,scrollbars=1,directories=0,left=50,top=50");
 //return false;
}

function popup3(urlPage, nWidth, nHeight)
{
 var nPage2;
 nPage2 = window.open(urlPage, "","width="+nWidth+",height="+nHeight+",resizable=0,menubar=0,status=0,toolbar=0,location=0,scrollbars=0,directories=0,left=50,top=50");
 //return false;
}


function lienarticle()
{
// ajout le Jeudi 21 Juin pour ajouter une liste dÃ©roulante dans les articles
  i=document.Liensarticle.Listearticle.selectedIndex;
 if (i == 0) return;
 url = document.Liensarticle.Listearticle.options[i].value;
 //parent.location.href = url;
 myWindow = open(document.Liensarticle.Listearticle.options[document.Liensarticle.Listearticle.selectedIndex].value,"_blank","width=730,height=800,directories=yes,location=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes",false);
}


/*
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
if (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4) {
 //Flash 4 or greater is available
 document.write ("Flash 4 or greater is available");
} else {
document.write ("Flash 4 is not available");
 //Flash 4 is not available
	 
	 if (navigator.mimeTypes && navigator.mimeTypes ["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin && navigator.plugins && navigator.plugins["Shockwave Flash"])
	{ //Flash 3 or later is available
	document.write ("Flash 3 or later is available");
	} 
	else {
	 //Flash 3 is not available
	 document.write ("Flash 3 is not available");
	}

}

*/
/*
playerVersion = eval("$version");
myLength = length(playerVersion);
while (i <= myLength) {
 i = i + 1;
 temp = substring(playerVersion, i, 1);
 if (temp == " ") {
  platform = substring(playerVersion, 1, i-1);
  majorVersion = substring(playerVersion, i + 1, 1);
  secondHalf = substring(playerVersion, i + 1, myLength - i);
  minorVersion = substring(secondHalf, 5, 2);
 }
}
// Here are some example statements to determine 
// specific major/minor version information.
if (majorVersion >= 4) {
 // Player version is 4.0r11 or later.
 document.write ("Player version is 4.0r11 or later.");
 if ((majorVersion >= 4) && (minorVersion >= 20)) {
  // Player version 4.0r20 supports printing.
   document.write ("Player version 4.0r20 supports printing.");
 }
 if ((majorVersion >= 5) && (minorVersion >= 41)) {
  // Player versions 5.0r41 and 42
   document.write ("Player versions 5.0r41 and 42");
 }
 if ((majorVersion >= 6) && (minorVersion >= 69)) {
  // Player versions 6.0r69
   document.write ("Player versions 6.0r69");
 }
 if ((majorVersion >= 7) && (minorVersion >= 19)) {
  // Player versions 7.0r19
   document.write ("Player versions 7.0r19");
 }
if ((majorVersion >= 8) && (minorVersion >= 22)) {
  // Player versions 8.0r22 is the latest player (as of September 2005)
   document.write ("Player versions 8.0r22 is the latest player (as of September 2005)");
 }
} else {
// This traps for Players that are version 4.0r11 or earlier.
 document.write ("This traps for Players that are version 4.0r11 or earlier.");
}*/






// Detect Client Browser type

//requiredVersion est la valeur du plugin que l'on veut dÃ©tecter
var requiredVersion = 7;
var flash2Installed = false;
var flash3Installed = false;
var flash4Installed = false;
var flash5Installed = false;
var flash6Installed = false;
var flash7Installed = false;
var maxVersion = 7;
//actualVersion sera la valeur du plugin installÃ© sur la machine
var actualVersion = 0;
var jsVersion = 1.0;

var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false;
var ns4=(document.layers);
var ie4=(document.all&&!document.getElementById);
var ie5=(document.all&&document.getElementById);
var ns6=(!document.all&&document.getElementById);
var isMac=(navigator.appVersion.indexOf("Mac")>=0)?1:0;
var dom=(document.getElementById)? 1:0;
var isIE = (ie4 || ie5)?1:0;

jsVersion = 1.1;
if(isIE && isWin){
  document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
  document.write('on error resume next \n');
  document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
  document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
  document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
  document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');
  document.write('flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
  document.write('flash7Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');
  document.write('</SCR' + 'IPT\> \n'); // break up end tag so it doesn't end our script
}
function detectFlash() {
  if (navigator.plugins) {
    if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
      var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
      var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;     
      var flashDescriptionParts = flashDescription.split(" ");        
      var flashVersion = parseInt(flashDescriptionParts[2].substring(0,flashDescriptionParts[2].indexOf(".")));
      
      flash2Installed = flashVersion == 2;
      flash3Installed = flashVersion == 3;
      flash4Installed = flashVersion == 4;
      flash5Installed = flashVersion == 5;
      flash6Installed = flashVersion == 6;
      flash7Installed = flashVersion >= 7;     
    }
  }
  else if (isMac){
	//pour MAC IE, on estime que le plugin est installÃ©...
	actualVersion = 7;
 }
  for (var i = 2; i <= maxVersion; i++) {  	
    if (eval("flash" + i + "Installed") == true){
		actualVersion = i;
	}
  }
  if(navigator.userAgent.indexOf("WebTV") != -1) actualVersion = 3;
  if (actualVersion >= requiredVersion) {
  	//la version du plugin installÃ© est supÃ©rieure ou Ã©gale Ã  la version nÃ©cessaire
	} 
	else {
		//la version du plugin installÃ© est infÃ©rieure Ã  la version nÃ©cessaire
       noflash();
    }
}
detectFlash();

function noflash(){
	if(isIE && isWin){
		// pour IE, on laisse la dÃ©tection automatique de la balise object flash
	}
	else{
		if (confirm("The flash plugin installed on your computer is not the latest one.\nYou may experience some graphic buggs.\nWe recommand that you download the latest flash plugin...")){
			window.open("http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash","_blank","toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes,copyhistory=yes");
		}
	}
}


/**
 * FlashObject v1.3c: Flash detection and embed - http://blog.deconcept.com/flashobject/
 *
 * FlashObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof com == "undefined") var com = new Object();
if(typeof com.deconcept == "undefined") com.deconcept = new Object();
if(typeof com.deconcept.util == "undefined") com.deconcept.util = new Object();
if(typeof com.deconcept.FlashObjectUtil == "undefined") com.deconcept.FlashObjectUtil = new Object();
com.deconcept.FlashObject = function(swf, id, w, h, ver, c, useExpressInstall, quality, xiRedirectUrl, redirectUrl, detectKey, noFlashMessage){
  if (!document.createElement || !document.getElementById) return;
  this.DETECT_KEY = detectKey ? detectKey : 'detectflash';
  this.skipDetect = com.deconcept.util.getRequestParameter(this.DETECT_KEY);
  this.params = new Object();
  this.variables = new Object();
  this.attributes = new Array();
  this.useExpressInstall = useExpressInstall;
  this.setAttribute('noFlashMessage', '');
  if(noFlashMessage) this.setAttribute('noFlashMessage',noFlashMessage);
  if(swf) this.setAttribute('swf', swf);
  if(id) this.setAttribute('id', id);
  if(w) this.setAttribute('width', w);
  if(h) this.setAttribute('height', h);
  if(ver) this.setAttribute('version', new com.deconcept.PlayerVersion(ver.toString().split(".")));
  this.installedVer = com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute('version'), useExpressInstall);
  if(c) this.addParam('bgcolor', c);
  var q = quality ? quality : 'high';
  this.addParam('quality', q);
  var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;
  this.setAttribute('xiRedirectUrl', xir);
  this.setAttribute('redirectUrl', '');
  if(redirectUrl) this.setAttribute('redirectUrl', redirectUrl);
}
com.deconcept.FlashObject.prototype = {
  setAttribute: function(name, value){
    this.attributes[name] = value;
  },
  getAttribute: function(name){
    return this.attributes[name];
  },
  addParam: function(name, value){
    this.params[name] = value;
  },
  getParams: function(){
    return this.params;
  },
  addVariable: function(name, value){
    this.variables[name] = value;
  },
  getVariable: function(name){
    return this.variables[name];
  },
  getVariables: function(){
    return this.variables;
  },
  createParamTag: function(n, v){
    var p = document.createElement('param');
    p.setAttribute('name', n);
    p.setAttribute('value', v);
    return p;
  },
  getVariablePairs: function(){
    var variablePairs = new Array();
    var key;
    var variables = this.getVariables();
    for(key in variables){
      variablePairs.push(key +"="+ variables[key]);
    }
    return variablePairs;
  },
  getFlashHTML: function() {
    var flashNode = "";
    if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture
      if (this.getAttribute("doExpressInstall")) this.addVariable("MMplayerType", "PlugIn");
      flashNode = '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'"';
      flashNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';
      var params = this.getParams();
       for(var key in params){ flashNode += [key] +'="'+ params[key] +'" '; }
      var pairs = this.getVariablePairs().join("&amp;");
       if (pairs.length > 0){ flashNode += 'flashvars="'+ pairs +'"'; }
      flashNode += '/>';
    } else { // PC IE
      if (this.getAttribute("doExpressInstall")) this.addVariable("MMplayerType", "ActiveX");
      flashNode = '<object id="'+ this.getAttribute('id') +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'">';
      flashNode += '<param name="movie" value="'+ this.getAttribute('swf') +'" />';
      var params = this.getParams();
       for(var key in params) {
        flashNode += '<param name="'+ key +'" value="'+ params[key] +'" />';
       }
      var pairs = this.getVariablePairs().join("&amp;");
       if(pairs.length > 0) flashNode += '<param name="flashvars" value="'+ pairs +'" />';
      flashNode += "</object>";
    }
    return flashNode;
  },
  write: function(elementId){
    if(this.useExpressInstall) {
      // check to see if we need to do an express install
      var expressInstallReqVer = new com.deconcept.PlayerVersion([6,0,65]);
      if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) {
        this.setAttribute('doExpressInstall', true);
        this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));
        document.title = document.title.slice(0, 47) + " - Flash Player Installation";
        this.addVariable("MMdoctitle", document.title);
      }
    } else {
      this.setAttribute('doExpressInstall', false);
    }
    if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version'))){
      var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId;
      // Bug in content display for some configurations
      // n.innerHTML = this.getFlashHTML();
	this.eng = window.setTimeout((n.innerHTML = this.getFlashHTML()),500);
    }else{
      if(this.getAttribute('redirectUrl') != "") {
	if(this.getAttribute('noFlashMessage') != "") {
          var check = window.confirm(this.getAttribute('noFlashMessage'));
	  if(check == true) document.location.replace(this.getAttribute('redirectUrl'));
	}else{
	  document.location.replace(this.getAttribute('redirectUrl'));
	}
      }
    }
  }
}

/* ---- detection functions ---- */
com.deconcept.FlashObjectUtil.getPlayerVersion = function(reqVer, xiInstall){
  var PlayerVersion = new com.deconcept.PlayerVersion(0,0,0);
  if(navigator.plugins && navigator.mimeTypes.length){
    var x = navigator.plugins["Shockwave Flash"];
    if(x && x.description) {
      PlayerVersion = new com.deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));
    }
  }else{
    try{
      var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
      for (var i=3; axo!=null; i++) {
        axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);
        PlayerVersion = new com.deconcept.PlayerVersion([i,0,0]);
      }
    }catch(e){}
    if (reqVer && PlayerVersion.major > reqVer.major) return PlayerVersion; // version is ok, skip minor detection
    // this only does the minor rev lookup if the user's major version 
    // is not 6 or we are checking for a specific minor or revision number
    // see http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/
    if (!reqVer || ((reqVer.minor != 0 || reqVer.rev != 0) && PlayerVersion.major == reqVer.major) || PlayerVersion.major != 6 || xiInstall) {
      try{
        PlayerVersion = new com.deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
      }catch(e){}
    }
  }
  return PlayerVersion;
}
com.deconcept.PlayerVersion = function(arrVersion){
  this.major = parseInt(arrVersion[0]) || 0;
  this.minor = parseInt(arrVersion[1]) || 0;
  this.rev = parseInt(arrVersion[2]) || 0;
}
com.deconcept.PlayerVersion.prototype.versionIsValid = function(fv){
  if(this.major < fv.major) return false;
  if(this.major > fv.major) return true;
  if(this.minor < fv.minor) return false;
  if(this.minor > fv.minor) return true;
  if(this.rev < fv.rev) return false;
  return true;
}
/* ---- get value of query string param ---- */
com.deconcept.util = {
  getRequestParameter: function(param){
    var q = document.location.search || document.location.href.hash;
    if(q){
      var startIndex = q.indexOf(param +"=");
      var endIndex = (q.indexOf("&", startIndex) > -1) ? q.indexOf("&", startIndex) : q.length;
      if (q.length > 1 && startIndex > -1) {
        return q.substring(q.indexOf("=", startIndex)+1, endIndex);
      }
    }
    return "";
  },
  removeChildren: function(n){
    while (n.hasChildNodes()) n.removeChild(n.firstChild);
  }
}

/* add Array.push if needed (ie5) */
if (Array.prototype.push == null) { Array.prototype.push = function(item) { this[this.length] = item; return this.length; }}

/* add some aliases for ease of use/backwards compatibility */
var getQueryParamValue = com.deconcept.util.getRequestParameter;
var FlashObject = com.deconcept.FlashObject;

// fonctions supplÃ©mentaires

		var TabOpened="news";
		
		function Rollover(TabOption,LinkReference)
		{
			if (TabOpened!="tools")
			{	
				document.getElementById("Tab_"+TabOpened).className=TabOpened+"_off";
			}
			
			if (TabOption!="tools") {
				NameofClass=LinkReference.className.split("_")
				if (NameofClass[1])
					LinkReference.className=NameofClass[0];
				else
					LinkReference.className=LinkReference.className+"_off";	
			}
			
			document.getElementById(TabOpened).style.display = "none";
			TabOpened=TabOption;

		}
		
		
		var BoxChanged=false;
		function SearchSubmit(){
			if (BoxChanged && document.form_tools.openSearch.value!='')
			{
				alert('send');
				return true;
			}
			return false;
		}
		
		function ChangeSearch(SearchBox){
			BoxChanged=true;
		}

//-------------------- Fonctions spÃ©cifiques pages RSS ------------------------------

	
function pressePapier(lien){
	if(navigator.appName == 'Microsoft Internet Explorer'){
		window.clipboardData.setData('Text', lien.href);
		return false;
	}else{
		window.open(lien.href,'','');
	}
}


/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;

//////////////////////////////////// JS AJOUTE LE 07/02/2008 /////////////////////////////////////
var selectionActuAgenda = {
	afficher: function (objet) {
		if(objet == "actu") {
			document.getElementById('boiteActu').style.display = 'block';
			document.getElementById('boiteAgenda').style.display = 'none';
			document.getElementById('ligneActu1').style.display = 'block';
			document.getElementById('ligneActu2').style.display = 'none';
			document.getElementById('ligneAgenda1').style.display = 'block';
			document.getElementById('ligneAgenda2').style.display = 'none';
		} else {
			document.getElementById('boiteAgenda').style.display = 'block';
			document.getElementById('boiteActu').style.display = 'none';
			document.getElementById('ligneAgenda1').style.display = 'none';
			document.getElementById('ligneAgenda2').style.display = 'block';
			document.getElementById('ligneActu1').style.display = 'none';
			document.getElementById('ligneActu2').style.display = 'block';
		}
	}
}

//////////////////////////////Fonction pour la méthode softclick//////////////////////////////////////////////////

/******************************************************************/
/* O.Boisard - Modification pour interpréter les click sur les listes déroulantes   **/
/******************************************************************/

function ns_onclick (a, url, name, type, winopt, init_target)
{
	var ns_l="http://fr.sitestat.com/renault-group/renault-com/s?";
	ns_l+=name;
	ns_l+='&ns_type='+type+'&ns_action=view';
	ns_l+='&ns__t='+(new Date()).getTime();
	if(!url) url=a.href;
	if(!url) url=a.value;
	var ns_0=document.referrer;
	if(ns_0.lastIndexOf('/')==ns_0.length-1) ns_0=ns_0.substring(ns_0.lastIndexOf('/'),0);
	if(ns_0.length>0) ns_l+='&amp;ns_referrer='+escape(ns_0);
	winopt = winopt || "";
	var target = (a && a.target && a.target!="")?(a.target.substring(0,1)=="_")?a.target.substring(1):a.target:"_blank";
	if(init_target) target = init_target;
	var ns_i=new Image();
	if(target && url)
	{
		if(window[target])
		{
			window.ns_softclick_timer=function(target,url)
			{
				return function()
				{
					ns_i.onload=ns_i.onerror=function()
					{
						return;
					};
					window[((window[target])?target:"_blank")].location.href=url;
				}
			}(target,url);
			window.setTimeout('ns_softclick_timer()',5000);
			ns_i.onload=ns_i.onerror=window.ns_softclick_timer;
		}
		else
		{
			window.open(url,target,winopt);
		}
	}
	ns_i.src=ns_l;
	return false;
}


function ns_onformsubmit()
{
var oForm= $("#idListe1").val();

 if(oForm == null) { } 
 else{
 var valueListe1 = oForm.split(" ");
 if(oForm != null) ns_onclick (this, valueListe1[0], valueListe1[1], "clickout", "", valueListe1[2]);
}
return false;
}

function ns_onformsubmit2()
{

var oForm = $("#idListe2").val();

 if(oForm == null) { } 
 else{
 var valueListe2 = oForm.split(" ");
 if(oForm != null) ns_onclick (this, valueListe2[0], valueListe2[1], "clickout", "", valueListe2[2]);
}
return false;
}