function get_url()
  {
  var seiten_url = window.location.href;
  var seiten_url = seiten_url.split("/");
  var elemente_anzahl = seiten_url.length;
  var Seitenname = seiten_url[elemente_anzahl-1];
  return Seitenname;
  }
  
function markiere_Aktuell()
  {
  var Name = document.createAttribute("id");
  var Name2 = document.createAttribute("id");
  Name.nodeValue = "aktuell";
  Name2.nodeValue = "aktuell2";
  var Seiten_link = get_url();
  var Seiten_link_teile = Seiten_link.split("&");
  var Anzahl = document.getElementsByTagName("a").length;
  for (var i = 0; i < Anzahl; i++) 
  	{
  	var Knoten = document.getElementsByTagName("a")[i];
	var Knoten_link = Knoten.getAttribute("href");
    var Knoten_link =  Knoten_link.split("/");
	var elemente_anzahl = Knoten_link.length;
	var Knoten_link = Knoten_link[elemente_anzahl-1];
	if (Knoten_link == Seiten_link_teile[0]) 
		{
		Knoten.setAttributeNode(Name);
		}	
	}
  }
  
function hover() 
  {
  var Elementknoten = document.getElementById("Navigation");
  var LI = Elementknoten.firstChild;
  var counter = 0;
  do 
	{
    if (sucheUL(LI.firstChild)) 
	  {
      LI.onmouseover=einblenden; LI.onmouseout=ausblenden;
	  counter++;
	  hover2(counter);
	  }
    LI = LI.nextSibling;
    }
    while(LI);
  }
  
function hover2(counter) 
  {
  var ID = "Navigation" + counter;
  var Elementknoten2 = document.getElementById(ID);
  var LI = Elementknoten2.firstChild;
  do 
	{
    if (sucheUL(LI.firstChild)) 
	  {
      LI.onmouseover=einblenden; LI.onmouseout=ausblenden;
	  }
    LI = LI.nextSibling;
    }
    while(LI);
  }
 
function sucheUL(UL) {
  do 
    {
    if(UL) UL = UL.nextSibling;
    if(UL && UL.nodeName == "UL") return UL;
    }
  while(UL);
  return false;
  }
  
function einblenden() 
  {
  var UL = sucheUL(this.firstChild);
  UL.style.display = "block";
  }
  
function ausblenden() 
  {
  sucheUL(this.firstChild).style.display = "none";
  }


