    _ps=parseInt(navigator.productSub);
    isIE=(document.all)?true:false;
    isIE4=(!document.getElementById&&isIE)?true:false;
    isIE5=(!isIE4&&isIE&&!window.createPopup)?true:false;
    isIE55=(!isIE4&&isIE&&window.createPopup)?true:false;
    isIE6=(isIE&&document.getElementById)?true:false;
    isNS6=(navigator.userAgent.toLowerCase().indexOf("gecko")!=-1)?true:false;
    isKONQ=(navigator.userAgent.toLowerCase().indexOf("konqueror")!=-1)?true:false;
    isSAFARI=(navigator.userAgent.toLowerCase().indexOf("safari")!=-1)?true:false;
    isMOZILLA=(navigator.userAgent.toLowerCase().indexOf("mozilla")!=-1)?true:false;
    if(isKONQ||isSAFARI){_ps=0;isNS6=0;}
    isNS4=(document.layers)?true:false;
    isNS61=(_ps>=20010726)?true:false;
    isNS7=(_ps>=20020823)?true:false;
    isOPERA=(window.opera)?true:false;
    if(isOPERA||isKONQ)isIE=0;
    isOPERA5=(navigator.userAgent.toLowerCase().indexOf("opera 5")!=-1)?true:false;
    isOPERA6=(navigator.userAgent.toLowerCase().indexOf("opera 6")!=-1)?true:false;
    isOPERA7=(navigator.userAgent.toLowerCase().indexOf("opera 7")!=-1||navigator.userAgent.toLowerCase().indexOf("opera/7")!=-1)?true:false;
    isMAC=(navigator.appVersion.toLowerCase().indexOf("mac")!=-1)?true:false;
    isMAC45=(navigator.appVersion.toLowerCase().indexOf("msie 4.5")!=-1)?true:false;
    if(isNS61||isNS4||isOPERA||isSAFARI)isMAC=false;
    isNS60=false;
    if(isNS6&&!isNS61)isNS60=true;
    if(isOPERA7)isOPERA=false;
    if(isOPERA)isIE55=false;

    // Utilisé pour IE car il ne gère pas les :hover sur autre chose que des <a>
    startNav = function() {
      if (isIE5 || isIE55 || isIE6) {
        navRoot = document.getElementById("DivNavigationPrincipale");
        for (i=0; i<navRoot.childNodes.length; i++) {
          node = navRoot.childNodes[i];
          if (node.nodeName.toLowerCase()=="li") {
            node.onmouseover=function() {
              this.className+=" lihoverIE";
              this.style.zIndex = 100;
              this.parentElement.style.zIndex = 100;
            }
            node.onmouseout=function() {
              this.className=this.className.replace(" lihoverIE", "");
              this.style.zIndex = 0;
            }
          }
        }
      }
      applyTargetToExtLinks();
    }

    function applyTargetToExtLinks() {
      var o = document.getElementsByTagName("A");
      for ( var i in o ) {
        if ( o[i].href ) {
          href = o[i].href;
          if ( ( o[i].href.indexOf ( window.location.hostname ) == -1 ) && ( o[i].href.indexOf ( "javascript" ) == -1 ) ){
            o[i].target = "_blank";
          }
        }
      }
    }
    window.onload = startNav;
