if (bw.dom) func_addSomething("load","init")

init=function(){
	var n,ss;

    if(document.getElementById("fragen")){
    	// Fragen Popup
    	fragenLayer=new toolTip ("fragen")
    	fragenLayer.setCont("<div class='head'>!+CLOSE-!<i>!</i></div><div class='hbody'>!+0-!</div><div class='head'>!+CLOSE-!<i>!</i></div>")
    	fragenLayer.fix=true;
    	fragenLayer.mkButton("fragenLayer");
    }

	// weiter
	n=document.getElementById("nav")
	if(!n) return;
	ss=n.getElementsByTagName("span")
	for (var i in ss){
	var e=ss[i];
	if(!e.style) continue;
		if(e.id=="home"){
			e.onmouseover=homeOver;
			e.onmouseout=homeOut;
			e.alt=(e.h=e.getElementsByTagName("img")[0]).cloneNode(false);
			e.oriSrc=e.alt.src;
			e.alt.src=e.alt.src.replace(/.gif$/,"_s.gif");
			e.over=over;
			e.out=out;
		}else if(e.className!="se"){
			e.onmouseover=over;
			e.onmouseout=out;
		}
		e.da="#f1f2f2"
		e.br="#756e66"
	}
}

over=function(e){
	if(!e) var e=window.event;
	standardizeEvent(e);
	this.style.backgroundColor=this.da
	this.style.color=this.br
	var as=this.getElementsByTagName("a")
	for (var i in as)if(as[i].style)as[i].style.color=this.br
}
out=function(e){
	if(!e) var e=window.event;
	standardizeEvent(e);
	this.style.backgroundColor=""
	this.style.color=this.da
	var as=this.getElementsByTagName("a")
	for (var i in as)if(as[i].style)as[i].style.color=this.da
}

homeOver=function(e){
	if(!e) var e=window.event;
	standardizeEvent(e);
	if(!onMouseReally(this,e,3)) return;
	this.over(e)
	this.h.src=this.alt.src
}
homeOut=function(e){
	if(!e) var e=window.event;
	standardizeEvent(e);
	if(!onMouseReally(this,e,3))return;
	this.out(e)
	this.h.src=this.oriSrc
}
