var Antispam={init:function(){$$("span.antispam").forEach(function(B){var A=B.innerHTML;A=A.replace(/ \(at\) /,"@");A=A.replace(/ \(punkt\) /,".");B.setHTML('<a href="mailto:'+A+'">'+A+"</a>")})}};var Links={init:function(){$$("a").forEach(function(B){var A=new Fx.Styles(B,{duration:250,wait:"false"});B.addEvent("mouseout",function(C){var D=(C.srcElement)?$(C.srcElement):$(C.target);if(D.getStyle("color")!="#339933"){A.clearTimer();A.start({color:"#339933"})}});B.addEvent("mouseover",function(C){var D=(C.srcElement)?$(C.srcElement):$(C.target);if(D.getStyle("color")!="#339933"){A.clearTimer();A.start({color:"#006600"})}})})}};var Images={set_image:function(H,E){H.setStyles({width:E.width+14+"px",height:E.height+14+"px",margin:"0 0 1em 0","background-position":"7px","background-repeat":"no-repeat"});H.done=true;var D=new Element("div",{styles:{width:E.width+"px",height:E.height+"px",padding:"7px","background-image":"url(/img/empty.gif)"}});var F=new Element("div",{styles:{background:"transparent url(/img/border/topleft.png) no-repeat scroll top left"}});var A=new Element("div",{styles:{background:"transparent url(/img/border/topmiddle.png) repeat-x scroll top left"}});var G=new Element("div",{styles:{background:"transparent url(/img/border/topright.png) no-repeat scroll top right "}});var B=new Element("div",{styles:{background:"transparent url(/img/border/left.png) repeat-y scroll top left"}});var K=new Element("div",{styles:{background:"transparent url(/img/border/right.png) repeat-y scroll top right"}});var C=new Element("div",{styles:{background:"transparent url(/img/border/bottomleft.png) no-repeat scroll bottom left"}});var J=new Element("div",{styles:{background:"transparent url(/img/border/bottommiddle.png) repeat-x scroll bottom left"}});var I=new Element("div",{styles:{background:"transparent url(/img/border/bottomright.png) no-repeat scroll bottom right"}});G.adopt(D);F.adopt(G);I.adopt(F);C.adopt(I);J.adopt(C);K.adopt(J);B.adopt(K);A.adopt(B);H.adopt(A)},initialize:function(){if(window.ie6){with($E("#footer img")){src="/img/empty.gif";style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/img/footer.png")'}}$$(".overlay").forEach(function(e){var img=new Image;var str=e.getStyle("background-image");str=str.substr(4,str.length-5);if(str.substr(0,1)=='"'){str=str.substr(1,str.length-1)}if(str.substr(-1)=='"'){str=str.substr(0,str.length-1)}img.src=str;img.onload=function(){Images.set_image(e,img)};if(window.ie7&&img.complete){Images.set_image(e,img)}})}};window.addEvent("domready",Images.initialize);window.addEvent("domready",Antispam.init);