1 startList = function() {
2 if (document
.all
&&document
.getElementById
) {
3 navRoot
= document
.getElementById("nav");
4 for (i
=0; i
<navRoot
.childNodes
.length
; i
++) {
5 node
= navRoot
.childNodes
[i
];
6 if (node
.nodeName
=="LI") {
7 node
.onmouseover=function() {
8 this.className
+=" over";
10 node
.onmouseout=function() {
11 this.className
=this.className
.replace(" over", "");
17 window
.onload
=startList
;