!function(){function e(e){console.log("$f.fireevent",[].slice.call(e))}function t(e){if(!e||"object"!=typeof e)return e;var n=new e.constructor;for(var r in e)e.hasownproperty(r)&&(n[r]=t(e[r]));return n}function n(e,t){if(e){var n,r=0,i=e.length;if(void 0===i){for(n in e)if(t.call(e[n],n,e[n])===!1)break}else for(var o=e[0];i>r&&t.call(o,r,o)!==!1;o=e[++r]);return e}}function r(e){return document.getelementbyid(e)}function i(e,t,r){return"object"!=typeof t?e:(e&&t&&n(t,function(t,n){r&&"function"==typeof n||(e[t]=n)}),e)}function o(e){var t=e.indexof(".");if(-1!=t){var r=e.slice(0,t)||"*",i=e.slice(t+1,e.length),o=[];return n(document.getelementsbytagname(r),function(){this.classname&&-1!=this.classname.indexof(i)&&o.push(this)}),o}}function a(e){return e=e||window.event,e.preventdefault?(e.stoppropagation(),e.preventdefault()):(e.returnvalue=!1,e.cancelbubble=!0),!1}function u(e,t,n){e[t]=e[t]||[],e[t].push(n)}function l(){return"_"+(""+math.random()).slice(2,10)}function s(o,s,f){function g(){function e(e){var t=s.hasipadsupport&&s.hasipadsupport();return!/ipad|iphone|ipod/i.test(navigator.useragent)||/.flv$/i.test(c[0].url)||t?(s.isloaded()||s._fireevent("onbeforeclick")===!1||s.load(),a(e)):!0}function t(){""!==h.replace(/\s/g,"")?o.addeventlistener?o.addeventlistener("click",e,!1):o.attachevent&&o.attachevent("onclick",e):(o.addeventlistener&&o.addeventlistener("click",a,!1),s.load())}$f(o)?($f(o).getparent().innerhtml="",w=$f(o).getindex(),p[w]=s):(p.push(s),w=p.length-1),e=parseint(o.style.height,10)||o.clientheight,y=o.id||"fp"+l(),m=s.id||y+"_api",s.id=m,f.playerid=y,"string"==typeof f&&(f={clip:{url:f}}),"string"==typeof f.clip&&(f.clip={url:f.clip}),f.clip=f.clip||{},o.getattribute("href",2)&&!f.clip.url&&(f.clip.url=o.getattribute("href",2)),v=new c(f.clip,-1,s),f.playlist=f.playlist||[f.clip];var r=0;n(f.playlist,function(){var e=this;"object"==typeof e&&e.length&&(e={url:""+e}),n(f.clip,function(t,n){void 0!==n&&void 0===e[t]&&"function"!=typeof n&&(e[t]=n)}),f.playlist[r]=e,e=new c(e,r,s),c.push(e),r++}),n(f,function(e,t){"function"==typeof t&&(v[e]?v[e](t):u(x,e,t),delete f[e])}),n(f.plugins,function(e,t){t&&(k[e]=new d(e,t,s))}),f.plugins&&void 0!==f.plugins.controls||(k.controls=new d("controls",null,s)),k.canvas=new d("canvas",null,s),h=o.innerhtml,settimeout(t,0)}var h,v,y,m,w,b,_,e,s=this,l=null,p=!1,c=[],k={},x={};if(i(s,{id:function(){return y},isloaded:function(){return null!==l&&void 0!==l.fp_play&&!p},getparent:function(){return o},hide:function(e){return e&&(o.style.height="0px"),s.isloaded()&&(l.style.height="0px"),s},show:function(){return o.style.height=e+"px",s.isloaded()&&(l.style.height=_+"px"),s},ishidden:function(){return s.isloaded()&&0===parseint(l.style.height,10)},load:function(e){if(!s.isloaded()&&s._fireevent("onbeforeload")!==!1){var t=function(){h=o.innerhtml,h&&!flashembed.issupported(s.version)&&(o.innerhtml=""),e&&(e.cached=!0,u(x,"onload",e)),flashembed(o,s,{config:f})},r=0;n(p,function(){this.unload(function(){++r==p.length&&t()})})}return s},unload:function(e){if(this.isfullscreen()&&/webkit/i.test(navigator.useragent))return e&&e(!1),s;if(""!==h.replace(/\s/g,"")){if(s._fireevent("onbeforeunload")===!1)return e&&e(!1),s;p=!0;try{l&&(l.fp_close(),s._fireevent("onunload"))}catch(t){}var n=function(){l=null,o.innerhtml=h,p=!1,e&&e(!0)};settimeout(n,50)}else e&&e(!1);return s},getclip:function(e){return void 0===e&&(e=b),c[e]},getcommonclip:function(){return v},getplaylist:function(){return c},getplugin:function(e){var t=k[e];if(!t&&s.isloaded()){var n=s._api().fp_getplugin(e);n&&(t=new d(e,n,s),k[e]=t)}return t},getscreen:function(){return s.getplugin("screen")},getcontrols:function(){return s.getplugin("controls")._fireevent("onupdate")},getlogo:function(){try{return s.getplugin("logo")._fireevent("onupdate")}catch(e){}},getplay:function(){return s.getplugin("play")._fireevent("onupdate")},getconfig:function(e){return e?t(f):f},getflashparams:function(){return s},loadplugin:function(e,t,n,r){"function"==typeof n&&(r=n,n={});var i=r?l():"_";s._api().fp_loadplugin(e,t,n,i);var o={};o[i]=r;var a=new d(e,null,s,o);return k[e]=a,a},getstate:function(){return s.isloaded()?l.fp_getstate():-1},play:function(e,t){var n=function(){void 0!==e?s._api().fp_play(e,t):s._api().fp_play()};return s.isloaded()?n():p?settimeout(function(){s.play(e,t)},50):s.load(function(){n()}),s},getversion:function(){var e="flowplayer.js 3.2.6";if(s.isloaded()){var t=l.fp_getversion();return t.push(e),t}return e},_api:function(){if(!s.isloaded())throw"flowplayer "+s.id()+" not loaded when calling an api method";return l},setclip:function(e){return s.setplaylist([e]),s},getindex:function(){return w},_swfheight:function(){return l.clientheight}}),n("click*,load*,unload*,keypress*,volume*,mute*,unmute*,playlistreplace,clipadd,fullscreen*,fullscreenexit,error,mouseover,mouseout".split(","),function(){var e="on"+this;if(-1!=e.indexof("*")){e=e.slice(0,e.length-1);var t="onbefore"+e.slice(2);s[t]=function(e){return u(x,t,e),s}}s[e]=function(t){return u(x,e,t),s}}),n("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 e=this;s[e]=function(t,n){if(!s.isloaded())return s;var r=null;return r=void 0!==t&&void 0!==n?l["fp_"+e](t,n):void 0===t?l["fp_"+e]():l["fp_"+e](t),"undefined"===r||void 0===r?s:r}}),s._fireevent=function(t){"string"==typeof t&&(t=[t]);var i=t[0],o=t[1],a=t[2],u=t[3],l=0;if(f.debug&&e(t),s.isloaded()||"onload"!=i||"player"!=o||(l=l||r(m),_=s._swfheight(),n(c,function(){this._fireevent("onload")}),n(k,function(e,t){t._fireevent("onupdate")}),v._fireevent("onload")),"onload"!=i||"player"==o){if("onerror"==i&&("string"==typeof o||"number"==typeof o&&"number"==typeof a)&&(o=a,a=u),"oncontextmenu"==i)return void n(f.contextmenu[o],function(e,t){t.call(s)});if("onpluginevent"!=i&&"onbeforepluginevent"!=i){if("onplaylistreplace"==i){c=[];var s=0;n(o,function(){c.push(new c(this,s++,s))})}if("onclipadd"==i){if(o.isinstream)return;for(o=new c(o,a,s),c.splice(a,0,o),l=a+1;l1){var u=arguments[1],l=3==arguments.length?arguments[2]:{};if("string"==typeof u&&(u={src:u}),u=i({bgcolor:"#000000",version:[9,0],expressinstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:!1},u),"string"==typeof a){if(-1!=a.indexof(".")){var c=[];return n(o(a),function(){c.push(new s(this,t(u),t(l)))}),new f(c)}var d=r(a);return new s(null!==d?d:a,u,l)}if(a)return new s(a,u,l)}return null},i(window.$f,{fireevent:function(){var e=[].slice.call(arguments),t=$f(e[0]);return t?t._fireevent(e.slice(1)):null},addplugin:function(e,t){return s.prototype[e]=t,$f},each:n,extend:i}),"function"==typeof jquery&&(jquery.fn.flowplayer=function(e,n){if(!arguments.length||"number"==typeof arguments[0]){var r=[];return this.each(function(){var e=$f(this);e&&r.push(e)}),arguments.length?r[arguments[0]]:new f(r)}return this.each(function(){$f(this,t(e),n?t(n):{})})})}(),function(){function e(){if(s.done)return!1;var e=document;if(e&&e.getelementsbytagname&&e.getelementbyid&&e.body){clearinterval(s.timer),s.timer=null;for(var t=0;t'),i.width=i.height=i.id=i.w3c=i.src=null;for(var u in i)null!==i[u]&&(a+='');var l="";if(r){for(var s in r)null!==r[s]&&(l+=s+"="+("object"==typeof r[s]?n(r[s]):r[s])+"&");l=l.substring(0,l.length-1),a+='"}return a+=""}function a(e,n,r){var i=flashembed.getversion();t(this,{getcontainer:function(){return e},getconf:function(){return n},getversion:function(){return i},getflashvars:function(){return r},getapi:function(){return e.firstchild},gethtml:function(){return o(n,r)}});var a=n.version,u=n.expressinstall,l=!a||flashembed.issupported(a);if(l?(n.onfail=n.version=n.expressinstall=null,e.innerhtml=o(n,r)):a&&u&&flashembed.issupported([6,65])?(t(n,{src:u}),r={mmredirecturl:location.href,mmplayertype:"plugin",mmdoctitle:document.title},e.innerhtml=o(n,r)):""!==e.innerhtml.replace(/\s/g,"")||(e.innerhtml="

flash version "+a+" or greater is required

"+(i[0]>0?"your version is "+i:"you have no flash plugin installed")+"

"+("a"==e.tagname?"

click here to download latest version

":"

download latest version from here

"),"a"==e.tagname&&(e.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"})),!l&&n.onfail){var s=n.onfail.call(this);"string"==typeof s&&(e.innerhtml=s)}document.all&&(window[n.id]=document.getelementbyid(n.id))}var u="function"==typeof jquery,l={width:"100%",height:"100%",allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:null,onfail:null,expressinstall:null,w3c:!1,cachebusting:!1};u&&(jquery.tools=jquery.tools||{},jquery.tools.flashembed={version:"1.0.4",conf:l});var s=u?jquery:function(t){return s.done?t():void(s.timer?s.ready.push(t):(s.ready=[t],s.timer=setinterval(e,13)))};window.attachevent&&window.attachevent("onbeforeunload",function(){__flash_unloadhandler=function(){},__flash_savedunloadhandler=function(){}}),window.flashembed=function(e,n,r){if("string"==typeof e){var i=document.getelementbyid(e);if(!i)return void s(function(){flashembed(e,n,r)});e=i}if(e){"string"==typeof n&&(n={src:n});var o=t({},l);return t(o,n),new a(e,o,r)}},t(window.flashembed,{getversion:function(){var e=[0,0];if(navigator.plugins&&"object"==typeof navigator.plugins["shockwave flash"]){var t=navigator.plugins["shockwave flash"].description;if("undefined"!=typeof t){t=t.replace(/^.*\s+(\s+\s+\s+$)/,"$1");var n=parseint(t.replace(/^(.*)\..*$/,"$1"),10),r=/r/.test(t)?parseint(t.replace(/^.*r(.*)$/,"$1"),10):0;e=[n,r]}}else if(window.activexobject){try{var i=new activexobject("shockwaveflash.shockwaveflash.7")}catch(o){try{i=new activexobject("shockwaveflash.shockwaveflash.6"),e=[6,0],i.allowscriptaccess="always"}catch(a){if(6==e[0])return e}try{i=new activexobject("shockwaveflash.shockwaveflash")}catch(u){}}"object"==typeof i&&(t=i.getvariable("$version"),"undefined"!=typeof t&&(t=t.replace(/^\s+\s+(.*)$/,"$1").split(","),e=[parseint(t[0],10),parseint(t[2],10)]))}return e},issupported:function(e){var t=flashembed.getversion(),n=t[0]>e[0]||t[0]==e[0]&&t[1]>=e[1];return n},domready:s,asstring:n,gethtml:o}),u&&(jquery.fn.flashembed=function(e,t){var n=null;return this.each(function(){n=flashembed(this,e,t)}),e.api===!1?this:n})}(),function(){function e(){if(!u&&(u=!0,l)){for(var e=0;e-1}function r(e){for(var r=t.getelementsbytagname(e),o=[],u=0;u