
      <!--//--><![CDATA[//>
      <!--
      /********************************************************/
      /*                                                      */
      /* fonction permettant d'afficher ou non les sous-menus */
      /*                                                      */
      /********************************************************/

      sfHover = function() {
      	var sfEls = document.getElementById("menuSup").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);

      /***************************************************************/
      /*                                                             */
      /* fin de fonction permettant d'afficher ou non les sous-menus */
      /*                                                             */
      /***************************************************************/

      /***************************************************************************************/
      /*                                                                                     */
      /* fonctions permettant de placer automatiquement le pied de page en bas de la fenêtre */
      /*                                                                                     */
      /***************************************************************************************/

      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() {
        if (document.getElementById) {
          var windowHeight = getWindowHeight();

          if (windowHeight > 0) {
            var contentHeight = document.getElementById('wrapper').offsetHeight;
            var footerElement = document.getElementById('pied_de_page');
            var footerHeight  = footerElement.offsetHeight;

            if (windowHeight - contentHeight - footerHeight >= 0) {
              footerElement.style.top = (windowHeight - contentHeight - footerHeight -23 ) + 'px';
              }
            else {
              footerElement.style.top = '0px';
              }
            }
          }
        }

      window.onload = function() {
        setFooter();
        }

      window.onresize = function() {
        setFooter();
        }

      /***********************************************************************************************/
      /*                                                                                             */
      /* fin des fonctions permettant de placer automatiquement le pied de page en bas de la fenêtre */
      /*                                                                                             */
      /***********************************************************************************************/

      //--><!]]>
