       var uploadCompatible = 0;
       if(navigator.userAgent.indexOf("Konq") >=0) uploadCompatible = 1;
       
	function finditem (id)
	{
	 if (document.layers) return document.layers[''+id+''];
	 else if (document.all) return document.all[id] 
	 else if (document.getElementById) return document.getElementById(''+id+'');
	}
	
	function toggleDiv(id,flagit) {
	
	if (flagit=="1")
	 {
	
	if (document.layers) document.layers[id].display = "block"
	else if (document.all) document.all[id].style.display = "block"
	else if (document.getElementById) document.getElementById(''+id+'').style.display = "block"
	}
	else
	if (flagit=="0"){
	if (document.layers) document.layers[id].display = "none"
	else if (document.all)  document.all[id].style.display = "none"
	else if (document.getElementById) document.getElementById(''+id+'').style.display = "none"
	}
	}
	
	function alloff ()
	  { 
	  var LIs = document.getElementsByTagName ("div");
	   for (var i=0; i<LIs.length; i++)
	   if (LIs[i].id.indexOf ("kr") == 0)
	    { 
	    toggleDiv (LIs[i].id, 0);
	    }
	 } // function
	
	
	
	function highlightmenu (item)
	{
	 item.style.textDecoration = "underline	";
	}
	
	function normalmenu (item)
	{
	 item.style.textDecoration = "none";
	}
	
	
	function Bildaktiv (Bildid) 
	{
	
	var LIs = document.getElementsByTagName ("img");
	
	   for (var i=0; i<LIs.length; i++)
	   if (LIs[i].id.indexOf ("im") == 0) LIs[i].src = "PUNKTB.PNG";
	 finditem (Bildid).src = "PUNKTM.PNG";
	}
	
	
	function highlighttabrow (item)
	{
	 // item.style.backgroundColor = "#123456";
	}
	
	function normaltabrow (item)
	{
	 item.style.textDecoration = "none";
	}
	
	function initpage()
	{
	tabelle =  finditem ("ttaetig");

	for (i=0; i<tabelle.rows.length; i++)
	 {
	 if (document.all)
	  {
	  tabelle.rows[i].cells[0].onmouseover=function () {this.className = 'activetab';  };
  	  tabelle.rows[i].cells[0].onmouseout=function(){this.className = 'inactivetab' };  	 
  	  }
	 else
	  {
	  tabelle.rows[i].cells[0].setAttribute ("onMouseOver", "this.className = 'activetab'; ");
  	  tabelle.rows[i].cells[0].setAttribute ("onMouseOut", "this.className = 'inactivetab'; ");
	  }
	 }
	
	
	}
	 

