try {
  document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}

var oLink = document.createElement("link")
oLink.href = "effmainHide.css";
oLink.rel = "stylesheet";
oLink.type = "text/css";
document.getElementsByTagName("head")[0].appendChild(oLink);
var swfMainWidth;
function effInit(){
	//eff = new YAHOO.widget.Effects.BlindUp('bohrimg',{bind:'bottom'});
	swfMainWidth=YUD.get("swfMain").offsetWidth;
	var bohrImg=YUD.get("bohrimg");
	bohrImg.style.top=360+'px';
	var begruessH1=YUD.get("begruessH1");
	begruessH1.style.left=swfMainWidth+'px';
	var begruessUL=YUD.get("begruessUL");
	begruessUL.style.left=swfMainWidth+'px';
	bohrImg.style.visibility="visible";
	begruessH1.style.visibility="visible";
	begruessUL.style.visibility="visible";
	var attributes = { 
        top: { from:360,to: 0 } 
    }; 
    var animBohr = new YAHOO.util.Anim('bohrimg', attributes);
    animBohr.onComplete.subscribe(completeImg)
    animBohr.animate();
    setHints();
	if(typeof(listMenu)!="undefined"){
		listMenu.activateMenu("listMenuRoot", arrow);
	}
	var autoCompleteSite=new SAUER.AutoCompGer("ger_suche","cp_cat","suggestO",30,0,3);
	popinit();
}
function completeImg(){
var attributes = { 
        left: { from:swfMainWidth,to: 0 } 
    }; 
var animH1 = new YAHOO.util.Anim('begruessH1', attributes);
animH1.onComplete.subscribe(completeH1)
animH1.animate();
}

function completeH1(){
var attributes = { 
        left: { from:swfMainWidth,to: 0 } 
    }; 
var animUL = new YAHOO.util.Anim('begruessUL', attributes);
animUL.onComplete.subscribe(completeUL)
animUL.animate();

}

function completeUL(){
var effLogo=new YAHOO.widget.Effects.Appear('begruessLogo');
effLogo.animate();
//popinit();
}

YAHOO.namespace ("myPopUp");
function popinit(){
	var inner=document.getElementById("body_innen");
	inner.style.position="relative";
	var innerOff=document.getElementById("body_innen").offsetLeft;
	innerOff=parseInt(innerOff);
	YAHOO.myPopUp.panel1 = new YAHOO.widget.Panel("panel1", { width:"250px",xy:[700+innerOff,280], visible:false, constraintoviewport:true } );
	YAHOO.myPopUp.panel1.render(inner);
	YAHOO.myPopUp.panel1.show();
	document.getElementById("panel1").style.display="block";
}
YAHOO.util.Event.onDOMReady(effInit);

/*window.onload=function(){
	if(typeof(listMenu)!="undefined"){
		listMenu.activateMenu("listMenuRoot", arrow);
	}
	setHints();
	popinit();
	//effInit();
	//eff.animate(); 
	//anim.animate();
};*/