var objInt;
function displaySM(n)
{
for(i=0;i<=6;i++)
	{
	if (document.getElementById("M"+i))
		{
		if (document.getElementById("M"+i).className!='EnCours') document.getElementById("M"+i).className='';
		}
	if (document.getElementById("SM"+i))	document.getElementById("SM"+i).style.display='none';
	}
if (n>=0)
	{
	if (document.getElementById("M"+n))
		{
		if (document.getElementById("M"+n).className!='EnCours')	document.getElementById("M"+n).className='Over';
		}
	if (document.getElementById("SM"+n)) 	document.getElementById("SM"+n).style.display='block';
	}
if (objInt)	clearInterval(objInt);
}

function hideSM(b)
{
if (objInt || !b)	clearInterval(objInt);
if (b)	objInt=setInterval("displaySM(-1);", 50);
}

function displayFlashMenu(ident,nomflash,titre,width,height)
{
html='<object  data="'+nomflash+'" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'" id="'+ident+'" title="'+titre+'">';
html=html+'<param name="movie" value="'+nomflash+'" />';
html=html+'<param name="'+ident+'" value="false" />';
html=html+'<param name="quality" value="high" />';
html=html+''+titre+'';
html=html+'</object>';
document.write(html);
}