// JavaScript Document
//if(window.navigator.systemLanguage && !window.navigator.language) {
  function ie5lihack(ulobj) {
    /*var LI = ulobj.firstChild;
	maxwidth=0;
    do {
		var newwidth=LI.firstChild.width;
		alert(newwidth);
      LI = LI.nextSibling;
    } while(LI);*/
	//alert(ulobj.style.width);
  }
  
  function hoverIE() {
    var LI = document.getElementById("mnav").firstChild;
    do {
      if (sucheUL(LI.firstChild)) {
        LI.onmouseover=einblenden;
		LI.onmouseout=ausblenden;
      }
      LI = LI.nextSibling;
    }
    while(LI);
	/*
	var ullst = document.getElementsByTagName("ul");
	for (var i=0;i<ullst.length;i++) {
		if (ullst[i].className=="snav") {
			ie5lihack(ullst[i]);
		};
	};
	*/
  }

  function sucheUL(UL) {
    do {
      if(UL) UL = UL.nextSibling;
      if(UL && UL.nodeName == "UL") return UL;
    }
    while(UL);
    return false;
  }
  
  function sucheIMG(IMG) {
    do {
      if(IMG && IMG.nodeName == "IMG") return IMG;
	  if(IMG) IMG = IMG.nextSibling;
    }
    while(A);
    return false;	  
  }
  
  function sucheA(A) {
    do {
	  if(A && A.nodeName == "A") return A;
	  if(A) A = A.nextSibling;
    }
    while(A);
    return false;	  
  }
  
  function einblenden() {
    var UL = sucheUL(this.firstChild);
	UL.style.display = "block";
	//UL.style.backgroundColor = "#FFFFFF";
	var A = sucheA(this.firstChild);
	if (canchor!=A) {
	  canchor = A;
	  cfunc = A.getAttribute("onmouseout");
	  A.removeAttribute("onmouseout");
	  
	}
	A.onmouseover();
  }
  
  function ausblenden() {
    sucheUL(this.firstChild).style.display = "none";
	var suA = sucheA(this.firstChild);
	if (suA==canchor) {
		if (suA.getAttribute("onmouseover")) {
			suA.setAttribute("onmouseout",cfunc);
			suA.onmouseout();
		}
	}
	
  }
  var canchor;
  var cfunc;
//}