(function(g){var n=g.sharing={},e=g.utils,l=window;g().registerPlugin("sharing","6.0",function(h,b,a){function j(){var a=B+encodeURIComponent(r);l.open(a,"_blank");l.focus();return!1}function d(f){setTimeout(g,200);a.style.opacity=0;h.setControls(!0);f=h.getPlaylist()[f.index];p=void 0;b.code&&(0<b.code.indexOf("MEDIAID")&&f.mediaid?p=b.code.replace("MEDIAID",f.mediaid):-1==b.code.indexOf("MEDIAID")&&(p=b.code));p&&"%3C"==p.substr(0,3)&&(p=decodeURIComponent(p));r=l.location.toString();l.top!=l&& (r=document.referrer);b.link&&(0<b.link.indexOf("MEDIAID")&&f.mediaid?r=b.link.replace("MEDIAID",f.mediaid):-1==b.link.indexOf("MEDIAID")&&(r=b.link));m&&(s.setText(p),u.setText(r),p?(c(s.getDiv(),{left:"0px",top:"30px",display:"block"}),c(u.getDiv(),{left:"0px",top:"72px"}),c(v,{left:"80px",top:"114px"}),c(w,{left:"120px",top:"114px"}),c(x,{left:"160px",top:"114px"})):(c(s.getDiv(),{display:"none"}),c(u.getDiv(),{left:"0px",top:"30px"}),c(v,{left:"80px",top:"72px"}),c(w,{left:"120px",top:"72px"}), c(x,{left:"160px",top:"72px"})),q())}function q(){t=[a.clientWidth,a.clientHeight];c(a,{backgroundPosition:t[0]-32+"px 18px,center center"});s.resize(t[0]);u.resize(t[0]);var f=Math.round(t[0]/2-s.getWidth()/2),b=Math.round(t[1]/2-50);p&&(b-=20);c(m,{left:f+"px",top:b+"px"})}function k(f){z&&clearInterval(z);f.target==a&&(setTimeout(g,200),a.style.opacity=0,h.setControls(!0))}function g(){a.style.visibility="hidden"}function c(a,f){e.foreach(f,function(f,b){a.style[f]=b})}function A(){var a=C+encodeURIComponent(r); l.open(a,"_blank");l.focus();return!1}function f(){var a="mailto:?body\x3d"+encodeURIComponent(r);l.open(a,"_blank");l.focus();return!1}var p,s,t,v,B="http://www.facebook.com/sharer/sharer.php?u\x3d",m,y,r,u,w,C="http://twitter.com/intent/tweet?url\x3d",x,z;this.resize=function(){"flash"!=h.getRenderingMode()&&m&&q()};h.onReady(function(){"flash"!=h.getRenderingMode()&&(b.heading="string"==e.typeOf(b.heading)?b.heading:"Share Video",h.onPlaylistItem(d),h.addButton("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMxJREFUeNpiYCAR/P//nx+I1/9HgP0gMQYyDKr/jwn2k2PQfSwG/WchwQB/IBUAxAp4FQHxfCDuB2J9JHF9qNj7//jBe5DieCwSIM3nsYiDAjkfi8HxjGDTGBgE8PjqAhAvAGFGRsaPUJfKA6kEqPwGoPhFBjzORfEmIcCERw4UqB9Iic75BAJyPtQrILX20HSUj5EIoSkVZth7qJfssaSX9egxBbOAGNfG40qAMNdSI1ugZA0mIs3awEAtgMOL8eQYpI9mWD+yPECAAQD6jshl3zhTjgAAAABJRU5ErkJggg\x3d\x3d", b.heading,function(){"PLAYING"==h.getState()&&h.pause();q();z=setInterval(function(){a.clientWidth!=t[0]&&q()},250);a.style.visibility="visible";a.style.opacity=1;h.setControls(!1)},"share"),a.style.visibility="hidden",e.isMobile()?(new e.touch(a)).addEventListener(e.touchEvents.TAP,function(a){k(a)}):a.onclick=k,c(a,{backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAItJREFUeNp8kUEOABEMRXUysXQnJ5k5GidxAmcxsbQxmiAlLUlD/df6UDnn1KK2eJQwUOtMAlwQ7TXG+B1ukxv5hRDRHT1ph5EFSRgN9tPh0E2drO6Xo7E8xk2TGKPSWi9NSilLPi2FEI6WrLV+FjAwe2ksAg4e3TgNCyoHS1bx4z4JxtH3hsXvF2AAnU9uUtSy19QAAAAASUVORK5CYII\x3d),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEdJREFUeNpilpSUvMHEwMDwn+k/EEBY+LkwFgMuCWINwDCPVB30cBoDaTpgBMMoQU2CkYkRCCAsNC6pEgyUGoBHYvA6DSDAAOnHjLU15EHNAAAAAElFTkSuQmCC)", backgroundPosition:"right top,center center",backgroundRepeat:"no-repeat,no-repeat",backgroundSize:"auto auto,100% 100%",opacity:0,"z-index":101,webkitTransition:"opacity 250ms linear",mozTransition:"opacity 250ms linear",msTransition:"opacity 250ms linear",oTransition:"opacity 250ms linear",transition:"opacity 250ms linear",cursor:"pointer",width:"100%",height:"100%"}),m=document.createElement("div"),a.appendChild(m),c(m,{cursor:"default",position:"absolute",border:"none",width:"320px"}),y=document.createElement("div"), y.innerHTML=b.heading,c(y,{position:"absolute",border:"none",color:"#FFF",display:"block",font:"15px Arial",overflow:"hidden",width:"230px",height:"20px",left:"80px",margin:"0 0 0 0",textTransform:"none",textShadow:"#000 1px 1px 0",padding:"0 0 0 0"}),m.appendChild(y),s=new n.row("Embed code"),m.appendChild(s.getDiv()),u=new n.row("Video link"),m.appendChild(u.getDiv()),v=n.shortcut("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARlJREFUeNpiTKzdzEAbwPL/PwPtjP4/FF3NQDOj/5Hl7O9fv3//9v3d63fIgipaKqiu/key0UATFSW5jSzVUyIskcWjKzZS5GqgY4Nc1VMjrDCl0Iwi2WhVWX6s5mIxmtTEpyYrgEvqP7qrSQzrZKTw/fP336odV24+/HD17musKYS0OGRiZERoZma68fDDlTuvqZn44ODS7VeUZvQndx5gFX98+z6cLaOiQE5Yn91SSlDcN28VNQOEmumaBKMpKVSBZsETzJJtVzDTNVGmuGUuhzB2TY9ETohwceonPjzaaWk0GYUqSrnxb0Bc/ePrV0qMxqOdRUVVmhKj8Whn+fXjFyVG49HORLMKfYgazUKqhtCytUSqBAgwAPLTpnqcD79pAAAAAElFTkSuQmCC", "Facebook",j),m.appendChild(v),w=n.shortcut("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcpJREFUeNpiXPX1OwNtABMDzQDL/380M/ofAw2N/j8UwxqHoy9cuN3Ttpzh2w8GLo6M3AAbWz2Sjf6LI0D6J25hEJJhEGZi+P9v9oJ9lra6pIc1Dlf/5RFjYGSEslnZb995rqwsSaqrcQAODmSeID/XX9LTNY7kx8aGzBMR4f/17x91XM3Izo7MjU+fgUURF2tOqpuOhjRpYc3AiuJqRkVNLGr+/5+x9MSkpmASswyqq3GBv2xSuEzAndFRwxoX4GHHaQLLX1x5hpWdGHPbfRR//yfV1eworj6WiSU3/vn/78b37z///MNhNC6z2VBcfeTDZzJKvn/EpJDTt18bqwqTmK5xJT52lNy49szj/4yMXOysQLacGCcnGwsFGZ2NFZn3T1xh9ZknDH//gDi/fjL8Belj52bxsZAzUODHVahid7akAOfL76hScmpoan79/rnx8kt9eT7SUkiEEsvE24wE6hE2tv9c3P8YfpCWrlWEfrvJ8Ox6RcB0MXaGv/+/kxbWT379jpb/oSvIufgZw6ufOM2tVv7z7DfpjYWrX77LcP6Zo8PBwYjd7T/+/7/45SsuE4CuxlcKP/n5E4gGX43+j1bNEFq6GiDAAP9eqmJ8yUAWAAAAAElFTkSuQmCC", "Twitter",A),m.appendChild(w),x=n.shortcut("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAIAAAC0Ujn1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA9pJREFUeNqslllLa0EMxzvTqnVfaF9cUBRFBDf02e/pt3F/EtxAEEEUxA0fxF1Pa/2d82/jOL334cINeJqZJP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U1PaJaBCuaAAFWfIfxdXFxwxQ8PD1aCclzXJSwrTU2bsNp0b/Qkxzw9PQEFYPofBD/UP/3W/KyEbflHHn/tDsJ9xgMPrKcb9b6EvaNCtNFMsFFtaWnRhC8GUAQNbGFvb895Vy6VaVzVo3mtZfO/egKVyL6mj083NzfAfgswACBs40J0KAZ5AAAAAElFTkSuQmCC", "Email",f),m.appendChild(x))})})})(jwplayer); (function(g){var n=jwplayer.utils;g.row=function(e){function l(){a(d,g);a(k,g)}function h(){a(d,c);a(k,c)}function b(a){d.select();a.preventDefault()}function a(a,b){n.foreach(b,function(b,c){a.style[b]=c})}var j,d,q,k,g={webkitBoxShadow:"0 0 4px #FFFFFF",MozBoxShadow:"0 0 4px #FFFFFF",msBoxShadow:"0 0 4px #FFFFFF",oBoxShadow:"0 0 4px #FFFFFF",boxShadow:"0 0 4px #FFFFFF"},c={webkitBoxShadow:"0 0 4px #000",MozBoxShadow:"0 0 4px #000",msBoxShadow:"0 0 4px #000",oBoxShadow:"0 0 4px #000",boxShadow:"0 0 4px #000"}; this.getDiv=function(){return j};this.setText=function(a){d.setAttribute("value",a)};this.getWidth=function(){return parseInt(k.style.left)+50};this.resize=function(b){b-=230;100>b?b=100:400<b&&(b=400);var c=89+b;a(d,{width:b+"px"});a(k,{left:c+"px"})};j=document.createElement("div");a(j,{border:"none",position:"absolute",left:"0px",width:"312px",height:"30px",margin:"0 0 0 0",padding:"0 0 0 0"});q=document.createElement("label");q.innerHTML=e;j.appendChild(q);a(q,{border:"none",color:"#FFF",display:"block", font:"12px Arial",overflow:"hidden",width:"74px",position:"absolute",top:"10px",left:"0px",textAlign:"right",textTransform:"none",padding:"0 0 0 0"});d=document.createElement("input");d.setAttribute("type","text");try{document.createEvent("TouchEvent")}catch(A){d.setAttribute("readonly","readonly")}a(d,{position:"absolute",left:"80px",top:"0px",font:"11px Arial",webkitBoxShadow:"0 0 4px #000",MozBoxShadow:"0 0 4px #000",msBoxShadow:"0 0 4px #000",oBoxShadow:"0 0 4px #000",boxShadow:"0 0 4px #000", padding:"0px 5px",background:"#FFF",width:"190px",height:"28px",margin:"0 0 0 0",border:"none"});j.appendChild(d);k=document.createElement("button");k.innerHTML="Select";n.isMobile()?(new n.touch(k)).addEventListener(n.touchEvents.TAP,function(a){b(a)}):(k.onclick=b,k.onmouseover=l,k.onmouseout=h);a(k,{position:"absolute",left:"275px",background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5JREFUeNpisre3Z/r37x8c////H4VPjjgeMYAAAwBV/1FjCd0OtgAAAABJRU5ErkJggg\x3d\x3d)", backgroundSize:"100% 100%",color:"#FFF",font:"11px Arial",width:"50px",height:"28px",margin:"0 0 0 0",textAlign:"center",webkitBoxShadow:"0 0 4px #000",MozBoxShadow:"0 0 4px #000",msBoxShadow:"0 0 4px #000",oBoxShadow:"0 0 4px #000",boxShadow:"0 0 4px #000",padding:"0px 5px",border:"none",cursor:"pointer"});j.appendChild(k)}})(jwplayer.sharing); (function(g){g.shortcut=function(g,e,l){function h(){a(j,{webkitBoxShadow:"0 0 4px #FFF",MozBoxShadow:"0 0 4px #FFF",msBoxShadow:"0 0 4px #FFF",oBoxShadow:"0 0 4px #FFF",boxShadow:"0 0 4px #FFF"})}function b(){a(j,{webkitBoxShadow:"0 0 4px #000",MozBoxShadow:"0 0 4px #000",msBoxShadow:"0 0 4px #000",oBoxShadow:"0 0 4px #000",boxShadow:"0 0 4px #000"})}function a(a,b){d.foreach(b,function(b,c){a.style[b]=c})}var j,d=jwplayer.utils;e=document.createElement("div");d.isMobile()?(new d.touch(e)).addEventListener(d.touchEvents.TAP, function(a){l(a)}):(e.onclick=l,e.onmouseout=b,e.onmouseover=h);a(e,{cursor:"pointer",position:"absolute",border:"none",color:"#FFF",display:"block",font:"11px/18px Arial,sans-serif",margin:"0 0 0 0",textAlign:"left",textDecoration:"none",textTransform:"none",padding:"0 0 0 10px",width:"30px",height:"30px"});j=document.createElement("img");j.setAttribute("src",g);a(j,{webkitBoxShadow:"0 0 4px #000",MozBoxShadow:"0 0 4px #000",msBoxShadow:"0 0 4px #000",oBoxShadow:"0 0 4px #000",boxShadow:"0 0 4px #000", position:"absolute",left:"0px",top:"0px",width:"30px",height:"30px",margin:"0 0 0 0",padding:"0 0 0 0"});e.appendChild(j);return e}})(jwplayer.sharing);