function changer_langue(){
	//alert("jyfjfjhf");
	newURL = 'http://';
	decoupURL = location.href.substring(7).split('/');
	var	x	=	decoupURL[decoupURL.length-1].split('.');
		decoupURL[decoupURL.length-1]	=	x[0]+".html"
	if(langue!=1){
	
		for (i=0, n = decoupURL.length-1; i<n; i++)
		{
		
		if(decoupURL[i]!="ang")	newURL += decoupURL[i]+'/'; 
		//chemin += ' <b><a href="' + newURL + '">' + decoupURL[i] + '</a></b> ';
		
		}
	}
	else {
		var	x	=	decoupURL[decoupURL.length-1].split('.');
		decoupURL[decoupURL.length-1]	=	x[0]+".php"
		//alert(decoupURL[decoupURL.length-1]);
		for (i=0, n = decoupURL.length-1; i<n; i++)
		{
		//if (i==n) {decoupURL = location.href.substring(7).split('/');}
		newURL += decoupURL[i]+'/'; 
		if (i == 0) newURL += 'ang/'; 
		
		//chemin += ' <b><a href="' + newURL + '">' + decoupURL[i] + '</a></b> ';
		
		}
	}
	newURL += decoupURL[decoupURL.length-1]; 
	
	document.location.href=newURL;
}


function ouvrir2(x){
window.open(x,"identification","menubar=no,scrollbars=yes,width=465,height=365,resizable=0");
}
function go(i){
 if (document.meteo.ville.options[i].value != '--'){
 ouvrir2(document.meteo.ville.options[i].value)
}
}
function ouvrir3(x){
window.open(x,"identification","menubar=no,scrollbars=no,width=422,height=460,resizable=0");
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function rollover_tjs(nom,src) {	
	document.images[nom].src=src;
}
function load() {
	if (document.images) {
		this.length=load.arguments.length;
		for (var i=0;i<this.length;i++) {
			this[i+1]=new Image();
			this[i+1].src=load.arguments[i];
		}
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


