/**
 * @author Anton
 * Taken from ALA: http://www.alistapart.com/articles/dropdowns/
 * Needed to display LI items of a UL with id="menu" on hover.
 * Corresponding CSS part:
 * 		#menu li:hover ul, #menu li.over ul { display: block; }
 */

startList = function() {
	/* below checks if this is IE5+ */
	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", "");
				}
			}
		}
	}
}

function init()
{
	startList();
}

window.onload = init;