function initPage() {
	var n = document.getElementById("navigation");
	if (n) {
		var lis = n.getElementsByTagName("li");
		for (var i = 0; i < lis.length; i++) {
			if (lis[i].getElementsByTagName("ul").length) {
				lis[i].onmouseover = function () {
					if(this.className.indexOf('active') == -1) this.className += " active";
				}
				lis[i].onmouseout = function () {
					this.className = this.className.replace("active", "");
				}
			}
		}
	}
}
if (window.addEventListener)
	window.addEventListener("load", initPage, false);
else if (window.attachEvent)
	window.attachEvent("onload", initPage);
