// Hilfsskript für Suckerfish-Navigation nach http://www.htmldog.com/
// bei Internet Explorer
startList = function() {
    if (document.all&&document.getElementById) {
        navRoot = document.getElementById('menuliste');
        for (i=0; i<navRoot.childNodes.length; i++) {
            node = navRoot.childNodes[i];
            if (node.nodeName.toLowerCase()=='li') {
                node.onmouseover=function() {
                    this.className+=' over';
                }
                if (i==0) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('0')", 100);
		   }
		}
                if (i==1) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('1')", 100);
		   }
                }
                if (i==2) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('2')", 100);
		   }
                }
                if (i==3) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('3')", 100);
		   }
                }
                if (i==4) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('4')", 100);
		   }
                }
                if (i==5) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('5')", 100);
		   }
                }
                if (i==6) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('6')", 100);
		   }
                }
                if (i==7) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('7')", 100);
		   }
                }
                if (i==8) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('8')", 100);
		   }
                }
                if (i==9) {
                   node.onmouseout=function() {
                       window.setTimeout("machezu('9')", 100);
		   }
                }

            }
        }
    }
}

machezu = function(index) {
   navRoot = document.getElementById('menuliste');
   node = navRoot.childNodes[index];
   node.className=node.className.replace(' over', '');
}

myInit = function() {
    startList();
}

// Fehler abfangen
myError = function() {
    return true;
}
window.onerror=myError;
window.onload=myInit;
