1*67e74705SXin ListartList = function() { 2*67e74705SXin Li if (document.all&&document.getElementById) { 3*67e74705SXin Li navRoot = document.getElementById("nav"); 4*67e74705SXin Li for (i=0; i<navRoot.childNodes.length; i++) { 5*67e74705SXin Li node = navRoot.childNodes[i]; 6*67e74705SXin Li if (node.nodeName=="LI") { 7*67e74705SXin Li node.onmouseover=function() { 8*67e74705SXin Li this.className+=" over"; 9*67e74705SXin Li } 10*67e74705SXin Li node.onmouseout=function() { 11*67e74705SXin Li this.className=this.className.replace(" over", ""); 12*67e74705SXin Li } 13*67e74705SXin Li } 14*67e74705SXin Li } 15*67e74705SXin Li } 16*67e74705SXin Li} 17*67e74705SXin Liwindow.onload=startList; 18