var multiBox0;var multiBox1;var multiBox2;var htmlBox;var multiGallery;var messageBox;var messageBoxOpen=false;var accordionOpen=false;window.addEvent("domready",Lightbox.init.bind(Lightbox));var FxTips=Tips.extend({FxDuration:500,options:{initialize:function(){this.fx=new Fx.Style(this.toolTip,"opacity",{duration:this.FxDuration,wait:false}).set(0)},onShow:function(A){this.fx.start(1)},onHide:function(A){this.fx.start(0)}}});window.addEvent("domready",function(){multiBox0=new MultiBox("multiBox0",{descClassName:"multiBoxDesc",useOverlay:true,offset:{x:0,y:-20}});multiBox1=new MultiBox("multiBox1",{descClassName:"multiBoxDesc",useOverlay:true,offset:{x:0,y:-20}});multiBox2=new MultiBox("multiBox2",{descClassName:"multiBoxDesc",useOverlay:true,offset:{x:0,y:-20}});htmlBox=new MultiBox("htmlBox",{descClassName:"multiBoxDesc",useOverlay:true,offset:{x:0,y:-20}});multiGallery=new MultiBox("multiGallery",{descClassName:"multiBoxDesc",useOverlay:true,offset:{x:0,y:-40}});basketBox=new MultiBox("basketBox",{descClassName:"multiBoxDesc",useOverlay:true,offset:{x:0,y:-40},closeButton:false});messageBox=new MultiBox("messageBox",{descClassName:"multiBoxDesc",useOverlay:true,offset:{x:0,y:-40},closeButton:false});if($("fotoslide_1")&&$("fotoslide_2")){var B=new mooSimpleSlide($$("#fotoslide_1 span"),$$("#fotoslide_2 span"))}else{if($("fotoslide_1")){var B=new mooSimpleSlide($$("#fotoslide_1 span"),false)}else{if($("fotoslide_2")){var B=new mooSimpleSlide(false,$$("#fotoslide_2 span"))}}}if($$(".toolTipImg")){var E=new FxTips($$(".toolTipImg"),{className:"tool",maxTitleChars:30})}if($$(".toolTipImgm")){var C=new FxTips($$(".toolTipImgm"),{className:"toolm",maxTitleChars:50})}if($$(".toolTipImgl")){var D=new FxTips($$(".toolTipImgl"),{className:"tooll",maxTitleChars:100})}if($$(".toolTipImgxl")){var G=new FxTips($$(".toolTipImgxl"),{className:"toolxl",maxTitleChars:150})}if(messageBoxOpen){var F=document.getElementById("messbox01");if(!F){alert("no")}if(messageBox&&F){messageBox.open(F)}}if($$("accordion")){var A=new Accordion("h3.atStart","div.atStart",{opacity:false,alwaysHide:true,display:accordionOpen,onActive:function(I,H){I.setStyle("color","#ff3300")},onBackground:function(I,H){I.setStyle("color","#222")}},$("accordion"))}});window.addEvent("load",function(){if($("MooFlow")){var A=new MooFlow({container:"MooFlow",imgContainer:"images",images:"#images img",caption:"captions",slider:false,interval:2500,factor:100,slider:{slider:"slider",knob:"knob"},buttons:{next:"cf_next",prev:"cf_prev"},useWindowResize:false,useMouseWheel:false,useKeyInput:true,startIndex:1,reflection:0.3})}});function eInit(C,F){var A=getElement("focus");if(!A){A=getElement("ext_search_stichwort")}self.name=C;doFocus(self);doFocus(A);if(F=="1"){var E=document.getElementById("bb01");if(basketBox&&E){basketBox.open(E)}}if(document.getElementById("oReihe")){setListboxes()}var B=new ClickMenu("depth1");var D=new DropMenu("depth2");B.highlightActive=true;B.init();D.type="vertical";D.delay.show=50;D.delay.hide=100;D.position.levelX.left=2;D.init()};