function colG() {
	var nomImg, nomTitre, bgFullPath, titleFullPath
	
	
	//loadContent(url,id) 
	url = self.location.pathname
	
	//on supprime le début de la chaine '/fr/' ou '/en/' = 4 caract
	url = url.substring(4, url.length)
	
	//detection de la langue

	if (self.location.href.indexOf("/en/",0)>0) 
		lang='en'
	else if (self.location.href.indexOf("/fr/",0)>0)
		lang='fr'
		
	
	//construction du nom de l'image de fond
	nomImg = url.substring(0, url.indexOf("/",0))
	if (nomImg=="realisations") {
		nomImg = url.substring(url.indexOf("/",0)+1, url.indexOf(".",0))
		//alert(nomImg)
	}
	else if (nomImg=="") {
		nomImg = url.substring(0, url.indexOf(".",0))
	}
	bgFullPath = 'url(/images/fonds/'+ nomImg +'.jpg)'
	
	
	
	//on ne charge le fond que s'il est different du précédent
	if (document.getElementById("colonne_g").style.backgroundImage != bgFullPath) {
		document.getElementById("colonne_g").style.backgroundImage = bgFullPath
		
	}	
	
	
	
	//construction du nom de l'image de titre
	nomTitre = url.substring(0, url.indexOf(".",0))
	nomTitre = nomTitre.replace('/','-')
	titleFullPath = 'url(/images/'+lang+'/titres/h1_'+ nomTitre +'.gif)'
	
	//titre
	document.getElementById("titre").style.backgroundImage  = titleFullPath
	//alert(titleFullPath)
	
	
	
	//chargement des menus Gauche
	//alert("charge : " + nomTitre)
	if (nomImg=='eclairage') {
		loadContent("/"+lang+"/"+nomImg+'/menuEclairage.htm','menuAdd')
		document.getElementById("titre").style.height="90px"
	}
	else if (nomImg=='telecommunication') {
		loadContent("/"+lang+"/"+nomImg+'/menuTelecommunication.htm','menuAdd')
		document.getElementById("titre").style.height="90px"
	}
	else if ((nomTitre=='valmont_france-savoir_faire')| (nomTitre=='valmont_france-logiciels')| (nomTitre=='valmont_france-service')) {
		loadContent("/"+lang+"/"+nomImg+'/menuSavoir_faire.htm','menuAdd')
		document.getElementById("titre").style.height="90px"
	}	
	else if ((nomTitre=='valmont_france-certifications')| (nomTitre=='valmont_france-marquage')| (nomTitre=='valmont_france-marquage_ce')) {
		loadContent("/"+lang+"/"+nomImg+'/menuCertification.htm','menuAdd')
		document.getElementById("titre").style.height="90px"
	}			
	else {
		loadContent('/blank.htm','menuAdd')
		document.getElementById("titre").style.height='180px'
	}
	
	
	
	//constitution du chemin de fer
	if (lang=="fr") {
		homepage="Accueil"
		document.getElementById("cdf").innerHTML = '<a href="/'+lang+'/index.htm">'+homepage+'</a> > <strong>'+nomImg.replace('_',' ')+'</strong>'
	}
	else {
		homepage="Homepage"
		document.getElementById("cdf").innerHTML = '<a href="/'+lang+'/index.htm">'+homepage+'</a> >'

	}
	

	
	
	
	
	
	//window.status = nomTitre + " # " + nomImg
	


}




function loadContent(url,id) {
	var xhr_object = null;
	var position = id;
	
	//window.status = url
	
	if(window.XMLHttpRequest)  xhr_object = new XMLHttpRequest();
	else if (window.ActiveXObject)  xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
	
	// On ouvre la requete vers la page d&eacute;sir&eacute;e
	xhr_object.open("GET", url, true);
	xhr_object.onreadystatechange = function(){
		if ( xhr_object.readyState == 4 )
			{
			// j'affiche dans la DIV sp&eacute;cifi&eacute;es le contenu retourn&eacute; par le fichier
			document.getElementById(position).innerHTML = (xhr_object.responseText)
		}
	}
	// dans le cas du get
	xhr_object.send(null);
}





function showCombo(v) {
	//alert(document.forms[0].menuvalmont.selectedIndex) 
	if (document.forms[0].menuvalmont.selectedIndex == 3) document.getElementById("f2").style.display=""
	else document.getElementById("f2").style.display="none"
	//alert(document.forms[0].menuvalmont.selectedIndex) 
	
}
