function setupToolbar(){var n=PageProperties.version.detected;(n=="text"||n=="mobil")&&$("TBMobileButton").setAttribute("href","http://"+n+"."+PageProperties.Host+"/permanent")}function FlashWrite(n,t,i,r,u,f,e,o){var s,c="",h;for(f&&e&&(c=(r.indexOf("?")>-1?"&":"?")+(f+"="+escape(e))),h='',h+='',s=0;s';for(h+='<\/object>';o&&(o.indexOf("%%RAND%%")>-1&&(o=o.replace(/%%RAND%%/,(new Date).getTime())),h+='');n.innerHTML=h}function MailTo(n,t){var r="",i;if(t!=""){for(i=0;ithis.MaximalActiveOffsetTop?this.weiterLesenScroll.scrollTop=n-this.MaximalActiveOffsetTop:n ul > li").each(function(n){new NavChannel(n,this)}.bind(this));this.activeInit=this.activeItems},onMouseOver:function(){this.mouseOver(this,this.showAll.bind(this))},onMouseOut:function(){this.mouseOut(this)},showAll:function(){this.element.select("li").each(function(n){n.removeClassName("active")})},activate:function(n){var t=[];$A(n).each(function(n){try{var r=n.n.toLowerCase(),i=this.items["nav_"+r];i&&t.push(i)}catch(u){}}.bind(this));t.size()==0&&(t=this.activeInit);this.activeItems=t;this.reset()},reset:function(){this.showAll();var n=$("navLine1"),t=$("navLine2");n&&n.addClassName("active");t&&t.removeClassName("active");this.activeItems.each(function(n){n.activate()})},mouseOver:function(n,t){window.clearTimeout(this.resetID);window.clearTimeout(this.delayID);t&&(this.delayID=t.delay(.333))},mouseOut:function(){window.clearTimeout(this.delayID);this.resetID=this.reset.bind(this).delay(1)}}),NavChannel=Class.create({initialize:function(n,t){var i,r;this.element=$(n);this.nav=t;this.id=this.element.id.toLowerCase();t.items[this.id]=this;this.isActive()&&t.activeItems.push(this);i=this.element.down("a");i&&(i.observe("mouseover",this.onMouseOver.bind(this)),i.observe("mouseout",this.onMouseOut.bind(this)));r=this.element.down("ul");r&&r.childElements().each(function(n){new NavRessort(n,t)})},activate:function(){var n=this.element.up("div");n.siblings().each(function(n){n.removeClassName("active")});n.addClassName("active");this.highlight();this.element.select("li").each(function(n){n.removeClassName("active")})},highlight:function(){this.element.siblings().each(function(n){n.removeClassName("active")});this.element.addClassName("active")},isActive:function(){return this.element?this.element.hasClassName("active"):!1},isLineActive:function(){if(this.element){var n=this.element.up("div");if(n)return n.hasClassName("active")}},onMouseOver:function(){this.nav.mouseOver(this,this.isLineActive()?this.highlight.bind(this):null)},onMouseOut:function(){this.nav.mouseOut(this)}}),NavRessort=Class.create({initialize:function(n,t){(this.element=$(n),this.element.hasClassName("nav_empty"))||(this.nav=t,this.id=this.element.id.toLowerCase(),t.items[this.id]=this,this.isActive()&&t.activeItems.push(this),this.element.down("a").observe("mouseover",this.onMouseOver.bind(this)),this.element.down("a").observe("mouseout",this.onMouseOut.bind(this)))},activate:function(){this.element.siblings().each(function(n){n.removeClassName("active")});this.nav.activeItems.each(function(n){n.element.addClassName("active")})},isActive:function(){return this.element?this.element.hasClassName("active"):!1},onMouseOver:function(){this.nav.mouseOver(this)},onMouseOut:function(){this.nav.mouseOut(this)}}),Breadcrumb=Class.create({initialize:function(n,t){this.element=n;this.maxWidth=t},adjust:function(n){typeof n=="number"&&(this.maxWidth+=n);for(var t=this.element.select(".item").slice(1,-1);this.element.getWidth()>this.maxWidth&&t.length>0;)t.pop().hide()}}),PicturePopup=Class.create({open:function(n,t){return this.count(n,"Picturepopup"),this.show(t)},count:function(n,t){var r=$("ivw"),f,e,u,i;if(r&&window.timestamp)for(f=(new Date).getTime(),e=r.getElementsBySelector("img").length,i=0;i'),write(""+t.substr(0,100)+"<\/title><\/head>"),write('<body style="margin:0;padding:0;background:#000000;text-align:center;">'),write('<img style="margin:0 auto;width:100%;" src="'+p+'" title="'+t+'" alt="Artikelbild">'),write("<\/body><\/html>"),close();return window.focus&&f.focus(),!1}}),Autogott={init:function(){Event.observe(document,"dom:loaded",function(){Autogott.resizeIFrame();Event.observe(document.onresize?document:window,"resize",Autogott.resizeIFrame)})},resizeIFrame:function(){var n=document.viewport.getHeight(),t=$("pageTop").getHeight()+$("objectContent").getHeight()+$("toolbar").getHeight()+5,i=n-t;$("autogott-iframe").height=i}}