// JavaScript Document


/* ============================== AFFICHAGE DES FLASH */
	function afficheFlash(version,nom,largeur,hauteur){
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+',0,0,0" width='+largeur+' height='+hauteur+'>\n');
		document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
		document.write('<param name="movie" value='+nom+' />\n');
		document.write('<param name="quality" value="high" />\n');
		document.write('<param name="wmode" value="transparent" />\n');
		document.write('<embed src='+nom+' quality="high" wmode="transparent" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width='+largeur+' height='+hauteur+'></embed>\n');
		document.write('</object>\n');
	}
/* ============================== AFFICHAGE DES FLASH */


/* ============================== MENU */
	function hover(obj)
	{
		UL = obj.getElementsByTagName('ul');
		if(UL.length > 0)
		{
			sousMenu = UL[0].style;
			if(sousMenu.display == 'none' || sousMenu.display == '')
			{
				sousMenu.display = 'block';
			}
		  	else
			{
				sousMenu.display = 'none';
		  	}
	  	}
	}
	
	function setHover(){
		LI = document.getElementById('menuHaut').getElementsByTagName('li');
	  	nLI = LI.length;
	  	for(i=0; i < nLI; i++)
		{
			LI[i].onmouseover = function()
			{
		  		hover(this);
			}
			LI[i].onmouseout = function()
			{
		  		hover(this);
			}
	  	}
	}
	
	function  eclaireMenu(lienMenu)
	{
		document.getElementById(lienMenu).style.color="#fcf6d7";
		document.getElementById(lienMenu).style.backgroundPosition="0 -38px";
	}
	
	function  eteintMenu(lienMenu)
	{
		document.getElementById(lienMenu).style.color="#ece9d7";
		document.getElementById(lienMenu).style.backgroundPosition="0 0";
	}
/* ============================== MENU */