// JavaScript Document
document.write ('<style type="text/css">');
//document.write ('li ul.umenue{display: none;}');
//document.write ('li:hover ul.umenue{display: block;}');
//document.write ('li.over ul.umenue{display: block;}');
document.write ('li:hover ul.inaktiv {display: block; visibility: visible}');
document.write ('li.over ul.inaktiv {display: block; visibility: visible}');
document.write ('</style>');

function ausblenden(punkt) {
	if (document.getElementById) {
		if (document.getElementById("amenue")) document.getElementById("amenue").style.visibility="hidden";
		if (document.getElementById("active")) {
		document.getElementById("active").style.borderTop="solid 2px #e01f5d";
		document.getElementById("active").style.borderLeft="solid 2px #e01f5d";
		document.getElementById("active").style.color="#000";
		}
		document.getElementById(punkt).style.borderTop="solid 2px #ff9c25";
		document.getElementById(punkt).style.borderLeft="solid 2px #ff9c25";
		//document.getElementById(punkt).style.textAlign="left";
		document.getElementById(punkt).style.color="#fff";
	}
}
function einblenden(punkt) {
	if (document.getElementById) {
		if (document.getElementById("amenue")) document.getElementById("amenue").style.visibility="visible";
		if (document.getElementById("active")) {
		document.getElementById("active").style.borderTop="solid 2px #ff9c25";
		document.getElementById("active").style.borderLeft="solid 2px #ff9c25";
		document.getElementById("active").style.color="#fff";
		}
		document.getElementById(punkt).style.borderTop="solid 2px #e01f5d";
		document.getElementById(punkt).style.borderLeft="solid 2px #e01f5d";
		document.getElementById(punkt).style.textAlign="right";
		document.getElementById(punkt).style.color="#000";
	}
}

var browser = navigator.appName;
var version = navigator.appVersion;
if (browser.indexOf("Microsoft Internet Explorer") != -1 && version.indexOf("7") == -1) {
startList = function() {
if (document.getElementById) {
navRoot = document.getElementById("navigation");
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;
}
