/****************DEBUT MENU**************** */ 

function invi(divID,flag,num){	
	var x=document.getElementById(divID);
	var y= document.getElementById("tm"+num);
	if (num!=3 && num!=5){
	x.style.visibility=(flag)?'hidden':'visible';		
	return true;	
	}
}


var retd;
function h(i,num){invi(i,1,num);}
function s(i,num){invi(i,0,num)}
function d(){retd=setTimeout("hm()",400)}
function rd(){clearTimeout(retd);}
function hm(){for(i=1;i<=5;i++) h("men"+i,i);}

function menu_haut(){
	var a=document.getElementById("men0");
	a.onmouseover=new Function("rd()");
	a.onmouseout=new Function("d()");
	for(var i=1;i<6;i++) {
	document.getElementById("tm"+i).onmouseover=new Function("hm();s('men"+i+"','"+i+"')");
	}
}
/****************FIN MENU**************** */ 

var uurl="";
function liens (uurl){
window.location.href= uurl;
}

function OW(theURL,winName,features) {
  window.open(theURL,winName,features);
}

// Masque le layer //
function hideIt(layerName){	
document.getElementById("content_"+layerName).style.display ="none";
//document.getElementById(layerName).src ="../img_com/home_tit_"+layerName+"_off.gif";
old_news ="";
}
function showIt(layerName){ 
if (old_news!="" && old_news!=layerName) {

document.getElementById("content_"+old_news).style.display ="none";
document.getElementById("image_"+old_news).src ="img/home_tit_"+old_news+"_off.gif";
}
document.getElementById("content_"+layerName).style.display ="block";
document.getElementById("image_"+layerName).src ="img/home_tit_"+layerName+"_on.gif";
old_news = layerName;
}







