function getElementsByClassName(class_name)
{
  var all_obj,ret_obj=new Array(),j=0,teststr;

  if(document.all)all_obj=document.all;
  else if(document.getElementsByTagName && !document.all)
    all_obj=document.getElementsByTagName("*");

  for(i=0;i<all_obj.length;i++)
  {
    if(all_obj[i].className.indexOf(class_name)!=-1)
    {
      teststr=","+all_obj[i].className.split(" ").join(",")+",";
      if(teststr.indexOf(","+class_name+",")!=-1)
      {
        ret_obj[j]=all_obj[i];
        j++;
      }
    }
  }
  return ret_obj;
}


startList = function() {
 if (document.all&&document.getElementById) {
  navRoot = getElementsByClassName("more ");
	for (i=0; i<navRoot.length; i++) {
	 node = navRoot[i];
	 if (node.nodeName=="LI" || node.nodeName=="li") {
		node.onmouseover=function() {
	   this.className+=" over";
		}
	  node.onmouseout=function() {
	   this.className=this.className.replace(" over", "");
	  }
   }
  }
  navRoot = getElementsByClassName("more aktiv ");
	for (i=0; i<navRoot.length; i++) {
	 node = navRoot[i];
	 if (node.nodeName=="LI" || node.nodeName=="li") {
		node.onmouseover=function() {
	   this.className+=" over";
		}
	  node.onmouseout=function() {
	   this.className=this.className.replace(" over", "");
	  }
   }
  }
 }
}
window.onload=startList;
