(function(a,b,c){function ba(b){if(!T){O=b,Z(a.extend(J,a.data(O,e))),x=a(O),P=0,J.rel!=="nofollow"&&(x=a("."+V).filter(function(){var b=a.data(this,e).rel||this.rel;return b===J.rel}),P=x.index(O),P===-1&&(x=x.add(O),P=x.length-1));if(!R){R=S=!0,q.show();if(J.returnFocus)try{O.blur(),a(O).one(k,function(){try{this.focus()}catch(a){}})}catch(c){};p.css({opacity:+J.opacity,cursor:J.overlayClose?"pointer":"auto"}).show(),J.w=X(J.initialWidth,"x"),J.h=X(J.initialHeight,"y"),U.position(0),n&&y.bind("resize."+o+" scroll."+o,function(){p.css({width:y.width(),height:y.height(),top:y.scrollTop(),left:y.scrollLeft()})}).trigger("resize."+o),$(g,J.onOpen),I.add(C).hide(),H.html(J.close).show()};U.load(!0)}}
function _(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;J.slideshow&&x[1]&&(d=function(){E.text(J.slideshowStop).unbind(c).bind(i,function(){if(P<x.length-1||J.loop)a=setTimeout(U.next,J.slideshowSpeed)}).bind(h,function(){clearTimeout(a)}).one(c+" "+j,e),q.removeClass(b+"off").addClass(b+"on"),a=setTimeout(U.next,J.slideshowSpeed)},e=function(){clearTimeout(a),E.text(J.slideshowStart).unbind([i,h,j,c].join(" ")).one(c,d),q.removeClass(b+"on").addClass(b+"off")},J.slideshowAuto?d():e())}
function $(b,c){c&&c.call(O),a.event.trigger(b)}
function Z(b){for(var c in b)a.isFunction(b[c])&&c.substring(0,2)!=="on"&&(b[c]=b[c].call(O));b.rel=b.rel||O.rel||"nofollow",b.href=a.trim(b.href||a(O).attr("href")),b.title=b.title||O.title}
function Y(a){return J.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(a)}
function X(a,b){b=b==="x"?y.width():y.height();return typeof a=="string"?Math.round(/%/.test(a)?b/100*parseInt(a,10):parseInt(a,10)):a}
function W(c,d){var e=b.createElement("div");e.id=c?f+c:!1,e.style.cssText=d||!1;return a(e)};var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:!1,returnFocus:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0},e="colorbox",f="cbox",g=f+"_open",h=f+"_load",i=f+"_complete",j=f+"_cleanup",k=f+"_closed",l=f+"_purge",m=a.browser.msie&&!a.support.opacity,n=m&&a.browser.version<7,o=f+"_IE6",p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J={},K,L,M,N,O,P,Q,R,S,T=!1,U,V=f+"Element";U=a.fn[e]=a[e]=function(b,c){var f=this,g;if(!f[0]&&f.selector)return f;b=b||{},c&&(b.onComplete=c);if(!f[0]||f.selector===undefined)f=a("<a/>"),b.open=!0;f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b)),a(this).addClass(V)}),g=b.open,a.isFunction(g)&&(g=g.call(f)),g&&ba(f[0]);return f},U.init=function(){y=a(c),q=W().attr({id:e,"class":m?f+(n?"IE6":"IE"):""}),p=W("Overlay",n?"position:absolute":"").hide(),r=W("Wrapper"),s=W("Content").append(z=W("LoadedContent","width:0; height:0; overflow:hidden"),B=W("LoadingOverlay").add(W("LoadingGraphic")),C=W("Title"),D=W("Current"),F=W("Next"),G=W("Previous"),E=W("Slideshow").bind(g,_),H=W("Close")),r.append(W().append(W("TopLeft"),t=W("TopCenter"),W("TopRight")),W(!1,"clear:left").append(u=W("MiddleLeft"),s,v=W("MiddleRight")),W(!1,"clear:left").append(W("BottomLeft"),w=W("BottomCenter"),W("BottomRight"))).children().children().css({"float":"left"}),A=W(!1,"position:absolute; width:9999px; visibility:hidden; display:none"),a("body").prepend(p,q.append(r,A)),s.children().hover(function(){a(this).addClass("hover")},function(){a(this).removeClass("hover")}).addClass("hover"),K=t.height()+w.height()+s.outerHeight(!0)-s.height(),L=u.width()+v.width()+s.outerWidth(!0)-s.width(),M=z.outerHeight(!0),N=z.outerWidth(!0),q.css({"padding-bottom":K,"padding-right":L}).hide(),F.click(function(){U.next()}),G.click(function(){U.prev()}),H.click(function(){U.close()}),I=F.add(G).add(D).add(E),s.children().removeClass("hover"),a("."+V).live("click",function(a){a.button!==0&&typeof a.button!="undefined"||a.ctrlKey||a.shiftKey||a.altKey||(a.preventDefault(),ba(this))}),p.click(function(){J.overlayClose&&U.close()}),a(b).bind("keydown",function(a){R&&J.escKey&&a.keyCode===27&&(a.preventDefault(),U.close()),R&&J.arrowKey&&!S&&x[1]&&(a.keyCode===37&&(P||J.loop)?(a.preventDefault(),G.click()):a.keyCode===39&&(P<x.length-1||J.loop)&&(a.preventDefault(),F.click()))})},U.remove=function(){q.add(p).remove(),a("."+V).die("click").removeData(e).removeClass(V)},U.position=function(a,c){function g(a){t[0].style.width=w[0].style.width=s[0].style.width=a.style.width,B[0].style.height=B[1].style.height=s[0].style.height=u[0].style.height=v[0].style.height=a.style.height};var d,e=Math.max(b.documentElement.clientHeight-J.h-M-K,0)/2+y.scrollTop(),f=Math.max(y.width()-J.w-N-L,0)/2+y.scrollLeft();d=q.width()===J.w+N&&q.height()===J.h+M?0:a,r[0].style.width=r[0].style.height="9999px",q.dequeue().animate({width:J.w+N,height:J.h+M,top:e,left:f},{duration:d,complete:function(){g(this),S=!1,r[0].style.width=J.w+N+L+"px",r[0].style.height=J.h+M+K+"px",c&&c()},step:function(){g(this)}})},U.resize=function(a){if(R){a=a||{},a.width&&(J.w=X(a.width,"x")-N-L),a.innerWidth&&(J.w=X(a.innerWidth,"x")),z.css({width:J.w}),a.height&&(J.h=X(a.height,"y")-M-K),a.innerHeight&&(J.h=X(a.innerHeight,"y"));if(!a.innerHeight&&!a.height){var b=z.wrapInner("<div style='overflow:auto'></div>").children();J.h=b.height(),b.replaceWith(b.children())};z.css({height:J.h}),U.position(J.transition==="none"?0:J.speed)}},U.prep=function(b){function h(b){U.position(b,function(){var b,d,g,h,j=x.length,k,n;!R||(n=function(){B.hide(),$(i,J.onComplete)},m&&Q&&z.fadeIn(100),C.html(J.title).add(z).show(),j>1?(typeof J.current=="string"&&D.html(J.current.replace(/\{current\}/,P+1).replace(/\{total\}/,j)).show(),F[J.loop||P<j-1?"show":"hide"]().html(J.next),G[J.loop||P?"show":"hide"]().html(J.previous),b=P?x[P-1]:x[j-1],g=P<j-1?x[P+1]:x[0],J.slideshow&&E.show(),J.preloading&&(h=a.data(g,e).href||g.href,d=a.data(b,e).href||b.href,h=a.isFunction(h)?h.call(g):h,d=a.isFunction(d)?d.call(b):d,Y(h)&&(a("<img/>")[0].src=h),Y(d)&&(a("<img/>")[0].src=d))):I.hide(),J.iframe?(k=a("<iframe frameborder=0/>").addClass(f+"Iframe")[0],J.fastIframe?n():a(k).load(n),k.name=f+ +(new Date()),k.src=J.href,J.scrolling||(k.scrolling="no"),m&&(k.allowTransparency="true"),a(k).appendTo(z).one(l,function(){k.src="//about:blank"})):n(),J.transition==="fade"?q.fadeTo(c,1,function(){q[0].style.filter=""}):q[0].style.filter="",y.bind("resize."+f,function(){U.position(0)}))})}
function g(){J.h=J.h||z.height(),J.h=J.mh&&J.mh<J.h?J.mh:J.h;return J.h}
function d(){J.w=J.w||z.width(),J.w=J.mw&&J.mw<J.w?J.mw:J.w;return J.w};if(!!R){var c=J.transition==="none"?0:J.speed;y.unbind("resize."+f),z.remove(),z=W("LoadedContent").html(b),z.hide().appendTo(A.show()).css({width:d(),overflow:J.scrolling?"auto":"hidden"}).css({height:g()}).prependTo(s),A.hide(),a(Q).css({"float":"none"}),n&&a("select").not(q.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(j,function(){this.style.visibility="inherit"}),J.transition==="fade"?q.fadeTo(c,0,function(){h(0)}):h(c)}},U.load=function(b){var c,d,g=U.prep;S=!0,Q=!1,O=x[P],b||Z(a.extend(J,a.data(O,e))),$(l),$(h,J.onLoad),J.h=J.height?X(J.height,"y")-M-K:J.innerHeight&&X(J.innerHeight,"y"),J.w=J.width?X(J.width,"x")-N-L:J.innerWidth&&X(J.innerWidth,"x"),J.mw=J.w,J.mh=J.h,J.maxWidth&&(J.mw=X(J.maxWidth,"x")-N-L,J.mw=J.w&&J.w<J.mw?J.w:J.mw),J.maxHeight&&(J.mh=X(J.maxHeight,"y")-M-K,J.mh=J.h&&J.h<J.mh?J.h:J.mh),c=J.href,B.show(),J.inline?(W().hide().insertBefore(a(c)[0]).one(l,function(){a(this).replaceWith(z.children())}),g(a(c))):J.iframe?g(" "):J.html?g(J.html):Y(c)?(a(Q=new Image()).addClass(f+"Photo").error(function(){J.title=!1,g(W("Error").text("This image could not be loaded"))}).load(function(){var a;Q.onload=null,J.scalePhotos&&(d=function(){Q.height-=Q.height*a,Q.width-=Q.width*a},J.mw&&Q.width>J.mw&&(a=(Q.width-J.mw)/Q.width,d()),J.mh&&Q.height>J.mh&&(a=(Q.height-J.mh)/Q.height,d())),J.h&&(Q.style.marginTop=Math.max(J.h-Q.height,0)/2+"px"),x[1]&&(P<x.length-1||J.loop)&&(Q.style.cursor="pointer",Q.onclick=function(){U.next()}),m&&(Q.style.msInterpolationMode="bicubic"),setTimeout(function(){g(Q)},1)}),setTimeout(function(){Q.src=c},1)):c&&A.load(c,function(b,c,d){g(c==="error"?W("Error").text("Request unsuccessful: "+d.statusText):a(this).contents())})},U.next=function(){S||(P=P<x.length-1?P+1:0,U.load())},U.prev=function(){S||(P=P?P-1:x.length-1,U.load())},U.close=function(){R&&!T&&(T=!0,R=!1,$(j,J.onCleanup),y.unbind("."+f+" ."+o),p.fadeTo(200,0),q.stop().fadeTo(300,0,function(){q.add(p).css({opacity:1,cursor:"auto"}).hide(),$(l),z.remove(),setTimeout(function(){T=!1,$(k,J.onClosed)},1)}))},U.element=function(){return a(O)},U.settings=d,a(U.init)})(jQuery,document,this);
var pages,currentPage=0,scrollWidth=282*3,stageTimer=null
function observeClearLinks(){$('.clearRecommendForm').click(function(event){event.preventDefault();closeRecommendForm();$(this).blur()})}
function sendRecommendForm(){$.post($('#recommendForm').attr('action'),$('#recommendForm').serialize(),function(data){if(data.indexOf('recommendForm')>0){$('#recommendBox').html(data);$('#sendRecommendForm').click(sendRecommendForm)}else{$('#recommendBox .message').remove();$('#recommendBox').append('<p class="message">'+data+'<br /><a class="type-submit clearRecommendForm" class="type-submit" href="#">OK</a></p>')};observeClearLinks()});$('#recommendForm').hide();$('#recommendBox').append('<p class="message">Bitte warten...</p>');return false}
function clearRecommendForm(){$('#recommendForm .type-text, #recommendForm textarea').val('');$('input:checkbox','#recommendForm').removeAttr('checked');$('#recommendForm .message').remove();$('#recommendForm .type-text').removeClass('f3-form-error')}
function closeRecommendForm(){$('#recommendBox').hide();clearRecommendForm();$('#recommendForm').show();$('#recommendBox .message').remove()}
function activateJsScrollBar(){$('#scroll-pane').css('overflow','hidden');var difference=$('#scroll-content').height()-$('#scroll-pane').height();if(difference>0){var proportion=difference/$('#scroll-content').height(),handleHeight=Math.round((1-proportion)*$('#scroll-pane').height());handleHeight-=handleHeight%2;$("#scroll-pane").after('<\div id="slider-wrap"><\div id="slider-vertical"><\/div><\/div>');$("#slider-wrap").height($("#scroll-pane").height());$('#slider-vertical').slider({orientation:'vertical',min:0,max:100,value:100,slide:function(event,ui){var topValue=-((100-ui.value)*difference/100);$('#scroll-content').css({top:topValue})},change:function(event,ui){var topValue=-((100-ui.value)*difference/100);$('#scroll-content').css({top:topValue})}});$(".ui-slider-handle").css({height:handleHeight,'margin-bottom':-0.5*handleHeight});var origSliderHeight=$("#slider-vertical").height(),sliderHeight=origSliderHeight-handleHeight,sliderMargin=(origSliderHeight-sliderHeight)*0.5;$(".ui-slider").css({height:sliderHeight,'margin-top':sliderMargin})};$(".ui-slider").click(function(event){event.stopPropagation()});$("#slider-wrap").click(function(event){var offsetTop=$(this).offset().top,clickValue=(event.pageY-offsetTop)*100/$(this).height();$("#slider-vertical").slider("value",100-clickValue)})};$(function(){$('#sendRecommendForm').click(sendRecommendForm);observeClearLinks();activateJsScrollBar();$('li.recommend a').click(function(event){event.preventDefault();$('#recommendBox').show();$(this).blur()});$('.colorbox').colorbox({opacity:0.65,innerWidth:'780px',innerHeight:'465px',onComplete:function(){activateJsScrollBar()}});$('.colorbox-small').colorbox({opacity:0.65,innerWidth:'470px',innerHeight:'250px',onComplete:function(){activateJsScrollBar()}});if($('.stageSlider').length>0)stageTimer=window.setInterval('nextStageSlide()',6500);$('img').load(function(){$(this).addClass('loaded')});var columns=$('.contentSliderBox .col').length;pages=Math.ceil(columns/3.0);$('.contentSlider').css('overflow','hidden');$('.contentSliderBox').css('position','relative');if(pages>1){var navigation='<a href="#" class="prev disable"><div class="icon"><span class="hideme">zurück</span></div></a><ul class="pageNav">',actClass=' act';for(var i=1;i<=pages;i++){if(i>1)actClass='';navigation+='<li><a href="#" class="pageButton'+actClass+'">'+i+'</a></li>'};navigation+='</ul><a href="#" class="next"><div class="icon"><span class="hideme">weiter</span></div></a>';$('.contentSliderNav').prepend(navigation);$('.contentSliderNav .pageButton').click(function(event){event.preventDefault();$(this).blur();sliderShowPage($(this).html()-1)});$('.contentSliderNav .prev').click(function(event){event.preventDefault();$(this).blur();sliderPrevious()});$('.contentSliderNav .next').click(function(event){event.preventDefault();$(this).blur();sliderNext()})}})
function sliderShowPage(page){currentPage=page;var left='-'+(currentPage*scrollWidth)+'px';$('.contentSliderBox').animate({left:left},400);$('.contentSliderNav .pageButton').removeClass('act');var nthChild=page+1;$('.contentSliderNav .pageNav li:nth-child('+nthChild+') .pageButton').addClass('act');if(currentPage>0){$('.contentSliderNav .prev').removeClass('disable')}else $('.contentSliderNav .prev').addClass('disable');if(currentPage<(pages-1)){$('.contentSliderNav .next').removeClass('disable')}else $('.contentSliderNav .next').addClass('disable')}
function sliderPrevious(){if(currentPage>0)sliderShowPage(currentPage-1)}
function sliderNext(){if(currentPage<(pages-1))sliderShowPage(currentPage+1)}
function nextStageSlide(){var $current=$('.stageSlider.act'),$next=$('.stageSlider.act + .stageSlider');if(!$next.length){$next=$('.stageSlider:first');$('.stageSlider').removeClass('act').hide();$next.show().addClass('act');nextStageSlide()}else $next.fadeIn(1500,function(){$current.removeClass('act');$(this).addClass('act')})};
(function(){function g(o){console.log("$f.fireEvent",[].slice.call(o))}
function k(q){if(!q||typeof q!="object")return q;var o=new q.constructor();for(var p in q)if(q.hasOwnProperty(p))o[p]=k(q[p]);return o}
function m(t,q){if(!t)return;var o,p=0,r=t.length;if(r===undefined){for(o in t)if(q.call(t[o],o,t[o])===false)break}else for(var s=t[0];p<r&&q.call(s,p,s)!==false;s=t[++p]);return t}
function c(o){return document.getElementById(o)}
function i(q,p,o){if(typeof p!="object")return q;if(q&&p)m(p,function(r,s){if(!o||typeof s!="function")q[r]=s});return q}
function n(s){var q=s.indexOf(".");if(q!=-1){var p=s.slice(0,q)||"*",o=s.slice(q+1,s.length),r=[];m(document.getElementsByTagName(p),function(){if(this.className&&this.className.indexOf(o)!=-1)r.push(this)});return r}}
function f(o){o=o||window.event;if(o.preventDefault){o.stopPropagation();o.preventDefault()}else{o.returnValue=false;o.cancelBubble=true};return false}
function j(q,o,p){q[o]=q[o]||[];q[o].push(p)}
function e(){return"_"+(""+Math.random()).slice(2,10)};var h=function(t,r,s){var q=this,p={},u={};q.index=r;if(typeof t=="string")t={url:t};i(this,t,true);m(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var v="on"+this;if(v.indexOf("*")!=-1){v=v.slice(0,v.length-1);var w="onBefore"+v.slice(2);q[w]=function(x){j(u,w,x);return q}};q[v]=function(x){j(u,v,x);return q};if(r==-1){if(q[w])s[w]=q[w];if(q[v])s[v]=q[v]}});i(this,{onCuepoint:function(x,w){if(arguments.length==1){p.embedded=[null,x];return q};if(typeof x=="number")x=[x];var v=e();p[v]=[x,w];if(s.isLoaded())s._api().fp_addCuepoints(x,r,v);return q},update:function(w){i(q,w);if(s.isLoaded())s._api().fp_updateClip(w,r);var v=s.getConfig(),x=(r==-1)?v.clip:v.playlist[r];i(x,w,true)},_fireEvent:function(v,y,w,A){if(v=="onLoad"){m(p,function(B,C){if(C[0])s._api().fp_addCuepoints(C[0],r,B)});return false};A=A||q;if(v=="onCuepoint"){var z=p[y];if(z)return z[1].call(s,A,w)};if(y&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v)!=-1){i(A,y);if(y.metaData)if(!A.duration){A.duration=y.metaData.duration}else A.fullDuration=y.metaData.duration};var x=true;m(u[v],function(){x=this.call(s,A,y,w)});return x}});if(t.onCuepoint){var o=t.onCuepoint;q.onCuepoint.apply(q,typeof o=="function"?[o]:o);delete t.onCuepoint};m(t,function(v,w){if(typeof w=="function"){j(u,v,w);delete t[v]}});if(r==-1)s.onCuepoint=this.onCuepoint},l=function(p,r,q,t){var o=this,s={},u=false;if(t)i(s,t);m(r,function(v,w){if(typeof w=="function"){s[v]=w;delete r[v]}});i(this,{animate:function(y,z,x){if(!y)return o;if(typeof z=="function"){x=z;z=500};if(typeof y=="string"){var w=y;y={};y[w]=z;z=500};if(x){var v=e();s[v]=x};if(z===undefined)z=500;r=q._api().fp_animate(p,y,z,v);return o},css:function(w,x){if(x!==undefined){var v={};v[w]=x;w=v};r=q._api().fp_css(p,w);i(o,r);return o},show:function(){this.display="block";q._api().fp_showPlugin(p);return o},hide:function(){this.display="none";q._api().fp_hidePlugin(p);return o},toggle:function(){this.display=q._api().fp_togglePlugin(p);return o},fadeTo:function(y,x,w){if(typeof x=="function"){w=x;x=500};if(w){var v=e();s[v]=w};this.display=q._api().fp_fadeTo(p,y,x,v);this.opacity=y;return o},fadeIn:function(w,v){return o.fadeTo(1,w,v)},fadeOut:function(w,v){return o.fadeTo(0,w,v)},getName:function(){return p},getPlayer:function(){return q},_fireEvent:function(w,v,x){if(w=="onUpdate"){var z=q._api().fp_getPlugin(p);if(!z)return;i(o,z);delete o.methods;if(!u){m(z.methods,function(){var B=""+this;o[B]=function(){var C=[].slice.call(arguments),D=q._api().fp_invoke(p,B,C);return D==="undefined"||D===undefined?o:D}});u=true}};var A=s[w];if(A){var y=A.apply(o,v);if(w.slice(0,1)=="_")delete s[w];return y};return o}})}
function b(q,G,t){var w=this,v=null,D=false,u,s,F=[],y={},x={},E,r,p,C,o,A;i(w,{id:function(){return E},isLoaded:function(){return(v!==null&&v.fp_play!==undefined&&!D)},getParent:function(){return q},hide:function(H){if(H)q.style.height="0px";if(w.isLoaded())v.style.height="0px";return w},show:function(){q.style.height=A+"px";if(w.isLoaded())v.style.height=o+"px";return w},isHidden:function(){return w.isLoaded()&&parseInt(v.style.height,10)===0},load:function(J){if(!w.isLoaded()&&w._fireEvent("onBeforeLoad")!==false){var H=function(){u=q.innerHTML;if(u&&!flashembed.isSupported(G.version))q.innerHTML="";if(J){J.cached=true;j(x,"onLoad",J)};flashembed(q,G,{config:t})},I=0;m(a,function(){this.unload(function(K){if(++I==a.length)H()})})};return w},unload:function(J){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(J)J(false);return w};if(u.replace(/\s/g,"")!==""){if(w._fireEvent("onBeforeUnload")===false){if(J)J(false);return w};D=true;try{if(v){v.fp_close();w._fireEvent("onUnload")}}catch(H){};var I=function(){v=null;q.innerHTML=u;D=false;if(J)J(true)};setTimeout(I,50)}else if(J)J(false);return w},getClip:function(H){if(H===undefined)H=C;return F[H]},getCommonClip:function(){return s},getPlaylist:function(){return F},getPlugin:function(H){var J=y[H];if(!J&&w.isLoaded()){var I=w._api().fp_getPlugin(H);if(I){J=new l(H,I,w);y[H]=J}};return J},getScreen:function(){return w.getPlugin("screen")},getControls:function(){return w.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return w.getPlugin("logo")._fireEvent("onUpdate")}catch(H){}},getPlay:function(){return w.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(H){return H?k(t):t},getFlashParams:function(){return G},loadPlugin:function(K,J,M,L){if(typeof M=="function"){L=M;M={}};var I=L?e():"_";w._api().fp_loadPlugin(K,J,M,I);var H={};H[I]=L;var N=new l(K,null,w,H);y[K]=N;return N},getState:function(){return w.isLoaded()?v.fp_getState():-1},play:function(I,H){var J=function(){if(I!==undefined){w._api().fp_play(I,H)}else w._api().fp_play()};if(w.isLoaded()){J()}else if(D){setTimeout(function(){w.play(I,H)},50)}else w.load(function(){J()});return w},getVersion:function(){var I="flowplayer.js 3.2.6";if(w.isLoaded()){var H=v.fp_getVersion();H.push(I);return H};return I},_api:function(){if(!w.isLoaded())throw "Flowplayer "+w.id()+" not loaded when calling an API method";return v},setClip:function(H){w.setPlaylist([H]);return w},getIndex:function(){return p},_swfHeight:function(){return v.clientHeight}});m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var H="on"+this;if(H.indexOf("*")!=-1){H=H.slice(0,H.length-1);var I="onBefore"+H.slice(2);w[I]=function(J){j(x,I,J);return w}};w[H]=function(J){j(x,H,J);return w}});m(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var H=this;w[H]=function(J,I){if(!w.isLoaded())return w;var K=null;if(J!==undefined&&I!==undefined){K=v["fp_"+H](J,I)}else K=(J===undefined)?v["fp_"+H]():v["fp_"+H](J);return K==="undefined"||K===undefined?w:K}});w._fireEvent=function(Q){if(typeof Q=="string")Q=[Q];var R=Q[0],O=Q[1],M=Q[2],L=Q[3],K=0;if(t.debug)g(Q);if(!w.isLoaded()&&R=="onLoad"&&O=="player"){v=v||c(r);o=w._swfHeight();m(F,function(){this._fireEvent("onLoad")});m(y,function(S,T){T._fireEvent("onUpdate")});s._fireEvent("onLoad")};if(R=="onLoad"&&O!="player")return;if(R=="onError")if(typeof O=="string"||(typeof O=="number"&&typeof M=="number")){O=M;M=L};if(R=="onContextMenu"){m(t.contextMenu[O],function(S,T){T.call(w)});return};if(R=="onPluginEvent"||R=="onBeforePluginEvent"){var H=O.name||O,I=y[H];if(I){I._fireEvent("onUpdate",O);return I._fireEvent(M,Q.slice(3))};return};if(R=="onPlaylistReplace"){F=[];var N=0;m(O,function(){F.push(new h(this,N++,w))})};if(R=="onClipAdd"){if(O.isInStream)return;O=new h(O,M,w);F.splice(M,0,O);for(K=M+1;K<F.length;K++)F[K].index++};var P=true;if(typeof O=="number"&&O<F.length){C=O;var J=F[O];if(J)P=J._fireEvent(R,M,L);if(!J||P!==false)P=s._fireEvent(R,M,L,J)};m(x[R],function(){P=this.call(w,O,M);if(this.cached)x[R].splice(K,1);if(P===false)return false;K++});return P}
function B(){if($f(q)){$f(q).getParent().innerHTML="";p=$f(q).getIndex();a[p]=w}else{a.push(w);p=a.length-1};A=parseInt(q.style.height,10)||q.clientHeight;E=q.id||"fp"+e();r=G.id||E+"_api";G.id=r;t.playerId=E;if(typeof t=="string")t={clip:{url:t}};if(typeof t.clip=="string")t.clip={url:t.clip};t.clip=t.clip||{};if(q.getAttribute("href",2)&&!t.clip.url)t.clip.url=q.getAttribute("href",2);s=new h(t.clip,-1,w);t.playlist=t.playlist||[t.clip];var I=0;m(t.playlist,function(){var K=this;if(typeof K=="object"&&K.length)K={url:""+K};m(t.clip,function(L,M){if(M!==undefined&&K[L]===undefined&&typeof M!="function")K[L]=M});t.playlist[I]=K;K=new h(K,I,w);F.push(K);I++});m(t,function(K,L){if(typeof L=="function"){if(s[K]){s[K](L)}else j(x,K,L);delete t[K]}});m(t.plugins,function(K,L){if(L)y[K]=new l(K,L,w)});if(!t.plugins||t.plugins.controls===undefined)y.controls=new l("controls",null,w);y.canvas=new l("canvas",null,w);u=q.innerHTML
function J(L){var K=w.hasiPadSupport&&w.hasiPadSupport();if(/iPad|iPhone|iPod/i.test(navigator.userAgent)&&!/.flv$/i.test(F[0].url)&&!K)return true;if(!w.isLoaded()&&w._fireEvent("onBeforeClick")!==false)w.load();return f(L)}
function H(){if(u.replace(/\s/g,"")!==""){if(q.addEventListener){q.addEventListener("click",J,false)}else if(q.attachEvent)q.attachEvent("onclick",J)}else{if(q.addEventListener)q.addEventListener("click",f,false);w.load()}};setTimeout(H,0)};if(typeof q=="string"){var z=c(q);if(!z)throw "Flowplayer cannot access element: "+q;q=z;B()}else B()};var a=[]
function d(o){this.length=o.length;this.each=function(p){m(o,p)};this.size=function(){return o.length}};window.flowplayer=window.$f=function(){var p=null,o=arguments[0];if(!arguments.length){m(a,function(){if(this.isLoaded()){p=this;return false}});return p||a[0]};if(arguments.length==1)if(typeof o=="number"){return a[o]}else{if(o=="*")return new d(a);m(a,function(){if(this.id()==o.id||this.id()==o||this.getParent()==o){p=this;return false}});return p};if(arguments.length>1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t=="string")t={src:t};t=i({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:false},t);if(typeof o=="string"){if(o.indexOf(".")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else if(o)return new b(o,t,q)};return null};i(window.$f,{fireEvent:function(){var o=[].slice.call(arguments),q=$f(o[0]);return q?q._fireEvent(o.slice(1)):null},addPlugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jQuery=="function")jQuery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]=="number"){var o=[];this.each(function(){var r=$f(this);if(r)o.push(r)});return arguments.length?o[arguments[0]]:new d(o)};return this.each(function(){$f(this,k(q),p?k(p):{})})}})();(function(){var e=typeof jQuery=="function",i={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(e){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",conf:i}}
function j(){if(c.done)return false;var l=document;if(l&&l.getElementsByTagName&&l.getElementById&&l.body){clearInterval(c.timer);c.timer=null;for(var k=0;k<c.ready.length;k++)c.ready[k].call();c.ready=null;c.done=true}};var c=e?jQuery:function(k){if(c.done)return k();if(c.timer){c.ready.push(k)}else{c.ready=[k];c.timer=setInterval(j,13)}}
function f(l,k){if(k)for(key in k)if(k.hasOwnProperty(key))l[key]=k[key];return l}
function g(k){switch(h(k)){case"string":k=k.replace(new RegExp('(["\\\\])',"g"),"\\$1");k=k.replace(/^\s?(\d+)%/,"$1pct");return'"'+k+'"';case"array":return"["+b(k,function(n){return g(n)}).join(",")+"]";case"function":return'"function()"';case"object":var l=[];for(var m in k)if(k.hasOwnProperty(m))l.push('"'+m+'":'+g(k[m]));return"{"+l.join(",")+"}"};return String(k).replace(/\s/g," ").replace(/\'/g,'"')}
function h(l){if(l===null||l===undefined)return false;var k=typeof l;return(k=="object"&&l.push)?"array":k};if(window.attachEvent)window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})
function b(k,n){var m=[];for(var l in k)if(k.hasOwnProperty(l))m[l]=n(k[l]);return m}
function a(r,t){var q=f({},r),s=document.all,n='<object width="'+q.width+'" height="'+q.height+'"';if(s&&!q.id)q.id="_"+(""+Math.random()).substring(9);if(q.id)n+=' id="'+q.id+'"';if(q.cachebusting)q.src+=((q.src.indexOf("?")!=-1?"&":"?")+Math.random());if(q.w3c||!s){n+=' data="'+q.src+'" type="application/x-shockwave-flash"'}else n+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';n+=">";if(q.w3c||s)n+='<param name="movie" value="'+q.src+'" />';q.width=q.height=q.id=q.w3c=q.src=null;for(var l in q)if(q[l]!==null)n+='<param name="'+l+'" value="'+q[l]+'" />';var o="";if(t){for(var m in t)if(t[m]!==null)o+=m+"="+(typeof t[m]=="object"?g(t[m]):t[m])+"&";o=o.substring(0,o.length-1);n+='<param name="flashvars" value=\''+o+"' />"};n+="</object>";return n}
function d(m,p,l){var k=flashembed.getVersion();f(this,{getContainer:function(){return m},getConf:function(){return p},getVersion:function(){return k},getFlashvars:function(){return l},getApi:function(){return m.firstChild},getHTML:function(){return a(p,l)}});var q=p.version,r=p.expressInstall,o=!q||flashembed.isSupported(q);if(o){p.onFail=p.version=p.expressInstall=null;m.innerHTML=a(p,l)}else if(q&&r&&flashembed.isSupported([6,65])){f(p,{src:r});l={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};m.innerHTML=a(p,l)}else if(m.innerHTML.replace(/\s/g,"")!=="");else{m.innerHTML="<h2>Flash version "+q+" or greater is required</h2><h3>"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"</h3>"+(m.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");if(m.tagName=="A")m.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}};if(!o&&p.onFail){var n=p.onFail.call(this);if(typeof n=="string")m.innerHTML=n};if(document.all)window[p.id]=document.getElementById(p.id)};window.flashembed=function(l,m,k){if(typeof l=="string"){var n=document.getElementById(l);if(n){l=n}else{c(function(){flashembed(l,m,k)});return}};if(!l)return;if(typeof m=="string")m={src:m};var o=f({},i);f(o,m);return new d(l,o,k)};f(window.flashembed,{getVersion:function(){var m=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var l=navigator.plugins["Shockwave Flash"].description;if(typeof l!="undefined"){l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var n=parseInt(l.replace(/^(.*)\..*$/,"$1"),10),r=/r/.test(l)?parseInt(l.replace(/^.*r(.*)$/,"$1"),10):0;m=[n,r]}}else if(window.ActiveXObject){try{var p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(q){try{p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");m=[6,0];p.AllowScriptAccess="always"}catch(k){if(m[0]==6)return m};try{p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(o){}};if(typeof p=="object"){l=p.GetVariable("$version");if(typeof l!="undefined"){l=l.replace(/^\S+\s+(.*)$/,"$1").split(",");m=[parseInt(l[0],10),parseInt(l[2],10)]}}};return m},isSupported:function(k){var m=flashembed.getVersion(),l=(m[0]>k[0])||(m[0]==k[0]&&m[1]>=k[1]);return l},domReady:c,asString:g,getHTML:a});if(e)jQuery.fn.flashembed=function(l,k){var m=null;this.each(function(){m=flashembed(this,l,k)});return l.api===false?this:m}})();
var browserName=navigator.appName,browserVer=parseInt(navigator.appVersion),version="",msie4=(browserName=="Microsoft Internet Explorer"&&browserVer>=4);if((browserName=="Netscape"&&browserVer>=3)||msie4||browserName=="Konqueror"||browserName=="Opera"){version="n3"}else version="n2"
function blurLink(theObject){if(msie4)theObject.blur()}
function decryptCharcode(n,start,end,offset){n=n+offset;if(offset>0&&n>end){n=start+(n-end-1)}else if(offset<0&&n<start)n=end-(start-n-1);return String.fromCharCode(n)}
function decryptString(enc,offset){var dec="",len=enc.length;for(var i=0;i<len;i++){var n=enc.charCodeAt(i);if(n>=0x2B&&n<=0x3A){dec+=decryptCharcode(n,0x2B,0x3A,offset)}else if(n>=0x40&&n<=0x5A){dec+=decryptCharcode(n,0x40,0x5A,offset)}else if(n>=0x61&&n<=0x7A){dec+=decryptCharcode(n,0x61,0x7A,offset)}else dec+=enc.charAt(i)};return dec}
function linkTo_UnCryptMailto(s){location.href=decryptString(s,-2)};
document.documentElement.className += " js";
		-->

