// JavaScript Document
// http://www.alistapart.com/articles/horizdropdowns

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("main_menu");
if ( navRoot != null)
{
	for (i=0; i<navRoot.childNodes.length; i++) {
	node = navRoot.childNodes[i];
	if ((node.nodeName=="LI") && ( node.className != "over")) {
	node.onmouseover=function() {
	this.className+=" over";
	  }
	  node.onmouseout=function() {
	  this.className=this.className.replace(" over", "");
	   }
	   }
	  }
	 }
	}
}

if (document.getElementById && document.createElement) {
  if (window.addEventListener) {
    window.addEventListener("load",startList,true);
  } else if (window.attachEvent){
    window.attachEvent("onload",startList);
  }
}

//AAL: modified to chain onload, was breakin on IE6 w/ body onload otherwise
//window.onload=startList;

