if(typeof jwplayer=="undefined"){var jwplayer=function(b){if(jwplayer.api){return jwplayer.api.selectPlayer(b)}};var $jw=jwplayer;jwplayer.version="5.6.1768 (Licensed version)";(function(c){c.utils=function(){};c.utils.typeOf=function(a){var b=typeof a;if(b==="object"){if(a){if(a instanceof Array){b="array"}}else{b="null"}}return b};c.utils.extend=function(){var f=c.utils.extend["arguments"];if(f.length>1){for(var a=1;a<f.length;a++){for(var b in f[a]){f[0][b]=f[a][b]}}return f[0]}return null};c.utils.clone=function(a){var h;var g=c.utils.clone["arguments"];if(g.length==1){switch(c.utils.typeOf(g[0])){case"object":h={};for(var b in g[0]){h[b]=c.utils.clone(g[0][b])}break;case"array":h=[];for(var b in g[0]){h[b]=c.utils.clone(g[0][b])}break;default:return g[0];break}}return h};c.utils.extension=function(a){a=a.substring(a.lastIndexOf("/")+1,a.length);a=a.split("?")[0];if(a.lastIndexOf(".")>-1){return a.substr(a.lastIndexOf(".")+1,a.length).toLowerCase()}return};c.utils.html=function(b,a){b.innerHTML=a};c.utils.wrap=function(b,a){b.parentNode.replaceChild(a,b);a.appendChild(b)};c.utils.ajax=function(a,b,j){var h;if(window.XMLHttpRequest){h=new XMLHttpRequest()}else{h=new ActiveXObject("Microsoft.XMLHTTP")}h.onreadystatechange=function(){if(h.readyState===4){if(h.status===200){if(b){b(h)}}else{if(j){j(a)}}}};try{h.open("GET",a,true);h.send(null)}catch(i){if(j){j(a)}}return h};c.utils.load=function(b,a,f){b.onreadystatechange=function(){if(b.readyState===4){if(b.status===200){if(a){a()}}else{if(f){f()}}}}};c.utils.find=function(a,b){return a.getElementsByTagName(b)};c.utils.append=function(b,a){b.appendChild(a)};c.utils.isIE=function(){return((!+"\v1")||(typeof window.ActiveXObject!="undefined"))};c.utils.isLegacyAndroid=function(){var a=navigator.userAgent.toLowerCase();return(a.match(/android 2.[012]/i)!==null)};c.utils.isIOS=function(){var a=navigator.userAgent.toLowerCase();return(a.match(/iP(hone|ad)/i)!==null)};c.utils.getFirstPlaylistItemFromConfig=function(f){var b={};var a;if(f.playlist&&f.playlist.length){a=f.playlist[0]}else{a=f}b.file=a.file;b.levels=a.levels;b.streamer=a.streamer;b.playlistfile=a.playlistfile;b.provider=a.provider;if(!b.provider){if(b.file&&(b.file.toLowerCase().indexOf("youtube.com")>-1||b.file.toLowerCase().indexOf("youtu.be")>-1)){b.provider="youtube"}if(b.streamer&&b.streamer.toLowerCase().indexOf("rtmp://")==0){b.provider="rtmp"}if(a.type){b.provider=a.type.toLowerCase()}}return b};c.utils.getOuterHTML=function(i){if(i.outerHTML){return i.outerHTML}else{var h=i.parentNode;var j=document.createElement(h.tagName);var a=document.createElement(i.tagName);h.replaceChild(a,i);j.appendChild(i);var b=j.innerHTML;h.replaceChild(i,a);return b}};c.utils.setOuterHTML=function(b,h){if(b.outerHTML){b.outerHTML=h}else{var a=document.createElement("div");a.innerHTML=h;var j=document.createRange();j.selectNodeContents(a);var i=j.extractContents();b.parentNode.insertBefore(i,b);b.parentNode.removeChild(b)}};c.utils.hasFlash=function(){if(typeof navigator.plugins!="undefined"&&typeof navigator.plugins["Shockwave Flash"]!="undefined"){return true}if(typeof window.ActiveXObject!="undefined"){try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash");return true}catch(a){}}return false};c.utils.getPluginName=function(a){if(a.lastIndexOf("/")>=0){a=a.substring(a.lastIndexOf("/")+1,a.length)}if(a.lastIndexOf("-")>=0){a=a.substring(0,a.lastIndexOf("-"))}if(a.lastIndexOf(".swf")>=0){a=a.substring(0,a.lastIndexOf(".swf"))}if(a.lastIndexOf(".js")>=0){a=a.substring(0,a.lastIndexOf(".js"))}return a};c.utils.getPluginVersion=function(a){if(a.lastIndexOf("-")>=0){if(a.lastIndexOf(".js")>=0){return a.substring(a.lastIndexOf("-")+1,a.lastIndexOf(".js"))}else{if(a.lastIndexOf(".swf")>=0){return a.substring(a.lastIndexOf("-")+1,a.lastIndexOf(".swf"))}else{return a.substring(a.lastIndexOf("-")+1)}}}return""};c.utils.getAbsolutePath=function(b,i){if(i===undefined){i=document.location.href}if(b===undefined){return undefined}if(d(b)){return b}var a=i.substring(0,i.indexOf("://")+3);var l=i.substring(a.length,i.indexOf("/",a.length+1));var o;if(b.indexOf("/")===0){o=b.split("/")}else{var n=i.split("?")[0];n=n.substring(a.length+l.length+1,n.lastIndexOf("/"));o=n.split("/").concat(b.split("/"))}var p=[];for(var m=0;m<o.length;m++){if(!o[m]||o[m]===undefined||o[m]=="."){continue}else{if(o[m]==".."){p.pop()}else{p.push(o[m])}}}return a+l+"/"+p.join("/")};function d(b){if(b===null){return}var a=b.indexOf("://");var f=b.indexOf("?");return(a>0&&(f<0||(f>a)))}c.utils.pluginPathType={ABSOLUTE:"ABSOLUTE",RELATIVE:"RELATIVE",CDN:"CDN"};c.utils.getPluginPathType=function(g){if(typeof g!="string"){return}g=g.split("?")[0];var b=g.indexOf("://");if(b>0){return c.utils.pluginPathType.ABSOLUTE}var h=g.indexOf("/");var a=c.utils.extension(g);if(b<0&&h<0&&(!a||!isNaN(a))){return c.utils.pluginPathType.CDN}return c.utils.pluginPathType.RELATIVE};c.utils.mapEmpty=function(b){for(var a in b){return false}return true};c.utils.mapLength=function(b){var f=0;for(var a in b){f++}return f};c.utils.log=function(a,b){if(typeof console!="undefined"&&typeof console.log!="undefined"){if(b){console.log(a,b)}else{console.log(a)}}};c.utils.css=function(i,a,j){if(i!==undefined){for(var h in a){try{if(typeof a[h]==="undefined"){continue}else{if(typeof a[h]=="number"&&!(h=="zIndex"||h=="opacity")){if(isNaN(a[h])){continue}if(h.match(/color/i)){a[h]="#"+c.utils.strings.pad(a[h].toString(16),6)}else{a[h]=Math.ceil(a[h])+"px"}}}i.style[h]=a[h]}catch(b){}}}};c.utils.isYouTube=function(a){return(a.indexOf("youtube.com")>-1||a.indexOf("youtu.be")>-1)};c.utils.transform=function(b,a){b.style.webkitTransform=a;b.style.MozTransform=a;b.style.OTransform=a};c.utils.stretch=function(q,a,b,s,n,r){if(typeof b=="undefined"||typeof s=="undefined"||typeof n=="undefined"||typeof r=="undefined"){return}var u=b/n;var t=s/r;var o=0;var p=0;a.style.overflow="hidden";c.utils.transform(a,"");var v={};switch(q.toUpperCase()){case c.utils.stretching.NONE:v.width=n;v.height=r;break;case c.utils.stretching.UNIFORM:if(u>t){v.width=n*t;v.height=r*t}else{v.width=n*u;v.height=r*u}break;case c.utils.stretching.FILL:if(u>t){v.width=n*u;v.height=r*u}else{v.width=n*t;v.height=r*t}break;case c.utils.stretching.EXACTFIT:c.utils.transform(a,["scale(",u,",",t,")"," translate(0px,0px)"].join(""));v.width=n;v.height=r;break;default:break}v.top=(s-v.height)/2;v.left=(b-v.width)/2;c.utils.css(a,v)};c.utils.stretching={NONE:"NONE",FILL:"FILL",UNIFORM:"UNIFORM",EXACTFIT:"EXACTFIT"};c.utils.deepReplaceKeyName=function(a,j,l){switch(c.utils.typeOf(a)){case"array":for(var b=0;b<a.length;b++){a[b]=c.utils.deepReplaceKeyName(a[b],j,l)}break;case"object":for(var i in a){var k=i.replace(new RegExp(j,"g"),l);a[k]=c.utils.deepReplaceKeyName(a[i],j,l);if(i!=k){delete a[i]}}break}return a};c.utils.isInArray=function(a,b){if(!(a)||!(a instanceof Array)){return false}for(var f=0;f<a.length;f++){if(b===a[f]){return true}}return false}})(jwplayer);(function(b){b.events=function(){};b.events.COMPLETE="COMPLETE";b.events.ERROR="ERROR"})(jwplayer);(function(jwplayer){jwplayer.events.eventdispatcher=function(debug){var _debug=debug;var _listeners;var _globallisteners;this.resetEventListeners=function(){_listeners={};_globallisteners=[]};this.resetEventListeners();this.addEventListener=function(type,listener,count){try{if(_listeners[type]===undefined){_listeners[type]=[]}if(typeof(listener)=="string"){eval("listener = "+listener)}_listeners[type].push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return false};this.removeEventListener=function(type,listener){try{for(var listenerIndex=0;listenerIndex<_listeners[type].length;listenerIndex++){if(_listeners[type][lisenterIndex].toString()==listener.toString()){_listeners[type].slice(lisenterIndex,lisenterIndex+1);break}}}catch(err){jwplayer.utils.log("error",err)}return false};this.addGlobalListener=function(listener,count){try{if(typeof(listener)=="string"){eval("listener = "+listener)}_globallisteners.push({listener:listener,count:count})}catch(err){jwplayer.utils.log("error",err)}return false};this.removeGlobalListener=function(listener){try{for(var globalListenerIndex=0;globalListenerIndex<_globallisteners.length;globalListenerIndex++){if(_globallisteners[globalListenerIndex].toString()==listener.toString()){_globallisteners.slice(globalListenerIndex,globalListenerIndex+1);break}}}catch(err){jwplayer.utils.log("error",err)}return false};this.sendEvent=function(type,data){if(data===undefined){data={}}if(_debug){jwplayer.utils.log(type,data)}if(typeof _listeners[type]!="undefined"){for(var listenerIndex=0;listenerIndex<_listeners[type].length;listenerIndex++){try{_listeners[type][listenerIndex].listener(data)}catch(err){jwplayer.utils.log("There was an error while handling a listener: "+err.toString(),_listeners[type][listenerIndex].listener)}if(_listeners[type][listenerIndex]){if(_listeners[type][listenerIndex].count===1){delete _listeners[type][listenerIndex]}else{if(_listeners[type][listenerIndex].count>0){_listeners[type][listenerIndex].count=_listeners[type][listenerIndex].count-1}}}}}for(var globalListenerIndex=0;globalListenerIndex<_globallisteners.length;globalListenerIndex++){try{_globallisteners[globalListenerIndex].listener(data)}catch(err){jwplayer.utils.log("There was an error while handling a listener: "+err.toString(),_globallisteners[globalListenerIndex].listener)}if(_globallisteners[globalListenerIndex]){if(_globallisteners[globalListenerIndex].count===1){delete _globallisteners[globalListenerIndex]}else{if(_globallisteners[globalListenerIndex].count>0){_globallisteners[globalListenerIndex].count=_globallisteners[globalListenerIndex].count-1}}}}}}})(jwplayer);(function(d){var c={};d.utils.animations=function(){};d.utils.animations.transform=function(b,a){b.style.webkitTransform=a;b.style.MozTransform=a;b.style.OTransform=a;b.style.msTransform=a};d.utils.animations.transformOrigin=function(b,a){b.style.webkitTransformOrigin=a;b.style.MozTransformOrigin=a;b.style.OTransformOrigin=a;b.style.msTransformOrigin=a};d.utils.animations.rotate=function(b,a){d.utils.animations.transform(b,["rotate(",a,"deg)"].join(""))};d.utils.cancelAnimation=function(a){delete c[a.id]};d.utils.fadeTo=function(a,q,r,n,o,s){if(c[a.id]!=s&&s!==undefined){return}var t=new Date().getTime();if(s>t){setTimeout(function(){d.utils.fadeTo(a,q,r,n,0,s)},s-t)}a.style.display="block";if(n===undefined){n=a.style.opacity===""?1:a.style.opacity}if(a.style.opacity==q&&a.style.opacity!==""&&s!==undefined){if(q===0){a.style.display="none"}return}if(s===undefined){s=t;c[a.id]=s}if(o===undefined){o=0}var m=(t-s)/(r*1000);m=m>1?1:m;var b=q-n;var p=n+(m*b);if(p>1){p=1}else{if(p<0){p=0}}a.style.opacity=p;if(o>0){c[a.id]=s+o*1000;d.utils.fadeTo(a,q,r,n,0,c[a.id]);return}setTimeout(function(){d.utils.fadeTo(a,q,r,n,0,s)},10)}})(jwplayer);(function(b){b.utils.arrays=function(){};b.utils.arrays.indexOf=function(f,e){for(var a=0;a<f.length;a++){if(f[a]==e){return a}}return -1};b.utils.arrays.remove=function(f,e){var a=b.utils.arrays.indexOf(f,e);if(a>-1){f.splice(a,1)}}})(jwplayer);(function(b){b.utils.extensionmap={"3gp":{html5:"video/3gpp",flash:"video"},"3gpp":{html5:"video/3gpp"},"3g2":{html5:"video/3gpp2",flash:"video"},"3gpp2":{html5:"video/3gpp2"},flv:{flash:"video"},f4a:{html5:"audio/mp4"},f4b:{html5:"audio/mp4",flash:"video"},f4v:{html5:"video/mp4",flash:"video"},mov:{html5:"video/quicktime",flash:"video"},m4a:{html5:"audio/mp4",flash:"video"},m4b:{html5:"audio/mp4"},m4p:{html5:"audio/mp4"},m4v:{html5:"video/mp4",flash:"video"},mp4:{html5:"video/mp4",flash:"video"},rbs:{flash:"sound"},aac:{html5:"audio/aac",flash:"video"},mp3:{html5:"audio/mp3",flash:"sound"},ogg:{html5:"audio/ogg"},ogv:{html5:"video/ogg"},webm:{html5:"video/webm"},m3u8:{html5:"audio/x-mpegurl"},gif:{flash:"image"},jpeg:{flash:"image"},jpg:{flash:"image"},swf:{flash:"image"},png:{flash:"image"},wav:{html5:"audio/x-wav"}}})(jwplayer);(function(n){n.utils.mediaparser=function(){};var l={element:{width:"width",height:"height",id:"id","class":"className",name:"name"},media:{src:"file",preload:"preload",autoplay:"autostart",loop:"repeat",controls:"controls"},source:{src:"file",type:"type",media:"media","data-jw-width":"width","data-jw-bitrate":"bitrate"},video:{poster:"image"}};var m={};n.utils.mediaparser.parseMedia=function(a){return o(a)};function p(a,b){if(b===undefined){b=l[a]}else{n.utils.extend(b,l[a])}return b}function o(a,e){if(m[a.tagName.toLowerCase()]&&(e===undefined)){return m[a.tagName.toLowerCase()](a)}else{e=p("element",e);var f={};for(var d in e){if(d!="length"){var b=a.getAttribute(d);if(!(b===""||b===undefined||b===null)){f[e[d]]=a.getAttribute(d)}}}var c=a.style["#background-color"];if(c&&!(c=="transparent"||c=="rgba(0, 0, 0, 0)")){f.screencolor=c}return f}}function k(f,c){c=p("media",c);var b=[];var d=n.utils.selectors("source",f);for(var a in d){if(!isNaN(a)){b.push(j(d[a]))}}var e=o(f,c);if(e.file!==undefined){b[0]={file:e.file}}e.levels=b;return e}function j(a,b){b=p("source",b);var c=o(a,b);c.width=c.width?c.width:0;c.bitrate=c.bitrate?c.bitrate:0;return c}function i(a,b){b=p("video",b);var c=k(a,b);return c}m.media=k;m.audio=k;m.source=j;m.video=i})(jwplayer);(function(b){b.utils.loaderstatus={NEW:"NEW",LOADING:"LOADING",ERROR:"ERROR",COMPLETE:"COMPLETE"};b.utils.scriptloader=function(f){var e=b.utils.loaderstatus.NEW;var a=new b.events.eventdispatcher();b.utils.extend(this,a);this.load=function(){if(e==b.utils.loaderstatus.NEW){e=b.utils.loaderstatus.LOADING;var c=document.createElement("script");c.onload=function(d){e=b.utils.loaderstatus.COMPLETE;a.sendEvent(b.events.COMPLETE)};c.onerror=function(d){e=b.utils.loaderstatus.ERROR;a.sendEvent(b.events.ERROR)};c.onreadystatechange=function(){if(c.readyState=="loaded"||c.readyState=="complete"){e=b.utils.loaderstatus.COMPLETE;a.sendEvent(b.events.COMPLETE)}};document.getElementsByTagName("head")[0].appendChild(c);c.src=f}};this.getStatus=function(){return e}}})(jwplayer);(function(b){b.utils.selectors=function(a,e){if(e===undefined){e=document}a=b.utils.strings.trim(a);var f=a.charAt(0);if(f=="#"){return e.getElementById(a.substr(1))}else{if(f=="."){if(e.getElementsByClassName){return e.getElementsByClassName(a.substr(1))}else{return b.utils.selectors.getElementsByTagAndClass("*",a.substr(1))}}else{if(a.indexOf(".")>0){selectors=a.split(".");return b.utils.selectors.getElementsByTagAndClass(selectors[0],selectors[1])}else{return e.getElementsByTagName(a)}}}return null};b.utils.selectors.getElementsByTagAndClass=function(l,i,j){elements=[];if(j===undefined){j=document}var k=j.getElementsByTagName(l);for(var m=0;m<k.length;m++){if(k[m].className!==undefined){var n=k[m].className.split(" ");for(var a=0;a<n.length;a++){if(n[a]==i){elements.push(k[m])}}}}return elements}})(jwplayer);(function(b){b.utils.strings=function(){};b.utils.strings.trim=function(a){return a.replace(/^\s*/,"").replace(/\s*$/,"")};b.utils.strings.pad=function(f,e,a){if(!a){a="0"}while(f.length<e){f=a+f}return f};b.utils.strings.serialize=function(a){if(a==null){return null}else{if(a=="true"){return true}else{if(a=="false"){return false}else{if(isNaN(Number(a))||a.length>5||a.length==0){return a}else{return Number(a)}}}}};b.utils.strings.seconds=function(e){e=e.replace(",",".");var a=e.split(":");var f=0;if(e.substr(-1)=="s"){f=Number(e.substr(0,e.length-1))}else{if(e.substr(-1)=="m"){f=Number(e.substr(0,e.length-1))*60}else{if(e.substr(-1)=="h"){f=Number(e.substr(0,e.length-1))*3600}else{if(a.length>1){f=Number(a[a.length-1]);f+=Number(a[a.length-2])*60;if(a.length==3){f+=Number(a[a.length-3])*3600}}else{f=Number(e)}}}}return f};b.utils.strings.xmlAttribute=function(a,f){for(var e in a.attributes){if(a.attributes[e].name&&a.attributes[e].name.toLowerCase()==f.toLowerCase()){return a.attributes[e].value.toString()}}return""};b.utils.strings.jsonToString=function(k){var i=i||{};if(i&&i.stringify){return i.stringify(k)}var n=typeof(k);if(n!="object"||k===null){if(n=="string"){k='"'+k+'"'}else{return String(k)}}else{var j=[],a=(k&&k.constructor==Array);for(var m in k){var l=k[m];switch(typeof(l)){case"string":l='"'+l+'"';break;case"object":if(l!==null){l=b.utils.strings.jsonToString(l)}break}if(a){if(typeof(l)!="function"){j.push(String(l))}}else{if(typeof(l)!="function"){j.push('"'+m+'":'+String(l))}}}if(a){return"["+String(j)+"]"}else{return"{"+String(j)+"}"}}}})(jwplayer);(function(j){var i=new RegExp(/^(#|0x)[0-9a-fA-F]{3,6}/);j.utils.typechecker=function(a,b){b=b===null?f(a):b;return h(a,b)};function f(b){var a=["true","false","t","f"];if(a.toString().indexOf(b.toLowerCase().replace(" ",""))>=0){return"boolean"}else{if(i.test(b)){return"color"}else{if(!isNaN(parseInt(b,10))&&parseInt(b,10).toString().length==b.length){return"integer"}else{if(!isNaN(parseFloat(b))&&parseFloat(b).toString().length==b.length){return"float"}}}}return"string"}function h(a,b){if(b===null){return a}switch(b){case"color":if(a.length>0){return g(a)}return null;case"integer":return parseInt(a,10);case"float":return parseFloat(a);case"boolean":if(a.toLowerCase()=="true"){return true}else{if(a=="1"){return true}}return false}return a}function g(a){switch(a.toLowerCase()){case"blue":return parseInt("0000FF",16);case"green":return parseInt("00FF00",16);case"red":return parseInt("FF0000",16);case"cyan":return parseInt("00FFFF",16);case"magenta":return parseInt("FF00FF",16);case"yellow":return parseInt("FFFF00",16);case"black":return parseInt("000000",16);case"white":return parseInt("FFFFFF",16);default:a=a.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2");if(a.length==3){a=a.charAt(0)+a.charAt(0)+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2)}return parseInt(a,16)}return parseInt("000000",16)}})(jwplayer);(function(e){var f={};var d={};e.plugins=function(){};e.plugins.loadPlugins=function(a,b){d[a]=new e.plugins.pluginloader(new e.plugins.model(f),b);return d[a]};e.plugins.registerPlugin=function(a,c,i){var j=e.utils.getPluginName(a);if(f[j]){f[j].registerPlugin(a,c,i)}else{e.utils.log("A plugin ("+a+") was registered with the player that was not loaded. Please check your configuration.");for(var b in d){d[b].pluginFailed()}}}})(jwplayer);(function(b){b.plugins.model=function(a){this.addPlugin=function(f){var e=b.utils.getPluginName(f);if(!a[e]){a[e]=new b.plugins.plugin(f)}return a[e]}}})(jwplayer);(function(b){b.plugins.pluginmodes={FLASH:"FLASH",JAVASCRIPT:"JAVASCRIPT",HYBRID:"HYBRID"};b.plugins.plugin=function(t){var r="http://lp.longtailvideo.com";var m=b.utils.loaderstatus.NEW;var l;var n;var a;var s=new b.events.eventdispatcher();b.utils.extend(this,s);function q(){switch(b.utils.getPluginPathType(t)){case b.utils.pluginPathType.ABSOLUTE:return t;case b.utils.pluginPathType.RELATIVE:return b.utils.getAbsolutePath(t,window.location.href);case b.utils.pluginPathType.CDN:var c=b.utils.getPluginName(t);var d=b.utils.getPluginVersion(t);return r+"/"+b.version.split(".")[0]+"/"+c+"/"+c+(d!==""?("-"+d):"")+".js"}}function o(c){a=setTimeout(function(){m=b.utils.loaderstatus.COMPLETE;s.sendEvent(b.events.COMPLETE)},1000)}function p(c){m=b.utils.loaderstatus.ERROR;s.sendEvent(b.events.ERROR)}this.load=function(){if(m==b.utils.loaderstatus.NEW){if(t.lastIndexOf(".swf")>0){l=t;m=b.utils.loaderstatus.COMPLETE;s.sendEvent(b.events.COMPLETE);return}m=b.utils.loaderstatus.LOADING;var c=new b.utils.scriptloader(q());c.addEventListener(b.events.COMPLETE,o);c.addEventListener(b.events.ERROR,p);c.load()}};this.registerPlugin=function(e,c,d){if(a){clearTimeout(a);a=undefined}if(c&&d){l=d;n=c}else{if(typeof c=="string"){l=c}else{if(typeof c=="function"){n=c}else{if(!c&&!d){l=e}}}}m=b.utils.loaderstatus.COMPLETE;s.sendEvent(b.events.COMPLETE)};this.getStatus=function(){return m};this.getPluginName=function(){return b.utils.getPluginName(t)};this.getFlashPath=function(){if(l){switch(b.utils.getPluginPathType(l)){case b.utils.pluginPathType.ABSOLUTE:return l;case b.utils.pluginPathType.RELATIVE:if(t.lastIndexOf(".swf")>0){return b.utils.getAbsolutePath(l,window.location.href)}return b.utils.getAbsolutePath(l,q());case b.utils.pluginPathType.CDN:if(l.indexOf("-")>-1){return l+"h"}return l+"-h"}}return null};this.getJS=function(){return n};this.getPluginmode=function(){if(typeof l!="undefined"&&typeof n!="undefined"){return b.plugins.pluginmodes.HYBRID}else{if(typeof l!="undefined"){return b.plugins.pluginmodes.FLASH}else{if(typeof n!="undefined"){return b.plugins.pluginmodes.JAVASCRIPT}}}};this.getNewInstance=function(c,d,e){return new n(c,d,e)};this.getURL=function(){return t}}})(jwplayer);(function(b){b.plugins.pluginloader=function(l,o){var m={};var a=b.utils.loaderstatus.NEW;var p=false;var r=false;var q=new b.events.eventdispatcher();b.utils.extend(this,q);function n(){if(!r){r=true;a=b.utils.loaderstatus.COMPLETE;q.sendEvent(b.events.COMPLETE)}}function k(){if(!r){var c=0;for(plugin in m){var d=m[plugin].getStatus();if(d==b.utils.loaderstatus.LOADING||d==b.utils.loaderstatus.NEW){c++}}if(c==0){n()}}}this.setupPlugins=function(c,e,f){var d={length:0,plugins:{}};var i={length:0,plugins:{}};for(var j in m){var h=m[j].getPluginName();if(m[j].getFlashPath()){d.plugins[m[j].getFlashPath()]=e.plugins[j];d.plugins[m[j].getFlashPath()].pluginmode=m[j].getPluginmode();d.length++}if(m[j].getJS()){var g=document.createElement("div");g.id=c.id+"_"+h;g.style.position="absolute";g.style.zIndex=i.length+10;i.plugins[h]=m[j].getNewInstance(c,e.plugins[j],g);i.length++;if(typeof i.plugins[h].resize!="undefined"){c.onReady(f(i.plugins[h],g,true));c.onResize(f(i.plugins[h],g))}}}c.plugins=i.plugins;return d};this.load=function(){a=b.utils.loaderstatus.LOADING;p=true;for(var c in o){m[c]=l.addPlugin(c);m[c].addEventListener(b.events.COMPLETE,k);m[c].addEventListener(b.events.ERROR,k)}for(c in o){m[c].load()}p=false;k()};this.pluginFailed=function(){n()};this.getStatus=function(){return a}}})(jwplayer);(function(c){var d=[];c.api=function(A){this.container=A;this.id=A.id;var s={};var a={};var B=[];var w=undefined;var t=false;var v=[];var q=c.utils.getOuterHTML(A);var b={};var u={};this.getBuffer=function(){return this.callInternal("jwGetBuffer")};this.getContainer=function(){return this.container};function z(e){return function(f,j,i,h){var g;if(j){u[f]=j;g="jwplayer('"+e+"').callback('"+f+"')"}else{if(!j&&u[f]){delete u[f]}}w.jwDockSetButton(f,g,i,h)}}this.getPlugin=function(e){var f=this.callInternal;if(e=="dock"){return{setButton:z(this.id),show:function(){return f("jwShowDock")},hide:function(){return f("jwHideDock")}}}else{if(e=="controlbar"){return{show:function(){return f("jwShowControlbar")},hide:function(){return f("jwHideControlbar")}}}else{if(e=="display"){return{show:function(){return f("jwShowDisplay")},hide:function(){return f("jwHideDisplay")}}}}}return this.plugins[e]};this.callback=function(e){if(u[e]){return u[e]()}};this.getDuration=function(){return this.callInternal("jwGetDuration")};this.getFullscreen=function(){return this.callInternal("jwGetFullscreen")};this.getHeight=function(){return this.callInternal("jwGetHeight")};this.getLockState=function(){return this.callInternal("jwGetLockState")};this.getMeta=function(){return this.getItemMeta()};this.getMute=function(){return this.callInternal("jwGetMute")};this.getPlaylist=function(){var e=this.callInternal("jwGetPlaylist");if(this.renderingMode=="flash"){c.utils.deepReplaceKeyName(e,"__dot__",".")}for(var f=0;f<e.length;f++){if(e[f].index===undefined){e[f].index=f}}return e};this.getPlaylistItem=function(e){if(e===undefined){e=this.getCurrentItem()}return this.getPlaylist()[e]};this.getPosition=function(){return this.callInternal("jwGetPosition")};this.getRenderingMode=function(){return this.renderingMode};this.getState=function(){return this.callInternal("jwGetState")};this.getVolume=function(){return this.callInternal("jwGetVolume")};this.getWidth=function(){return this.callInternal("jwGetWidth")};this.setFullscreen=function(e){if(e===undefined){this.callInternal("jwSetFullscreen",!this.callInternal("jwGetFullscreen"))}else{this.callInternal("jwSetFullscreen",e)}return this};this.setMute=function(e){if(e===undefined){this.callInternal("jwSetMute",!this.callInternal("jwGetMute"))}else{this.callInternal("jwSetMute",e)}return this};this.lock=function(){return this};this.unlock=function(){return this};this.load=function(e){this.callInternal("jwLoad",e);return this};this.playlistItem=function(e){this.callInternal("jwPlaylistItem",e);return this};this.playlistPrev=function(){this.callInternal("jwPlaylistPrev");return this};this.playlistNext=function(){this.callInternal("jwPlaylistNext");return this};this.resize=function(e,f){if(this.renderingMode=="html5"){w.jwResize(e,f)}else{this.container.width=e;this.container.height=f}return this};this.play=function(e){if(typeof e=="undefined"){e=this.getState();if(e==c.api.events.state.PLAYING||e==c.api.events.state.BUFFERING){this.callInternal("jwPause")}else{this.callInternal("jwPlay")}}else{this.callInternal("jwPlay",e)}return this};this.pause=function(e){if(typeof e=="undefined"){e=this.getState();if(e==c.api.events.state.PLAYING||e==c.api.events.state.BUFFERING){this.callInternal("jwPause")}else{this.callInternal("jwPlay")}}else{this.callInternal("jwPause",e)}return this};this.stop=function(){this.callInternal("jwStop");return this};this.seek=function(e){this.callInternal("jwSeek",e);return this};this.setVolume=function(e){this.callInternal("jwSetVolume",e);return this};this.onBufferChange=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_BUFFER,e)};this.onBufferFull=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_BUFFER_FULL,e)};this.onError=function(e){return this.eventListener(c.api.events.JWPLAYER_ERROR,e)};this.onFullscreen=function(e){return this.eventListener(c.api.events.JWPLAYER_FULLSCREEN,e)};this.onMeta=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_META,e)};this.onMute=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_MUTE,e)};this.onPlaylist=function(e){return this.eventListener(c.api.events.JWPLAYER_PLAYLIST_LOADED,e)};this.onPlaylistItem=function(e){return this.eventListener(c.api.events.JWPLAYER_PLAYLIST_ITEM,e)};this.onReady=function(e){return this.eventListener(c.api.events.API_READY,e)};this.onResize=function(e){return this.eventListener(c.api.events.JWPLAYER_RESIZE,e)};this.onComplete=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_COMPLETE,e)};this.onSeek=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_SEEK,e)};this.onTime=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_TIME,e)};this.onVolume=function(e){return this.eventListener(c.api.events.JWPLAYER_MEDIA_VOLUME,e)};this.onBuffer=function(e){return this.stateListener(c.api.events.state.BUFFERING,e)};this.onPause=function(e){return this.stateListener(c.api.events.state.PAUSED,e)};this.onPlay=function(e){return this.stateListener(c.api.events.state.PLAYING,e)};this.onIdle=function(e){return this.stateListener(c.api.events.state.IDLE,e)};this.remove=function(){s={};v=[];if(c.utils.getOuterHTML(this.container)!=q){c.api.destroyPlayer(this.id,q)}};this.setup=function(f){if(c.embed){var g=this.id;this.remove();var e=c(g);e.config=f;return new c.embed(e)}return this};this.registerPlugin=function(e,f,g){c.plugins.registerPlugin(e,f,g)};this.setPlayer=function(f,e){w=f;this.renderingMode=e};this.stateListener=function(f,e){if(!a[f]){a[f]=[];this.eventListener(c.api.events.JWPLAYER_PLAYER_STATE,x(f))}a[f].push(e);return this};function x(e){return function(i){var j=i.newstate,g=i.oldstate;if(j==e){var h=a[j];if(h){for(var f=0;f<h.length;f++){if(typeof h[f]=="function"){h[f].call(this,{oldstate:g,newstate:j})}}}}}}this.addInternalListener=function(f,e){f.jwAddEventListener(e,'function(dat) { jwplayer("'+this.id+'").dispatchEvent("'+e+'", dat); }')};this.eventListener=function(f,e){if(!s[f]){s[f]=[];if(w&&t){this.addInternalListener(w,f)}}s[f].push(e);return this};this.dispatchEvent=function(e){if(s[e]){var f=y(e,arguments[1]);for(var g=0;g<s[e].length;g++){if(typeof s[e][g]=="function"){s[e][g].call(this,f)}}}};function y(g,i){var e=c.utils.extend({},i);if(g==c.api.events.JWPLAYER_FULLSCREEN&&!e.fullscreen){e.fullscreen=e.message=="true"?true:false;delete e.message}else{if(typeof e.data=="object"){e=c.utils.extend(e,e.data);delete e.data}}var h=["position","duration","offset"];for(var f in h){if(e[h[f]]){e[h[f]]=Math.round(e[h[f]]*1000)/1000}}return e}this.callInternal=function(e,f){if(t){if(typeof w!="undefined"&&typeof w[e]=="function"){if(f!==undefined){return(w[e])(f)}else{return(w[e])()}}return null}else{v.push({method:e,parameters:f})}};this.playerReady=function(e){t=true;if(!w){this.setPlayer(document.getElementById(e.id))}this.container=document.getElementById(this.id);for(var g in s){this.addInternalListener(w,g)}this.eventListener(c.api.events.JWPLAYER_PLAYLIST_ITEM,function(h){b={}});this.eventListener(c.api.events.JWPLAYER_MEDIA_META,function(h){c.utils.extend(b,h.metadata)});this.dispatchEvent(c.api.events.API_READY);while(v.length>0){var f=v.shift();this.callInternal(f.method,f.parameters)}};this.getItemMeta=function(){return b};this.getCurrentItem=function(){return this.callInternal("jwGetPlaylistIndex")};function r(g,e,f){var i=[];if(!e){e=0}if(!f){f=g.length-1}for(var h=e;h<=f;h++){i.push(g[h])}return i}return this};c.api.selectPlayer=function(b){var f;if(b===undefined){b=0}if(b.nodeType){f=b}else{if(typeof b=="string"){f=document.getElementById(b)}}if(f){var a=c.api.playerById(f.id);if(a){return a}else{return c.api.addPlayer(new c.api(f))}}else{if(typeof b=="number"){return c.getPlayers()[b]}}return null};c.api.events={API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem"};c.api.events.state={BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"};c.api.playerById=function(a){for(var b=0;b<d.length;b++){if(d[b].id==a){return d[b]}}return null};c.api.addPlayer=function(b){for(var a=0;a<d.length;a++){if(d[a]==b){return b}}d.push(b);return b};c.api.destroyPlayer=function(j,m){var k=-1;for(var a=0;a<d.length;a++){if(d[a].id==j){k=a;continue}}if(k>=0){var n=document.getElementById(d[k].id);if(document.getElementById(d[k].id+"_wrapper")){n=document.getElementById(d[k].id+"_wrapper")}if(n){if(m){c.utils.setOuterHTML(n,m)}else{var b=document.createElement("div");var l=n.id;if(n.id.indexOf("_wrapper")==n.id.length-8){newID=n.id.substring(0,n.id.length-8)}b.setAttribute("id",l);n.parentNode.replaceChild(b,n)}}d.splice(k,1)}return null};c.getPlayers=function(){return d.slice(0)}})(jwplayer);var _userPlayerReady=(typeof playerReady=="function")?playerReady:undefined;playerReady=function(c){var d=jwplayer.api.playerById(c.id);if(d){d.playerReady(c)}if(_userPlayerReady){_userPlayerReady.call(this,c)}};(function(d){d.embed=function(j){var a={width:400,height:300,components:{controlbar:{position:"over"}}};var k=d.utils.mediaparser.parseMedia(j.container);var l=new d.embed.config(d.utils.extend(a,k,j.config),this);var b=d.plugins.loadPlugins(j.id,l.plugins);function n(e,f){for(var g in f){if(typeof e[g]=="function"){(e[g]).call(e,f[g])}}}function m(){if(b.getStatus()==d.utils.loaderstatus.COMPLETE){for(var e=0;e<l.modes.length;e++){if(l.modes[e].type&&d.embed[l.modes[e].type]){var g=l;if(l.modes[e].config){g=d.utils.extend(d.utils.clone(l),l.modes[e].config)}var f=new d.embed[l.modes[e].type](document.getElementById(j.id),l.modes[e],g,b,j);if(f.supportsConfig()){f.embed();n(j,l.events);return j}}}d.utils.log("No suitable players found");new d.embed.logo(d.utils.extend({hide:true},l.components.logo),"none",j.id)}}b.addEventListener(d.events.COMPLETE,m);b.addEventListener(d.events.ERROR,m);b.load();return j};function c(){if(!document.body){return setTimeout(c,15)}var f=d.utils.selectors.getElementsByTagAndClass("video","jwplayer");for(var b=0;b<f.length;b++){var a=f[b];d(a.id).setup({})}}c()})(jwplayer);(function(j){function p(){return[{type:"flash",src:"/VideoPlayer/player.swf"},{type:"html5"},{type:"download"}]}function n(a){var b=a.toLowerCase();var c=["left","right","top","bottom"];for(var d=0;d<c.length;d++){if(b==c[d]){return true}}return false}function o(a){var b=false;b=(a instanceof Array)||(typeof a=="object"&&!a.position&&!a.size);return b}function k(a){if(typeof a=="string"){if(parseInt(a).toString()==a||a.toLowerCase().indexOf("px")>-1){return parseInt(a)}}return a}var m=["playlist","dock","controlbar","logo"];function l(d){var a={};switch(j.utils.typeOf(d.plugins)){case"object":for(var b in d.plugins){a[j.utils.getPluginName(b)]=b}break;case"string":var e=d.plugins.split(",");for(var c=0;c<e.length;c++){a[j.utils.getPluginName(e[c])]=e[c]}break}return a}function i(a,b,c,e){if(j.utils.typeOf(a[b])!="object"){a[b]={}}var d=a[b][c];if(j.utils.typeOf(d)!="object"){a[b][c]=d={}}if(b=="plugins"){var f=j.utils.getPluginName(c);d[e]=a[f+"."+e];delete a[f+"."+e]}else{d[e]=a[c+"."+e];delete a[c+"."+e]}}j.embed.deserialize=function(e){var d=l(e);for(var a in e){if(a.indexOf(".")>-1){var b=a.split(".");var c=b[0];var a=b[1];if(j.utils.isInArray(m,c)){i(e,"components",c,a)}else{if(d[c]){i(e,"plugins",d[c],a)}}}}return e};j.embed.config=function(r,a){var b=j.utils.extend({},r);var d;if(o(b.playlist)){d=b.playlist;delete b.playlist}b=j.embed.deserialize(b);b.height=k(b.height);b.width=k(b.width);if(typeof b.plugins=="string"){var h=b.plugins.split(",");if(typeof b.plugins!="object"){b.plugins={}}for(var f=0;f<h.length;f++){var e=j.utils.getPluginName(h[f]);if(typeof b[e]=="object"){b.plugins[h[f]]=b[e];delete b[e]}else{b.plugins[h[f]]={}}}}for(var c=0;c<m.length;c++){if(typeof b[m[c]]=="string"){if(!b.components[m[c]]){b.components[m[c]]={}}if(m[c]=="logo"){b.components[m[c]].file=b[m[c]]}else{b.components[m[c]].position=b[m[c]]}delete b[m[c]]}else{if(typeof b[m[c]]!="undefined"){if(!b.components[m[c]]){b.components[m[c]]={}}j.utils.extend(b.components[m[c]],b[m[c]]);delete b[m[c]]}}if(typeof b[m[c]+"size"]!="undefined"){if(!b.components[m[c]]){b.components[m[c]]={}}b.components[m[c]].size=b[m[c]+"size"];delete b[m[c]+"size"]}}if(typeof b.icons!="undefined"){if(!b.components.display){b.components.display={}}b.components.display.icons=b.icons;delete b.icons}if(b.players){b.modes=b.players;delete b.players}var g;if(b.flashplayer&&!b.modes){g=p();g[0].src=b.flashplayer;delete b.flashplayer}else{if(b.modes){if(typeof b.modes=="string"){g=p();g[0].src=b.modes}else{if(b.modes instanceof Array){g=b.modes}else{if(typeof b.modes=="object"&&b.modes.type){g=[b.modes]}}}delete b.modes}else{g=p()}}b.modes=g;if(d){b.playlist=d}return b}})(jwplayer);(function(b){b.embed.download=function(l,h,a,k,i){this.embed=function(){var x=b.utils.extend({},a);var e={};var y=a.width?a.width:480;if(typeof y!="number"){y=parseInt(y,10)}var v=a.height?a.height:320;if(typeof v!="number"){v=parseInt(v,10)}var A,g,u;var c={};if(a.playlist&&a.playlist.length){c.file=a.playlist[0].file;g=a.playlist[0].image;c.levels=a.playlist[0].levels}else{c.file=a.file;g=a.image;c.levels=a.levels}if(c.file){A=c.file}else{if(c.levels&&c.levels.length){A=c.levels[0].file}}u=A?"pointer":"auto";var w={display:{style:{cursor:u,width:y,height:v,backgroundColor:"#000",position:"relative",textDecoration:"none",border:"none",display:"block"}},display_icon:{style:{cursor:u,position:"absolute",display:A?"block":"none",top:0,left:0,border:0,margin:0,padding:0,zIndex:3,width:50,height:50,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg==)"}},display_iconBackground:{style:{cursor:u,position:"absolute",display:A?"block":"none",top:((v-50)/2),left:((y-50)/2),border:0,width:50,height:50,margin:0,padding:0,zIndex:2,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC)"}},display_image:{style:{width:y,height:v,display:g?"block":"none",position:"absolute",cursor:u,left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1,border:"none"}}};var z=function(p,n,m){var o=document.createElement(p);if(m){o.id=m}else{o.id=l.id+"_jwplayer_"+n}b.utils.css(o,w[n].style);return o};e.display=z("a","display",l.id);if(A){e.display.setAttribute("href",b.utils.getAbsolutePath(A))}e.display_image=z("img","display_image");e.display_image.setAttribute("alt","Click to download...");if(g){e.display_image.setAttribute("src",b.utils.getAbsolutePath(g))}if(true){e.display_icon=z("div","display_icon");e.display_iconBackground=z("div","display_iconBackground");e.display.appendChild(e.display_image);e.display_iconBackground.appendChild(e.display_icon);e.display.appendChild(e.display_iconBackground)}_css=b.utils.css;_hide=function(m){_css(m,{display:"none"})};function d(m){_imageWidth=e.display_image.naturalWidth;_imageHeight=e.display_image.naturalHeight;B()}function B(){b.utils.stretch(b.utils.stretching.UNIFORM,e.display_image,y,v,_imageWidth,_imageHeight)}e.display_image.onerror=function(m){_hide(e.display_image)};e.display_image.onload=d;l.parentNode.replaceChild(e.display,l);var f=(a.plugins&&a.plugins.logo)?a.plugins.logo:{};e.display.appendChild(new b.embed.logo(a.components.logo,"download",l.id));i.container=document.getElementById(i.id);i.setPlayer(e.display,"download")};this.supportsConfig=function(){if(a){var c=b.utils.getFirstPlaylistItemFromConfig(a);if(typeof c.file=="undefined"&&typeof c.levels=="undefined"){return true}else{if(c.file){return j(c.file,c.provider,c.playlistfile)}else{if(c.levels&&c.levels.length){for(var d=0;d<c.levels.length;d++){if(c.levels[d].file&&j(c.levels[d].file,c.provider,c.playlistfile)){return true}}}}}}else{return true}};function j(f,d,g){if(g){return false}var e=["image","sound","youtube","http"];if(d&&(e.toString().indexOf(d)>-1)){return true}if(!d||(d&&d=="video")){var c=b.utils.extension(f);if(c&&b.utils.extensionmap[c]){return true}}return false}}})(jwplayer);(function(b){b.embed.flash=function(r,q,m,s,o){function a(f,c,e){var d=document.createElement("param");d.setAttribute("name",c);d.setAttribute("value",e);f.appendChild(d)}function n(e,d,c){return function(h){if(c){document.getElementById(o.id+"_wrapper").appendChild(d)}var f=document.getElementById(o.id).getPluginConfig("display");e.resize(f.width,f.height);var g={left:f.x,top:f.y};b.utils.css(d,g)}}function t(f){if(!f){return{}}var d={};for(var g in f){var c=f[g];for(var e in c){d[g+"."+e]=c[e]}}return d}function p(f,g){if(f[g]){var d=f[g];for(var h in d){var c=d[h];if(typeof c=="string"){if(!f[h]){f[h]=c}}else{for(var e in c){if(!f[h+"."+e]){f[h+"."+e]=c[e]}}}}delete f[g]}}function v(g){if(!g){return{}}var d={},e=[];for(var c in g){var h=b.utils.getPluginName(c);var i=g[c];e.push(c);for(var f in i){d[h+"."+f]=i[f]}}d.plugins=e.join(",");return d}function u(d){var c=d.netstreambasepath?"":"netstreambasepath="+encodeURIComponent(window.location.href)+"&";for(var e in d){if(typeof(d[e])=="object"){c+=e+"="+encodeURIComponent("[[JSON]]"+b.utils.strings.jsonToString(d[e]))+"&"}else{c+=e+"="+encodeURIComponent(d[e])+"&"}}return c.substring(0,c.length-1)}this.embed=function(){m.id=o.id;var i;var e=b.utils.extend({},m);var h=e.width;var k=e.height;if(r.id+"_wrapper"==r.parentNode.id){i=document.getElementById(r.id+"_wrapper")}else{i=document.createElement("div");i.id=r.id+"_wrapper";b.utils.wrap(r,i);b.utils.css(i,{position:"relative",width:h,height:k})}var g=s.setupPlugins(o,e,n);if(g.length>0){b.utils.extend(e,v(g.plugins))}else{delete e.plugins}var d=["height","width","modes","events"];for(var y=0;y<d.length;y++){delete e[d[y]]}var f="opaque";if(e.wmode){f=e.wmode}p(e,"components");p(e,"providers");if(typeof e["dock.position"]!="undefined"){if(e["dock.position"].toString().toLowerCase()=="false"){e.dock=e["dock.position"];delete e["dock.position"]}}var j="#000000";var z;if(b.utils.isIE()){var l='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" bgcolor="'+j+'" width="100%" height="100%" id="'+r.id+'" name="'+r.id+'" tabindex=0"">';l+='<param name="movie" value="'+q.src+'">';l+='<param name="allowfullscreen" value="true">';l+='<param name="allowscriptaccess" value="always">';l+='<param name="seamlesstabbing" value="true">';l+='<param name="wmode" value="'+f+'">';l+='<param name="flashvars" value="'+u(e)+'">';l+="</object>";b.utils.setOuterHTML(r,l);z=document.getElementById(r.id)}else{var c=document.createElement("object");c.setAttribute("type","application/x-shockwave-flash");c.setAttribute("data",q.src);c.setAttribute("width","100%");c.setAttribute("height","100%");c.setAttribute("bgcolor","#000000");c.setAttribute("id",r.id);c.setAttribute("name",r.id);c.setAttribute("tabindex",0);a(c,"allowfullscreen","true");a(c,"allowscriptaccess","always");a(c,"seamlesstabbing","true");a(c,"wmode",f);a(c,"flashvars",u(e));r.parentNode.replaceChild(c,r);z=c}o.container=z;o.setPlayer(z,"flash")};this.supportsConfig=function(){if(b.utils.hasFlash()){if(m){var d=b.utils.getFirstPlaylistItemFromConfig(m);if(typeof d.file=="undefined"&&typeof d.levels=="undefined"){return true}else{if(d.file){return flashCanPlay(d.file,d.provider)}else{if(d.levels&&d.levels.length){for(var c=0;c<d.levels.length;c++){if(d.levels[c].file&&flashCanPlay(d.levels[c].file,d.provider)){return true}}}}}}else{return true}}return false};flashCanPlay=function(c,e){var f=["video","http","sound","image"];if(e&&(f.toString().indexOf(e<0))){return true}var d=b.utils.extension(c);if(!d){return true}if(b.utils.extensionmap[d]!==undefined&&b.utils.extensionmap[d].flash===undefined){return false}return true}}})(jwplayer);(function(b){b.embed.html5=function(l,h,a,k,i){function j(d,c,e){return function(n){var g=document.getElementById(l.id+"_displayarea");if(e){g.appendChild(c)}var f=g.style;d.resize(parseInt(f.width.replace("px","")),parseInt(f.height.replace("px","")));c.left=f.left;c.top=f.top}}this.embed=function(){if(b.html5){k.setupPlugins(i,a,j);l.innerHTML="";var e=b.utils.extend({screencolor:"0x000000"},a);var f=["plugins","modes","events"];for(var d=0;d<f.length;d++){delete e[f[d]]}if(e.levels&&!e.sources){e.sources=a.levels}if(e.skin&&e.skin.toLowerCase().indexOf(".zip")>0){e.skin=e.skin.replace(/\.zip/i,".xml")}var c=new (b.html5(l)).setup(e);i.container=document.getElementById(i.id);i.setPlayer(c,"html5")}else{return null}};this.supportsConfig=function(){var e=document.createElement("video");if(!!e.canPlayType){if(a){var c=b.utils.getFirstPlaylistItemFromConfig(a);if(typeof c.file=="undefined"&&typeof c.levels=="undefined"){return true}else{if(c.file){return html5CanPlay(e,c.file,c.provider,c.playlistfile)}else{if(c.levels&&c.levels.length){for(var d=0;d<c.levels.length;d++){if(c.levels[d].file&&html5CanPlay(e,c.levels[d].file,c.provider,c.playlistfile)){return true}}}}}}else{return true}}return false};html5CanPlay=function(e,f,d,g){if(g){return false}if(d&&d=="youtube"){return true}if(d&&d!="video"&&d!="http"&&d!="sound"){return false}var c=b.utils.extension(f);if(!c||b.utils.extensionmap[c]===undefined){return true}if(b.utils.extensionmap[c].html5===undefined){return false}if(b.utils.isLegacyAndroid()&&c.match(/m4v|mp4/)){return true}return browserCanPlay(e,b.utils.extensionmap[c].html5)};browserCanPlay=function(c,d){if(!d){return true}return c.canPlayType(d)}}})(jwplayer);(function(b){b.embed.logo=function(r,s,z){var u={prefix:"http://l.longtailvideo.com/"+s+"/",file:"",link:"",margin:8,out:0.5,over:1,timeout:3,hide:false,position:"bottom-left"};_css=b.utils.css;var B;var v;t();function t(){p();A();x()}function p(){if(u.prefix){var c=b.version.split(/\W/).splice(0,2).join("/");if(u.prefix.indexOf(c)<0){u.prefix+=c+"/"}}v=b.utils.extend({},u,r)}function a(){var c={border:"none",textDecoration:"none",position:"absolute",cursor:"pointer",zIndex:10};c.display=v.hide?"none":"block";var d=v.position.toLowerCase().split("-");for(var e in d){c[d[e]]=v.margin}return c}function A(){B=document.createElement("img");B.id=z+"_jwplayer_logo";B.style.display="none";B.onload=function(c){_css(B,a());y()};if(!v.file){return}if(v.file.indexOf("http://")===0){B.src=v.file}else{B.src=v.prefix+v.file}}if(!v.file){return}function x(){if(v.link){B.onmouseover=w;B.onmouseout=y;B.onclick=q}else{this.mouseEnabled=false}}function q(c){if(typeof c!="undefined"){c.preventDefault();c.stopPropagation()}if(v.link){window.open(v.link,"_blank")}return}function y(c){if(v.link){B.style.opacity=v.out}return}function w(c){if(v.hide){B.style.opacity=v.over}return}return B}})(jwplayer);(function(b){b.html5=function(a){var d=a;this.setup=function(c){b.utils.extend(this,new b.html5.api(d,c));return this};return this}})(jwplayer);(function(d){var f=d.utils.css;d.html5.view=function(J,K,U){var F=J;var N=K;var C=U;var D;var T;var a;var H;var I;var L;function c(){D=document.createElement("div");D.id=N.id;D.className=N.className;_videowrapper=document.createElement("div");_videowrapper.id=D.id+"_video_wrapper";N.id=D.id+"_video";f(D,{position:"relative",height:C.height,width:C.width,padding:0,backgroundColor:g(),zIndex:0});function g(){if(F.skin.getComponentSettings("display")&&F.skin.getComponentSettings("display").backgroundcolor){return F.skin.getComponentSettings("display").backgroundcolor}return parseInt("000000",16)}f(N,{width:C.width,height:C.height,top:0,left:0,zIndex:1,margin:"auto",display:"block"});f(_videowrapper,{overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0});d.utils.wrap(N,D);d.utils.wrap(N,_videowrapper);H=document.createElement("div");H.id=D.id+"_displayarea";D.appendChild(H)}function P(){for(var h=0;h<C.plugins.order.length;h++){var g=C.plugins.order[h];if(C.plugins.object[g].getDisplayElement!==undefined){C.plugins.object[g].height=R(C.plugins.object[g].getDisplayElement().style.height);C.plugins.object[g].width=R(C.plugins.object[g].getDisplayElement().style.width);C.plugins.config[g].currentPosition=C.plugins.config[g].position}}E()}function E(h){if(C.getMedia()!==undefined){for(var i=0;i<C.plugins.order.length;i++){var g=C.plugins.order[i];if(C.plugins.object[g].getDisplayElement!==undefined){if(C.getMedia().hasChrome()){C.plugins.config[g].currentPosition=d.html5.view.positions.NONE}else{C.plugins.config[g].currentPosition=C.plugins.config[g].position}}}}Q(C.width,C.height)}function R(g){if(typeof g=="string"){if(g===""){return 0}else{if(g.lastIndexOf("%")>-1){return g}else{return parseInt(g.replace("px",""),10)}}}return g}this.setup=function(h){N=h;c();P();F.jwAddEventListener(d.api.events.JWPLAYER_MEDIA_LOADED,E);F.jwAddEventListener(d.api.events.JWPLAYER_MEDIA_META,function(){B()});var g;if(window.onresize!==null){g=window.onresize}window.onresize=function(k){if(g!==undefined){try{g(k)}catch(i){}}if(F.jwGetFullscreen()){var j=document.body.getBoundingClientRect();C.width=Math.abs(j.left)+Math.abs(j.right);C.height=window.innerHeight}Q(C.width,C.height)}};function S(g){switch(g.keyCode){case 27:if(F.jwGetFullscreen()){F.jwSetFullscreen(false)}break;case 32:if(F.jwGetState()!=d.api.events.state.IDLE&&F.jwGetState()!=d.api.events.state.PAUSED){F.jwPause()}else{F.jwPlay()}break}}function Q(g,j){if(D.style.display=="none"){return}var h=[].concat(C.plugins.order);h.reverse();I=h.length+2;if(!C.fullscreen){C.width=g;C.height=j;T=g;a=j;f(H,{top:0,bottom:0,left:0,right:0,width:g,height:j});f(D,{height:a,width:T});var i=M(G,h);if(i.length>0){I+=i.length;M(O,i,true)}}else{if(navigator.vendor.indexOf("Apple")!==0){M(b,h,true)}}B()}function M(h,k,j){var l=[];for(var m=0;m<k.length;m++){var g=k[m];if(C.plugins.object[g].getDisplayElement!==undefined){if(C.plugins.config[g].currentPosition!=d.html5.view.positions.NONE){var i=h(g,I--);if(!i){l.push(g)}else{C.plugins.object[g].resize(i.width,i.height);if(j){delete i.width;delete i.height}f(C.plugins.object[g].getDisplayElement(),i)}}else{f(C.plugins.object[g].getDisplayElement(),{display:"none"})}}}return l}function G(h,g){if(C.plugins.object[h].getDisplayElement!==undefined){if(C.plugins.config[h].position&&e(C.plugins.config[h].position)){if(C.plugins.object[h].getDisplayElement().parentNode===null){D.appendChild(C.plugins.object[h].getDisplayElement())}var i=V(h);i.zIndex=g;return i}}return false}function O(h,g){if(C.plugins.object[h].getDisplayElement().parentNode===null){H.appendChild(C.plugins.object[h].getDisplayElement())}var j=C.width,i=C.height;if(typeof C.width=="string"&&C.width.lastIndexOf("%")>-1){percentage=parseFloat(C.width.substring(0,C.width.lastIndexOf("%")))/100;j=Math.round(window.innerWidth*percentage)}if(typeof C.height=="string"&&C.height.lastIndexOf("%")>-1){percentage=parseFloat(C.height.substring(0,C.height.lastIndexOf("%")))/100;i=Math.round(window.innerHeight*percentage)}return{position:"absolute",width:(j-R(H.style.left)-R(H.style.right)),height:(i-R(H.style.top)-R(H.style.bottom)),zIndex:g}}function b(h,g){return{position:"fixed",width:C.width,height:C.height,zIndex:g}}function B(){H.style.position="absolute";C.getMedia().getDisplayElement().style.position="absolute";if(C.getMedia().getDisplayElement().videoWidth==0||C.getMedia().getDisplayElement().videoHeight==0){return}var i,g;if(H.style.width.toString().lastIndexOf("%")>-1||H.style.width.toString().lastIndexOf("%")>-1){var h=H.getBoundingClientRect();i=Math.abs(h.left)+Math.abs(h.right);g=Math.abs(h.top)+Math.abs(h.bottom)}else{i=R(H.style.width);g=R(H.style.height)}d.utils.stretch(F.jwGetStretching(),C.getMedia().getDisplayElement(),i,g,C.getMedia().getDisplayElement().videoWidth,C.getMedia().getDisplayElement().videoHeight)}function V(h){var g={position:"absolute",margin:0,padding:0,top:null};var i=C.plugins.config[h].currentPosition.toLowerCase();switch(i.toUpperCase()){case d.html5.view.positions.TOP:g.top=R(H.style.top);g.left=R(H.style.left);g.width=T-R(H.style.left)-R(H.style.right);g.height=C.plugins.object[h].height;H.style[i]=R(H.style[i])+C.plugins.object[h].height+"px";H.style.height=R(H.style.height)-g.height+"px";break;case d.html5.view.positions.RIGHT:g.top=R(H.style.top);g.right=R(H.style.right);g.width=g.width=C.plugins.object[h].width;g.height=a-R(H.style.top)-R(H.style.bottom);H.style[i]=R(H.style[i])+C.plugins.object[h].width+"px";H.style.width=R(H.style.width)-g.width+"px";break;case d.html5.view.positions.BOTTOM:g.bottom=R(H.style.bottom);g.left=R(H.style.left);g.width=T-R(H.style.left)-R(H.style.right);g.height=C.plugins.object[h].height;H.style[i]=R(H.style[i])+C.plugins.object[h].height+"px";H.style.height=R(H.style.height)-g.height+"px";break;case d.html5.view.positions.LEFT:g.top=R(H.style.top);g.left=R(H.style.left);g.width=C.plugins.object[h].width;g.height=a-R(H.style.top)-R(H.style.bottom);H.style[i]=R(H.style[i])+C.plugins.object[h].width+"px";H.style.width=R(H.style.width)-g.width+"px";break;default:break}return g}this.resize=Q;this.fullscreen=function(g){if(navigator.vendor.indexOf("Apple")===0){if(C.getMedia().getDisplayElement().webkitSupportsFullscreen){if(g){try{C.getMedia().getDisplayElement().webkitEnterFullscreen()}catch(h){}}else{try{C.getMedia().getDisplayElement().webkitExitFullscreen()}catch(h){}}}}else{if(g){document.onkeydown=S;clearInterval(L);var i=document.body.getBoundingClientRect();C.width=Math.abs(i.left)+Math.abs(i.right);C.height=window.innerHeight;var j={position:"fixed",width:"100%",height:"100%",top:0,left:0,zIndex:2147483000};f(D,j);j.zIndex=1;f(C.getMedia().getDisplayElement(),j);j.zIndex=2;f(H,j)}else{document.onkeydown="";C.width=T;C.height=a;f(D,{position:"relative",height:C.height,width:C.width,zIndex:0})}Q(C.width,C.height)}}};function e(a){return([d.html5.view.positions.TOP,d.html5.view.positions.RIGHT,d.html5.view.positions.BOTTOM,d.html5.view.positions.LEFT].toString().indexOf(a.toUpperCase())>-1)}d.html5.view.positions={TOP:"TOP",RIGHT:"RIGHT",BOTTOM:"BOTTOM",LEFT:"LEFT",OVER:"OVER",NONE:"NONE"}})(jwplayer);(function(d){var c={backgroundcolor:"",margin:10,font:"Arial,sans-serif",fontsize:10,fontcolor:parseInt("000000",16),fontstyle:"normal",fontweight:"bold",buttoncolor:parseInt("ffffff",16),position:d.html5.view.positions.BOTTOM,idlehide:false,layout:{left:{position:"left",elements:[{name:"play",type:"button"},{name:"divider",type:"divider"},{name:"prev",type:"button"},{name:"divider",type:"divider"},{name:"next",type:"button"},{name:"divider",type:"divider"},{name:"elapsed",type:"text"}]},center:{position:"center",elements:[{name:"time",type:"slider"}]},right:{position:"right",elements:[{name:"duration",type:"text"},{name:"blank",type:"button"},{name:"divider",type:"divider"},{name:"mute",type:"button"},{name:"volume",type:"slider"},{name:"divider",type:"divider"},{name:"fullscreen",type:"button"}]}}};_css=d.utils.css;_hide=function(a){_css(a,{display:"none"})};_show=function(a){_css(a,{display:"block"})};d.html5.controlbar=function(aI,af){var aJ=aI;var ar=d.utils.extend({},c,aJ.skin.getComponentSettings("controlbar"),af);if(ar.position==d.html5.view.positions.NONE||typeof d.html5.view.positions[ar.position]=="undefined"){return}if(d.utils.mapLength(aJ.skin.getComponentLayout("controlbar"))>0){ar.layout=aJ.skin.getComponentLayout("controlbar")}var aa;var ai;var ab;var aq;var az="none";var aN;var aK;var Z;var aO;var aP;var aw;var ah={};var aE=false;var aQ={};var ad;var aL=false;function an(){if(!ad){ad=aJ.skin.getSkinElement("controlbar","background");if(!ad){ad={width:0,height:0,src:null}}}return ad}function aj(){ab=0;aq=0;ai=0;if(!aE){var f={height:an().height,backgroundColor:ar.backgroundcolor};aa=document.createElement("div");aa.id=aJ.id+"_jwplayer_controlbar";_css(aa,f)}var g=(aJ.skin.getSkinElement("controlbar","capLeft"));var h=(aJ.skin.getSkinElement("controlbar","capRight"));if(g){ax("capLeft","left",false,aa)}var e={position:"absolute",height:an().height,left:(g?g.width:0),zIndex:0};ac("background",aa,e,"img");if(an().src){ah.background.src=an().src}e.zIndex=1;ac("elements",aa,e);if(h){ax("capRight","right",false,aa)}}this.getDisplayElement=function(){return aa};this.resize=function(e,g){d.utils.cancelAnimation(aa);document.getElementById(aJ.id).onmousemove=av;aP=e;aw=g;av();var f=ay();ao({id:aJ.id,duration:Z,position:aK});aA({id:aJ.id,bufferPercent:aO});return f};this.show=function(){aL=false;_show(aa)};this.hide=function(){aL=true;_hide(aa)};function aD(){var f=["timeSlider","volumeSlider","timeSliderRail","volumeSliderRail"];for(var e in f){var g=f[e];if(typeof ah[g]!="undefined"){aQ[g]=ah[g].getBoundingClientRect()}}}function av(){if(aL){return}d.utils.cancelAnimation(aa);if(aM()){d.utils.fadeTo(aa,1,0,1,0)}else{d.utils.fadeTo(aa,0,0.1,1,2)}}function aM(){if(aL){return false}if(aJ.jwGetState()==d.api.events.state.IDLE||aJ.jwGetState()==d.api.events.state.PAUSED){if(ar.idlehide){return false}return true}if(aJ.jwGetFullscreen()){return false}if(ar.position==d.html5.view.positions.OVER){return false}return true}function ac(e,g,f,i){var h;if(!aE){if(!i){i="div"}h=document.createElement(i);ah[e]=h;h.id=aa.id+"_"+e;g.appendChild(h)}else{h=document.getElementById(aa.id+"_"+e)}if(f!==undefined){_css(h,f)}return h}function ak(){a(ar.layout.left);a(ar.layout.right,-1);a(ar.layout.center)}function a(g,i){var e=g.position=="right"?"right":"left";var f=d.utils.extend([],g.elements);if(i!==undefined){f.reverse()}for(var h=0;h<f.length;h++){at(f[h],e)}}function am(){return ai++}function at(m,k){var e,g,f,h,i;if(m.type=="divider"){ax("divider"+am(),k,true,undefined,undefined,m.width,m.element);return}switch(m.name){case"play":ax("playButton",k,false);ax("pauseButton",k,true);ag("playButton","jwPlay");ag("pauseButton","jwPause");break;case"prev":ax("prevButton",k,true);ag("prevButton","jwPlaylistPrev");break;case"next":ax("nextButton",k,true);ag("nextButton","jwPlaylistNext");break;case"elapsed":ax("elapsedText",k,true);break;case"time":g=aJ.skin.getSkinElement("controlbar","timeSliderCapLeft")===undefined?0:aJ.skin.getSkinElement("controlbar","timeSliderCapLeft").width;f=aJ.skin.getSkinElement("controlbar","timeSliderCapRight")===undefined?0:aJ.skin.getSkinElement("controlbar","timeSliderCapRight").width;e=k=="left"?g:f;h=aJ.skin.getSkinElement("controlbar","timeSliderRail").width+g+f;i={height:an().height,position:"absolute",top:0,width:h};i[k]=k=="left"?ab:aq;var l=ac("timeSlider",ah.elements,i);ax("timeSliderCapLeft",k,true,l,k=="left"?0:e);ax("timeSliderRail",k,false,l,e);ax("timeSliderBuffer",k,false,l,e);ax("timeSliderProgress",k,false,l,e);ax("timeSliderThumb",k,false,l,e);ax("timeSliderCapRight",k,true,l,k=="right"?0:e);ae("time");break;case"fullscreen":ax("fullscreenButton",k,false);ax("normalscreenButton",k,true);ag("fullscreenButton","jwSetFullscreen",true);ag("normalscreenButton","jwSetFullscreen",false);break;case"volume":g=aJ.skin.getSkinElement("controlbar","volumeSliderCapLeft")===undefined?0:aJ.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;f=aJ.skin.getSkinElement("controlbar","volumeSliderCapRight")===undefined?0:aJ.skin.getSkinElement("controlbar","volumeSliderCapRight").width;e=k=="left"?g:f;h=aJ.skin.getSkinElement("controlbar","volumeSliderRail").width+g+f;i={height:an().height,position:"absolute",top:0,width:h};i[k]=k=="left"?ab:aq;var j=ac("volumeSlider",ah.elements,i);ax("volumeSliderCapLeft",k,true,j,k=="left"?0:e);ax("volumeSliderRail",k,true,j,e);ax("volumeSliderProgress",k,false,j,e);ax("volumeSliderCapRight",k,true,j,k=="right"?0:e);ae("volume");break;case"mute":ax("muteButton",k,false);ax("unmuteButton",k,true);ag("muteButton","jwSetMute",true);ag("unmuteButton","jwSetMute",false);break;case"duration":ax("durationText",k,true);break}}function ax(e,m,g,j,o,h,f){if(aJ.skin.getSkinElement("controlbar",e)!==undefined||e.indexOf("Text")>0||e.indexOf("divider")===0){var n={height:an().height,position:"absolute",display:"block",top:0};if((e.indexOf("next")===0||e.indexOf("prev")===0)&&aJ.jwGetPlaylist().length<2){g=false;n.display="none"}var i;if(e.indexOf("Text")>0){e.innerhtml="00:00";n.font=ar.fontsize+"px/"+(an().height+1)+"px "+ar.font;n.color=ar.fontcolor;n.textAlign="center";n.fontWeight=ar.fontweight;n.fontStyle=ar.fontstyle;n.cursor="default";i=14+3*ar.fontsize}else{if(e.indexOf("divider")===0){if(h){if(!isNaN(parseInt(h))){i=parseInt(h)}}else{if(f){var l=aJ.skin.getSkinElement("controlbar",f);if(l){n.background="url("+l.src+") repeat-x center left";i=l.width}}else{n.background="url("+aJ.skin.getSkinElement("controlbar","divider").src+") repeat-x center left";i=aJ.skin.getSkinElement("controlbar","divider").width}}}else{n.background="url("+aJ.skin.getSkinElement("controlbar",e).src+") repeat-x center left";i=aJ.skin.getSkinElement("controlbar",e).width}}if(m=="left"){n.left=isNaN(o)?ab:o;if(g){ab+=i}}else{if(m=="right"){n.right=isNaN(o)?aq:o;if(g){aq+=i}}}if(d.utils.typeOf(j)=="undefined"){j=ah.elements}n.width=i;if(aE){_css(ah[e],n)}else{var k=ac(e,j,n);if(aJ.skin.getSkinElement("controlbar",e+"Over")!==undefined){k.onmouseover=function(p){k.style.backgroundImage=["url(",aJ.skin.getSkinElement("controlbar",e+"Over").src,")"].join("")};k.onmouseout=function(p){k.style.backgroundImage=["url(",aJ.skin.getSkinElement("controlbar",e).src,")"].join("")}}}}}function ap(){aJ.jwAddEventListener(d.api.events.JWPLAYER_PLAYLIST_LOADED,au);aJ.jwAddEventListener(d.api.events.JWPLAYER_MEDIA_BUFFER,aA);aJ.jwAddEventListener(d.api.events.JWPLAYER_PLAYER_STATE,aC);aJ.jwAddEventListener(d.api.events.JWPLAYER_MEDIA_TIME,ao);aJ.jwAddEventListener(d.api.events.JWPLAYER_MEDIA_MUTE,b);aJ.jwAddEventListener(d.api.events.JWPLAYER_MEDIA_VOLUME,aH);aJ.jwAddEventListener(d.api.events.JWPLAYER_MEDIA_COMPLETE,al)}function au(){aj();ak();ay();Y()}function Y(){ao({id:aJ.id,duration:aJ.jwGetDuration(),position:0});aA({id:aJ.id,bufferProgress:0});b({id:aJ.id,mute:aJ.jwGetMute()});aC({id:aJ.id,newstate:d.api.events.state.IDLE});aH({id:aJ.id,volume:aJ.jwGetVolume()})}function ag(f,e,g){if(aE){return}if(aJ.skin.getSkinElement("controlbar",f)!==undefined){var h=ah[f];if(h!==null){_css(h,{cursor:"pointer"});if(e=="fullscreen"){h.onmouseup=function(i){i.stopPropagation();aJ.jwSetFullscreen(!aJ.jwGetFullscreen())}}else{h.onmouseup=function(i){i.stopPropagation();if(g!==null){aJ[e](g)}else{aJ[e]()}}}}}}function ae(f){if(aE){return}var e=ah[f+"Slider"];_css(ah.elements,{cursor:"pointer"});_css(e,{cursor:"pointer"});e.onmousedown=function(g){az=f};e.onmouseup=function(g){g.stopPropagation();X(g.pageX)};e.onmousemove=function(h){if(az=="time"){aN=true;var g=h.pageX-aQ[f+"Slider"].left-window.pageXOffset;_css(ah.timeSliderThumb,{left:g})}}}function X(g){aN=false;var h;if(az=="time"){h=g-aQ.timeSliderRail.left+window.pageXOffset;var f=h/aQ.timeSliderRail.width*Z;if(f<0){f=0}else{if(f>Z){f=Z-3}}if(aJ.jwGetState()==d.api.events.state.PAUSED||aJ.jwGetState()==d.api.events.state.IDLE){aJ.jwPlay()}aJ.jwSeek(f)}else{if(az=="volume"){h=g-aQ.volumeSliderRail.left-window.pageXOffset;var e=Math.round(h/aQ.volumeSliderRail.width*100);if(e<0){e=0}else{if(e>100){e=100}}if(aJ.jwGetMute()){aJ.jwSetMute(false)}aJ.jwSetVolume(e)}}az="none"}function aA(f){if(f.bufferPercent!==null){aO=f.bufferPercent}if(aQ.timeSliderRail){var e=aQ.timeSliderRail.width;var g=isNaN(Math.round(e*aO/100))?0:Math.round(e*aO/100);_css(ah.timeSliderBuffer,{width:g})}}function b(e){if(e.mute){_hide(ah.muteButton);_show(ah.unmuteButton);_hide(ah.volumeSliderProgress)}else{_show(ah.muteButton);_hide(ah.unmuteButton);_show(ah.volumeSliderProgress)}}function aC(e){if(e.newstate==d.api.events.state.BUFFERING||e.newstate==d.api.events.state.PLAYING){_show(ah.pauseButton);_hide(ah.playButton)}else{_hide(ah.pauseButton);_show(ah.playButton)}av();if(e.newstate==d.api.events.state.IDLE){_hide(ah.timeSliderBuffer);_hide(ah.timeSliderProgress);_hide(ah.timeSliderThumb);ao({id:aJ.id,duration:aJ.jwGetDuration(),position:0})}else{_show(ah.timeSliderBuffer);if(e.newstate!=d.api.events.state.BUFFERING){_show(ah.timeSliderProgress);_show(ah.timeSliderThumb)}}}function al(e){aA({bufferPercent:0});ao(d.utils.extend(e,{position:0,duration:Z}))}function ao(g){if(g.position!==null){aK=g.position}if(g.duration!==null){Z=g.duration}var h=(aK===Z===0)?0:aK/Z;var e=aQ.timeSliderRail;if(e){var i=isNaN(Math.round(e.width*h))?0:Math.round(e.width*h);var f=i;if(ah.timeSliderProgress){ah.timeSliderProgress.style.width=i+"px";if(!aN){if(ah.timeSliderThumb){ah.timeSliderThumb.style.left=f+"px"}}}}if(ah.durationText){ah.durationText.innerHTML=aF(Z)}if(ah.elapsedText){ah.elapsedText.innerHTML=aF(aK)}}function aF(e){str="00:00";if(e>0){str=Math.floor(e/60)<10?"0"+Math.floor(e/60)+":":Math.floor(e/60)+":";str+=Math.floor(e%60)<10?"0"+Math.floor(e%60):Math.floor(e%60)}return str}function aG(){var f,g;var e=document.getElementById(aa.id+"_elements").childNodes;for(var h in document.getElementById(aa.id+"_elements").childNodes){if(isNaN(parseInt(h,10))){continue}if(e[h].id.indexOf(aa.id+"_divider")===0&&g&&g.id.indexOf(aa.id+"_divider")===0&&e[h].style.backgroundImage==g.style.backgroundImage){e[h].style.display="none"}else{if(e[h].id.indexOf(aa.id+"_divider")===0&&f&&f.style.display!="none"){e[h].style.display="block"}}if(e[h].style.display!="none"){g=e[h]}f=e[h]}}function ay(){aG();if(aJ.jwGetFullscreen()){_show(ah.normalscreenButton);_hide(ah.fullscreenButton)}else{_hide(ah.normalscreenButton);_show(ah.fullscreenButton)}var h={width:aP};var i={};if(ar.position==d.html5.view.positions.OVER||aJ.jwGetFullscreen()){h.left=ar.margin;h.width-=2*ar.margin;h.top=aw-an().height-ar.margin;h.height=an().height}else{h.left=0}var g=aJ.skin.getSkinElement("controlbar","capLeft");var f=aJ.skin.getSkinElement("controlbar","capRight");i.left=g?g.width:0;i.width=h.width-i.left-(f?f.width:0);var e=aJ.skin.getSkinElement("controlbar","timeSliderCapLeft")===undefined?0:aJ.skin.getSkinElement("controlbar","timeSliderCapLeft").width;_css(ah.timeSliderRail,{width:(i.width-ab-aq),left:e});if(ah.timeSliderCapRight!==undefined){_css(ah.timeSliderCapRight,{left:e+(i.width-ab-aq)})}_css(aa,h);_css(ah.elements,i);_css(ah.background,i);aD();return h}function aH(f){if(ah.volumeSliderRail!==undefined){var h=isNaN(f.volume/100)?1:f.volume/100;var g=parseInt(ah.volumeSliderRail.style.width.replace("px",""),10);var j=isNaN(Math.round(g*h))?0:Math.round(g*h);var e=parseInt(ah.volumeSliderRail.style.right.replace("px",""),10);var i=aJ.skin.getSkinElement("controlbar","volumeSliderCapLeft")===undefined?0:aJ.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;_css(ah.volumeSliderProgress,{width:j,left:i});if(ah.volumeSliderCapLeft!==undefined){_css(ah.volumeSliderCapLeft,{left:0})}}}function aB(){aj();ak();aD();aE=true;ap();Y();aa.style.opacity=ar.idlehide?0:1}aB();return this}})(jwplayer);(function(c){var d=["width","height","state","playlist","item","position","buffer","duration","volume","mute","fullscreen"];c.html5.controller=function(H,K,Z,M){var E=H;var b=Z;var aa=M;var T=K;var N=true;var ab=-1;var G=(b.config.debug!==undefined)&&(b.config.debug.toString().toLowerCase()=="console");var V=new c.html5.eventdispatcher(T.id,G);c.utils.extend(this,V);function R(e){V.sendEvent(e.type,e)}b.addGlobalListener(R);function O(){try{if(b.playlist[b.item].levels[0].file.length>0){if(N||b.state==c.api.events.state.IDLE){b.addEventListener(c.api.events.JWPLAYER_MEDIA_BUFFER_FULL,function(){b.getMedia().play()});b.addEventListener(c.api.events.JWPLAYER_MEDIA_TIME,function(f){if(f.position>=b.playlist[b.item].start&&ab>=0){b.playlist[b.item].start=ab;ab=-1}});if(b.config.repeat){b.addEventListener(c.api.events.JWPLAYER_MEDIA_COMPLETE,function(f){setTimeout(Q,25)})}b.getMedia().load(b.playlist[b.item]);N=false}else{if(b.state==c.api.events.state.PAUSED){b.getMedia().play()}}}return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}function L(){try{if(b.playlist[b.item].levels[0].file.length>0){switch(b.state){case c.api.events.state.PLAYING:case c.api.events.state.BUFFERING:b.getMedia().pause();break}}return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}function D(f){try{if(b.playlist[b.item].levels[0].file.length>0){if(typeof f!="number"){f=parseFloat(f)}switch(b.state){case c.api.events.state.IDLE:if(ab<0){ab=b.playlist[b.item].start;b.playlist[b.item].start=f}O();break;case c.api.events.state.PLAYING:case c.api.events.state.PAUSED:case c.api.events.state.BUFFERING:b.seek(f);break}}return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}function U(){try{if(b.playlist[b.item].levels[0].file.length>0&&b.state!=c.api.events.state.IDLE){b.getMedia().stop()}return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}function X(){try{if(b.playlist[b.item].levels[0].file.length>0){if(b.config.shuffle){P(I())}else{if(b.item+1==b.playlist.length){P(0)}else{P(b.item+1)}}}if(b.state!=c.api.events.state.PLAYING&&b.state!=c.api.events.state.BUFFERING){O()}return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}function Y(){try{if(b.playlist[b.item].levels[0].file.length>0){if(b.config.shuffle){P(I())}else{if(b.item===0){P(b.playlist.length-1)}else{P(b.item-1)}}}if(b.state!=c.api.events.state.PLAYING&&b.state!=c.api.events.state.BUFFERING){O()}return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}function I(){var e=null;if(b.playlist.length>1){while(e===null){e=Math.floor(Math.random()*b.playlist.length);if(e==b.item){e=null}}}else{e=0}return e}function P(f){b.resetEventListeners();b.addGlobalListener(R);try{if(b.playlist[f].levels[0].file.length>0){var e=b.state;if(e!==c.api.events.state.IDLE){U()}b.item=f;N=true;b.setActiveMediaProvider(b.playlist[b.item]);V.sendEvent(c.api.events.JWPLAYER_PLAYLIST_ITEM,{index:f});if(e==c.api.events.state.PLAYING||e==c.api.events.state.BUFFERING||b.config.chromeless||Z.config.autostart===true){O()}}return true}catch(g){V.sendEvent(c.api.events.JWPLAYER_ERROR,g)}return false}function a(e){try{switch(typeof(e)){case"number":b.getMedia().volume(e);break;case"string":b.getMedia().volume(parseInt(e,10));break}return true}catch(f){V.sendEvent(c.api.events.JWPLAYER_ERROR,f)}return false}function S(e){try{if(typeof e=="undefined"){b.getMedia().mute(!b.mute)}else{if(e.toString().toLowerCase()=="true"){b.getMedia().mute(true)}else{b.getMedia().mute(false)}}return true}catch(f){V.sendEvent(c.api.events.JWPLAYER_ERROR,f)}return false}function W(f,g){try{b.width=f;b.height=g;aa.resize(f,g);V.sendEvent(c.api.events.JWPLAYER_RESIZE,{width:b.width,height:b.height});return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}function F(e){try{if(typeof e=="undefined"){b.fullscreen=!b.fullscreen;aa.fullscreen(!b.fullscreen)}else{if(e.toString().toLowerCase()=="true"){b.fullscreen=true;aa.fullscreen(true)}else{b.fullscreen=false;aa.fullscreen(false)}}V.sendEvent(c.api.events.JWPLAYER_RESIZE,{width:b.width,height:b.height});V.sendEvent(c.api.events.JWPLAYER_FULLSCREEN,{fullscreen:e});return true}catch(f){V.sendEvent(c.api.events.JWPLAYER_ERROR,f)}return false}function J(f){try{U();b.loadPlaylist(f);P(b.item);return true}catch(e){V.sendEvent(c.api.events.JWPLAYER_ERROR,e)}return false}c.html5.controller.repeatoptions={LIST:"LIST",ALWAYS:"ALWAYS",SINGLE:"SINGLE",NONE:"NONE"};function Q(){b.resetEventListeners();b.addGlobalListener(R);switch(b.config.repeat.toUpperCase()){case c.html5.controller.repeatoptions.SINGLE:O();break;case c.html5.controller.repeatoptions.ALWAYS:if(b.item==b.playlist.length-1&&!b.config.shuffle){P(0);O()}else{X()}break;case c.html5.controller.repeatoptions.LIST:if(b.item==b.playlist.length-1&&!b.config.shuffle){P(0)}else{X()}break}}this.play=O;this.pause=L;this.seek=D;this.stop=U;this.next=X;this.prev=Y;this.item=P;this.setVolume=a;this.setMute=S;this.resize=W;this.setFullscreen=F;this.load=J}})(jwplayer);(function(b){b.html5.defaultSkin=function(){this.text='<?xml version="1.0" ?><skin author="LongTail Video" name="Five" version="1.0"><settings><setting name="backcolor" value="0xFFFFFF"/><setting name="frontcolor" value="0x000000"/><setting name="lightcolor" value="0x000000"/><setting name="screencolor" value="0x000000"/></settings><components><component name="controlbar"><settings><setting name="margin" value="20"/><setting name="fontsize" value="11"/></settings><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAIAAABvFaqvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNrslLENwAAIwxLU/09j5AiOgD5hVQzNAVY8JK4qEfHMIKBnd2+BQlBINaiRtL/aV2rdzYBsM6CIONbI1NZENTr3RwdB2PlnJgJ6BRgA4hwu5Qg5iswAAAAASUVORK5CYII="/><element name="capLeft" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="capRight" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="divider" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="playButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEhJREFUeNpiYqABYBo1dNRQ+hr6H4jvA3E8NS39j4SpZvh/LJig4YxEGEqy3kET+w+AOGFQRhTJhrEQkGcczfujhg4CQwECDADpTRWU/B3wHQAAAABJRU5ErkJggg=="/><element name="pauseButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAChJREFUeNpiYBgFo2DwA0YC8v/R1P4nRu+ooaOGUtnQUTAKhgIACDAAFCwQCfAJ4gwAAAAASUVORK5CYII="/><element name="prevButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtJREFUeNpiYBgFo2Dog/9QDAPyQHweTYwiQ/2B+D0Wi8g2tB+JTdBQRiIMJVkvEy0iglhDF9Aq9uOpHVEwoE+NJDUKRsFgAAABBgDe2hqZcNNL0AAAAABJRU5ErkJggg=="/><element name="nextButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUeNpiYBgFo2Dog/9AfB6I5dHE/lNqKAi/B2J/ahsKw/3EGMpIhKEk66WJoaR6fz61IyqemhEFSlL61ExSo2AUDAYAEGAAiG4hj+5t7M8AAAAASUVORK5CYII="/><element name="timeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNpiYBgFo2AU0Bwwzluw+D8tLWARFhKiqQ9YuLg4aWsBGxs7bS1gZ6e5BWyjSX0UjIKhDgACDABlYQOGh5pYywAAAABJRU5ErkJggg=="/><element name="timeSliderBuffer" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFo2AU0Bww1jc0/aelBSz8/Pw09QELOzs7bS1gY2OjrQWsrKy09gHraFIfBaNgqAOAAAMAvy0DChXHsZMAAAAASUVORK5CYII="/><element name="timeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpiYBgFo2AU0BwwAvF/WlrARGsfjFow8BaMglEwCugAAAIMAOHfAQunR+XzAAAAAElFTkSuQmCC"/><element name="timeSliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAYAAAA870V8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpiZICA/yCCiQEJUJcDEGAAY0gBD1/m7Q0AAAAASUVORK5CYII="/><element name="muteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiYBgFIw3MB+L/5Gj8j6yRiRTFyICJXHfTXyMLAXlGati4YDRFDj8AEGAABk8GSqqS4CoAAAAASUVORK5CYII="/><element name="unmuteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFgxz8p7bm+cQa+h8LHy7GhEcjIz4bmAjYykiun/8j0fakGPIfTfPgiSr6aB4FVAcAAQYAWdwR1G1Wd2gAAAAASUVORK5CYII="/><element name="volumeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGpJREFUeNpi/P//PwM9ABMDncCoRYPfIqqDZcuW1UPp/6AUDcNM1DQYKtRAlaAj1mCSLSLXYIIWUctgDItoZfDA5aOoqKhGEANIM9LVR7SymGDQUctikuOIXkFNdhHEOFrDjlpEd4sAAgwAriRMub95fu8AAAAASUVORK5CYII="/><element name="volumeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUeNpi/P//PwM9ABMDncCoRYPfIlqAeij9H5SiYZiqBqPTlFqE02BKLSLaYFItIttgQhZRzWB8FjENiuRJ7aAbsMQwYMl7wDIsWUUQ42gNO2oR3S0CCDAAKhKq6MLLn8oAAAAASUVORK5CYII="/><element name="fullscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNpiYBgFo2DQA0YC8v/xqP1PjDlMRDrEgUgxkgHIlfZoriVGjmzLsLFHAW2D6D8eA/9Tw7L/BAwgJE90PvhPpNgoGAVDEQAEGAAMdhTyXcPKcAAAAABJRU5ErkJggg=="/><element name="normalscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNpiYBgFo2DIg/9UUkOUAf8JiFFsyX88fJyAkcQgYMQjNkzBoAgiezyRbE+tFGSPxQJ7auYBmma0UTAKBhgABBgAJAEY6zON61sAAAAASUVORK5CYII="/></elements></component><component name="display"><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC"/><element name="playIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg=="/><element name="muteIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNrs1jEOgCAMBVAg7t5/8qaoIy4uoobyXsLCxA+0NCUAAADGUWvdQoQ41x4ixNBB2hBvBskdD3w5ZCkl3+33VqI0kjBBlh9rp+uTcyOP33TnolfsU85XX3yIRpQph8ZQY3wTZtU5AACASA4BBgDHoVuY1/fvOQAAAABJRU5ErkJggg=="/><element name="errorIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWlJREFUeNrsl+1twjAQhsHq/7BBYQLYIBmBDcoGMAIjtBPQTcII2SDtBDBBwrU6pGsUO7YbO470PtKJkz9iH++d4ywWAAAAAABgljRNsyWr2bZzDuJG1rLdZhcMbTjrBCGDyUKsqQLFciJb9bSvuG/WagRVRUVUI6gqy5HVeKWfSgRyJruKIU//TrZTSn2nmlaXThrloi/v9F2STC1W4+Aw5cBzkquRc09bofFNc6YLxEON0VUZS5FPTftO49vMjRsIF3RhOGr7/D/pJw+FKU+q0vDyq8W42jCunDqI3LC5XxNj2wHLU1XjaRnb0Lhykhqhhd8MtSF5J9tbjCv4mXGvKJz/65FF/qJryyaaIvzP2QRxZTX2nTuXjvV/VPFSwyLnW7mpH99yTh1FEVro6JBSd40/pMrRdV8vPtcKl28T2pT8TnFZ4yNosct3Q0io6JfBiz1FlGdqVQH3VHnepAEAAAAAADDzEGAAcTwB10jWgxcAAAAASUVORK5CYII="/><element name="bufferIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuhJREFUeNrsWr9rU1EUznuNGqvFQh1ULOhiBx0KDtIuioO4pJuik3FxFfUPaAV1FTdx0Q5d2g4FFxehTnEpZHFoBy20tCIWtGq0TZP4HfkeHB5N8m6Sl/sa74XDybvv3vvOd8/Pe4lXrVZT3dD8VJc0B8QBcUAcEAfESktHGeR5XtMfqFQq/f92zPe/NbtGlKTdCY30kuxrpMGO94BlQCXs+rbh3ONgA6BlzP1p20d80gEI5hmA2A92Qua1Q2PtAFISM+bvjMG8U+Q7oA3rQGASwrYCU6WpNdLGYbA+Pq5jjXIiwi8EEa2UDbQSaKOIuV+SlkcCrfjY8XTI9EpKGwP0C2kru2hLtHqa4zoXtZRWyvi4CLwv9Opr6Hkn6A9HKgEANsQ1iqC3Ub/vRUk2JgmRkatK36kVrnt0qObunwUdUUMXMWYpakJsO5Am8tAw2GBIgwWA+G2S2dMpiw0gDioQRQJoKhRb1QiDwlHZUABYbaXWsm5ae6loTE4ZDxN4CZar8foVzOJ2iyZ2kWF3t7YIevffaMT5yJ70kQb2fQ1sE5SHr2wazs2wgMxgbsEKEAgxAvZUJbQLBGTSBMgNrncJbA6AljtS/eKDJ0Ez+DmrQEzXS2h1Ck25kAg0IZcUOaydCy4sYnN2fOA+2AP16gNoHALlQ+fwH7XO4CxLenUpgj4xr6ugY2roPMbMx+Xs18m/E8CVEIhxsNeg83XWOAN6grG3lGbk8uE5fr4B/WH3cJw+co/l9nTYsSGYCJ/lY5/qv0thn6nrIWmjeJcPSnWOeY++AkF8tpJHIMAUs/MaBBpj3znZfQo5psY+ZrG4gv5HickjEOymKjEeRpgyST6IuZcTcWbnjcgdPi5ghxciRKsl1lDSsgwA1i8fssonJgzmTSqfGUkCENndNdAL7PS6QQ7ZYISTo+1qq0LEWjTWcvY4isa4z+yfQB+7ooyHVg5RI7/i1Ijn/vnggDggDogD4oC00P4KMACd/juEHOrS4AAAAABJRU5ErkJggg=="/></elements></component><component name="dock"><elements><element name="button" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUeNrs0cEJACAQA8Eofu0fu/W6EM5ZSAFDRpKTBs00CQQEBAQEBAQEBAQEBAQEBATkK8iqbY+AgICAgICAgICAgICAgICAgIC86QowAG5PAQzEJ0lKAAAAAElFTkSuQmCC"/></elements></component><component name="playlist"><elements><element name="item" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAIAAAC1nk4lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHhJREFUeNrs2NEJwCAMBcBYuv/CFuIE9VN47WWCR7iocXR3pdWdGPqqwIoMjYfQeAiNh9B4JHc6MHQVHnjggQceeOCBBx77TifyeOY0iHi8DqIdEY8dD5cL094eePzINB5CO/LwcOTptNB4CP25L4TIbZzpU7UEGAA5wz1uF5rF9AAAAABJRU5ErkJggg=="/><element name="sliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNrsy6ENACAMAMHClp2wYxZLAg5Fcu9e3OjuOKqqfTMzbs14CIZhGIZhGIZhGP4VLwEGAK/BBnVFpB0oAAAAAElFTkSuQmCC"/><element name="sliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNrsy7ENACAMBLE8++8caFFKKiRffU53112SGs3ttOohGIZhGIZhGIZh+Fe8BRgAiaUGde6NOSEAAAAASUVORK5CYII="/></elements></component></components></skin>';this.xml=null;if(window.DOMParser){parser=new DOMParser();this.xml=parser.parseFromString(this.text,"text/xml")}else{this.xml=new ActiveXObject("Microsoft.XMLDOM");this.xml.async="false";this.xml.loadXML(this.text)}return this}})(jwplayer);(function(b){_css=b.utils.css;_hide=function(a){_css(a,{display:"none"})};_show=function(a){_css(a,{display:"block"})};b.html5.display=function(O,a){var J={icons:true};var T=b.utils.extend({},J,a);var E=O;var Z={};var X;var M;var S;var D;var C;var N;var U;var P=E.skin.getComponentSettings("display").bufferrotation===undefined?15:parseInt(E.skin.getComponentSettings("display").bufferrotation,10);var Y=E.skin.getComponentSettings("display").bufferinterval===undefined?100:parseInt(E.skin.getComponentSettings("display").bufferinterval,10);var aa={display:{style:{cursor:"pointer",top:0,left:0,overflow:"hidden"},click:G},display_icon:{style:{cursor:"pointer",position:"absolute",top:((E.skin.getSkinElement("display","background").height-E.skin.getSkinElement("display","playIcon").height)/2),left:((E.skin.getSkinElement("display","background").width-E.skin.getSkinElement("display","playIcon").width)/2),border:0,margin:0,padding:0,zIndex:3}},display_iconBackground:{style:{cursor:"pointer",position:"absolute",top:((M-E.skin.getSkinElement("display","background").height)/2),left:((X-E.skin.getSkinElement("display","background").width)/2),border:0,backgroundImage:(["url(",E.skin.getSkinElement("display","background").src,")"]).join(""),width:E.skin.getSkinElement("display","background").width,height:E.skin.getSkinElement("display","background").height,margin:0,padding:0,zIndex:2}},display_image:{style:{display:"none",width:X,height:M,position:"absolute",cursor:"pointer",left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1}},display_text:{style:{zIndex:4,position:"relative",opacity:0.8,backgroundColor:parseInt("000000",16),color:parseInt("ffffff",16),textAlign:"center",fontFamily:"Arial,sans-serif",padding:"0 5px",fontSize:14}}};E.jwAddEventListener(b.api.events.JWPLAYER_PLAYER_STATE,R);E.jwAddEventListener(b.api.events.JWPLAYER_MEDIA_MUTE,R);E.jwAddEventListener(b.api.events.JWPLAYER_PLAYLIST_ITEM,R);E.jwAddEventListener(b.api.events.JWPLAYER_ERROR,H);L();function L(){Z.display=I("div","display");Z.display_text=I("div","display_text");Z.display.appendChild(Z.display_text);Z.display_image=I("img","display_image");Z.display_image.onerror=function(c){_hide(Z.display_image)};Z.display_image.onload=Q;Z.display_icon=I("div","display_icon");Z.display_iconBackground=I("div","display_iconBackground");Z.display.appendChild(Z.display_image);Z.display_iconBackground.appendChild(Z.display_icon);Z.display.appendChild(Z.display_iconBackground);ab()}this.getDisplayElement=function(){return Z.display};this.resize=function(c,d){X=c;M=d;_css(Z.display,{width:c,height:d});_css(Z.display_text,{width:(c-10),top:((M-Z.display_text.getBoundingClientRect().height)/2)});_css(Z.display_iconBackground,{top:((M-E.skin.getSkinElement("display","background").height)/2),left:((X-E.skin.getSkinElement("display","background").width)/2)});V();R({})};this.show=function(){_show(Z.display_icon);_show(Z.display_iconBackground)};this.hide=function(){K()};function Q(c){S=Z.display_image.naturalWidth;D=Z.display_image.naturalHeight;V()}function V(){b.utils.stretch(E.jwGetStretching(),Z.display_image,X,M,S,D)}function I(e,c){var d=document.createElement(e);d.id=E.id+"_jwplayer_"+c;_css(d,aa[c].style);return d}function ab(){for(var c in Z){if(aa[c].click!==undefined){Z[c].onclick=aa[c].click}}}function G(c){if(typeof c.preventDefault!="undefined"){c.preventDefault()}else{c.returnValue=false}if(E.jwGetState()!=b.api.events.state.PLAYING){E.jwPlay()}else{E.jwPause()}}function W(c){if(U||!T.icons){K();return}_show(Z.display_iconBackground);Z.display_icon.style.backgroundImage=(["url(",E.skin.getSkinElement("display",c).src,")"]).join("");_css(Z.display_icon,{display:"block",width:E.skin.getSkinElement("display",c).width,height:E.skin.getSkinElement("display",c).height,top:(E.skin.getSkinElement("display","background").height-E.skin.getSkinElement("display",c).height)/2,left:(E.skin.getSkinElement("display","background").width-E.skin.getSkinElement("display",c).width)/2});if(E.skin.getSkinElement("display",c+"Over")!==undefined){Z.display_icon.onmouseover=function(d){Z.display_icon.style.backgroundImage=["url(",E.skin.getSkinElement("display",c+"Over").src,")"].join("")};Z.display_icon.onmouseout=function(d){Z.display_icon.style.backgroundImage=["url(",E.skin.getSkinElement("display",c).src,")"].join("")}}else{Z.display_icon.onmouseover=null;Z.display_icon.onmouseout=null}}function K(){_hide(Z.display_icon);_hide(Z.display_iconBackground)}function H(c){U=true;K();Z.display_text.innerHTML=c.error;_show(Z.display_text);Z.display_text.style.top=((M-Z.display_text.getBoundingClientRect().height)/2)+"px"}function F(){var c=Z.display_image;Z.display_image=I("img","display_image");Z.display_image.onerror=function(d){_hide(Z.display_image)};Z.display_image.onload=Q;Z.display.replaceChild(Z.display_image,c)}function R(c){if((c.type==b.api.events.JWPLAYER_PLAYER_STATE||c.type==b.api.events.JWPLAYER_PLAYLIST_ITEM)&&U){U=false;_hide(Z.display_text)}if(N!==undefined){clearInterval(N);N=null;b.utils.animations.rotate(Z.display_icon,0)}switch(E.jwGetState()){case b.api.events.state.BUFFERING:W("bufferIcon");C=0;N=setInterval(function(){C+=P;b.utils.animations.rotate(Z.display_icon,C%360)},Y);W("bufferIcon");break;case b.api.events.state.PAUSED:if(E.jwGetPlaylist()[E.jwGetItem()].provider!="sound"){_css(Z.display_image,{background:"transparent no-repeat center center"})}W("playIcon");break;case b.api.events.state.IDLE:if(E.jwGetPlaylist()[E.jwGetItem()].image){_css(Z.display_image,{display:"block"});Z.display_image.src=b.utils.getAbsolutePath(E.jwGetPlaylist()[E.jwGetItem()].image)}else{F()}W("playIcon");break;default:if(E.jwGetMute()&&T.showmute){if(E.jwGetPlaylist()[E.jwGetItem()].provider!="sound"){F()}W("muteIcon")}else{if(E.jwGetPlaylist()[E.jwGetItem()].provider!="sound"){F()}_hide(Z.display_iconBackground);_hide(Z.display_icon)}break}}return this}})(jwplayer);(function(b){_css=b.utils.css;b.html5.dock=function(o,s){function p(){return{align:b.html5.view.positions.RIGHT}}var a=b.utils.extend({},p(),s);if(a.align=="FALSE"){return}var n={};var t=[];var r;var q;var l=document.createElement("div");l.id=o.id+"_jwplayer_dock";this.getDisplayElement=function(){return l};this.setButton=function(e,d,c,f){if(!d&&n[e]){b.utils.arrays.remove(t,e);l.removeChild(n[e].div);delete n[e]}else{if(d){if(!n[e]){n[e]={}}n[e].handler=d;n[e].outGraphic=c;n[e].overGraphic=f;if(!n[e].div){t.push(e);n[e].div=document.createElement("div");n[e].div.style.position="relative";l.appendChild(n[e].div);n[e].div.appendChild(document.createElement("img"));n[e].div.childNodes[0].style.position="absolute";n[e].div.childNodes[0].style.left=0;n[e].div.childNodes[0].style.top=0;n[e].div.childNodes[0].style.zIndex=10;n[e].div.childNodes[0].style.cursor="pointer";n[e].div.appendChild(document.createElement("img"));n[e].div.childNodes[1].style.position="absolute";n[e].div.childNodes[1].style.left=0;n[e].div.childNodes[1].style.top=0;if(o.skin.getSkinElement("dock","button")){n[e].div.childNodes[1].src=o.skin.getSkinElement("dock","button").src}n[e].div.childNodes[1].style.zIndex=9;n[e].div.childNodes[1].style.cursor="pointer";n[e].div.onmouseover=function(){if(n[e].overGraphic){n[e].div.childNodes[0].src=n[e].overGraphic}if(o.skin.getSkinElement("dock","buttonOver")){n[e].div.childNodes[1].src=o.skin.getSkinElement("dock","buttonOver").src}};n[e].div.onmouseout=function(){if(n[e].outGraphic){n[e].div.childNodes[0].src=n[e].outGraphic}if(o.skin.getSkinElement("dock","button")){n[e].div.childNodes[1].src=o.skin.getSkinElement("dock","button").src}};if(n[e].overGraphic){n[e].div.childNodes[0].src=n[e].overGraphic}if(n[e].outGraphic){n[e].div.childNodes[0].src=n[e].outGraphic}if(o.skin.getSkinElement("dock","button")){n[e].div.childNodes[1].src=o.skin.getSkinElement("dock","button").src}}if(d){n[e].div.onclick=function(g){g.preventDefault();b(o.id).callback(e);if(n[e].overGraphic){n[e].div.childNodes[0].src=n[e].overGraphic}if(o.skin.getSkinElement("dock","button")){n[e].div.childNodes[1].src=o.skin.getSkinElement("dock","button").src}}}}}m(r,q)};function m(j,d){r=j;q=d;if(t.length>0){var h=10;var f=j-o.skin.getSkinElement("dock","button").width-h;var i=h;var g=-1;if(a.align==b.html5.view.positions.LEFT){g=1;f=h}for(var c=0;c<t.length;c++){var e=Math.floor(i/d);if((i+o.skin.getSkinElement("dock","button").height+h)>((e+1)*d)){i=((e+1)*d)+h;e=Math.floor(i/d)}n[t[c]].div.style.top=(i%d)+"px";n[t[c]].div.style.left=(f+(o.skin.getSkinElement("dock","button").width+h)*e*g)+"px";i+=o.skin.getSkinElement("dock","button").height+h}}}this.resize=m;this.show=function(){_css(l,{display:"block"})};this.hide=function(){_css(l,{display:"none"})};return this}})(jwplayer);(function(b){b.html5.eventdispatcher=function(e,a){var f=new b.events.eventdispatcher(a);b.utils.extend(this,f);this.sendEvent=function(d,c){if(c===undefined){c={}}b.utils.extend(c,{id:e,version:b.version,type:d});f.sendEvent(d,c)}}})(jwplayer);(function(d){var c={prefix:"",file:"",link:"",margin:8,out:0.5,over:1,timeout:3,hide:true,position:"bottom-left"};_css=d.utils.css;d.html5.logo=function(x,w){var a=x;var v;var A;var G;z();function z(){t();F();D()}function t(){if(c.prefix){var e=x.version.split(/\W/).splice(0,2).join("/");if(c.prefix.indexOf(e)<0){c.prefix+=e+"/"}}if(w.position==d.html5.view.positions.OVER){w.position=c.position}A=d.utils.extend({},c,w)}function F(){G=document.createElement("img");G.id=a.id+"_jwplayer_logo";G.style.display="none";G.onload=function(e){_css(G,b());a.jwAddEventListener(d.api.events.JWPLAYER_PLAYER_STATE,H);E()};if(!A.file){return}if(A.file.indexOf("http://")===0){G.src=A.file}else{G.src=A.prefix+A.file}}if(!A.file){return}this.resize=function(e,f){};this.getDisplayElement=function(){return G};function D(){if(A.link){G.onmouseover=B;G.onmouseout=E;G.onclick=u}else{this.mouseEnabled=false}}function u(e){if(typeof e!="undefined"){e.stopPropagation()}a.jwPause();a.jwSetFullscreen(false);if(A.link){window.open(A.link,"_blank")}return}function E(e){if(A.link){G.style.opacity=A.out}return}function B(e){if(A.hide){G.style.opacity=A.over}return}function b(){var e={textDecoration:"none",position:"absolute",cursor:"pointer"};e.display=A.hide?"none":"block";var f=A.position.toLowerCase().split("-");for(var g in f){e[f[g]]=A.margin}return e}function y(){if(A.hide){G.style.display="block";G.style.opacity=0;d.utils.fadeTo(G,A.out,0.1,parseFloat(G.style.opacity));v=setTimeout(function(){C()},A.timeout*1000)}}function C(){if(A.hide){d.utils.fadeTo(G,0,0.1,parseFloat(G.style.opacity))}}function H(e){if(e.newstate==d.api.events.state.BUFFERING){clearTimeout(v);y()}}return this}})(jwplayer);(function(e){var f={ended:e.api.events.state.IDLE,playing:e.api.events.state.PLAYING,pause:e.api.events.state.PAUSED,buffering:e.api.events.state.BUFFERING};var d=e.utils.css;e.html5.mediavideo=function(ay,X){var T={abort:aj,canplay:aq,canplaythrough:aq,durationchange:am,emptied:aj,ended:aq,error:ar,loadeddata:am,loadedmetadata:am,loadstart:aq,pause:aq,play:Q,playing:aq,progress:ab,ratechange:aj,seeked:aq,seeking:aq,stalled:aq,suspend:aq,timeupdate:Q,volumechange:aj,waiting:aq,canshowcurrentframe:aj,dataunavailable:aj,empty:aj,load:az,loadedfirstframe:aj};var S=new e.html5.eventdispatcher();e.utils.extend(this,S);var aw=ay;var af=X;var W;var U;var aA=e.api.events.state.IDLE;var aa=null;var ap;var ax=0;var ac=false;var al=false;var b;var c;var av=[];var a;var Y=false;function ah(){return aA}function az(g){}function aj(g){}function aq(g){if(f[g.type]){ak(f[g.type])}}function ak(i){if(Y){return}if(ap){i=e.api.events.state.IDLE}if(i==e.api.events.state.PAUSED&&aA==e.api.events.state.IDLE){return}if(i==e.api.events.state.PLAYING&&aA==e.api.events.state.IDLE){ak(e.api.events.state.BUFFERING);S.sendEvent(e.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:aw.buffer});ad();return}if(aA!=i){var h=aA;aw.state=i;aA=i;var g=false;if(i==e.api.events.state.IDLE){an();if(aw.position>=aw.duration&&(aw.position>0||aw.duration>0)){g=true}if(af.style.display!="none"&&!aw.config.chromeless){af.style.display="none"}}S.sendEvent(e.api.events.JWPLAYER_PLAYER_STATE,{oldstate:h,newstate:i});if(g){S.sendEvent(e.api.events.JWPLAYER_MEDIA_COMPLETE)}}ap=false}function am(h){var g={height:h.target.videoHeight,width:h.target.videoWidth,duration:Math.round(h.target.duration*10)/10};if(aw.duration===0||isNaN(aw.duration)){aw.duration=Math.round(h.target.duration*10)/10}aw.playlist[aw.item]=e.utils.extend(aw.playlist[aw.item],g);S.sendEvent(e.api.events.JWPLAYER_MEDIA_META,{metadata:g})}function Q(g){if(ap){return}if(g!==undefined&&g.target!==undefined){if(aw.duration===0||isNaN(aw.duration)){aw.duration=Math.round(g.target.duration*10)/10}if(!ac&&af.readyState>0){ak(e.api.events.state.PLAYING)}if(aA==e.api.events.state.PLAYING){if(!ac&&af.readyState>0){ac=true;try{af.currentTime=aw.playlist[aw.item].start}catch(h){}af.volume=aw.volume/100;af.muted=aw.mute}aw.position=Math.round(g.target.currentTime*10)/10;S.sendEvent(e.api.events.JWPLAYER_MEDIA_TIME,{position:g.target.currentTime,duration:g.target.duration})}}ab(g)}function ad(){if(W===false&&aA==e.api.events.state.BUFFERING){S.sendEvent(e.api.events.JWPLAYER_MEDIA_BUFFER_FULL);W=true}}function V(){var g=(av[av.length-1]-av[0])/av.length;a=setTimeout(function(){if(!U){ab({lengthComputable:true,loaded:1,total:1})}},g*10)}function ab(g){var h,i;if(g!==undefined&&g.lengthComputable&&g.total){ao();h=g.loaded/g.total*100;i=h/100*(aw.duration-af.currentTime);if(50<h&&!U){clearTimeout(a);V()}}else{if((af.buffered!==undefined)&&(af.buffered.length>0)){maxBufferIndex=0;if(maxBufferIndex>=0){h=af.buffered.end(maxBufferIndex)/af.duration*100;i=af.buffered.end(maxBufferIndex)-af.currentTime}}}ad();if(!U){if(h==100&&U===false){U=true}if(h!==null&&(h>aw.buffer)){aw.buffer=Math.round(h);S.sendEvent(e.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:Math.round(h)})}}}function ag(){if(aa===null){aa=setInterval(function(){Q()},100)}}function an(){clearInterval(aa);aa=null}function ar(g){var h="There was an error: ";if((g.target.error&&g.target.tagName.toLowerCase()=="video")||g.target.parentNode.error&&g.target.parentNode.tagName.toLowerCase()=="video"){var i=g.target.error===undefined?g.target.parentNode.error:g.target.error;switch(i.code){case i.MEDIA_ERR_ABORTED:h="You aborted the video playback: ";break;case i.MEDIA_ERR_NETWORK:h="A network error caused the video download to fail part-way: ";break;case i.MEDIA_ERR_DECODE:h="The video playback was aborted due to a corruption problem or because the video used features your browser did not support: ";break;case i.MEDIA_ERR_SRC_NOT_SUPPORTED:h="The video could not be loaded, either because the server or network failed or because the format is not supported: ";break;default:h="An unknown error occurred: ";break}}else{if(g.target.tagName.toLowerCase()=="source"){c--;if(c>0){return}h="The video could not be loaded, either because the server or network failed or because the format is not supported: "}else{e.utils.log("Erroneous error received. Continuing...");return}}ai();h+=au();Y=true;S.sendEvent(e.api.events.JWPLAYER_ERROR,{error:h});return}function au(){var h="";for(var i in b.levels){var j=b.levels[i];var g=af.ownerDocument.createElement("source");h+=e.utils.getAbsolutePath(j.file);if(i<(b.levels.length-1)){h+=", "}}return h}this.getDisplayElement=function(){return af};this.play=function(){if(aA!=e.api.events.state.PLAYING){if(af.style.display!="block"){af.style.display="block"}af.play();ag();if(W){ak(e.api.events.state.PLAYING)}}};this.pause=function(){af.pause();ak(e.api.events.state.PAUSED)};this.seek=function(g){if(!(aw.duration===0||isNaN(aw.duration))&&!(aw.position===0||isNaN(aw.position))){af.currentTime=g;af.play()}};function ai(){af.pause();af.removeAttribute("src");var h=af.getElementsByTagName("source");for(var g=0;g<h.length;g++){af.removeChild(h[g])}if(typeof af.load=="function"){af.load()}an();aw.position=0;ap=true;ak(e.api.events.state.IDLE)}this.stop=ai;this.volume=function(g){af.volume=g/100;aw.volume=g;S.sendEvent(e.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(g)})};this.mute=function(g){af.muted=g;aw.mute=g;S.sendEvent(e.api.events.JWPLAYER_MEDIA_MUTE,{mute:g})};this.resize=function(g,h){if(false){d(af,{width:g,height:h})}S.sendEvent(e.api.events.JWPLAYER_MEDIA_RESIZE,{fullscreen:aw.fullscreen,width:g,hieght:h})};this.fullscreen=function(g){if(g===true){this.resize("100%","100%")}else{this.resize(aw.config.width,aw.config.height)}};this.load=function(g){R(g);S.sendEvent(e.api.events.JWPLAYER_MEDIA_LOADED);W=false;U=false;ac=false;if(!aw.config.chromeless&&!al){av=[];ao();ak(e.api.events.state.BUFFERING);setTimeout(function(){Q()},25)}};function ao(){var g=new Date().getTime();av.push(g)}this.hasChrome=function(){return al};function R(g){switch(g.provider){case"youtube":at(g);break;default:Z(g,document.createElement("video"));break}}function Z(n,h){aw.duration=n.duration;al=false;b=n;h.preload="none";h.setAttribute("x-webkit-airplay","allow");Y=false;c=0;for(var l=0;l<n.levels.length;l++){var m=n.levels[l];var k;var g=e.utils.extension(m.file);if(m.type===undefined){if(e.utils.extensionmap[g]!==undefined&&e.utils.extensionmap[g].html5!==undefined){k=e.utils.extensionmap[g].html5}}else{k=m.type}if(!k||h.canPlayType(k)||(e.utils.isLegacyAndroid()&&g.match(/m4v|mp4/))){var i=af.ownerDocument.createElement("source");i.src=e.utils.getAbsolutePath(m.file);if(k&&!e.utils.isLegacyAndroid()){i.type=k}c++;h.appendChild(i)}}if(c===0){Y=true;S.sendEvent(e.api.events.JWPLAYER_ERROR,{error:"The media could not be loaded because the format is not supported by your browser: "+au()})}if(aw.config.chromeless){h.poster=e.utils.getAbsolutePath(n.image);h.controls="controls"}h.style.top=af.style.top;h.style.left=af.style.left;h.style.width=af.style.width;h.style.height=af.style.height;h.style.zIndex=af.style.zIndex;h.onload=az;h.volume=0;af.parentNode.replaceChild(h,af);h.id=af.id;af=h;for(var j in T){af.addEventListener(j,function(o){if(o.target.parentNode!==null){T[o.type](o)}},true)}}function at(o){var g=o.levels[0].file;var l=document.createElement("object");g=["http://www.youtube.com/v/",ae(g),"&amp;hl=en_US&amp;fs=1&autoplay=1"].join("");var i={movie:g,allowFullScreen:"true",allowscriptaccess:"always"};for(var m in i){var n=document.createElement("param");n.name=m;n.value=i[m];l.appendChild(n)}var h=document.createElement("embed");var k={src:g,type:"application/x-shockwave-flash",allowscriptaccess:"always",allowfullscreen:"true",width:document.getElementById(ay.id).style.width,height:document.getElementById(ay.id).style.height};for(var j in k){h[j]=k[j]}l.appendChild(h);l.style.position=af.style.position;l.style.top=af.style.top;l.style.left=af.style.left;l.style.width=document.getElementById(ay.id).style.width;l.style.height=document.getElementById(ay.id).style.height;l.style.zIndex=2147483000;af.parentNode.replaceChild(l,af);l.id=af.id;af=l;al=true}function ae(i){var j=i.split(/\?|\#\!/);var g="";for(var h=0;h<j.length;h++){if(j[h].substr(0,2)=="v="){g=j[h].substr(2)}}if(g==""){if(i.indexOf("/v/")>=0){g=i.substr(i.indexOf("/v/")+3)}else{if(i.indexOf("youtu.be")>=0){g=i.substr(i.indexOf("youtu.be/")+9)}else{g=i}}}if(g.indexOf("?")>-1){g=g.substr(0,g.indexOf("?"))}if(g.indexOf("&")>-1){g=g.substr(0,g.indexOf("&"))}return g}this.embed=R;return this}})(jwplayer);(function(jwplayer){var _configurableStateVariables=["width","height","start","duration","volume","mute","fullscreen","item","plugins","stretching"];jwplayer.html5.model=function(api,container,options){var _api=api;var _container=container;var _model={id:_container.id,playlist:[],state:jwplayer.api.events.state.IDLE,position:0,buffer:0,config:{width:480,height:320,item:-1,skin:undefined,file:undefined,image:undefined,start:0,duration:0,bufferlength:5,volume:90,mute:false,fullscreen:false,repeat:"none",stretching:jwplayer.utils.stretching.UNIFORM,autostart:false,debug:undefined,screencolor:undefined}};var _media;var _eventDispatcher=new jwplayer.html5.eventdispatcher();var _components=["display","logo","controlbar","dock"];jwplayer.utils.extend(_model,_eventDispatcher);for(var option in options){if(typeof options[option]=="string"){var type=/color$/.test(option)?"color":null;options[option]=jwplayer.utils.typechecker(options[option],type)}var config=_model.config;var path=option.split(".");for(var edge in path){if(edge==path.length-1){config[path[edge]]=options[option]}else{if(config[path[edge]]===undefined){config[path[edge]]={}}config=config[path[edge]]}}}for(var index in _configurableStateVariables){var configurableStateVariable=_configurableStateVariables[index];_model[configurableStateVariable]=_model.config[configurableStateVariable]}var pluginorder=_components.concat([]);if(_model.plugins!==undefined){if(typeof _model.plugins=="string"){var userplugins=_model.plugins.split(",");for(var userplugin in userplugins){if(typeof userplugins[userplugin]=="string"){pluginorder.push(userplugins[userplugin].replace(/^\s+|\s+$/g,""))}}}}if(typeof _model.config.chromeless=="undefined"&&jwplayer.utils.isIOS()){_model.config.chromeless=true}if(_model.config.chromeless){pluginorder=["logo"];if(_model.config.repeat===undefined||_model.config.repeat=="none"){_model.config.repeat="list"}}_model.plugins={order:pluginorder,config:{},object:{}};if(typeof _model.config.components!="undefined"){for(var component in _model.config.components){_model.plugins.config[component]=_model.config.components[component]}}for(var pluginIndex in _model.plugins.order){var pluginName=_model.plugins.order[pluginIndex];var pluginConfig=_model.config[pluginName]===undefined?{}:_model.config[pluginName];_model.plugins.config[pluginName]=_model.plugins.config[pluginName]===undefined?pluginConfig:jwplayer.utils.extend(_model.plugins.config[pluginName],pluginConfig);if(typeof _model.plugins.config[pluginName].position=="undefined"){_model.plugins.config[pluginName].position=jwplayer.html5.view.positions.OVER}else{_model.plugins.config[pluginName].position=_model.plugins.config[pluginName].position.toString().toUpperCase()}}if(typeof _model.plugins.config.dock!="undefined"){if(typeof _model.plugins.config.dock!="object"){var position=_model.plugins.config.dock.toString().toUpperCase();_model.plugins.config.dock={position:position}}if(typeof _model.plugins.config.dock.position!="undefined"){_model.plugins.config.dock.align=_model.plugins.config.dock.position;_model.plugins.config.dock.position=jwplayer.html5.view.positions.OVER}}_model.loadPlaylist=function(arg,ready){var input;if(typeof arg=="string"){try{input=eval(arg)}catch(err){input=arg}}else{input=arg}var config;switch(jwplayer.utils.typeOf(input)){case"object":config=input;break;case"array":config={playlist:input};break;default:config={file:input};break}_model.playlist=new jwplayer.html5.playlist(config);if(_model.config.shuffle){_model.item=_getShuffleItem()}else{if(_model.config.item>=_model.playlist.length){_model.config.item=_model.playlist.length-1}else{if(_model.config.item<0){_model.config.item=0}}_model.item=_model.config.item}if(!ready){_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:_model.playlist})}_model.setActiveMediaProvider(_model.playlist[_model.item])};function _getShuffleItem(){var result=null;if(_model.playlist.length>1){while(result===null){result=Math.floor(Math.random()*_model.playlist.length);if(result==_model.item){result=null}}}else{result=0}return result}function forward(evt){if(evt.type==jwplayer.api.events.JWPLAYER_MEDIA_LOADED){_container=_media.getDisplayElement()}_eventDispatcher.sendEvent(evt.type,evt)}_model.setActiveMediaProvider=function(playlistItem){if(_media!==undefined){_media.resetEventListeners()}_media=new jwplayer.html5.mediavideo(_model,_container);_media.addGlobalListener(forward);if(_model.config.chromeless){_media.load(playlistItem)}return true};_model.getMedia=function(){return _media};_model.seek=function(pos){_eventDispatcher.sendEvent(jwplayer.api.events.JWPLAYER_MEDIA_SEEK,{position:_model.position,offset:pos});return _media.seek(pos)};_model.setupPlugins=function(){for(var plugin in _model.plugins.order){try{var pluginName=_model.plugins.order[plugin];if(jwplayer.html5[pluginName]!==undefined){_model.plugins.object[pluginName]=new jwplayer.html5[pluginName](_api,_model.plugins.config[pluginName])}else{_model.plugins.order.splice(plugin,plugin+1)}}catch(err){jwplayer.utils.log("Could not setup "+pluginName)}}};return _model}})(jwplayer);(function(b){b.html5.playlist=function(a){var e=[];if(a.playlist&&a.playlist instanceof Array&&a.playlist.length>0){for(var f in a.playlist){if(!isNaN(parseInt(f))){e.push(new b.html5.playlistitem(a.playlist[f]))}}}else{e.push(new b.html5.playlistitem(a))}return e}})(jwplayer);(function(c){c.html5.playlistitem=function(b){var a={author:"",date:"",description:"",image:"",link:"",mediaid:"",tags:"",title:"",provider:"",file:"",streamer:"",duration:-1,start:0,currentLevel:-1,levels:[]};var f=c.utils.extend({},a,b);if(f.type){f.provider=f.type;delete f.type}if(f.levels.length===0){f.levels[0]=new c.html5.playlistitemlevel(f)}if(!f.provider){f.provider=d(f.levels[0])}else{f.provider=f.provider.toLowerCase()}return f};function d(b){if(c.utils.isYouTube(b.file)){return"youtube"}else{var a=c.utils.extension(b.file);var h;if(a&&c.utils.extensionmap[a]){h=c.utils.extensionmap[a].html5}else{if(b.type){h=b.type}}if(h){var g=h.split("/")[0];if(g=="audio"){return"sound"}else{if(g=="video"){return g}}}}return""}})(jwplayer);(function(b){b.html5.playlistitemlevel=function(a){var e={file:"",streamer:"",bitrate:0,width:0};for(var f in e){if(a[f]!==undefined){e[f]=a[f]}}return e}})(jwplayer);(function(b){b.html5.skin=function(){var a={};var d=false;this.load=function(f,c){new b.html5.skinloader(f,function(e){d=true;a=e;c()},function(){new b.html5.skinloader("",function(e){d=true;a=e;c()})})};this.getSkinElement=function(h,g){if(d){try{return a[h].elements[g]}catch(c){b.utils.log("No such skin component / element: ",[h,g])}}return null};this.getComponentSettings=function(c){if(d){return a[c].settings}return null};this.getComponentLayout=function(c){if(d){return a[c].layout}return null}}})(jwplayer);(function(b){b.html5.skinloader=function(B,t,y){var u={};var E=t;var x=y;var C=true;var z;var v=B;var a=false;function w(){if(typeof v!="string"||v===""){D(b.html5.defaultSkin().xml)}else{b.utils.ajax(b.utils.getAbsolutePath(v),function(d){try{if(d.responseXML!==null){D(d.responseXML);return}}catch(c){}D(b.html5.defaultSkin().xml)},function(c){D(b.html5.defaultSkin().xml)})}}function D(n){var V=n.getElementsByTagName("component");if(V.length===0){return}for(var q=0;q<V.length;q++){var X=V[q].getAttribute("name");var h={settings:{},elements:{},layout:{}};u[X]=h;var R=V[q].getElementsByTagName("elements")[0].getElementsByTagName("element");for(var T=0;T<R.length;T++){F(R[T],X)}var l=V[q].getElementsByTagName("settings")[0];if(l!==undefined&&l.childNodes.length>0){var k=l.getElementsByTagName("setting");for(var d=0;d<k.length;d++){var c=k[d].getAttribute("name");var o=k[d].getAttribute("value");var p=/color$/.test(c)?"color":null;u[X].settings[c]=b.utils.typechecker(o,p)}}var i=V[q].getElementsByTagName("layout")[0];if(i!==undefined&&i.childNodes.length>0){var g=i.getElementsByTagName("group");for(var P=0;P<g.length;P++){var j=g[P];u[X].layout[j.getAttribute("position")]={elements:[]};for(var e=0;e<j.attributes.length;e++){var W=j.attributes[e];u[X].layout[j.getAttribute("position")][W.name]=W.value}var f=j.getElementsByTagName("*");for(var Q=0;Q<f.length;Q++){var U=f[Q];u[X].layout[j.getAttribute("position")].elements.push({type:U.tagName});for(var S=0;S<U.attributes.length;S++){var m=U.attributes[S];u[X].layout[j.getAttribute("position")].elements[Q][m.name]=m.value}if(u[X].layout[j.getAttribute("position")].elements[Q].name===undefined){u[X].layout[j.getAttribute("position")].elements[Q].name=U.tagName}}}}C=false;r()}}function r(){clearInterval(z);if(!a){z=setInterval(function(){s()},100)}}function F(d,e){var f=new Image();var i=d.getAttribute("name");var g=d.getAttribute("src");var j;if(g.indexOf("data:image/png;base64,")===0){j=g}else{var h=b.utils.getAbsolutePath(v);var c=h.substr(0,h.lastIndexOf("/"));j=[c,e,g].join("/")}u[e].elements[i]={height:0,width:0,src:"",ready:false};f.onload=function(k){A(f,i,e)};f.onerror=function(k){a=true;r();x()};f.src=j}function s(){for(var d in u){if(d!="properties"){for(var c in u[d].elements){if(!u[d].elements[c].ready){return}}}}if(C===false){clearInterval(z);E(u)}}function A(e,c,d){u[d].elements[c].height=e.height;u[d].elements[c].width=e.width;u[d].elements[c].src=e.src;u[d].elements[c].ready=true;r()}w()}})(jwplayer);(function(b){b.html5.api=function(v,a){var m={};var r=document.createElement("div");v.parentNode.replaceChild(r,v);r.id=v.id;m.version=b.version;m.id=r.id;var n=new b.html5.model(m,r,a);var p=new b.html5.view(m,r,n);var o=new b.html5.controller(m,r,n,p);m.skin=new b.html5.skin();m.jwPlay=function(c){if(typeof c=="undefined"){s()}else{if(c.toString().toLowerCase()=="true"){o.play()}else{o.pause()}}};m.jwPause=function(c){if(typeof c=="undefined"){s()}else{if(c.toString().toLowerCase()=="true"){o.pause()}else{o.play()}}};function s(){if(n.state==b.api.events.state.PLAYING||n.state==b.api.events.state.BUFFERING){o.pause()}else{o.play()}}m.jwStop=o.stop;m.jwSeek=o.seek;m.jwPlaylistItem=o.item;m.jwPlaylistNext=o.next;m.jwPlaylistPrev=o.prev;m.jwResize=o.resize;m.jwLoad=o.load;function q(c){return function(){return n[c]}}function t(c,d,e){return function(){var f=n.plugins.object[c];if(f&&f[d]&&typeof f[d]=="function"){f[d].apply(f,e)}}}m.jwGetItem=q("item");m.jwGetPosition=q("position");m.jwGetDuration=q("duration");m.jwGetBuffer=q("buffer");m.jwGetWidth=q("width");m.jwGetHeight=q("height");m.jwGetFullscreen=q("fullscreen");m.jwSetFullscreen=o.setFullscreen;m.jwGetVolume=q("volume");m.jwSetVolume=o.setVolume;m.jwGetMute=q("mute");m.jwSetMute=o.setMute;m.jwGetStretching=q("stretching");m.jwGetState=q("state");m.jwGetVersion=function(){return m.version};m.jwGetPlaylist=function(){return n.playlist};m.jwGetPlaylistIndex=m.jwGetItem;m.jwAddEventListener=o.addEventListener;m.jwRemoveEventListener=o.removeEventListener;m.jwSendEvent=o.sendEvent;m.jwDockSetButton=function(d,c,f,e){if(n.plugins.object.dock&&n.plugins.object.dock.setButton){n.plugins.object.dock.setButton(d,c,f,e)}};m.jwShowControlbar=t("controlbar","show");m.jwHideControlbar=t("controlbar","hide");m.jwShowDock=t("dock","show");m.jwHideDock=t("dock","hide");m.jwShowDisplay=t("display","show");m.jwHideDisplay=t("display","hide");m.jwGetLevel=function(){};m.jwGetBandwidth=function(){};m.jwGetLockState=function(){};m.jwLock=function(){};m.jwUnlock=function(){};function u(d,e,c){return function(){d.loadPlaylist(d.config,true);d.setupPlugins();e.setup(d.getMedia().getDisplayElement());var f={id:m.id,version:m.version};c.sendEvent(b.api.events.JWPLAYER_READY,f);if(playerReady!==undefined){playerReady(f)}if(window[d.config.playerReady]!==undefined){window[d.config.playerReady](f)}d.sendEvent(b.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:d.playlist});c.item(d.item)}}if(n.config.chromeless){setTimeout(u(n,p,o),25)}else{m.skin.load(n.config.skin,u(n,p,o))}return m}})(jwplayer)};
