function AfficheMenu(SCN, MenuXml)
        {
            document.write('<object data="/menu.swf?variablesSCN='+SCN+'&amp;fichierXml='+MenuXml+'" type="application/x-shockwave-flash" width="980" height="174">\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="loop" value="false" />\n');
 			document.write('<param name="menu" value="false" />\n');
 			document.write('<param name="bgcolor" value="#54120E" />\n');
			document.write('<param name="movie" value="/menu.swf?variablesSCN='+SCN+'&amp;fichierXml='+MenuXml+'"/>\n');
			document.write('<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />\n');
			document.write('<!--[if IE]>\n');
			document.write('	<EMBED src="/menu.swf?variablesSCN='+SCN+'&amp;fichierXml='+MenuXml+'" loop=false menu=false quality=best scale=exactfit bgcolor=#FFFFFF  WIDTH="980" HEIGHT="174" NAME="Menu" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">\n');
			document.write('	</EMBED> \n');
			document.write('<![endif]-->\n');
    	    document.write('</object>\n');			
        }

/*
function AfficheMenu(url, x, y)
        {
            document.write('<object data="'+url+'" type="application/x-shockwave-flash" width="'+x+'" height="'+y+'">\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="loop" value="false" />\n');
 			document.write('<param name="bgcolor" value="#FFFFFF" />\n');
			document.write('<param name="movie" value="'+url+'"/>\n');
			document.write('<param name="wmode" value="transparent">\n');
			document.write('<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />\n');
			document.write('<!--[if IE]>\n');
			document.write('	<EMBED src="'+url+'" loop=false quality=best scale=exactfit bgcolor=#FFFFFF  WIDTH="'+x+'" HEIGHT="'+y+'" NAME="Menu" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="transparent">\n');
			document.write('	</EMBED> \n');
			document.write('<![endif]-->\n');
    	    document.write('</object>\n');			
        }
*/
function AfficheFlash(url, x, y)
        {
            document.write('<object data="'+url+'" type="application/x-shockwave-flash" width="'+x+'" height="'+y+'">\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="loop" value="true" />\n');
 			document.write('<param name="bgcolor" value="#000000" />\n');
			document.write('<param name="movie" value="'+url+'"/>\n');
			document.write('<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />\n');
			document.write('<!--[if IE]>\n');
			document.write('	<EMBED src="'+url+'" loop=true quality=best scale=exactfit bgcolor=#FFFFFF  WIDTH="'+x+'" HEIGHT="'+y+'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">\n');
			document.write('	</EMBED> \n');
			document.write('<![endif]-->\n');
    	    document.write('</object>\n');			
        }


// Patch pour IE qui ne reconnait pas les hover sur les listes
/*
sfHover = function() {
  var sfEls = document.getElementById('MenuDhtmlUl1').getElementsByTagName('LI');
  for (var i=0; i<sfEls.length; i++) {
	sfEls[i].onmouseover=function() {
	  this.className+=' sfhover';
	}
	sfEls[i].onmouseout=function() {
	  this.className=this.className.replace(' sfhover', '');
	  
	}
  }
  
}
if (window.attachEvent) window.attachEvent('onload', sfHover);
*/

// ------------ Pour aligner le pied de page en bas de page ...
function getWindowHeight() {
    var windowHeight=0;
    if (typeof(window.innerHeight)=='number') {
        windowHeight=window.innerHeight;
    }
    else {
     if (document.documentElement&&
       document.documentElement.clientHeight) {
         windowHeight = document.documentElement.clientHeight;
    }
    else {
     if (document.body&&document.body.clientHeight) {
         windowHeight=document.body.clientHeight;
      }
     }
    }
    return windowHeight;
}



// ----------------- fin de l'alignement du pied de page