﻿window.onload = init;

function init() {
  e = document.getElementById('dwddBar');
  if (e) {
    e = e.getElementsByTagName('li');
    for (i = 0; i < e.length; i++) {
      if (e[i].childNodes.length) {
        e[i].onmouseover = mouseover;
        e[i].onmouseout = mouseout;
      }
    }
  }

}

function mouseover() {
  this.className = 'hover';
}

function mouseout() {
  this.className = '';
}
