var swfobject=function(){function c(){if(!G){try{var b=d.getElementsByTagName("body")[0].appendChild(d.createElement("span"));b.parentNode.removeChild(b)}catch(g){return}G=!0;for(var b=K.length,n=0;nQ){Q++;setTimeout(arguments.callee,10);return}b.removeChild(g);n=null;k()})()}else k()} function k(){var b=D.length;if(0h.wk)if(D[g].expressInstall&&t()){a={};a.data=D[g].expressInstall;a.width=r.getAttribute("width")||"0";a.height=r.getAttribute("height")||"0";r.getAttribute("class")&&(a.styleclass=r.getAttribute("class"));r.getAttribute("align")&&(a.align=r.getAttribute("align"));for(var v={},r=r.getElementsByTagName("param"),e=r.length,c=0;c< e;c++)"movie"!=r[c].getAttribute("name").toLowerCase()&&(v[r[c].getAttribute("name")]=r[c].getAttribute("value"));y(a,v,n,d)}else A(r),d&&d(a);else E(n,!0),d&&(a.success=!0,a.ref=u(n),d(a))}else E(n,!0),d&&((n=u(n))&&"undefined"!=typeof n.SetVariable&&(a.success=!0,a.ref=n),d(a))}}function u(b){var g=null;(b=f(b))&&"OBJECT"==b.nodeName&&("undefined"!=typeof b.SetVariable?g=b:(b=b.getElementsByTagName("object")[0])&&(g=b));return g}function t(){return!L&&B("6.0.65")&&(h.win||h.mac)&&!(h.wk&&312>h.wk)} function y(b,g,n,a){L=!0;O=a||null;R={success:!1,id:n};var c=f(n);if(c){"OBJECT"==c.nodeName?(J=l(c),M=null):(J=c,M=n);b.id="SWFObjectExprInst";if("undefined"==typeof b.width||!/%$/.test(b.width)&&310>parseInt(b.width,10))b.width="310";if("undefined"==typeof b.height||!/%$/.test(b.height)&&137>parseInt(b.height,10))b.height="137";d.title=d.title.slice(0,47)+" - Flash Player Installation";a=h.ie&&h.win?"ActiveX":"PlugIn";a="MMredirectURL="+x.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ a+"&MMdoctitle="+d.title;g.flashvars="undefined"!=typeof g.flashvars?g.flashvars+("&"+a):a;h.ie&&h.win&&4!=c.readyState&&(a=d.createElement("div"),n+="SWFObjectNew",a.setAttribute("id",n),c.parentNode.insertBefore(a,c),c.style.display="none",function(){4==c.readyState?c.parentNode.removeChild(c):setTimeout(arguments.callee,10)}());w(b,g,n)}}function A(b){if(h.ie&&h.win&&4!=b.readyState){var g=d.createElement("div");b.parentNode.insertBefore(g,b);g.parentNode.replaceChild(l(b),g);b.style.display="none"; (function(){4==b.readyState?b.parentNode.removeChild(b):setTimeout(arguments.callee,10)})()}else b.parentNode.replaceChild(l(b),b)}function l(b){var g=d.createElement("div");if(h.win&&h.ie)g.innerHTML=b.innerHTML;else if(b=b.getElementsByTagName("object")[0])if(b=b.childNodes)for(var n=b.length,a=0;ah.wk)return c;if(e)if("undefined"==typeof b.id&& (b.id=a),h.ie&&h.win){var r="",v;for(v in b)b[v]!=Object.prototype[v]&&("data"==v.toLowerCase()?g.movie=b[v]:"styleclass"==v.toLowerCase()?r+=' class="'+b[v]+'"':"classid"!=v.toLowerCase()&&(r+=" "+v+'="'+b[v]+'"'));v="";for(var k in g)g[k]!=Object.prototype[k]&&(v+='');e.outerHTML='"+v+"";N[N.length]=b.id;c=f(b.id)}else{k=d.createElement("object");k.setAttribute("type","application/x-shockwave-flash"); for(var l in b)b[l]!=Object.prototype[l]&&("styleclass"==l.toLowerCase()?k.setAttribute("class",b[l]):"classid"!=l.toLowerCase()&&k.setAttribute(l,b[l]));for(r in g)g[r]!=Object.prototype[r]&&"movie"!=r.toLowerCase()&&(b=k,v=r,l=g[r],a=d.createElement("param"),a.setAttribute("name",v),a.setAttribute("value",l),b.appendChild(a));e.parentNode.replaceChild(k,e);c=k}return c}function q(b){var g=f(b);g&&"OBJECT"==g.nodeName&&(h.ie&&h.win?(g.style.display="none",function(){if(4==g.readyState){var a=f(b); if(a){for(var d in a)"function"==typeof a[d]&&(a[d]=null);a.parentNode.removeChild(a)}}else setTimeout(arguments.callee,10)}()):g.parentNode.removeChild(g))}function f(b){var g=null;try{g=d.getElementById(b)}catch(a){}return g}function z(b,g,a){b.attachEvent(g,a);I[I.length]=[b,g,a]}function B(b){var g=h.pv;b=b.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return g[0]>b[0]||g[0]==b[0]&&g[1]>b[1]||g[0]==b[0]&&g[1]==b[1]&&g[2]>=b[2]?!0:!1}function a(b,g,a,c){if(!h.ie|| !h.mac){var f=d.getElementsByTagName("head")[0];f&&(a=a&&"string"==typeof a?a:"screen",c&&(P=C=null),C&&P==a||(c=d.createElement("style"),c.setAttribute("type","text/css"),c.setAttribute("media",a),C=f.appendChild(c),h.ie&&h.win&&"undefined"!=typeof d.styleSheets&&0\.;]/.exec(b)&&"undefined"!=typeof encodeURIComponent?encodeURIComponent(b):b}var x=window,d=document,F=navigator,T=!1,K=[function(){T?p():k()}],D=[],N=[],I=[],J,M,O,R,G=!1,L=!1,C,P,S=!0,h=function(){var b="undefined"!=typeof d.getElementById&&"undefined"!=typeof d.getElementsByTagName&&"undefined"!=typeof d.createElement,a=F.userAgent.toLowerCase(),c=F.platform.toLowerCase(),h=c?/win/.test(c): /win/.test(a),c=c?/mac/.test(c):/mac/.test(a),a=/webkit/.test(a)?parseFloat(a.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,f=!+"\v1",k=[0,0,0],e=null;if("undefined"!=typeof F.plugins&&"object"==typeof F.plugins["Shockwave Flash"])!(e=F.plugins["Shockwave Flash"].description)||"undefined"!=typeof F.mimeTypes&&F.mimeTypes["application/x-shockwave-flash"]&&!F.mimeTypes["application/x-shockwave-flash"].enabledPlugin||(T=!0,f=!1,e=e.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),k[0]=parseInt(e.replace(/^(.*)\..*$/, "$1"),10),k[1]=parseInt(e.replace(/^.*\.(.*)\s.*$/,"$1"),10),k[2]=/[a-zA-Z]/.test(e)?parseInt(e.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if("undefined"!=typeof x.ActiveXObject)try{var l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");l&&(e=l.GetVariable("$version"))&&(f=!0,e=e.split(" ")[1].split(","),k=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)])}catch(E){}return{w3:b,pv:k,wk:a,ie:f,win:h,mac:c}}();(function(){h.w3&&(("undefined"!=typeof d.readyState&&"complete"==d.readyState|| "undefined"==typeof d.readyState&&(d.getElementsByTagName("body")[0]||d.body))&&c(),G||("undefined"!=typeof d.addEventListener&&d.addEventListener("DOMContentLoaded",c,!1),h.ie&&h.win&&(d.attachEvent("onreadystatechange",function(){"complete"==d.readyState&&(d.detachEvent("onreadystatechange",arguments.callee),c())}),x==top&&function(){if(!G){try{d.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,0);return}c()}}()),h.wk&&function(){G||(/loaded|complete/.test(d.readyState)?c(): setTimeout(arguments.callee,0))}(),e(c)))})();(function(){h.ie&&h.win&&window.attachEvent("onunload",function(){for(var b=I.length,a=0;ah.wk)&&b&&a&&d&&c&&e?(E(a,!1),m(function(){d+="";c+="";var h={};if(x&&"object"===typeof x)for(var m in x)h[m]=x[m];h.data=b;h.width=d;h.height=c;m={};if(l&&"object"===typeof l)for(var u in l)m[u]=l[u];if(k&&"object"===typeof k)for(var H in k)m.flashvars="undefined"!=typeof m.flashvars?m.flashvars+("&"+H+"="+k[H]):H+"="+k[H];if(B(e))u=w(h,m,a),h.id==a&&E(a,!0),q.success=!0,q.ref=u;else{if(f&&t()){h.data=f;y(h,m,a,p);return}E(a, !0)}p&&p(q)})):p&&p(q)},switchOffAutoHideShow:function(){S=!1},ua:h,getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:B,createSWF:function(b,a,d){if(h.w3)return w(b,a,d)},showExpressInstall:function(a,d,c,e){h.w3&&t()&&y(a,d,c,e)},removeSWF:function(a){h.w3&&q(a)},createCSS:function(b,d,c,e){h.w3&&a(b,d,c,e)},addDomLoadEvent:m,addLoadEvent:e,getQueryParamValue:function(a){var c=d.location.search||d.location.hash;if(c){/\?/.test(c)&&(c=c.split("?")[1]); if(null==a)return H(c);for(var c=c.split("&"),e=0;e';swfobject.embedSWF(m,l,e,p,"9.124.0","expressInstall.swf",k,u,{id:l,name:l});t.style.visibility="visible";return _kt_player_wrapper(t,l,k,m)}p=k.video_url;k.video_html5_url&&(p=k.video_html5_url);c=k.preview_url;u=!1;p&&0=parseInt(k.sec)&&(f.pause(),f.currentTime=0,_kt_player_event_handler(l,"ktVideoFinished")))})}else u&&(f=document.createElement("A"),f.id=l,f.style.display="block",f.href=p,f.style.width=y,f.style.height=A,t.innerHTML="",t.appendChild(f),c&&(p=document.createElement("IMG"), p.style.width=y,p.style.height=A,p.src=c,p.style.border="0",f.appendChild(p)),f.appendChild(_kt_player_create_play_btn(e+"btn_play.png",t)));t.style.visibility="visible";m=_kt_player_wrapper(t,l,k,m);_kt_player_event_handler(l,"ktPlayerLoaded",null);return m} function _kt_player_create_play_btn(c,m){var e=document.createElement("IMG");e.style.position="absolute";e.style.border="0";e.style.cursor="pointer";e.onload=function(){var c=(m.offsetHeight-e.height)/2;e.style.left=(m.offsetWidth-e.width)/2+"px";e.style.top=c+"px"};e.src=c;return e} function _kt_player_event_handler(c,m,e){if(_KT_PLAYERS[c]){if("ktPlayerLoaded"==m){_KT_PLAYERS[c].loaded();try{"function"==typeof window.kt_player_loaded&&window.kt_player_loaded(_KT_PLAYERS[c])}catch(p){}}return _KT_PLAYERS[c].handle(m,e)}return""}function _kt_player_attach_event(c,m,e){c.addEventListener?c.addEventListener(m,e,!1):c.attachEvent?c.attachEvent("on"+m,e):c["on"+m]=e} function _kt_player_wrapper(c,m,e,p){function k(a){a.parentNode!=l.container()&&l.container().appendChild(a);a.style.position="absolute";a.style.display="block";a.style.left=(l.container().offsetWidth-a.offsetWidth)/2+"px";a.style.top=(l.container().offsetHeight-a.offsetHeight)/2+"px"}function u(a,c){if(!a)return null;if("iframe"==a.tagName.toLowerCase())try{a=a.contentWindow.document}catch(e){}for(var f=a.getElementsByTagName("*"),d=0;da&&(a=0);m.innerHTML=Math.round(a)},1E3)}if(a=u(w[a],"kt-api-btn-skip"))a.onclick=function(){l.skip_preroll();return!1}}else"ktPostRollStarted"==a&&(a=u(w[a],"kt-api-btn-skip"))&&(a.onclick=function(){l.skip_postroll();return!1})}}function A(a){return function(){setTimeout(function(){y(z[a])}, 0)}}var l={_listeners:{},_player:null,container:function(){return c},loaded:function(){this._player||(this._player=document.getElementById(m))},listen:function(a,c){this._listeners[a]||(this._listeners[a]=[]);this._listeners[a].push(c)},handle:function(a,c){if(this._listeners[a])for(var e=0;e