/*
	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(!dojo._hasResource["dm.base"]){dojo._hasResource["dm.base"]=true;dojo.provide("dm.base");dojo.declare("dm");var activeInfoboxTab=1;var ivwArea="home";var pAnim,oAnim;(function(){dm.reloadIVW=function(){var _1="http://"+dm.config.ivw.prefix+".ivwbox.de/cgi-bin/ivw/CP/"+ivwArea+";",_2="&zeit="+new Date().getTime(),_3=new Image();_3.src=_1+"?r="+escape(document.referrer)+_2;},dm.zoomImage=function(_4,_5){var _6=_4.parentNode.id;dojo.byId(_6).style.display="none";dojo.byId(_5).style.display="block";if(dm.config.ivw.reload.image){dm.reloadIVW();}try{dojo.byId(_5).getElementsByTagName("div")[1].style.width=dojo.byId(_5).getElementsByTagName("img")[0].width-10+"px";}catch(e){}},dm.toggleDiv=function(id,_8){var _9=dojo.byId(id);if(_9.style.display=="none"){dojo.fx.wipeIn({node:_9,duration:200}).play();}else{dojo.fx.wipeOut({node:_9,duration:200,onEnd:function(){if(_8){dojo.query("#"+id).orphan();}}}).play();}},dm.popIt=function(w,h,u){window.open(u,"popwin","width="+w+",height="+h+",scrollbars=yes");},dm.loadContentGet=function(id,_e){dojo.xhrGet({handleAs:"text",url:_e,handle:function(_f,_10){if(typeof _f=="error"){console.warn("error",_10);}else{dojo.byId(id).innerHTML=_f;}},error:function(err){console.error("error",err);},timeout:3000});},dm.postForm=function(_12,_13){dojo.xhrPost({form:_12,handleAs:"text",handle:function(_14,_15){if(typeof _14=="error"){console.warn("error!",_15);}else{dojo.byId(_13).innerHTML=_14;}}});},dm.loadContent=function(id,url,_18){dojo.xhrPost({content:_18,handleAs:"text",url:url,handle:function(_19,_1a){if(_1a.xhr.status==200||_1a.xhr.status==304){dojo.byId(id).innerHTML=_19;}else{console.error("error",err);}},error:function(err){console.error("error",err);}});},dm.placeContent=function(id,url,pos,_1f){dojo.xhrPost({content:_1f,handleAs:"text",url:url,handle:function(_20,_21){if(_21.xhr.status==200||_21.xhr.status==304){dojo.place(_20,id,pos);}else{console.error("error",err);}},error:function(err){console.error("error",err);}});},dm.submitForm=function(id){var _24=dojo.byId(id);_24.submit();return false;},dm.searchSetFR=function(n,url,_27){switch(n){case "HOME":dojo.byId("advsearchfrm").action=url;dojo.byId("advsearchfrm").method="post";dojo.byId("query").name="userQuery";dojo.byId(_27).style.display="inherit";break;case "GOOGLE":dojo.byId("advsearchfrm").action=url;dojo.byId("advsearchfrm").method="get";dojo.byId("query").name="q";dojo.byId(_27).style.display="none";break;}return true;},dm.displayTab=function(tab){dojo.byId("InfoContent"+activeInfoboxTab).style.display="none";dojo.byId("InfoTab"+activeInfoboxTab).className="Tab";activeInfoboxTab=tab;dojo.byId("InfoContent"+activeInfoboxTab).style.display="block";dojo.byId("InfoTab"+activeInfoboxTab).className="Tab active";},dm.showTransparentTitle=function(A){if(dm.config.imageTiles.transparentTitleTop!=null){var _2a=dm.config.imageTiles.transparentTitleTop;}else{var _2a=80;}pAnim=dojo.fx.slideTo({node:A,duration:500,left:0,top:_2a,easing:dojo.fx.easing.bounceOut});pAnim.play();},dm.hideTransparentTitle=function(A){oAnim=dojo.fx.slideTo({node:A,duration:400,left:0,top:112});pAnim.stop();oAnim.play();},dm.reloadExa=function(){var _2c="&zeit="+new Date().getTime();var _2d=c_server+c_url+"?"+"c_id="+c_countid+"&c_p1="+c_param1+"&c_p2="+c_param2+"&c_p3="+c_param3+"&c_p4="+c_param4+"&c_p5="+c_param5+"&c_p6="+c_param6+"&c_p7="+c_param7+"&c_des="+c_desc+_2c+"&paramend=end";var _2e=new Image();_2e.src=_2d;},dm.exaGalleryCounter=function(_2f){var _30="&zeit="+new Date().getTime();var _31=c_server+c_url+"?"+"c_id="+_2f+"&c_p1="+eval("c_gallery_"+_2f+"_param1")+"&c_p2="+eval("c_gallery_"+_2f+"_param2")+"&c_p3="+"&c_p4="+"&c_p5="+"&c_p6="+"&c_p7="+"&c_des="+eval("c_gallery_"+_2f+"_desc")+_30+"&paramend=end";var _32=new Image();_32.src=_31;},dm.alignSublineBox=function(_33,_34){if(_33!=null&&_34!=null){_34.style.width=_33.width-10+"px";}};})();}if(!dojo._hasResource["dm.config.fr"]){dojo._hasResource["dm.config.fr"]=true;dojo.provide("dm.config.fr");(function(){dm.config=({ivw:{prefix:"fraktu",reload:{gallery:true,textGallery:true,image:true}},ads:{reload:{gallery:true,textGallery:false,image:false}},exa:{reload:{gallery:true,textGallery:true}},gallery:{displayShortcut:true},imageTiles:{transparentTitleTop:80}});})();}if(!dojo._hasResource["dm.ads"]){dojo._hasResource["dm.ads"]=true;dojo.provide("dm.ads");dojo.declare("dm.ads");var adlWallPaperLeft=825;(function(){dm.ads.reload=function(_35){switch(_35){case 300:if(dojo.byId("ContentAd")){if(adPage!=null&&adPage!=""){var _36=document.createElement("iframe");_36.setAttribute("width",300);_36.setAttribute("height",250);_36.setAttribute("src",adPage);_36.setAttribute("frameborder","0");_36.setAttribute("scrolling","no");dojo.byId("ContentAd").innerHTML="";dojo.byId("ContentAd").appendChild(_36);}}break;case 480:if(dojo.byId("SponsorAd")){if(sponsorAdPage!=null&&sponsorAdPage!=""){var _36=document.createElement("iframe");_36.setAttribute("width",480);_36.setAttribute("height",60);_36.setAttribute("src",sponsorAdPage);_36.setAttribute("frameborder","0");_36.setAttribute("scrolling","no");dojo.byId("SponsorAd").innerHTML="";dojo.byId("SponsorAd").appendChild(_36);}}break;default:console.warn("Unnown Ad Format");break;}},dm.ads.advertorial=function(){dojo.query("#Advertorials > .button_l").forEach(function(_37,_38,arr){var _3a=dojo.create("div",{className:"anzeige",id:"Anzeige"+_38},"Advertorials","last");_3a.innerHTML="Anzeige";var _3b=dojo.coords(_37);var _3c=_3b.l+3;_3a.style.left=_3c+"px";_3a.style.width=(_3b.w-6)+"px";dojo.connect(_37,"onmouseover",function(){dojo.byId("Anzeige"+_38).style.display="block";});dojo.connect(_37,"onmouseout",function(){dojo.byId("Anzeige"+_38).style.display="none";});});};})();}if(!dojo._hasResource["dojo.fx.Toggler"]){dojo._hasResource["dojo.fx.Toggler"]=true;dojo.provide("dojo.fx.Toggler");dojo.declare("dojo.fx.Toggler",null,{constructor:function(_3d){var _t=this;dojo.mixin(_t,_3d);_t.node=_3d.node;_t._showArgs=dojo.mixin({},_3d);_t._showArgs.node=_t.node;_t._showArgs.duration=_t.showDuration;_t.showAnim=_t.showFunc(_t._showArgs);_t._hideArgs=dojo.mixin({},_3d);_t._hideArgs.node=_t.node;_t._hideArgs.duration=_t.hideDuration;_t.hideAnim=_t.hideFunc(_t._hideArgs);dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_3f){return this.showAnim.play(_3f||0);},hide:function(_40){return this.hideAnim.play(_40||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_42={_fire:function(evt,_44){if(this[evt]){this[evt].apply(this,_44||[]);}return this;}};var _45=function(_46){this._index=-1;this._animations=_46||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;d.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};d.extend(_45,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){d.disconnect(this._onAnimateCtx);d.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_48,_49){if(!this._current){this._current=this._animations[this._index=0];}if(!_49&&this._current.status()=="playing"){return this;}var _4a=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_4b=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_4d=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_4a);d.disconnect(_4b);d.disconnect(_4d);});if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){d.disconnect(this._onEndCtx);}this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=d.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);d.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_51,_52){this.pause();var _53=this.duration*_51;this._current=null;d.some(this._animations,function(a){if(a.duration<=_53){this._current=a;return true;}_53-=a.duration;return false;});if(this._current){this._current.gotoPercent(_53/this._current.duration,_52);}return this;},stop:function(_55){if(this._current){if(_55){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=d.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);d.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}if(this._onEndCtx){d.disconnect(this._onEndCtx);}}});d.extend(_45,_42);dojo.fx.chain=function(_58){return new _45(_58);};var _59=function(_5a){this._animations=_5a||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_5a,function(a){var _5c=a.duration;if(a.delay){_5c+=a.delay;}if(this.duration<_5c){this.duration=_5c;}this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new d._Animation({curve:[0,1],duration:this.duration});var _5d=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop"],function(evt){_5d._connects.push(d.connect(_5d._pseudoAnimation,evt,function(){_5d._fire(evt,arguments);}));});};d.extend(_59,{_doAction:function(_5f,_60){d.forEach(this._animations,function(a){a[_5f].apply(a,_60);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_62,_63){var t=this._pseudoAnimation;t[_62].apply(t,_63);},play:function(_65,_66){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_67,_68){var ms=this.duration*_67;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_68);});this._call("gotoPercent",arguments);return this;},stop:function(_6b){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){d.forEach(this._connects,dojo.disconnect);}});d.extend(_59,_42);dojo.fx.combine=function(_6c){return new _59(_6c);};dojo.fx.wipeIn=function(_6d){_6d.node=d.byId(_6d.node);var _6e=_6d.node,s=_6e.style,o;var _71=d.animateProperty(d.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _72=d.style(_6e,"height");return Math.max(_72,1);}},end:function(){return _6e.scrollHeight;}}}},_6d));d.connect(_71,"onEnd",function(){s.height="auto";s.overflow=o;});return _71;};dojo.fx.wipeOut=function(_73){var _74=_73.node=d.byId(_73.node),s=_74.style,o;var _77=d.animateProperty(d.mixin({properties:{height:{end:1}}},_73));d.connect(_77,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});d.connect(_77,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return _77;};dojo.fx.slideTo=function(_78){var _79=_78.node=d.byId(_78.node),top=null,_7b=null;var _7c=(function(n){return function(){var cs=d.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);_7b=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=d.coords(n,true);top=ret.y;_7b=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=_7b+"px";}};})(_79);_7c();var _81=d.animateProperty(d.mixin({properties:{top:_78.top||0,left:_78.left||0}},_78));d.connect(_81,"beforeBegin",_81,_7c);return _81;};})();}if(!dojo._hasResource["dojo.fx.easing"]){dojo._hasResource["dojo.fx.easing"]=true;dojo.provide("dojo.fx.easing");dojo.fx.easing={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-dojo.fx.easing.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return dojo.fx.easing.bounceIn(n*2)/2;}return (dojo.fx.easing.bounceOut(n*2-1)/2)+0.5;}};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_ae){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_ae&&_ae.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_b2){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_b2);};dojo.regexp.group=function(_b5,_b6){return "("+(_b6?"?:":"")+_b5+")";};}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(_b7,_b8,_b9){var c=document.cookie;if(arguments.length==1){var _bb=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(_b7)+"=([^;]*)"));return _bb?decodeURIComponent(_bb[1]):undefined;}else{_b9=_b9||{};var exp=_b9.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_b9.expires=d;}if(exp&&exp.toUTCString){_b9.expires=exp.toUTCString();}_b8=encodeURIComponent(_b8);var _be=_b7+"="+_b8,_bf;for(_bf in _b9){_be+="; "+_bf;var _c0=_b9[_bf];if(_c0!==true){_be+="="+_c0;}}document.cookie=_be;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}if(!dojo._hasResource["dm.gallery"]){dojo._hasResource["dm.gallery"]=true;dojo.provide("dm.gallery");dojo.declare("dm.gallery",null,{constructor:function(id,_c2,ad){this.duration=300;this.imgBox="ImageBox";this.id=id;this.premium=_c2;this.ad=ad;this.loaded=new Array();this.active=1;this.loaded[1]=true;this.anim=false;this.scDisplayed=false;this.images=new Object;this.images.title=new Array();this.images.href=new Array();this.images.loaded=new Array();this.images.loaded[1]=true;this.count=1;this.loading=10;this._isGalleryTeaserWall=false;var _c4=this;dojo.addOnLoad(function(){_c4.preload();_c4._genOverlay();});switch(_c2){case "premium":this.animwidth=762;this.shortcutleft=320;this._isPremiumGallery=true;break;case "ottifanten":this.animwidth=600;this.shortcutleft=125;this._isPremiumGallery=false;break;default:this.animwidth=492;this.shortcutleft=180;this._isPremiumGallery=false;}},add:function(arg){try{this.count++;this.images.href[this.count]=arg.href;this.images.title[this.count]=arg.title;}catch(e){console.warn("Laden des Bildes fehlgeschlagen!");}},next:function(){if(this.active==this.count&&!this._isGalleryTeaserWall&&!this._isPremiumGallery){this._showTeaserWall();return;}if(this._isGalleryTeaserWall&&!this._isPremiumGallery){this._hideTeaserWall();if(this.active==1){dojo.style(dojo.byId("GalleryBox"+this.id),"height",(dojo.marginBox(dojo.byId(this.imgBox+this.id+this.active)).h)+"px");return;}}if(this._animPhase()){return false;}var _c6,_c7,_c8;_c8=(this.active+1<=this.count)?this.active+1:1;if(this.ad!=undefined){if(this.active==(this.count-1)){dojo.query(".overlayLeft")[0].style.display="none";dojo.query(".overlayRight")[0].style.display="none";}else{dojo.query(".overlayLeft")[0].style.display="block";dojo.query(".overlayRight")[0].style.display="block";}}_c6=this.imgBox+this.id+this.active;_c7=this.imgBox+this.id+_c8;this._setOverlayHeight(_c7,this.id);if(this.images.loaded[_c8]){dojo.byId(_c6).className="CurrentImage";if(this.active+2<=this.count){this._preload(this.active+2);}this._setHeight(_c7);this._galleryAnimation(_c6,_c7,1,this.duration);this.active=_c8;}else{this._loadingLoop(false);}this._keyListener();if(!this.scDisplayed&&dm.config.gallery.displayShortcut){this._displayShortcut();}},back:function(){if(this.active==1&&!this._isGalleryTeaserWall&&!this._isPremiumGallery){this._showTeaserWall();return;}if(this._isGalleryTeaserWall&&!this._isPremiumGallery){this._hideTeaserWall();if(this.active==this.count){dojo.style(dojo.byId("GalleryBox"+this.id),"height",(dojo.marginBox(dojo.byId(this.imgBox+this.id+this.active)).h)+"px");return;}}if(this._animPhase()){return false;}var _c9,_ca,_cb;_cb=(this.active-1<1)?this.count:this.active-1;if(this.ad!=undefined){dojo.query(".overlayLeft")[0].style.display="block";dojo.query(".overlayRight")[0].style.display="block";}_c9=this.imgBox+this.id+this.active;_ca=this.imgBox+this.id+_cb;this._setOverlayHeight(_ca,this.id);if(this.images.loaded[_cb]){dojo.byId(_c9).className="CurrentImage";if(!(this.active-2<=1)){this._preload(this.active-2);}if(this.active-2<=1){this._preload(this.count-1);}this._setHeight(_ca);this._galleryAnimation(_c9,_ca,-1,this.duration);this.active=_cb;}else{this._loadingLoop(true);}this._keyListener();},preload:function(){if(this.count>=2){this._preload(2);}if(this.count>=3){this._preload(this.count);}},show:function(){this._setOverlayHeight(null,this.id);dojo.byId("GalleryFull"+this.id).style.display="block";dojo.byId("GalleryTeaser"+this.id).style.display="none";this._keyListener();if(dm.config.ivw.reload.gallery){dm.reloadIVW();}if(dm.config.ads.reload.gallery){dm.ads.reload(300);}if(dm.config.exa.reload.gallery){dm.exaGalleryCounter(this.id);}},hide:function(){dojo.byId("GalleryFull"+this.id).style.display="none";dojo.byId("GalleryTeaser"+this.id).style.display="block";},_genOverlay:function(){if(!dojo.isIE<7){var _cc=new Array("Right","Left");for(i=0;i<2;i++){this._genDivs(i,_cc);}}},_genDivs:function(i,_ce){var _cf=dojo.create("div",{className:"overlay"+_ce[i]},"GalleryBox"+this.id,"first");var _d0=dojo.create("div",{className:"overlay"+_ce[i]+"Image"},_cf,"first");dojo.connect(_cf,"onmouseover",this,function(){_d0.style.display="inline";});dojo.connect(_cf,"onmouseout",this,function(){_d0.style.display="none";});dojo.connect(_cf,"onclick",this,function(){_cf.blur();if(i==0){this.next();}else{this.back();}});},_preload:function(box){if(!this.loaded[box]){var _d2=this;var _d3=this.images.href[box];var _d4=this.imgBox+this.id+box;dojo.create("div",{id:_d4,className:"InvisibleImage"},"GalleryBox"+this.id,"last");if((this.ad!=null)&&(box==this.count)){dojo.create("a",{href:this.ad,id:"adContent",target:"_blank"},_d4,"last");dojo.create("img",{alt:"image"},"adContent","last");}else{dojo.create("img",{alt:"image"},_d4,"last");}dojo.create("div",{innerHTML:this.images.title[box],className:"Subline"},_d4,"last");dojo.connect(dojo.query("img",_d4)[0],"onload",function(){_d2.images.loaded[box]=true;});dojo.query("img",_d4)[0].setAttribute("src",_d3);this.loaded[box]=true;}},_loadingLoop:function(_d5){var _d6=this;if(this.loading>0){if(!dojo.byId("Loading"+this.id)){dojo.create("div",{className:"Loading",id:"Loading"+this.id},"GalleryBox"+this.id,"last");}dojo.style("Loading"+this.id,"display","block");this.loading--;setTimeout(function(){dojo.style("Loading"+_d6.id,"display","none");if(_d5){_d6.back();}else{_d6.next();}},1000);}else{dojo.style("Loading"+this.id,"display","none");this.loading=10;console.warn("Couldn't load the next Image!");}},_setHeight:function(_d7){var _d8=dojo.marginBox(dojo.byId(_d7)).h;if(_d8<=100){_d8="500";}dojo.style(dojo.byId("GalleryBox"+this.id),"height",(_d8)+"px");},_keyListener:function(){var _d9=this;document.onkeydown=function(_da){if(!_da){_da=window.event;}if(_da.keyCode==dojo.keys.RIGHT_ARROW){_d9.next();}if(_da.keyCode==dojo.keys.LEFT_ARROW){_d9.back();}};},_animPhase:function(){if(this.anim){if(this.anim.status()=="playing"){return true;}}return false;},_displayShortcut:function(){var _db=this;if(this._galleryCookie()<5){dojo.create("div",{className:"ShortcutHint",id:"SCH"+this.id},"GalleryBox"+this.id,"last");dojo.create("div",{className:"ShortcutHint Highlight",id:"SCHH"+this.id},"GalleryBox"+this.id,"last");dojo.style("SCHH"+this.id,"opacity","0");function _dc(_dd,end){dojo.animateProperty({node:"SCHH"+_db.id,delay:_dd,duration:300,properties:{opacity:{end:end}}}).play();};dojo.fx.slideTo({node:"SCH"+this.id,delay:2000,left:_db.shortcutleft,top:0,easing:dojo.fx.easing.backOut,onEnd:function(){for(var i=1200;i<=3200;i=i+300){var end=(end<1)?1:0;_dc(i,end);}dojo.animateProperty({node:"SCH"+_db.id,delay:4000,properties:{opacity:{end:0}}}).play();}}).play();}this.scDisplayed=true;},_galleryCookie:function(){var _e1=(dojo.cookie("dm.gallery.cookie")>0)?Number(dojo.cookie("dm.gallery.cookie"))+1:1;dojo.cookie("dm.gallery.cookie",_e1,{expires:365,path:"/"});return _e1;},_galleryAnimation:function(cI,nI,m,dur){var _e6=dojo.animateProperty({node:cI,duration:dur,properties:{left:{end:(-this.animwidth*m),start:0}}}),_e7=dojo.animateProperty({node:nI,duration:dur,properties:{left:{end:0,start:(this.animwidth*m)}},gallery:this});dojo.connect(_e7,"onEnd",this._postAnim);this.anim=dojo.fx.combine([_e6,_e7]);this.anim.play();},_postAnim:function(){dojo.byId("GalleryImgNr"+this.gallery.id).innerHTML=this.gallery.active+" | "+this.gallery.count;if(dm.config.ivw.reload.gallery){dm.reloadIVW();}if(dm.config.ads.reload.gallery){dm.ads.reload(300);}if(dm.config.exa.reload.gallery){dm.exaGalleryCounter(this.gallery.id);}if(dm.config.sponsorad.reload.gallery){dm.ads.reload(480);}},_setOverlayHeight:function(_e8,_e9){var div=_e8==null?"#GalleryBox"+_e9:"#"+_e8;var img=dojo.query(div+" img")[0];dojo.query("#GalleryBox"+_e9+" .overlayLeft")[0].style.height=img.height+"px";dojo.query("#GalleryBox"+_e9+" .overlayRight")[0].style.height=img.height+"px";},_showTeaserWall:function(){dojo.query(".overlayLeft")[0].style.display="none";dojo.query(".overlayRight")[0].style.display="none";this._isGalleryTeaserWall=true;dojo.byId(this.imgBox+this.id+this.active).style.display="none";dojo.style(dojo.byId("GalleryBox"+this.id),"height","408px");dojo.byId("GalleryTeaserWall"+this.id).style.display="block";},_hideTeaserWall:function(){dojo.query(".overlayLeft")[0].style.display="block";dojo.query(".overlayRight")[0].style.display="block";this._isGalleryTeaserWall=false;dojo.byId(this.imgBox+this.id+this.active).style.display="block";dojo.byId("GalleryTeaserWall"+this.id).style.display="none";}});}if(!dojo._hasResource["dm.adgallery"]){dojo._hasResource["dm.adgallery"]=true;dojo.provide("dm.adgallery");dojo.declare("dm.adGallery",dm.gallery,{constructor:function(id,_ed,ad,_ef){this.showAdEveryPicNumber=_ef-1;this.showsAd=false;this.clickCount=1;},next:function(){if(this._handleAd()){this.inherited(arguments);}return false;},back:function(){if(this._handleAd()){this.inherited(arguments);}return false;},_handleAd:function(){if(this.showsAd){this._hideAd();return true;}else{if(this.clickCount==this.showAdEveryPicNumber){this._showAd();return false;}else{this.clickCount+=1;return true;}}return true;},_showAd:function(){var _f0="#GalleryBox"+this.id;this._toggleVisibility("none","inline");var _f1=dojo.byId("adGalleryAdvertisement"+this.id);var _f2=dojo.coords(_f1).h;if(_f2<=100){_f2="340";}dojo.query(_f0)[0].style.height=_f2+"px";dojo.query(_f0+" .overlayLeft")[0].style.height="0px";dojo.query(_f0+" .overlayRight")[0].style.height="0px";this.showsAd=true;},_hideAd:function(){this._toggleVisibility("inline","none");this.clickCount=0;this.showsAd=false;this._reloadAd();},_toggleVisibility:function(_f3,_f4){var _f5="#GalleryBox"+this.id;dojo.query(_f5+" .InvisibleImage").forEach(function(_f6){dojo.style(_f6,"display",_f3);});dojo.query(_f5+" .CurrentImage").forEach(function(_f7){dojo.style(_f7,"display",_f3);});dojo.style("adGalleryAdvertisement"+this.id,"display",_f4);},_reloadAd:function(){var _f8=dojo.byId("adGalleryAdvertisement"+this.id);_f8.contentWindow.location.reload();}});}if(!dojo._hasResource["dm.textgallery"]){dojo._hasResource["dm.textgallery"]=true;dojo.provide("dm.textgallery");dojo.declare("dm.textgallery",null,{constructor:function(id){this.duration=300;this.textBox="GalleryText";this.id=id;var _fa=this;this.active=1;this.count=0;dojo.addOnLoad(function(){_fa._parse();});},next:function(){if(this._animPhase()){return false;}var _fb,_fc,_fd;_fd=(this.active+1<=this.count)?this.active+1:1;_fb=this.textBox+this.id+this.active;_fc=this.textBox+this.id+_fd;dojo.byId(_fb).className="Invisible";this._setHeight(_fc);this._animation(_fb,_fc,1,this.duration);this.active=_fd;},back:function(){if(this._animPhase()){return false;}var _fe,_ff,_100;_100=(this.active-1<1)?this.count:this.active-1;_fe=this.textBox+this.id+this.active;_ff=this.textBox+this.id+_100;dojo.byId(_fe).className="Invisible";this._setHeight(_ff);this._animation(_fe,_ff,-1,this.duration);this.active=_100;},_parse:function(){var _101=this,_102=0;dojo.query("#GalleryBox"+this.id+" > div").forEach(function(node,_104){_102++;node.setAttribute("id",_101.textBox+_101.id+(_104+1));});this.count=_102;if(dojo.byId("GalleryBoxNr"+this.id)){dojo.byId("GalleryBoxNr"+this.id).innerHTML=this.active+" | "+this.count;}},_setHeight:function(_105){var _106=dojo.marginBox(dojo.byId(_105)).h;if(_106<=20){_106="200";}dojo.style(dojo.byId("GalleryBox"+this.id),"height",(_106)+"px");},_animPhase:function(){if(this.anim){if(this.anim.status()=="playing"){return true;}}return false;},_animation:function(cI,nI,m,dur){var _10b=dojo.animateProperty({node:cI,duration:dur,properties:{left:{end:(-492*m),start:0}}}),_10c=dojo.animateProperty({node:nI,duration:dur,properties:{left:{end:0,start:(492*m)}},gallery:this});dojo.connect(_10c,"onEnd",this._postAnim);this.anim=dojo.fx.combine([_10b,_10c]);this.anim.play();},_postAnim:function(){if(dojo.byId("GalleryBoxNr"+this.gallery.id)){dojo.byId("GalleryBoxNr"+this.gallery.id).innerHTML=this.gallery.active+" | "+this.gallery.count;}if(dm.config.ivw.reload.gallery){dm.reloadIVW();}if(dm.config.ads.reload.gallery){dm.ads.reload(300);}if(dm.config.exa.reload.textGallery){dm.exaGalleryCounter(this.gallery.id);}}});}if(!dojo._hasResource["dm.projector"]){dojo._hasResource["dm.projector"]=true;dojo.provide("dm.projector");dojo.declare("dm.projector",null,{constructor:function(id){this.duration=300;this.top=-100,this.id=id;var _10e=this;this.count=0;this.relatedCount=0;this.images=new Object;this.images.href=new Array();this.headLines=new Array();this.InnerHeight=0;this.index=0;this.teasers=new Array();this.related=new Array();dojo.addOnLoad(function(){_10e._init();});},add:function(arg){try{this.images.href[this.count]=arg.href;this.related[this.count]=new Array();this.count++;}catch(e){console.warn("Laden des Bildes fehlgeschlagen!");}},addRelated:function(arg){try{var arr=this.related[this.count-1][this.relatedCount]=new Array();arr[0]=arg.cssClass;arr[1]=arg.href;arr[2]=arg.subject;arr[3]=arg.title;this.relatedCount++;}catch(e){console.warn("Laden des Related Contents fehlgeschlagen!");}},clearRelatedCount:function(arg){this.relatedCount=0;},rotate:function(){this.InnerHeight=dojo.marginBox(dojo.byId("ProjektorSideInner")).h;this.top=this.top-100;if(this.top<=-this.InnerHeight-31){dojo.byId("ProjektorSideInner").style.top="-3px";dojo.byId("ProjektorSideInner2").style.top=this.InnerHeight-100+"px";this.top=-100;}var _113=dojo.fx.slideTo({node:"ProjektorSideInner",duration:800,left:0,top:this.top,easing:dojo.fx.easing.quintIn}),_114=dojo.fx.slideTo({node:"ProjektorSideInner2",duration:800,left:0,top:this.top+this.InnerHeight,easing:dojo.fx.easing.quintIn,onEnd:this._change()}),_115=dojo.fx.combine([_113,_114]);_115.play();},_init:function(){var _116=this;dojo.query("#ProjektorSideInner > .ProjektorSmallNews").forEach(function(node,_118,arr){_116.headLines[_118]=new Array(_116.images.href[_118],dojo.query("h3",node)[0].innerHTML,dojo.query("h2 > a",node)[0].innerHTML,dojo.query("h2 > a",node)[0].href,dojo.query("span",node)[0].innerHTML);});if(this.headLines.length>=4){var _11a=dojo.byId("ProjektorSideInner").innerHTML;dojo.create("div",{innerHTML:_11a,id:"ProjektorSideInner2"},"ProjektorSide","last");for(i=1;i<this.headLines.length;i++){dojo.create("img",{src:this.headLines[i][0],id:"HeadlineImage"+i,style:{opacity:0,zIndex:5}},"ProjektorMain","last");}dojo.connect(dojo.byId("HeadlineImage"+(this.headLines.length-1)),"onload",function(){window.setInterval("projector.rotate()",8000);});dojo.byId("ProjektorSideInner2").style.top=dojo.marginBox(dojo.byId("ProjektorSideInner")).h-100+"px";}},_change:function(){var _11b=dojo.animateProperty({node:"ProjektorText",delay:0,duration:600,properties:{opacity:{end:0}}}).play();var _11c=this;dojo.connect(_11b,"onEnd",function(){dojo.query("#ProjektorText > h3")[0].innerHTML=_11c.headLines[_11c.index][1];dojo.query("#ProjektorText > h1")[0].innerHTML=_11c.headLines[_11c.index][2];dojo.byId("ProjektorLink").href=_11c.headLines[_11c.index][3];_11c._textfade();dojo.byId("ProjektorTeaser").innerHTML=_11c.headLines[_11c.index][4]+"&nbsp;<a href='"+_11c.headLines[_11c.index][3]+"'>Mehr...</a>";try{var arr=_11c.related[_11c.index];var html="";for(var i=0;i<arr.length;i++){var _120=arr[i];html=html+"<div class='link_"+_120[0]+"'><a href='"+_120[1]+"'>"+(_120[2]?_120[2]+": ":"")+_120[3]+"</a></div>";}dojo.place(html,"links","only");}catch(e){console.warn("Fehler beim Austauschen des Related Content");}});dojo.animateProperty({node:"HeadlineImage"+this.index,delay:600,properties:{opacity:{start:1,end:0}}}).play();this.index=this.index+1;if(this.index==this.headLines.length){this.index=0;}dojo.animateProperty({node:"HeadlineImage"+this.index,delay:600,properties:{opacity:{start:0,end:1}}}).play();},_textfade:function(){dojo.animateProperty({node:"ProjektorText",delay:100,duration:500,properties:{opacity:{end:1}}}).play();}});}if(!dojo._hasResource["dm.navigation"]){dojo._hasResource["dm.navigation"]=true;dojo.provide("dm.navigation");dojo.declare("dm.navigation",null,{constructor:function(){this.timeout=2000;var _121=this;this.timer=null;this.active=1;},init:function(){var _122=this;dojo.query("#MainLinks > a").forEach(function(node,_124,arr){if(dojo.hasClass(node,"active")){this.active=_124+1;}dojo.connect(node,"onmouseover",function(){_122._changeNav(_124+1);});});dojo.connect(dojo.byId("MainLinks"),"onmouseout",_122._setBack);dojo.connect(dojo.byId("SubNav"),"onmouseout",_122._setBack);dojo.connect(dojo.byId("SubNav"),"onmouseover",function(){window.clearTimeout(navigation.timer);});},_setBack:function(){window.clearTimeout(navigation.timer);navigation.timer=setTimeout(function(){navigation._changeNav(this.active);},navigation.timeout);},_changeNav:function(_126){try{dojo.query("#MainLinks > a").removeClass("active");dojo.addClass(dojo.query("#MainLinks > a")[_126-1],"active");dojo.query("#SubNav > div").removeClass("active");dojo.addClass(dojo.query("#SubNav > div")[_126-1],"active");}catch(e){}clearTimeout(this.timer);}});}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_127,_128,_129){_129=dojo.i18n.normalizeLocale(_129);var _12a=_129.split("-");var _12b=[_127,"nls",_128].join(".");var _12c=dojo._loadedModules[_12b];if(_12c){var _12d;for(var i=_12a.length;i>0;i--){var loc=_12a.slice(0,i).join("_");if(_12c[loc]){_12d=_12c[loc];break;}}if(!_12d){_12d=_12c.ROOT;}if(_12d){var _130=function(){};_130.prototype=_12d;return new _130();}}throw new Error("Bundle not found: "+_128+" in "+_127+" , locale="+_129);};dojo.i18n.normalizeLocale=function(_131){var _132=_131?_131.toLowerCase():dojo.locale;if(_132=="root"){_132="ROOT";}return _132;};dojo.i18n._requireLocalization=function(_133,_134,_135,_136){var _137=dojo.i18n.normalizeLocale(_135);var _138=[_133,"nls",_134].join(".");var _139="";if(_136){var _13a=_136.split(",");for(var i=0;i<_13a.length;i++){if(_137["indexOf"](_13a[i])==0){if(_13a[i].length>_139.length){_139=_13a[i];}}}if(!_139){_139="ROOT";}}var _13c=_136?_139:_137;var _13d=dojo._loadedModules[_138];var _13e=null;if(_13d){if(dojo.config.localizationComplete&&_13d._built){return;}var _13f=_13c.replace(/-/g,"_");var _140=_138+"."+_13f;_13e=dojo._loadedModules[_140];}if(!_13e){_13d=dojo["provide"](_138);var syms=dojo._getModuleSymbols(_133);var _142=syms.concat("nls").join("/");var _143;dojo.i18n._searchLocalePath(_13c,_136,function(loc){var _145=loc.replace(/-/g,"_");var _146=_138+"."+_145;var _147=false;if(!dojo._loadedModules[_146]){dojo["provide"](_146);var _148=[_142];if(loc!="ROOT"){_148.push(loc);}_148.push(_134);var _149=_148.join("/")+".js";_147=dojo._loadPath(_149,null,function(hash){var _14b=function(){};_14b.prototype=_143;_13d[_145]=new _14b();for(var j in hash){_13d[_145][j]=hash[j];}});}else{_147=true;}if(_147&&_13d[_145]){_143=_13d[_145];}else{_13d[_145]=_143;}if(_136){return true;}});}if(_136&&_137!=_139){_13d[_137.replace(/-/g,"_")]=_13d[_139.replace(/-/g,"_")];}};(function(){var _14d=dojo.config.extraLocale;if(_14d){if(!_14d instanceof Array){_14d=[_14d];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_151,_152){req(m,b,_151,_152);if(_151){return;}for(var i=0;i<_14d.length;i++){req(m,b,_14d[i],_152);}};}})();dojo.i18n._searchLocalePath=function(_154,down,_156){_154=dojo.i18n.normalizeLocale(_154);var _157=_154.split("-");var _158=[];for(var i=_157.length;i>0;i--){_158.push(_157.slice(0,i).join("-"));}_158.push(false);if(down){_158.reverse();}for(var j=_158.length-1;j>=0;j--){var loc=_158[j]||"ROOT";var stop=_156(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_15d,_15e){function _15f(_160){_160=dojo.i18n.normalizeLocale(_160);dojo.i18n._searchLocalePath(_160,true,function(loc){for(var i=0;i<_15e.length;i++){if(_15e[i]==loc){dojo["require"](_15d+"_"+loc);return true;}}return false;});};_15f();var _163=dojo.config.extraLocale||[];for(var i=0;i<_163.length;i++){_15f(_163[i]);}};}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_16e,map,_170,_171){_171=_171||dojo.global;_170=(!_170)?function(v){return v;}:dojo.hitch(_171,_170);return _16e.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_173,key,_175){var _176=dojo.getObject(key,false,map);if(_175){_176=dojo.getObject(_175,false,_171).call(_171,_176,key);}return _170(_176,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.number.format=function(_179,_17a){_17a=dojo.mixin({},_17a||{});var _17b=dojo.i18n.normalizeLocale(_17a.locale);var _17c=dojo.i18n.getLocalization("dojo.cldr","number",_17b);_17a.customs=_17c;var _17d=_17a.pattern||_17c[(_17a.type||"decimal")+"Format"];if(isNaN(_179)||Math.abs(_179)==Infinity){return null;}return dojo.number._applyPattern(_179,_17d,_17a);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_17e,_17f,_180){_180=_180||{};var _181=_180.customs.group;var _182=_180.customs.decimal;var _183=_17f.split(";");var _184=_183[0];_17f=_183[(_17e<0)?1:0]||("-"+_184);if(_17f.indexOf("%")!=-1){_17e*=100;}else{if(_17f.indexOf("‰")!=-1){_17e*=1000;}else{if(_17f.indexOf("¤")!=-1){_181=_180.customs.currencyGroup||_181;_182=_180.customs.currencyDecimal||_182;_17f=_17f.replace(/\u00a4{1,3}/,function(_185){var prop=["symbol","currency","displayName"][_185.length-1];return _180[prop]||_180.currency||"";});}else{if(_17f.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _187=dojo.number._numberPatternRE;var _188=_184.match(_187);if(!_188){throw new Error("unable to find a number expression in pattern: "+_17f);}if(_180.fractional===false){_180.places=0;}return _17f.replace(_187,dojo.number._formatAbsolute(_17e,_188[0],{decimal:_182,group:_181,places:_180.places,round:_180.round}));};dojo.number.round=function(_189,_18a,_18b){var _18c=10/(_18b||10);return (_18c*+_189).toFixed(_18a)/_18c;};if((0.9).toFixed()==0){(function(){var _18d=dojo.number.round;dojo.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d||a*Math.pow(10,p+1)<5){d=0;}return _18d(v,p,m)+(v>0?d:-d);};})();}dojo.number._formatAbsolute=function(_193,_194,_195){_195=_195||{};if(_195.places===true){_195.places=0;}if(_195.places===Infinity){_195.places=6;}var _196=_194.split(".");var _197=(_195.places>=0)?_195.places:(_196[1]&&_196[1].length)||0;if(!(_195.round<0)){_193=dojo.number.round(_193,_197,_195.round);}var _198=String(Math.abs(_193)).split(".");var _199=_198[1]||"";if(_195.places){var _19a=dojo.isString(_195.places)&&_195.places.indexOf(",");if(_19a){_195.places=_195.places.substring(_19a+1);}_198[1]=dojo.string.pad(_199.substr(0,_195.places),_195.places,"0",true);}else{if(_196[1]&&_195.places!==0){var pad=_196[1].lastIndexOf("0")+1;if(pad>_199.length){_198[1]=dojo.string.pad(_199,pad,"0",true);}var _19c=_196[1].length;if(_19c<_199.length){_198[1]=_199.substr(0,_19c);}}else{if(_198[1]){_198.pop();}}}var _19d=_196[0].replace(",","");pad=_19d.indexOf("0");if(pad!=-1){pad=_19d.length-pad;if(pad>_198[0].length){_198[0]=dojo.string.pad(_198[0],pad);}if(_19d.indexOf("#")==-1){_198[0]=_198[0].substr(_198[0].length-pad);}}var _19e=_196[0].lastIndexOf(",");var _19f,_1a0;if(_19e!=-1){_19f=_196[0].length-_19e-1;var _1a1=_196[0].substr(0,_19e);_19e=_1a1.lastIndexOf(",");if(_19e!=-1){_1a0=_1a1.length-_19e-1;}}var _1a2=[];for(var _1a3=_198[0];_1a3;){var off=_1a3.length-_19f;_1a2.push((off>0)?_1a3.substr(off):_1a3);_1a3=(off>0)?_1a3.slice(0,off):"";if(_1a0){_19f=_1a0;delete _1a0;}}_198[0]=_1a2.reverse().join(_195.group||",");return _198.join(_195.decimal||".");};dojo.number.regexp=function(_1a5){return dojo.number._parseInfo(_1a5).regexp;};dojo.number._parseInfo=function(_1a6){_1a6=_1a6||{};var _1a7=dojo.i18n.normalizeLocale(_1a6.locale);var _1a8=dojo.i18n.getLocalization("dojo.cldr","number",_1a7);var _1a9=_1a6.pattern||_1a8[(_1a6.type||"decimal")+"Format"];var _1aa=_1a8.group;var _1ab=_1a8.decimal;var _1ac=1;if(_1a9.indexOf("%")!=-1){_1ac/=100;}else{if(_1a9.indexOf("‰")!=-1){_1ac/=1000;}else{var _1ad=_1a9.indexOf("¤")!=-1;if(_1ad){_1aa=_1a8.currencyGroup||_1aa;_1ab=_1a8.currencyDecimal||_1ab;}}}var _1ae=_1a9.split(";");if(_1ae.length==1){_1ae.push("-"+_1ae[0]);}var re=dojo.regexp.buildGroupRE(_1ae,function(_1b0){_1b0="(?:"+dojo.regexp.escapeString(_1b0,".")+")";return _1b0.replace(dojo.number._numberPatternRE,function(_1b1){var _1b2={signed:false,separator:_1a6.strict?_1aa:[_1aa,""],fractional:_1a6.fractional,decimal:_1ab,exponent:false};var _1b3=_1b1.split(".");var _1b4=_1a6.places;if(_1b3.length==1||_1b4===0){_1b2.fractional=false;}else{if(_1b4===undefined){_1b4=_1a6.pattern?_1b3[1].lastIndexOf("0")+1:Infinity;}if(_1b4&&_1a6.fractional==undefined){_1b2.fractional=true;}if(!_1a6.places&&(_1b4<_1b3[1].length)){_1b4+=","+_1b3[1].length;}_1b2.places=_1b4;}var _1b5=_1b3[0].split(",");if(_1b5.length>1){_1b2.groupSize=_1b5.pop().length;if(_1b5.length>1){_1b2.groupSize2=_1b5.pop().length;}}return "("+dojo.number._realNumberRegexp(_1b2)+")";});},true);if(_1ad){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_1b6,_1b7,_1b8,_1b9){var prop=["symbol","currency","displayName"][_1b8.length-1];var _1bb=dojo.regexp.escapeString(_1a6[prop]||_1a6.currency||"");_1b7=_1b7?"[\\s\\xa0]":"";_1b9=_1b9?"[\\s\\xa0]":"";if(!_1a6.strict){if(_1b7){_1b7+="*";}if(_1b9){_1b9+="*";}return "(?:"+_1b7+_1bb+_1b9+")?";}return _1b7+_1bb+_1b9;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_1aa,decimal:_1ab,factor:_1ac};};dojo.number.parse=function(_1bc,_1bd){var info=dojo.number._parseInfo(_1bd);var _1bf=(new RegExp("^"+info.regexp+"$")).exec(_1bc);if(!_1bf){return NaN;}var _1c0=_1bf[1];if(!_1bf[1]){if(!_1bf[2]){return NaN;}_1c0=_1bf[2];info.factor*=-1;}_1c0=_1c0.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _1c0*info.factor;};dojo.number._realNumberRegexp=function(_1c1){_1c1=_1c1||{};if(!("places" in _1c1)){_1c1.places=Infinity;}if(typeof _1c1.decimal!="string"){_1c1.decimal=".";}if(!("fractional" in _1c1)||/^0/.test(_1c1.places)){_1c1.fractional=[true,false];}if(!("exponent" in _1c1)){_1c1.exponent=[true,false];}if(!("eSigned" in _1c1)){_1c1.eSigned=[true,false];}var _1c2=dojo.number._integerRegexp(_1c1);var _1c3=dojo.regexp.buildGroupRE(_1c1.fractional,function(q){var re="";if(q&&(_1c1.places!==0)){re="\\"+_1c1.decimal;if(_1c1.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_1c1.places+"}";}}return re;},true);var _1c6=dojo.regexp.buildGroupRE(_1c1.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_1c1.eSigned})+")";}return "";});var _1c8=_1c2+_1c3;if(_1c3){_1c8="(?:(?:"+_1c8+")|(?:"+_1c3+"))";}return _1c8+_1c6;};dojo.number._integerRegexp=function(_1c9){_1c9=_1c9||{};if(!("signed" in _1c9)){_1c9.signed=[true,false];}if(!("separator" in _1c9)){_1c9.separator="";}else{if(!("groupSize" in _1c9)){_1c9.groupSize=3;}}var _1ca=dojo.regexp.buildGroupRE(_1c9.signed,function(q){return q?"[-+]":"";},true);var _1cc=dojo.regexp.buildGroupRE(_1c9.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_1c9.groupSize,grp2=_1c9.groupSize2;if(grp2){var _1d0="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_1d0+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_1d0;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _1ca+_1cc;};}if(!dojo._hasResource["dojox.validate.regexp"]){dojo._hasResource["dojox.validate.regexp"]=true;dojo.provide("dojox.validate.regexp");dojo.mixin(dojox.validate.regexp,{ipAddress:function(_1d1){_1d1=(typeof _1d1=="object")?_1d1:{};if(typeof _1d1.allowDottedDecimal!="boolean"){_1d1.allowDottedDecimal=true;}if(typeof _1d1.allowDottedHex!="boolean"){_1d1.allowDottedHex=true;}if(typeof _1d1.allowDottedOctal!="boolean"){_1d1.allowDottedOctal=true;}if(typeof _1d1.allowDecimal!="boolean"){_1d1.allowDecimal=true;}if(typeof _1d1.allowHex!="boolean"){_1d1.allowHex=true;}if(typeof _1d1.allowIPv6!="boolean"){_1d1.allowIPv6=true;}if(typeof _1d1.allowHybrid!="boolean"){_1d1.allowHybrid=true;}var _1d2="((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";var _1d3="(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]";var _1d4="(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]";var _1d5="(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|"+"4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])";var _1d6="0[xX]0*[\\da-fA-F]{1,8}";var _1d7="([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}";var _1d8="([\\da-fA-F]{1,4}\\:){6}"+"((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";var a=[];if(_1d1.allowDottedDecimal){a.push(_1d2);}if(_1d1.allowDottedHex){a.push(_1d3);}if(_1d1.allowDottedOctal){a.push(_1d4);}if(_1d1.allowDecimal){a.push(_1d5);}if(_1d1.allowHex){a.push(_1d6);}if(_1d1.allowIPv6){a.push(_1d7);}if(_1d1.allowHybrid){a.push(_1d8);}var _1da="";if(a.length>0){_1da="("+a.join("|")+")";}return _1da;},host:function(_1db){_1db=(typeof _1db=="object")?_1db:{};if(typeof _1db.allowIP!="boolean"){_1db.allowIP=true;}if(typeof _1db.allowLocal!="boolean"){_1db.allowLocal=false;}if(typeof _1db.allowPort!="boolean"){_1db.allowPort=true;}if(typeof _1db.allowNamed!="boolean"){_1db.allowNamed=false;}var _1dc="(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)";var _1dd="(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)";var _1de=_1db.allowPort?"(\\:\\d+)?":"";var _1df="((?:"+_1dc+"\\.)*"+_1dd+"\\.?)";if(_1db.allowIP){_1df+="|"+dojox.validate.regexp.ipAddress(_1db);}if(_1db.allowLocal){_1df+="|localhost";}if(_1db.allowNamed){_1df+="|^[^-][a-zA-Z0-9_-]*";}return "("+_1df+")"+_1de;},url:function(_1e0){_1e0=(typeof _1e0=="object")?_1e0:{};if(!("scheme" in _1e0)){_1e0.scheme=[true,false];}var _1e1=dojo.regexp.buildGroupRE(_1e0.scheme,function(q){if(q){return "(https?|ftps?)\\://";}return "";});var _1e3="(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]+(?:\\?[^?#\\s/]*)?(?:#[A-Za-z][\\w.:-]*)?)?)?";return _1e1+dojox.validate.regexp.host(_1e0)+_1e3;},emailAddress:function(_1e4){_1e4=(typeof _1e4=="object")?_1e4:{};if(typeof _1e4.allowCruft!="boolean"){_1e4.allowCruft=false;}_1e4.allowPort=false;var _1e5="([\\da-zA-Z]+[-._+&'])*[\\da-zA-Z]+";var _1e6=_1e5+"@"+dojox.validate.regexp.host(_1e4);if(_1e4.allowCruft){_1e6="<?(mailto\\:)?"+_1e6+">?";}return _1e6;},emailAddressList:function(_1e7){_1e7=(typeof _1e7=="object")?_1e7:{};if(typeof _1e7.listSeparator!="string"){_1e7.listSeparator="\\s;,";}var _1e8=dojox.validate.regexp.emailAddress(_1e7);var _1e9="("+_1e8+"\\s*["+_1e7.listSeparator+"]\\s*)*"+_1e8+"\\s*["+_1e7.listSeparator+"]?\\s*";return _1e9;},numberFormat:function(_1ea){_1ea=(typeof _1ea=="object")?_1ea:{};if(typeof _1ea.format=="undefined"){_1ea.format="###-###-####";}var _1eb=function(_1ec){return dojo.regexp.escapeString(_1ec,"?").replace(/\?/g,"\\d?").replace(/#/g,"\\d");};return dojo.regexp.buildGroupRE(_1ea.format,_1eb);}});dojox.validate.regexp.ca={postalCode:function(){return "([A-Z][0-9][A-Z] [0-9][A-Z][0-9])";},province:function(){return "(AB|BC|MB|NB|NL|NS|NT|NU|ON|PE|QC|SK|YT)";}};dojox.validate.regexp.us={state:function(_1ed){_1ed=(typeof _1ed=="object")?_1ed:{};if(typeof _1ed.allowTerritories!="boolean"){_1ed.allowTerritories=true;}if(typeof _1ed.allowMilitary!="boolean"){_1ed.allowMilitary=true;}var _1ee="AL|AK|AZ|AR|CA|CO|CT|DE|DC|FL|GA|HI|ID|IL|IN|IA|KS|KY|LA|ME|MD|MA|MI|MN|MS|MO|MT|"+"NE|NV|NH|NJ|NM|NY|NC|ND|OH|OK|OR|PA|RI|SC|SD|TN|TX|UT|VT|VA|WA|WV|WI|WY";var _1ef="AS|FM|GU|MH|MP|PW|PR|VI";var _1f0="AA|AE|AP";if(_1ed.allowTerritories){_1ee+="|"+_1ef;}if(_1ed.allowMilitary){_1ee+="|"+_1f0;}return "("+_1ee+")";}};}if(!dojo._hasResource["dojox.validate._base"]){dojo._hasResource["dojox.validate._base"]=true;dojo.provide("dojox.validate._base");dojo.experimental("dojox.validate");dojox.validate.isText=function(_1f1,_1f2){_1f2=(typeof _1f2=="object")?_1f2:{};if(/^\s*$/.test(_1f1)){return false;}if(typeof _1f2.length=="number"&&_1f2.length!=_1f1.length){return false;}if(typeof _1f2.minlength=="number"&&_1f2.minlength>_1f1.length){return false;}if(typeof _1f2.maxlength=="number"&&_1f2.maxlength<_1f1.length){return false;}return true;};dojox.validate._isInRangeCache={};dojox.validate.isInRange=function(_1f3,_1f4){_1f3=dojo.number.parse(_1f3,_1f4);if(isNaN(_1f3)){return false;}_1f4=(typeof _1f4=="object")?_1f4:{};var max=(typeof _1f4.max=="number")?_1f4.max:Infinity,min=(typeof _1f4.min=="number")?_1f4.min:-Infinity,dec=(typeof _1f4.decimal=="string")?_1f4.decimal:".",_1f8=dojox.validate._isInRangeCache,_1f9=_1f3+"max"+max+"min"+min+"dec"+dec;if(typeof _1f8[_1f9]!="undefined"){return _1f8[_1f9];}_1f8[_1f9]=!(_1f3<min||_1f3>max);return _1f8[_1f9];};dojox.validate.isNumberFormat=function(_1fa,_1fb){var re=new RegExp("^"+dojox.validate.regexp.numberFormat(_1fb)+"$","i");return re.test(_1fa);};dojox.validate.isValidLuhn=function(_1fd){var sum=0,_1ff,_200;if(!dojo.isString(_1fd)){_1fd=String(_1fd);}_1fd=_1fd.replace(/[- ]/g,"");_1ff=_1fd.length%2;for(var i=0;i<_1fd.length;i++){_200=parseInt(_1fd.charAt(i));if(i%2==_1ff){_200*=2;}if(_200>9){_200-=9;}sum+=_200;}return !(sum%10);};}if(!dojo._hasResource["dojox.validate.web"]){dojo._hasResource["dojox.validate.web"]=true;dojo.provide("dojox.validate.web");dojox.validate.isIpAddress=function(_202,_203){var re=new RegExp("^"+dojox.validate.regexp.ipAddress(_203)+"$","i");return re.test(_202);};dojox.validate.isUrl=function(_205,_206){var re=new RegExp("^"+dojox.validate.regexp.url(_206)+"$","i");return re.test(_205);};dojox.validate.isEmailAddress=function(_208,_209){var re=new RegExp("^"+dojox.validate.regexp.emailAddress(_209)+"$","i");return re.test(_208);};dojox.validate.isEmailAddressList=function(_20b,_20c){var re=new RegExp("^"+dojox.validate.regexp.emailAddressList(_20c)+"$","i");return re.test(_20b);};dojox.validate.getEmailAddressList=function(_20e,_20f){if(!_20f){_20f={};}if(!_20f.listSeparator){_20f.listSeparator="\\s;,";}if(dojox.validate.isEmailAddressList(_20e,_20f)){return _20e.split(new RegExp("\\s*["+_20f.listSeparator+"]\\s*"));}return [];};}if(!dojo._hasResource["dm.sse"]){dojo._hasResource["dm.sse"]=true;dojo.provide("dm.sse");dojo.declare("dm.sse");(function(){dm.sse.toggleFormAsync=function(url,_211,_212){var _213=dojo.byId(_211),_214,divs;divs=dojo.query("#"+_211+" > div");if(divs.length>0){_214=divs[0].id;if(_214){dm.toggleDiv(_214,true);if(_214==_212){return true;}else{_213.innerHTML="";}}}dojo.xhrGet({url:url,handleAs:"text",handle:function(data,args){if(typeof data=="error"){console.warn("error",args);}else{dojo.byId(_211).innerHTML=data;dm.toggleDiv(_212);}},error:function(err){console.error("error",err);},timeout:3000});return true;},dm.sse.loadContent=function(id,url){var _21b={"postMode":"ajax"};dm.loadContent(id,url,_21b);},dm.sse.loadContent=function(id,url,_21e,_21f){var _220=new Array();_220["postMode"]="ajax";_220[_21e]=_21f;dm.loadContent(id,url,_220);},dm.sse.placeContent=function(id,url,pos){var _224={"postMode":"ajax"};dm.placeContent(id,url,pos,_224);},dm.sse.submitLoginForm=function(id,src,_227){var _228=dojo.byId(src).value;dojo.byId(_227).value=_228;var _229=dojo.byId(id);_229.submit();return false;},dm.sse.switchPasswordField=function(elem){elem.style.display="none";if(elem.id=="loginpwd"){dojo.byId("loginpwd_dummy").style.display="block";}else{var pwd=dojo.byId("loginpwd");pwd.value="";pwd.style.display="block";pwd.focus();}},dm.sse.submitWithFacebookToken=function(_22c,_22d){FB.getLoginStatus(function(_22e){if(_22e.authResponse){FB.login(function(_22f){if(_22f.authResponse){var _230=authResponse.accessToken;dojo.destroy("facebookToken");dojo.create("input",{"type":"hidden","name":"facebookToken","value":_230,"id":"facebookToken"},_22c);dm.submitForm(_22c);}else{console.warn("Need "+_22d+" permission from user.");}},{"perms":_22d});}else{dm.submitForm(_22c);}});return false;},dm.sse.facebookLogin=function(url){var text="",_233=dojo.byId("newcomment");if(_233){text=_233.value;}FB.login(function(_234){if(_234.authResponse){var _235=_234.authResponse.accessToken;FB.api("/me",function(_236){dojo.xhrPost({content:{"usercomment":text,"firstName":_236.first_name,"lastName":_236.last_name,"name":_236.name,"userid":_236.id,"accessToken":_235},handleAs:"text",url:url,handle:function(data,args){window.location.reload();}});});}else{}});},dm.sse.dynamicCommentMagicBox=function(_239){var _23a=dojo.contentBox("commBox");if(_23a.h==0){dojo.query("#commBox").style({height:"0px",overflow:"hidden",opacity:0});dojo.fx.chain([dojo.animateProperty({node:"commBox",properties:{height:{end:_239,unit:"px"}}}),dojo.animateProperty({node:"commBox",properties:{opacity:{end:1}}})]).play();}},dm.sse.postFormAndGetComments=function(_23b,_23c,_23d,_23e,_23f){dojo.xhrPost({form:_23b,handleAs:"text",handle:function(data,args){if(typeof data=="error"){console.warn("error!",args);}else{dojo.byId(_23c).innerHTML=data;dojo.xhrGet({url:_23d,handleAs:"text",handle:function(data,args){if(typeof data=="error"){console.warn("error",args);}else{dojo.byId(_23e).innerHTML=data;}},error:function(err){console.error("error",err);if(typeof _23f==="string"){dojo.byId(_23e).innerHTML="<div>"+_23f+"</div>";}},timeout:3000});}}});},dm.sse.postFormAndLoadRecommendations=function(_245,_246,_247,_248,_249){dojo.xhrPost({form:_245,handleAs:"text",handle:function(data,args){if(typeof data=="error"){console.warn("error!",args);}else{dojo.byId(_246).innerHTML=data;dojo.xhrGet({url:_247,handleAs:"text",handle:function(data,args){if(typeof data=="error"){console.warn("error",args);}else{dojo.byId(_248).innerHTML=data;}},error:function(err){console.error("error",err);if(typeof _249==="string"){dojo.byId(_248).innerHTML="<div>"+_249+"</div>";}},timeout:3000});}}});},dm.sse.showFullComment=function(num){dojo.byId("commText"+num).style.display="none";dojo.byId("commFullText"+num).style.display="block";};})();}if(!dojo._hasResource["dm.rotatingteaser"]){dojo._hasResource["dm.rotatingteaser"]=true;dojo.provide("dm.rotatingteaser");dojo.declare("dm.rotatingteaser",null,{constructor:function(id){this.duration=900;this.interval=5000;this.divBox="RotTeaser";this.id=id;var _251=this;this.active=0;this.index=1;dojo.addOnLoad(function(){if(dojo.byId(_251.divBox+_251.id+(_251.active+1))){_251._init();}});},_init:function(){var _252=this;setInterval(function(){if(dojo.byId(_252.divBox+_252.id+(_252.active+1))){_252.active++;}else{_252.active=0;}var _253={node:_252.divBox+_252.id+_252.active,duration:_252.duration};dojo.style(_252.divBox+_252.id+_252.active,{"zIndex":_252.index++,"position":"absolute","opacity":"0"});dojo.fadeIn(_253).play();},this.interval);}});}dojo.i18n._preloadLocalizations("dojo.nls.fr",["ROOT","ar","ca","cs","da","de","de-de","el","en","en-gb","en-us","es","es-es","fi","fi-fi","fr","fr-fr","he","he-il","hu","it","it-it","ja","ja-jp","ko","ko-kr","nl","nl-nl","no","pl","pt","pt-br","pt-pt","ru","sk","sl","sv","th","tr","xx","zh","zh-cn","zh-tw"]);

