function navigationFunction() {
	if (document.all&&document.getElementById) {
		var nav = document.getElementById('level0');
    for (i=0; i<nav.childNodes.length; i++) {
      node = nav.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over";
					this.style.backgroundImage = 'url(images/button2.jpg)';
				}
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "");
					this.style.backgroundImage = 'url(images/button.jpg)';
        }
      }
    }
		var nav = document.getElementById('level1');
    for (i=0; i<nav.childNodes.length; i++) {
      node = nav.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over2";
				}
        node.onmouseout=function() {
          this.className=this.className.replace(" over2", "");
        }
      }
    }
  }
}

window.onload=function() {
  navigationFunction();
}

function el(name) {
	return document.getElementById(name);
}
