
if(window.navigator.systemLanguage && !window.navigator.language) {
  function hoverIE() {
    var LI = document.getElementById("Navigation").firstChild;
    do {
      if (sucheUL(LI.firstChild)) {
        LI.onmouseover=einblenden; LI.onmouseout=ausblenden;
      }
      LI = LI.nextSibling;
    }
    while(LI);
  }

  function sucheUL(UL) {
    do {
      if(UL) UL = UL.nextSibling;
      if(UL && UL.nodeName == "UL") return UL;
    }
    while(UL);
    return false;
  }

  function einblenden() {
    var UL = sucheUL(this.firstChild);
    UL.style.display = "block"; UL.style.backgroundColor = "silver";
  }
  function ausblenden() {
    sucheUL(this.firstChild).style.display = "none";
  }

  window.onload=hoverIE;
}


wmtt = null;
var x, y;
document.onmousemove = updateWMTT;
function updateWMTT(e){
x = (!e) ? window.event.x + document.body.scrollLeft : e.pageX;
y = (!e) ? window.event.y + document.body.scrollTop: e.pageY;
if(typeof document.body.scrollLeft=='number'){
w = document.body.scrollLeft + document.body.clientWidth;
h = document.body.scrollTop + document.body.clientHeight
}
else if(typeof window.pageYOffset=='number'){
w = window.pageXOffset+window.innerWidth;
h = window.pageYOffset+window.innerHeight
}
t = y + 20;
l = x + 20;
if(wmtt){
if(t + wmtt.offsetHeight > h) wmtt.style.top = y - 20 - wmtt.offsetHeight + 'px';
else wmtt.style.top = t + "px"; 
if(l + wmtt.offsetWidth > w) wmtt.style.left = w - 20 - wmtt.offsetWidth+'px';
else wmtt.style.left = l + "px";
}
}
function showWMTT(id){
wmtt = document.getElementById(id);
wmtt.style.display = "block";
}
function hideWMTT(){
wmtt.style.display = "none";
}
