(function(){window.G8=window.G8||{};var F=G8.ax_jqxtnd.makeDiv,O=function B(){function y(){$("a.linkMainNavi,a.linkSubNavi").bindOnce("mouseenter",{show:true},v).bindOnce("mouseleave",{show:false},v)}function o(){$(".contentHeader a").bindOnce("mouseenter",{show:true},k).bindOnce("mouseleave",{show:false},k)}function v(l){l=l.data.show;var w=$(this);w=w.find(".imgMainNaviArrow,.imgSubNaviArrow");l?w.switchSrc("_lo.","_hi."):w.switchSrc("_hi.","_lo.")}function k(l){l=l.data.show;var w=$(this).find("img");
l?w.switchSrc("_lo.","_hi."):w.switchSrc("_hi.","_lo.")}return{reinitNaviRollovers:y,reinitHeaderRollovers:o}}(),V=function B(){function y(){v()}function o(){var s=$(".homeShow").children("img:visible").eq(0),p=s.next().is("img")?s.next().eq(0):s.parent().children("img").eq(0);s.fadeOut(l*1E3);p.fadeIn(l*1E3);v()}function v(){w&&clearTimeout(w);if($(".homeShow").length)w=setTimeout(o,k*1E3)}var k=5,l=2,w;return{reinitSlideShow:y}}(),W=function B(){function y(){$(".contTeaser").bindOnce("mouseenter",
o).bindOnce("mouseleave",v).bindOnce("click",k).each(function(){var l=$(this);if(!l.find(".contTeaserToggle").length){var w='<div class="contTeaserToggle"><img alt="" src="style/img/toggler_col.jpg" /></div>';l.prepend(w)}if(!l.find(".contTeaserBg").length){w='<div class="contTeaserBg"><div class="contTeaserBgMiddle"></div><img class="contTeaserBgTop" alt="" src="style/img/bg_cb_top.jpg" /><img class="contTeaserBgBot" alt="" src="style/img/bg_cb_bot.jpg" /></div>';l.prepend(w)}});$(".contTeaserText").each(function(){var l=
$(this);l.data("origHeight",l.height())}).addClass("contTeaserTextCollapsed").each(function(){var l=$(this);l.data("miniHeight",l.height())})}function o(){var l=$(this);l.find(".contTeaserBg").fadeIn(150).end().find(".contTeaserToggle").fadeIn(150)}function v(){var l=$(this);l.find(".contTeaserBg").fadeOut(150).end().find(".contTeaserToggle").fadeOut(150)}function k(){var l=$(this),w=l.find(".contTeaserToggle").find("img"),s=l.find(".contTeaserText");if(s.hasClass("contTeaserTextCollapsed")){w.attr("src",
"style/img/toggler_exp.jpg");s.animate({height:s.data("origHeight")},300).removeClass("contTeaserTextCollapsed")}else{w.attr("src","style/img/toggler_col.jpg");s.animate({height:s.data("miniHeight")},300,function(){s.addClass("contTeaserTextCollapsed")})}}return{reinitTeaserBoxes:y}}(),X=function B(){function y(){$("a,area").filter(":not(.noSmoothLink)").bindOnce("click",o)}function o(){var i=$(this),m=i.attr("href");if(!m.hasStr(".pdf",".doc","mailto:","http://")&&m!=""&&m.indexOf("#")!=0&&!i.hasClass("js_lightbox_link")){this.blur&&
this.blur();if(!r&&m!=b){k(m);if(m.hasStr("#")){d=this.hash;m=m.replace(d,"")}$.get(m,{},function(a){var f=$("<div>"+a+"</div>");p(a);w(f);s(f);l(f)},"html")}return false}}function v(){r=false;P.reinitPage();if(d){Q.scrollToHash(d);d=false}}function k(i){r=true;b=i}function l(i){var m=$("#fmCont",i).find(".contentBox").hide(),a=$("#fmCont").find(".contentBox");a.slideUp(300,function(){m.insertBefore(a);a.remove();m.slideDown(300);m.find(".homeTwitterBox").length&&m.find(".homeTwitterBox").append('<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"><\/script><script type="text/javascript" src="http://twitter.com/statuses/user_timeline/Envoda_GmbH.json?callback=twitterCallback2&amp;count=1"><\/script>');
if(m.find(".homeSolarTop50Box").length)location.href="index.php";v()})}function w(i){function m(){f.insertBefore(e);e.remove()}function a(){D.insertBefore(h);h.remove()}var f=$("#fmNavi",i),e=$("#fmNavi");e.find(".linkMainNavi").index($(".linkMainNaviHi"));f.find(".linkMainNavi").index($(".linkMainNaviHi",f));var t=e.find(".subNaviBox"),c=f.find(".subNaviBox"),x=-1;if(t.length)t=t.find(".linkSubNavi").index($(".subNaviLinktextHi").parents(".linkSubNavi"));if(c.length)x=c.find(".linkSubNavi").index($(".subNaviLinktextHi",
c).parents(".linkSubNavi"));var D=$("#fmMeta",i),h=$("#fmMeta");h.find(".linkMetaNavi").index($(".linkMetaNaviHi"));D.find(".linkMetaNavi").index($(".linkMetaNaviHi",D));m();a()}function s(i){i=$("#flContactBar",i);var m=$("#flContactBar");m.tglClass("flContactBarHome",i.hasClass("flContactBarHome"))}function p(i){i=i.match(/[^>]*(?=<\/title>)/);document.title=i}var r=false,b=false,d=false;return{reinitSmoothLoading:y}}(),Q=function B(){function y(){$("a[href^=#]").bindOnce("click",v)}function o(k,
l){k=$("[name="+k.slice(1)+"]");k=k.offset().top;$("html,body").animate({scrollTop:k},500,"easeOutQuart",function(){if(l)window.location.href=l})}function v(){var k=this.hash,l=/^\//;if(location.pathname.replace(l,"")==this.pathname.replace(l,"")&&location.hostname==this.hostname){l=$("[name="+k.slice(1)+"]");window.location.href.replace(window.location.hash,"");var w=String(this);if(l.length){o(k,w);return false}}}return{reinitSmoothScroll:y,scrollToHash:o}}(),P=function B(){function y(){$("body").addClass("js_jsEnabled");
V.reinitSlideShow();W.reinitTeaserBoxes();O.reinitNaviRollovers();O.reinitHeaderRollovers();X.reinitSmoothLoading();Q.reinitSmoothScroll();Y.reinitLightbox();Z.reinitTogglers();aa.reinitVideoLinks();ba.reinitForms()}return{reinitPage:y}}(),Y=function B(){function y(){$(".js_lightbox_set").each(function(){boxObj=$(this);$Self(".js_lightbox_link img",boxObj).lightBox()})}return{reinitLightbox:y}}(),Z=function B(){function y(){$(".js_infoToggler").bindOnce("click",o)}function o(v){v.preventDefault();
v=$(this);var k=v.parent().find(".js_toggeldContent");if(k.is(":hidden")){v.html("Hilfe zu den Angaben ausblenden");k.slideDown(300)}else{v.html("Hilfe zu den Angaben zeigen?");k.slideUp(300)}}return{reinitTogglers:y}}(),ba=function B(){function y(){o();v();k()}function o(){$("#formChecklist").bindOnce("submit",r)}function v(){$("#formContact").bindOnce("submit",p)}function k(){$("#formPhone").unbind().bindOnce("submit",s);$("#linkSubmitPhoneForm").unbind().bindOnce("click",l);$("#linkShowPhoneFormAgain").unbind().bindOnce("click",
w)}function l(b){b.preventDefault();$("#formPhone").trigger("submit")}function w(b){b.preventDefault();G.showPane("form",$("#formPhone"))}function s(b){b.preventDefault();var d=$(this);M.validateForm(d,function(){G.showPane("loading",d);var i=d.serialize();$.post("php/send_phone.php",i,function(m){m=="OK"?G.showPane("success",d):G.showPane("error",d)})})}function p(b){b.preventDefault();var d=$(this);M.validateForm(d,function(){G.showPane("loading",d);var i=d.serialize();$.post("php/send_contact.php",
i,function(m){m=="OK"?G.showPane("success",d):G.showPane("error",d)})})}function r(b){b.preventDefault();var d=$(this);M.validateForm(d,function(){G.showPane("loading",d);var i=d.serialize();$.post("php/send_checklist.php",i,function(m){m=="OK"?G.showPane("success",d):G.showPane("error",d)})})}return{reinitForms:y}}(),G=function B(){function y(k,l){o(l,"error",k=="error");o(l,"success",k=="success");o(l,"form",k=="form");o(l,"loading",k=="loading")}function o(k,l,w){function s(p,r){return p=formOuterBoxObj.find(p).length?
formOuterBoxObj.find(p):$(r).appendTo(formOuterBoxObj)}formOuterBoxObj=k.parents(".js_formOuterBox");k=l=="success"?s(".js_formSuccessBox",'<div class="js_formSuccessBox">'+v.resultSuccess+"</div>"):l=="error"?s(".js_formErrorBox",'<div class="js_formErrorBox">'+v.resultError+"</div>"):l=="loading"?s(".js_formLoadingBox",'<div class="js_formLoadingBox">'+v.resultLoading+"</div>"):l=="form"?formOuterBoxObj.find(".js_formFormBox"):$();k.tgl(w)}var v={resultSuccess:"Daten wurden versendet",resultError:"Es ist ein Fehler aufgetreten",
resultLoading:"L\u00e4dt..."};return{showPane:y}}(),M=function B(){function y(p,r){var b=false;p.find(".js_valiNotEmpty:visible").each(function(){var d=$(this);if(d.inpReadVal()==""){b=true;o({fieldObj:d,mode:"notEmpty"})}});p.find(".js_valiEmail:visible").each(function(){var d=$(this),i=d.inpReadVal();if(i!=""){var m=new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
if(!m.test(i)){b=true;o({fieldObj:d,mode:"notEmail"})}}});p.find(".js_valiSelect:visible").each(function(){var d=$(this);if(d.val()==""){b=true;o({fieldObj:d,mode:"select"})}});p.find(".js_valiUL:visible").each(function(){var d=$(this);if(d.inpReadVal()==""){b=true;o({fieldObj:d,mode:"UL"})}});p.find(".js_valiGroup:visible").each(function(){var d=$(this),i=d.getIdFromClass("js_vali_idGroupName_"),m=w(p,i);if(!m.length){b=true;o({hlObj:d,mode:"group",groupName:i})}});if(b)$(document).scrollTop()>$(".js_vali_valiTTObj").eq(0).top()&&
$(document).scrollTop($(".js_vali_valiTTObj").eq(0).top());else r()}function o(p){var r=p.mode,b=r=="group"?p.hlObj:p.fieldObj.parents(".js_vali_inputBox");if(!b.data("hasError")){var d=r=="notEmail"?s.valiEmail:r=="group"?s.valiGroup:r=="select"?s.valiSelect:r=="UL"?s.valiUL:r=="notEmpty"?s.valiNotEmpty:"",i=r=="group"?p.hlObj:b;d=k(d).hide().appendTo(i).fadeInXB(300);b.addClass("js_vali_valiBoxAct").data("hasError",true);p=r=="group"?$(":input[name='"+p.groupName+"']"):r=="UL"?b.parent():p.fieldObj;
r=r=="UL"||r=="group"?"click":"focus";l(p,r,b,d)}}function v(p,r){p.removeClass("js_vali_valiBoxAct").data("hasError",false);r.fadeOutXB(300,function(){r.remove()})}function k(p){return p=$(F({cl:"js_vali_valiTTObj"},F({cl:"js_vali_valiTTLeft"}),F({cl:"js_vali_valiTTMid"},F({cl:"js_vali_valiTTMidInner"},p)),F({cl:"js_vali_valiTTRight"}),F({cl:"clr"})))}function l(p,r,b,d){function i(){v(b,d);p.unbind(r,i)}p.bind(r,i)}function w(p,r){var b=[];p.find("input[name="+r+"]").each(function(){var d=$(this);
d.is(":checked")&&b.push(d.val())});return b}var s={valiGroup:"Bitte eine Auswahl treffen",valiSelect:"Bitte ausw\u00e4hlen",valiUL:"Bitte Datei ausw\u00e4hlen",valiNotEmpty:"Bitte etwas eintragen",valiEmail:"Bitte g\u00fcltige E-mail Adresse eingeben"};return{validateForm:y}}(),aa=function B(){function y(){$(".js_linkEnvodaVideo").bindOnce("click",o)}function o(k){k.preventDefault();k=$(this);k=k.attr("href");var l=$(F({cl:"videoPopupContainer"}));l.appendTo("body");var w=$(F({cl:"videoPageCover"}));
w.opacity(0.5).appendTo(l);var s=$(F({cl:"videoPopup"},F({cl:"videoObjectBox"}),F({cl:"videoPopupControlBox"},'<img src="style/img/js_videopop_icon_close_lo.png" class="videoBtnClosePopup" alt="Schlie\u00dfen" title="Schlie\u00dfen" />')));s.appendTo(l).setPosTo($(window),"CENTERX","CENTERY").fadeIn(300);s.find(".videoObjectBox").flowplayer("func/flowplayer-3.2.2.swf",k);s.find(".videoBtnClosePopup").bindOnce("click",v);w.bindOnce("click",v)}function v(){var k=$(this);k=k.parents(".videoPopupContainer");
k.fadeOut("300",function(){$(this).remove()})}return{reinitVideoLinks:y}}();(function(){function B(a){console.log("$f.fireEvent",[].slice.call(a))}function y(a){if(!a||typeof a!="object")return a;var f=new a.constructor;for(var e in a)if(a.hasOwnProperty(e))f[e]=y(a[e]);return f}function o(a,f){if(a){var e,t=0,c=a.length;if(c===undefined)for(e in a){if(f.call(a[e],e,a[e])===false)break}else for(e=a[0];t<c&&f.call(e,t,e)!==false;e=a[++t]);return a}}function v(a){return document.getElementById(a)}function k(a,
f,e){if(typeof f!="object")return a;a&&f&&o(f,function(t,c){if(!e||typeof c!="function")a[t]=c});return a}function l(a){var f=a.indexOf(".");if(f!=-1){var e=a.slice(0,f)||"*",t=a.slice(f+1,a.length),c=[];o(document.getElementsByTagName(e),function(){this.className&&this.className.indexOf(t)!=-1&&c.push(this)});return c}}function w(a){a=a||window.event;if(a.preventDefault){a.stopPropagation();a.preventDefault()}else{a.returnValue=false;a.cancelBubble=true}return false}function s(a,f,e){a[f]=a[f]||
[];a[f].push(e)}function p(){return"_"+(""+Math.random()).slice(2,10)}function r(a,f,e){function t(){function g(j){!c.isLoaded()&&c._fireEvent("onBeforeClick")!==false&&c.load();return w(j)}if($f(a)){$f(a).getParent().innerHTML="";H=$f(a).getIndex();m[H]=c}else{m.push(c);H=m.length-1}R=parseInt(a.style.height,10)||a.clientHeight;I=a.id||"fp"+p();L=f.id||I+"_api";f.id=L;e.playerId=I;if(typeof e=="string")e={clip:{url:e}};if(typeof e.clip=="string")e.clip={url:e.clip};e.clip=e.clip||{};if(a.getAttribute("href",
2)&&!e.clip.url)e.clip.url=a.getAttribute("href",2);n=new d(e.clip,-1,c);e.playlist=e.playlist||[e.clip];var q=0;o(e.playlist,function(){var j=this;if(typeof j=="object"&&j.length)j={url:""+j};o(e.clip,function(z,E){if(E!==undefined&&j[z]===undefined&&typeof E!="function")j[z]=E});e.playlist[q]=j;j=new d(j,q,c);u.push(j);q++});o(e,function(j,z){if(typeof z=="function"){n[j]?n[j](z):s(C,j,z);delete e[j]}});o(e.plugins,function(j,z){if(z)A[j]=new i(j,z,c)});if(!e.plugins||e.plugins.controls===undefined)A.controls=
new i("controls",null,c);A.canvas=new i("canvas",null,c);h=a.innerHTML;if(h.replace(/\s/g,"")!=="")if(a.addEventListener)a.addEventListener("click",g,false);else a.attachEvent&&a.attachEvent("onclick",g);else{a.addEventListener&&a.addEventListener("click",w,false);c.load()}}var c=this,x=null,D=false,h,n,u=[],A={},C={},I,L,H,S,T,R;k(c,{id:function(){return I},isLoaded:function(){return x!==null&&x.fp_play!=undefined&&!D},getParent:function(){return a},hide:function(g){if(g)a.style.height="0px";if(c.isLoaded())x.style.height=
"0px";return c},show:function(){a.style.height=R+"px";if(c.isLoaded())x.style.height=T+"px";return c},isHidden:function(){return c.isLoaded()&&parseInt(x.style.height,10)===0},load:function(g){if(!c.isLoaded()&&c._fireEvent("onBeforeLoad")!==false){var q=function(){if((h=a.innerHTML)&&!flashembed.isSupported(f.version))a.innerHTML="";flashembed(a,f,{config:e});if(g){g.cached=true;s(C,"onLoad",g)}},j=0;o(m,function(){this.unload(function(){++j==m.length&&q()})})}return c},unload:function(g){if(this.isFullscreen()&&
/WebKit/i.test(navigator.userAgent)){g&&g(false);return c}if(h.replace(/\s/g,"")!==""){if(c._fireEvent("onBeforeUnload")===false){g&&g(false);return c}D=true;try{if(x){x.fp_close();c._fireEvent("onUnload")}}catch(q){}var j=function(){x=null;a.innerHTML=h;D=false;g&&g(true)};setTimeout(j,50)}else g&&g(false);return c},getClip:function(g){if(g===undefined)g=S;return u[g]},getCommonClip:function(){return n},getPlaylist:function(){return u},getPlugin:function(g){var q=A[g];if(!q&&c.isLoaded()){var j=
c._api().fp_getPlugin(g);if(j){q=new i(g,j,c);A[g]=q}}return q},getScreen:function(){return c.getPlugin("screen")},getControls:function(){return c.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return c.getPlugin("logo")._fireEvent("onUpdate")}catch(g){}},getPlay:function(){return c.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(g){return g?y(e):e},getFlashParams:function(){return f},loadPlugin:function(g,q,j,z){if(typeof j=="function"){z=j;j={}}var E=z?p():"_";
c._api().fp_loadPlugin(g,q,j,E);q={};q[E]=z;z=new i(g,null,c,q);return A[g]=z},getState:function(){return c.isLoaded()?x.fp_getState():-1},play:function(g,q){var j=function(){g!==undefined?c._api().fp_play(g,q):c._api().fp_play()};if(c.isLoaded())j();else D?setTimeout(function(){c.play(g,q)},50):c.load(function(){j()});return c},getVersion:function(){var g="flowplayer.js 3.2.0";if(c.isLoaded()){var q=x.fp_getVersion();q.push(g);return q}return g},_api:function(){if(!c.isLoaded())throw"Flowplayer "+
c.id()+" not loaded when calling an API method";return x},setClip:function(g){c.setPlaylist([g]);return c},getIndex:function(){return H}});o("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut".split(","),function(){var g="on"+this;if(g.indexOf("*")!=-1){g=g.slice(0,g.length-1);var q="onBefore"+g.slice(2);c[q]=function(j){s(C,q,j);return c}}c[g]=function(j){s(C,g,j);return c}});o("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 g=this;c[g]=function(q,j){if(!c.isLoaded())return c;var z=null;z=q!==undefined&&j!==undefined?x["fp_"+g](q,j):q===undefined?x["fp_"+g]():x["fp_"+g](q);return z==="undefined"||z===undefined?c:z}});c._fireEvent=function(g){if(typeof g=="string")g=[g];var q=g[0],j=g[1],z=g[2],E=g[3],J=0;e.debug&&B(g);if(!c.isLoaded()&&q=="onLoad"&&j=="player"){x=x||v(L);T=x.clientHeight;o(u,function(){this._fireEvent("onLoad")});o(A,function(ca,N){N._fireEvent("onUpdate")});n._fireEvent("onLoad")}if(!(q==
"onLoad"&&j!="player")){if(q=="onError")if(typeof j=="string"||typeof j=="number"&&typeof z=="number"){j=z;z=E}if(q=="onContextMenu")o(e.contextMenu[j],function(ca,N){N.call(c)});else if(q=="onPluginEvent"||q=="onBeforePluginEvent"){E=j.name||j;if(E=A[E]){E._fireEvent("onUpdate",j);return E._fireEvent(z,g.slice(3))}}else{if(q=="onPlaylistReplace"){u=[];var da=0;o(j,function(){u.push(new d(this,da++,c))})}if(q=="onClipAdd"){if(j.isInStream)return;j=new d(j,z,c);u.splice(z,0,j);for(J=z+1;J<u.length;J++)u[J].index++}var K=
true;if(typeof j=="number"&&j<u.length){S=j;if(g=u[j])K=g._fireEvent(q,z,E);if(!g||K!==false)K=n._fireEvent(q,z,E,g)}o(C[q],function(){K=this.call(c,j,z);this.cached&&C[q].splice(J,1);if(K===false)return false;J++});return K}}};if(typeof a=="string"){var U=v(a);if(U){a=U;t()}else throw"Flowplayer cannot access element: "+a;}else t()}function b(a){this.length=a.length;this.each=function(f){o(a,f)};this.size=function(){return a.length}}var d=function(a,f,e){var t=this,c={},x={};t.index=f;if(typeof a==
"string")a={url:a};k(this,a,true);o("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop".split(","),function(){var h="on"+this;if(h.indexOf("*")!=-1){h=h.slice(0,h.length-1);var n="onBefore"+h.slice(2);t[n]=function(u){s(x,n,u);return t}}t[h]=function(u){s(x,h,u);return t};if(f==-1){if(t[n])e[n]=t[n];if(t[h])e[h]=t[h]}});k(this,{onCuepoint:function(h,n){if(arguments.length==1){c.embedded=[null,h];return t}if(typeof h=="number")h=[h];var u=p();c[u]=
[h,n];e.isLoaded()&&e._api().fp_addCuepoints(h,f,u);return t},update:function(h){k(t,h);e.isLoaded()&&e._api().fp_updateClip(h,f);var n=e.getConfig();n=f==-1?n.clip:n.playlist[f];k(n,h,true)},_fireEvent:function(h,n,u,A){if(h=="onLoad"){o(c,function(L,H){H[0]&&e._api().fp_addCuepoints(H[0],f,L)});return false}A=A||t;if(h=="onCuepoint"){var C=c[n];if(C)return C[1].call(e,A,u)}if(n&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(h)!=-1){k(A,n);if(n.metaData)if(A.duration)A.fullDuration=
n.metaData.duration;else A.duration=n.metaData.duration}var I=true;o(x[h],function(){I=this.call(e,A,n,u)});return I}});if(a.onCuepoint){var D=a.onCuepoint;t.onCuepoint.apply(t,typeof D=="function"?[D]:D);delete a.onCuepoint}o(a,function(h,n){if(typeof n=="function"){s(x,h,n);delete a[h]}});if(f==-1)e.onCuepoint=this.onCuepoint},i=function(a,f,e,t){var c=this,x={},D=false;t&&k(x,t);o(f,function(h,n){if(typeof n=="function"){x[h]=n;delete f[h]}});k(this,{animate:function(h,n,u){if(!h)return c;if(typeof n==
"function"){u=n;n=500}if(typeof h=="string"){var A=h;h={};h[A]=n;n=500}if(u){var C=p();x[C]=u}if(n===undefined)n=500;f=e._api().fp_animate(a,h,n,C);return c},css:function(h,n){if(n!==undefined){var u={};u[h]=n;h=u}f=e._api().fp_css(a,h);k(c,f);return c},show:function(){this.display="block";e._api().fp_showPlugin(a);return c},hide:function(){this.display="none";e._api().fp_hidePlugin(a);return c},toggle:function(){this.display=e._api().fp_togglePlugin(a);return c},fadeTo:function(h,n,u){if(typeof n==
"function"){u=n;n=500}if(u){var A=p();x[A]=u}this.display=e._api().fp_fadeTo(a,h,n,A);this.opacity=h;return c},fadeIn:function(h,n){return c.fadeTo(1,h,n)},fadeOut:function(h,n){return c.fadeTo(0,h,n)},getName:function(){return a},getPlayer:function(){return e},_fireEvent:function(h,n){if(h=="onUpdate"){var u=e._api().fp_getPlugin(a);if(!u)return;k(c,u);delete c.methods;if(!D){o(u.methods,function(){var A=""+this;c[A]=function(){var C=[].slice.call(arguments);C=e._api().fp_invoke(a,A,C);return C===
"undefined"||C===undefined?c:C}});D=true}}if(u=x[h]){n=u.apply(c,n);h.slice(0,1)=="_"&&delete x[h];return n}return c}})},m=[];window.flowplayer=window.$f=function(){var a=null,f=arguments[0];if(!arguments.length){o(m,function(){if(this.isLoaded()){a=this;return false}});return a||m[0]}if(arguments.length==1)if(typeof f=="number")return m[f];else{if(f=="*")return new b(m);o(m,function(){if(this.id()==f.id||this.id()==f||this.getParent()==f){a=this;return false}});return a}if(arguments.length>1){var e=
arguments[1],t=arguments.length==3?arguments[2]:{};if(typeof e=="string")e={src:e};e=k({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:true},e);if(typeof f=="string")if(f.indexOf(".")!=-1){var c=[];o(l(f),function(){c.push(new r(this,y(e),y(t)))});return new b(c)}else{var x=v(f);return new r(x!==null?x:f,e,t)}else if(f)return new r(f,e,t)}return null};k(window.$f,{fireEvent:function(){var a=[].slice.call(arguments),f=$f(a[0]);return f?
f._fireEvent(a.slice(1)):null},addPlugin:function(a,f){r.prototype[a]=f;return $f},each:o,extend:k});if(typeof jQuery=="function")jQuery.fn.flowplayer=function(a,f){if(!arguments.length||typeof arguments[0]=="number"){var e=[];this.each(function(){var t=$f(this);t&&e.push(t)});return arguments.length?e[arguments[0]]:new b(e)}return this.each(function(){$f(this,y(a),f?y(f):{})})}})();(function(){function B(b,d){if(d)for(key in d)if(d.hasOwnProperty(key))b[key]=d[key];return b}function y(b,d){var i=
[];for(var m in b)if(b.hasOwnProperty(m))i[m]=d(b[m]);return i}function o(b,d,i){if(p.isSupported(d.version))b.innerHTML=p.getHTML(d,i);else if(d.expressInstall&&p.isSupported([6,65]))b.innerHTML=p.getHTML(B(d,{src:d.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else{if(!b.innerHTML.replace(/\s/g,"")){b.innerHTML="<h2>Flash version "+d.version+" or greater is required</h2><h3>"+(r[0]>0?"Your version is "+r:"You have no flash plugin installed")+"</h3>"+
(b.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+k+"'>here</a></p>");if(b.tagName=="A")b.onclick=function(){location.href=k}}if(d.onFail){var m=d.onFail.call(this);if(typeof m=="string")b.innerHTML=m}}if(v)window[d.id]=document.getElementById(d.id);B(this,{getRoot:function(){return b},getOptions:function(){return d},getConf:function(){return i},getApi:function(){return b.firstChild}})}var v=document.all,k="http://www.adobe.com/go/getflashplayer",
l=typeof jQuery=="function",w=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,s={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}});window.flashembed=function(b,d,i){if(typeof b=="string")b=document.getElementById(b.replace("#",
""));if(b){if(typeof d=="string")d={src:d};return new o(b,B(B({},s),d),i)}};var p=B(window.flashembed,{conf:s,getVersion:function(){var b;try{b=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(d){try{var i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");b=i&&i.GetVariable("$version")}catch(m){}}return(b=w.exec(b))?[b[1],b[3]]:[0,0]},asString:function(b){if(b===null||b===undefined)return null;var d=typeof b;if(d=="object"&&b.push)d="array";switch(d){case "string":b=b.replace(new RegExp('(["\\\\])',
"g"),"\\$1");b=b.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+b+'"';case "array":return"["+y(b,function(m){return p.asString(m)}).join(",")+"]";case "function":return'"function()"';case "object":d=[];for(var i in b)b.hasOwnProperty(i)&&d.push('"'+i+'":'+p.asString(b[i]));return"{"+d.join(",")+"}"}return String(b).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(b,d){b=B({},b);var i='<object width="'+b.width+'" height="'+b.height+'" id="'+b.id+'" name="'+b.id+'"';if(b.cachebusting)b.src+=(b.src.indexOf("?")!=
-1?"&":"?")+Math.random();i+=b.w3c||!v?' data="'+b.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';i+=">";if(b.w3c||v)i+='<param name="movie" value="'+b.src+'" />';b.width=b.height=b.id=b.w3c=b.src=null;b.onFail=b.version=b.expressInstall=null;for(var m in b)if(b[m])i+='<param name="'+m+'" value="'+b[m]+'" />';b="";if(d){for(var a in d)if(d[a]){m=d[a];b+=a+"="+(/function|object/.test(typeof m)?p.asString(m):m)+"&"}b=b.slice(0,-1);i+='<param name="flashvars" value=\''+
b+"' />"}i+="</object>";return i},isSupported:function(b){return r[0]>b[0]||r[0]==b[0]&&r[1]>=b[1]}}),r=p.getVersion();if(l){jQuery.tools=jQuery.tools||{version:"3.2.0"};jQuery.tools.flashembed={conf:s};jQuery.fn.flashembed=function(b,d){return this.each(function(){$(this).data("flashembed",flashembed(this,b,d))})}}})();$(function(){P.reinitPage()})})();

