/**
 * Make the top navigation work some browsers
 */
var top_navigation = function () {
	if (document.all && document.getElementById) {
		navBase = document.getElementById("top_menu");
		for (i=0; i<navBase.childNodes.length; i++) {
			child = navBase.childNodes[i];
			if (child.nodeName == "LI") {
				child.onmouseover = function () {
					this.className += " over";
				}
				child.onmouseout = function () {
					this.className = this.className.replace(" over", "");
				}
			}
		}
	}
}

if(window.Lyra == undefined){
	window.onload = top_navigation;
}else{
	Lyra.Events.listen("onLoad", top_navigation);
}
