/*
 Profile `de Fietsspecialist`
 Navigatiemenu Javascript
 09-01-2006 i-Aspect B.V.
 Origineel van: alistapart.com
*/

startList = function() {
   if (document.all&&document.getElementById) {
      navRoot = document.getElementById("menu");
      for (i=0; i<navRoot.childNodes.length; i++) {
         node = navRoot.childNodes[i];
         if (node.nodeName=="LI") {
            node.onmouseover=function() {
               this.className+=" over";
            }
            node.onmouseout=function() {
               this.className=this.className.replace(" over", "");
            }
         }
      }
   }
}
addEventSimple(window,'load',startList);

// set active redactioneel article

function setActiveArticle(){
   if(document.getElementById("archive")){
      var archiveItem = document.getElementById("archive");
      var linkItems = archiveItem.getElementsByTagName('A');
      for(x=0;x<linkItems.length;x++){
         if(self.location.href==linkItems[x])
            linkItems[x].className='active';
      }
   }
}
addEventSimple(window,'load',setActiveArticle);
