"undefined"==typeof jwplayer&&(jwplayer=function(f){if(jwplayer.api)return jwplayer.api.selectPlayer(f)},jwplayer.version="6.2.3115",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(f){function a(a){return function(){return b(a)}}var j=document,e=window,c=navigator,d=f.utils=function(){};d.exists=function(a){switch(typeof a){case "string":return 0l||l>c)}else c=void 0;if(c)return a;c=b.substring(0,b.indexOf("://")+3);var l=b.substring(c.length,b.indexOf("/",c.length+1)),e;0===a.indexOf("/")?e=a.split("/"):(e=b.split("?")[0],e=e.substring(c.length+l.length+1,e.lastIndexOf("/")),e=e.split("/").concat(a.split("/"))); for(var g=[],r=0;rb&&0>c&&(!a||!isNaN(a))?l.CDN:l.RELATIVE}};d.getPluginName=function(a){return a.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};d.getPluginVersion=function(a){return a.replace(/[^-]*-?([^\.]*).*$/,"$1")};d.isYouTube= function(a){return-1=b.length&&(b[1]=0);for(var l=a.strToLongs(e.encode(d).slice(0,16)),h=b.length,f=b[h-1],m=b[0],q,k=Math.floor(6+52/h),g=0;0>>2&3;for(var r=0;r>>5^m<<2)+(m>>>3^f<<4)^(g^m)+(l[r&3^q]^f),f=b[r]+=f}b=a.longsToStr(b);return j.encode(b)};a.decrypt=function(c,d){if(0==c.length)return"";for(var b=a.strToLongs(j.decode(c)),l=a.strToLongs(e.encode(d).slice(0,16)),h=b.length,f=b[h-1],m=b[0],q,k=2654435769* Math.floor(6+52/h);0!=k;){q=k>>>2&3;for(var g=h-1;0<=g;g--)f=b[0>>5^m<<2)+(m>>>3^f<<4)^(k^m)+(l[g&3^q]^f),m=b[g]-=f;k-=2654435769}b=a.longsToStr(b);b=b.replace(/\0+$/,"");return e.decode(b)};a.strToLongs=function(a){for(var d=Array(Math.ceil(a.length/4)),b=0;b>>8&255,a[b]>>>16&255,a[b]>>>24&255);return d.join("")};var j={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d",encode:function(a,d){var b,l,h,f,m=[],q="",k,g,r=j.code;g=("undefined"==typeof d?0:d)?e.encode(a):a;k=g.length%3;if(0k++;)q+="\x3d",g+="\x00";for(k=0;k>18&63,l=f>>12&63,h=f>>6&63,f&=63,m[k/3]=r.charAt(b)+r.charAt(l)+r.charAt(h)+r.charAt(f);m=m.join(""); return m=m.slice(0,m.length-q.length)+q},decode:function(a,d){d="undefined"==typeof d?!1:d;var b,l,h,f,m,q=[],k,g=j.code;k=d?e.decode(a):a;for(var r=0;r>>16&255,l=h>>>8&255,h&=255,q[r/4]=String.fromCharCode(b,l,h),64==m&&(q[r/4]=String.fromCharCode(b,l)),64==f&&(q[r/4]=String.fromCharCode(b));f=q.join("");return d?e.decode(f):f}},e={encode:function(a){a= a.replace(/[\u0080-\u07ff]/g,function(a){a=a.charCodeAt(0);return String.fromCharCode(192|a>>6,128|a&63)});return a=a.replace(/[\u0800-\uffff]/g,function(a){a=a.charCodeAt(0);return String.fromCharCode(224|a>>12,128|a>>6&63,128|a&63)})},decode:function(a){a=a.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(a){a=(a.charCodeAt(0)&15)<<12|(a.charCodeAt(1)&63)<<6|a.charCodeAt(2)&63;return String.fromCharCode(a)});return a=a.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(a){a=(a.charCodeAt(0)& 31)<<6|a.charCodeAt(1)&63;return String.fromCharCode(a)})}}}(jwplayer.utils),function(f){f.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_COMPONENT_SHOW:"jwplayerComponentShow",JWPLAYER_COMPONENT_HIDE:"jwplayerComponentHide", 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_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged", JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked", JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed"}}(jwplayer),function(f){var a=jwplayer.utils;f.eventdispatcher=function(f,e){var c,d;this.resetEventListeners=function(){c={};d=[]};this.resetEventListeners();this.addEventListener=function(b,d,e){try{a.exists(c[b])||(c[b]=[]),"string"==a.typeOf(d)&&(d=(new Function("return "+d))()),c[b].push({listener:d,count:e})}catch(f){a.log("error",f)}return!1};this.removeEventListener=function(b,d){if(c[b]){try{for(var e=0;eparseFloat(f.version)))n=!0,m="Incompatible player version",d()}0==b&&d()}}var l=a.loaderstatus.NEW,h=!1,n=!1,m,q=c,k=new j.eventdispatcher;a.extend(this,k);this.setupPlugins=function(b,d,c){var g={length:0,plugins:{}},f=0,l={},h=e.getPlugins(),j;for(j in d.plugins){var k=a.getPluginName(j),m=h[k],B=m.getFlashPath(), n=m.getJS(),q=m.getURL();B&&(g.plugins[B]=a.extend({},d.plugins[j]),g.plugins[B].pluginmode=m.getPluginmode(),g.length++);try{if(n&&d.plugins&&d.plugins[q]){var v=document.createElement("div");v.id=b.id+"_"+k;v.style.position="absolute";v.style.top=0;v.style.zIndex=f+10;l[k]=m.getNewInstance(b,a.extend({},d.plugins[q]),v);f++;b.onReady(c(l[k],v,!0));b.onResize(c(l[k],v))}}catch(C){console.log("ERROR: Failed to load "+k+".")}}b.plugins=l;return g};this.load=function(){if(!(a.exists(c)&&"object"!=a.typeOf(c))){l= a.loaderstatus.LOADING;for(var d in c)if(a.exists(d)){var f=e.addPlugin(d);f.addEventListener(j.COMPLETE,b);f.addEventListener(j.ERROR,g)}f=e.getPlugins();for(d in f)f[d].load()}b()};var g=this.pluginFailed=function(){n||(n=!0,m="File not found",d())};this.getStatus=function(){return l}}}(jwplayer),function(f){f.playlist=function(a){var j=[];if("array"==f.utils.typeOf(a))for(var e=0;en.playlist.length&&(0==n.playlist.length||!n.playlist[0].sources||0==n.playlist[0].sources.length))l();else if(s.getStatus()==a.loaderstatus.COMPLETE){for(var g=0;gg)return k.sendEvent(j.ERROR,{message:"Flash version must be 10.0 or greater"}), !1;var f,p=a.extend({},b);c.id+"_wrapper"==c.parentNode.id?document.getElementById(c.id+"_wrapper"):(f=document.createElement("div"),f.id=c.id+"_wrapper",f.style.position="relative",f.style.width=a.styleDimension(p.width),f.style.height=a.styleDimension(p.height),c.parentNode.replaceChild(f,c),f.appendChild(c));f=l.setupPlugins(h,p,m);0=p.height?"transparent":"opaque";for(var s="height width modes events primary base fallback volume".split(" "),u=0;u