stuhover = function() { var cssrule; var newselector; for (var i = 0; i < document.stylesheets.length; i++) for (var x = 0; x < document.stylesheets[i].rules.length ; x++) { cssrule = document.stylesheets[i].rules[x]; if (cssrule.selectortext.indexof("li:hover") != -1) { newselector = cssrule.selectortext.replace(/li:hover/gi, "li.iehover"); document.stylesheets[i].addrule(newselector , cssrule.style.csstext); } } var getelm = document.getelementbyid("nav").getelementsbytagname("li"); for (var i=0; i