startList = function() { if (document.all&&document.getElementById) { LI = document.getElementById("about").getElementsByTagName('LI'); for (i=0; i < LI.length; i++) { LI[i].onmouseover=function() { this.className+=" act"; } LI[i].onmouseout=function() { this.className=this.className.replace(" act", ""); } } } }