//Wird benötigt, um die aufklappbaren Menüs in IE6 per JavaScript möglich zu machen
//TODO: Das geht doch auch anders, nur mit CSS, oder???
var imLoadList = "";

function imMenuMainHover() {
	if (document.getElementById("imMnMn") != null) {
		if (document.getElementsByTagName) {
			var oList = document.getElementById("imMnMn").getElementsByTagName("LI");
			for (var i=0; i<oList.length; i++) {
				oList[i].onmouseover=function() {this.className+=" iehover";}
				oList[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
			}
		}
	}
}

if (navigator.userAgent.indexOf('MSIE 5.5') != -1 || navigator.userAgent.indexOf('MSIE 6') != -1)
	imLoadList += "imMenuMainHover();";
	
window.onload = function() {
eval(imLoadList); }
