

function installMouseover(){
    if (document.all && document.getElementById) {
        navRoot = document.getElementById("menu");
        if (navRoot) {
            for (i=0; i<navRoot.childNodes.length; i++) {
                rootNode = navRoot.childNodes[i];
                if (rootNode.nodeName=="UL") {
                    for (i=0; i<rootNode.childNodes.length; i++) {
                        node = rootNode.childNodes[i];
                        if (node.nodeName=="LI") {
                            node.onmouseover=function() { this.className+=" over"; }
                            node.onmouseout=function() {
                                this.className=this.className.replace(" over", "");
                            }
                        }
                    }
                }
            }
        } else {
            alert ("Element ID 'menu' nicht gefunden -- bitte den Webmaster (Karsten) benachrichtigen.");
        }
    }
}


window.onload = installMouseover


