var tipTimer2
// Browser finden
var ie4=document.all
var ie5=document.getElementById&&document.all
var ns4=document.layers
var ns6=document.getElementById&&!document.all

function hider (naver,anzahl){
	//parent.topNavi.window.clearTimeout('window.parent.topNavi.'+tipTimer);
	//window.parent.topNavi.stopper ();
	window.parent.topNavi.resetTime()
	window.clearTimeout(tipTimer2);
	tipTimer2=window.setTimeout("navHide('"+naver+"','"+anzahl+"')", '600');
}
function navHide (naver,anzahl){
	for (var i=0; i < anzahl; ++i){
	nav = naver + Number(i);
		if (ns4){
				document[nav].visibility = "HIDE";
		};
		if (ie5){
			document.all(nav).style.visibility = "hidden";
		};
		if (ns6){
				document.getElementById(nav).style.visibility = "hidden";
		};
};}

function navShow (naver,anzahl){
	//window.clearTimeout(tipTimer2)
	window.parent.topNavi.resetTime()
	for (var i=0; i < anzahl; ++i){
		nav = naver + Number(i);
		naverShow(nav);
	}
}

function naverShow (nav){
window.clearTimeout(tipTimer2)
		if (ns4){
				document[nav].visibility = "SHOW";
		};
		if (ie5){
				document.all(nav).style.visibility = "visible";
		};
		if (ns6){
		//alert(nav);
				document.getElementById(nav).style.visibility = "visible";
		};
};

function ColorOn (id,hicolor){
window.clearTimeout(tipTimer2)
window.parent.topNavi.resetTime()
  if (!hicolor) { hicolor = '#B9DCFF' };
        if (ns4) {
          eval ('window.document.' + id + '.bgColor = \'' + hicolor + '\'');
        } else if (ns6) { 
          document.getElementById(id).style.backgroundColor = hicolor;
        } else if (ie5) { 
          eval (id+'.style.backgroundColor="'+hicolor+'"');
        } 
}   
// end function ColorOn
function ColorOff (id,hicolor){
	  if (!hicolor) { hicolor = '#ffffff' };
        if (ns4) {
           eval ('window.document.'+ id + '.bgColor = \'' + hicolor + '\'');
        } else if (ns6) { 
          document.getElementById(id).style.backgroundColor = hicolor;
        }else if (ie5) { 
           eval (id+'.style.backgroundColor ="'+hicolor+'"');
        } 
} 


