function initMenu() { var nodes = document.getElementById("navigation").getElementsByTagName("li"); for (var i=0; i