﻿stuHover = function() {
var stuEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<stuEls.length; i++) {
stuEls[i].onmouseover=function() {
this.className+=" over";
}
stuEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" over\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", stuHover);