// JavaScript Document
<!-- Script pour afficher/masquer du texte dans pages annales concours --> 


function toggleDisplay(elmt)
{
   if(typeof elmt == "string")
      elmt = document.getElementById(elmt);
   if(elmt.style.display == "none")
      elmt.style.display = "";
   else
      elmt.style.display = "none";
}



<!-- Script pour ie qui ne supporte pas le hover pour les menus déroulants --> 
sfHover = function() {
        var sfEls = document.getElementById("menu_deroulant" ).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(new RegExp(" sfhover\\b" ), "" );
                }
        }
}
if (window.attachEvent) window.attachEvent("onload", sfHover); 


<!-- Script pour permutation photos haut --> 
function affiche()
{ for ( var n=0;n<imag.length;n++ )
 { imag[n][0]++;
  if ( imag[n][0]>=imag[n].length ) imag[n][0]=1;
  affimg[n].src=imag[n][imag[n][0]]; }
  setTimeout("affiche();",200); }


