All pastes #730419 Raw Edit

Mine

public javascript v1 · immutable
·published 2007-10-09 05:51 UTC
rendered paste body
function P7_ExpMenu(){  if(navigator.appVersion.indexOf("MSIE")==-1){      return;      }    var i,k,g,lg,r=/\s*p7hvr/,nn=',c,cs='p7hvr',bv='p7menubar';    for(i=0;i<10;i++){        g=document.getElementById(bv+nn);        if(g){          lg=g.getElementsByTagName("LI");            if(lg){              for(k=0;k<lg.length;k++){                lg[k].onmouseover=function(){c=this.className;cl=(c)?c+' '+cs:cs;this.className=cl;};          lg[k].onmouseout=function(){c=this.className;this.className=(c)?c.replace(r,'):'; };                   }       }             }      nn=i+1;  }}