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="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');                    }











        // Patch pour IE qui ne reconnait pas les hover sur les listes       sfHover = function() 
        {          var sfEls = document.getElementById('MenuDHTML').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;}

function setFooter( content, footer) {    if (document.getElementById) 
    {        var windowHeight=getWindowHeight();        if (windowHeight>0) 
        {            var contentHeight= document.getElementById( content ).offsetHeight;            var footerElement=document.getElementById( footer );            var footerHeight=footerElement.offsetHeight;            if (windowHeight-(contentHeight+footerHeight)>=0) 
            {                footerElement.style.position='relative';                footerElement.style.top= (windowHeight-(contentHeight+footerHeight))+'px';            }            else 
            {                footerElement.style.position='static';            }        }     }}

window.onload = function() { setFooter( 'PAGE','Foot2' ) ;
                            if ( window.XMLHttpRequest && document.epando ) { document.getElementById( 'MenuDHTML').style.marginBottom='-120px'; } 
                            
                            var el=document.getElementById( 'eligibilite-num' );
                            if ( el && NumLigne )
                                el.value = NumLigne;
                            
                            }window.onresize = function() { setFooter( "PAGE", "Foot2"); }
// ----------------- fin de l'alignement du pied de page


function SaisiNum( champ )
{
    var txt=champ.value;
    txt=txt.replace( /[^0-9]/gi,"");
    champ.value=txt;
}
