function hover(obj,over, DisplayBackground)
{
	if(document.all)
	{
		UL = obj.getElementsByTagName('ul');
		if(UL.length > 0)
		{
			sousMenu = UL[0].style;

			if (over==1){
				if (DisplayBackground==1) {
					/*obj.style.background='background:url("/img/FR/moteur/flechemenu_orange.gif") no-repeat 2% 50%;background-position:right;';*/
					/*obj.style.background='background:url("/img/FR/moteur/flechemenu_orange.gif") no-repeat;background-position:left;';*/
				}	
				sousMenu.display = 'block';
			}
			else{
				if (DisplayBackground==1) {
					/*obj.style.background='background:url("/img/FR/moteur/flechemenu_orange.gif") no-repeat 2% 50%;background-position:right;';*/
					/*obj.style.background='background:url("/img/FR/moteur/flechemenu_orange.gif") no-repeat;background-position:left;';*/
				}	
				sousMenu.display = 'none';
			}
		}
	}
}


function genereMenuDeroulant(obj, DisplayBackground)
{
	if (DisplayBackground == null){
		DisplayBackground = 1;
	}

	if ( eval("document.getElementById('"+obj+"')")!=null )
	{
		LI = eval("document.getElementById('"+obj+"').getElementsByTagName('li')");
		nLI = LI.length;
		for(i=0; i < nLI; i++){
			LI[i].style.value='none';
			LI[i].onmouseover = function(){hover(this,1, DisplayBackground);}
			LI[i].onmouseout = function(){hover(this,0, DisplayBackground);}
		}
	}
}
