startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("me1");
		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", "");
				}
			}
		}
	}
	
}
window.onload=startList;


sfHover = function() {
	var sfEls = document.getElementById("me1").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function messageneu (name,userid) {
  MeinFenster = window.open('/message_frameneu.php?toid=' + userid + '&to=' + name,'messageanzeige','width=405,height=160,left=280, top=400, toolbar=no, menubar=no,location=no,status=no,resizable=no,scrollbars=no')
  MeinFenster.focus();
}

function modfenster (fenster) {
  MeinMFenster = window.open('/mods/' + fenster,'mod','width=825,height=650,left=200,top=80,toolbar=no, menubar=no,location=no,status=no,resizable=yes,scrollbars=yes')
  MeinMFenster.focus();
}