// Compiled with JSCompilerTask
// Turner XMP, Release Build, © 2008 Turner Broadcasting System, Inc. A Time Warner Company.  Version: 0.1.696.2070
// xmp_playerapi_native, xmp_playerapi_native_0_1_696_2070.js

xmp.i_$11W="DHTML";xmp.DHTML_MIME_TYPE="application/x-dhtml";xmp.i_$11X="dhtmlObject";xmp.$.$37=function(aa,ba){this.p_$BS=null;this.p_$7N=null;this.p_$1T="";xmp.$.$37.ctor.call(this,xmp.i_$11W,aa,ba);};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$37);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0044\u0048\u0054\u004D\u004C\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$37);xmp.$.$37.prototype.i_$T5=function(ca){this.p_$7N=ca;this.p_$1T=ca.getURI();var da=new xmp.$.$M(this.i_$PU(),this.p_$BT,this);var ea=xmp.i_$11X;var fa=ca.getMetadata('altRootUrlType','');if(fa.length>0){ea=fa;}
var ga=xmp.$.$5M.i_$P4().i_$Q7(ea);ga.i_$11Y([this.p_$1T],da);ga.i_$11Z();};xmp.$.$37.prototype.i_$T9=function(){if(this.p_$BS){this.p_$BS.close();this.p_$BS=null;}
xmp.$.$37.base.i_$T9.call(this);};xmp.$.$37.prototype.i_$YB=function(){this.p_$BS.play();xmp.$.$37.base.i_$YB.call(this);this.i_$ZT(xmp.PLAY);};xmp.$.$37.prototype.i_$YC=function(){this.p_$BS.pause();xmp.$.$37.base.i_$YC.call(this);this.i_$ZT(xmp.PAUSE);};xmp.$.$37.prototype.i_$RN=function(){this.p_$BS.stop();xmp.$.$37.base.i_$RN.call(this);this.i_$ZT(xmp.STOP);};xmp.$.$37.prototype.i_$YD=function(){this.p_$BS.rewind();xmp.$.$37.base.i_$YD.call(this);this.i_$ZT(xmp.REWIND);};xmp.$.$37.prototype.i_$YE=function(){this.p_$BS.fastForward();xmp.$.$37.base.i_$YE.call(this);this.i_$ZT(xmp.FAST_FORWARD);};xmp.$.$37.prototype.i_$YF=function(ha){this.p_$BS.seek(ha);xmp.$.$37.base.i_$YF.call(this,ha);this.i_$ZT(xmp.SEEKABLE);};xmp.$.$37.prototype.i_$ZH=function(){xmp.$.$37.base.i_$ZH.call(this);this.p_$BS.ended();};xmp.$.$37.prototype.i_$YG=function(ia){if(!this.p_$BS){return false;}
return this.p_$BS.isAvailable(ia);};xmp.$.$37.prototype.i_$YH=function(){return this.p_$BS.getPosition();};xmp.$.$37.prototype.i_$YI=function(){return this.p_$BS.getDuration();};xmp.$.$37.prototype.i_$XK=function(ja,ka,la,ma){xmp.$.$37.base.i_$XK.call(this,ja,ka,la,ma);this.p_$BS.moveTo(ja,ka,la,ma);};xmp.$.$37.prototype.i_$Q7=function(na){na.id=xmp.i_$11W+na.group;xmp.$.$37.base.i_$Q7.call(this,na);if(na.viewport.i_$X4()!==xmp.DHTML_VIEWPORT){throw new xmp.$.$23("Creating native player.","Invalid native player viewport \""+na.viewport.i_$X4()+"\".  Supported viewports:  DHTML.",this);}
this.i_$YJ(na.volume);this.i_$YL(na.mute);var oa=na.viewport.i_$WZ();oa.innerHTML="<div id='"+na.id+"' style='background-color: #000000; z-index: "+xmp.i_$ZK+"; width: "+oa.style.width+"; height: "+oa.style.height+"' />";this.i_$XQ();};xmp.$.$37.prototype.p_$BT=function(pa,qa){try{if(true===qa.isError()){return;}
this.p_$BS=qa.getDataObject();this.p_$BU();var ra=this.i_$X5();var sa=this;var ta=this.i_$WZ();var ua=this.p_$7N;if(!ra){throw new xmp.$.$21("Validating context.","Missing DHTMLPlayer context.");}
if(!ta){throw new xmp.$.$21("Validating parent.","Missing DHTMLPlayer parent.");}
if(!ua){throw new xmp.$.$21("Validating playable node.","Missing DHTMLPlayer playable node.");}
try{this.p_$BS.open(ra,sa,ta,ua);}
catch(openEx){throw new xmp.$.$21("Opening DHTML Object.",xmp.i_$ON(openEx));}
this.p_$7N=null;}
catch(e){this.i_$RS("Loading DHTML object via Ajax request.",e);}};xmp.$.$37.prototype.p_$BU=function(){if(!this.p_$BS){throw new xmp.$.$21("Validating DHTML object.","NULL DHTML object.");}
var va=[{name:xmp.OPEN_OPERATION,implementation:this.p_$BS.open,args:4},{name:xmp.CLOSE_OPERATION,implementation:this.p_$BS.close,args:0},{name:xmp.i_$112,implementation:this.p_$BS.play,args:0},{name:xmp.i_$113,implementation:this.p_$BS.pause,args:0},{name:xmp.i_$114,implementation:this.p_$BS.stop,args:0},{name:xmp.i_$115,implementation:this.p_$BS.rewind,args:0},{name:xmp.i_$116,implementation:this.p_$BS.fastForward,args:0},{name:xmp.i_$117,implementation:this.p_$BS.seek,args:1},{name:xmp.ENDED_OPERATION,implementation:this.p_$BS.ended,args:0},{name:xmp.i_$120,implementation:this.p_$BS.isAvailable,args:1},{name:xmp.i_$121,implementation:this.p_$BS.getPosition,args:0},{name:xmp.i_$122,implementation:this.p_$BS.getDuration,args:0},{name:xmp.i_$ZM,implementation:this.p_$BS.moveTo,args:4}];var wa=va.length;for(var i=0;i<wa;i++){if(!va[i].implementation){throw new xmp.$.$21("Validating DHTML object.","Missing required DHTML object method \""+va[i].name+"\" implementation.");}
if(va[i].implementation.length!==va[i].args){throw new xmp.$.$21("Validating DHTML object.","The required DHTML object method \""+va[i].name+"\" requires \""+va[i].args+"\" arguments.  \n\n"+va[i].implementation.length+" arguments were found.");}}};xmp.$.$37.prototype.onStateChange=function(xa,ya){this.i_$YT(xa,ya);};xmp.$.$37.prototype.i_$YT=function(za,Aa){try{xmp.i_$OU(arguments,[xmp.i_$QK,xmp.i_$QK],"DHTMLPlayer.i_onStateChange");this.i_$ZT(za,Aa);}
catch(e){this.i_$RS("Handling state change.",e);}};xmp.$.$37.prototype.onError=function(Ba,e){this.i_$SW(Ba,e);};xmp.$.$37.prototype.i_$SW=function(Ca,e){try{xmp.i_$OU(arguments,[xmp.i_$QK,xmp.i_$QJ],"DHTMLPlayer.i_onError");this.i_$RS(Ca,e);}
catch(ex){this.i_$RS("Handling error.",ex);}};xmp.$.$38=function(){var Da="{object: null,"+"init: function( player ){this.object = player;},"+"open: function( mimeType, uri, metadata ){this.object.{{context}}Open( mimeType, uri, metadata );},"+"close: function( ){this.object.{{context}}Close( );},"+"play: function( ){this.object.{{context}}Play( );},"+"pause: function( ){this.object.{{context}}Pause( );},"+"stop: function( ){this.object.{{context}}Stop( );},"+"seek: function( position ){this.object.{{context}}Seek( position );},"+"ended: function( ){this.object.{{context}}Ended( );},"+"isAvailable: function( type ){return this.object.{{context}}IsAvailable( type );},"+"getPosition: function( ){return this.object.{{context}}GetPosition( );},"+"getDuration: function( ){return this.object.{{context}}GetDuration( );},"+"getVolume: function( ){return this.object.{{context}}GetVolume( );},"+"setVolume: function( volume ){this.object.{{context}}SetVolume( volume );},"+"getMute: function( ){return this.object.{{context}}GetMute( );},"+"setMute: function( mute ){this.object.{{context}}SetMute( mute );"+"}}";return{i_$Q7:function(Ea,Fa){var Ga=eval('('+Da.replace(/\{\{context\}\}/g,Ea)+')');Ga.init(Fa);return Ga;}};}();xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0046\u006C\u0061\u0073\u0068\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072\u0050\u0072\u006F\u0078\u0079',xmp.$.$38,true);xmp.i_$123="Flash";xmp.FLASH_MIME_TYPE="video/x-flv";xmp.SWF_MIME_TYPE="application/x-shockwave-flash";xmp.i_$124="application/x-shockwave-flash";xmp.i_$125="Shockwave Flash";xmp.i_$126="ShockwaveFlash.ShockwaveFlash.";xmp.i_$127="ShockwaveFlash.ShockwaveFlash";xmp.i_$128=8;xmp.i_$129="$version";xmp.i_$TE="allowScriptAccess";xmp.i_$Y6="allowFullScreen";xmp.i_$TF="always";xmp.i_$Y4="quality";xmp.i_$Y5="high";xmp.i_$12A="wmode";xmp.i_$12B="transparent";xmp.i_$12C=xmp.i_$OK("i_$YT");xmp.i_$12D=xmp.i_$OK("i_$SW");xmp.i_$12E=xmp.i_$OK("i_$SS");xmp.i_$12F=xmp.i_$OK("i_$12G");xmp.i_$12H=xmp.i_$OK("i_$YU");xmp.i_$12I="script";xmp.i_$TD="errorCallback";xmp.i_$TC="initializationCallback";xmp.i_$12J="stateChangeCallback";xmp.i_$12K="invokeCallback";xmp.i_$12L="triggerCallback";xmp.i_$12M="ConnectionError";xmp.i_$Y7="FlashMediaPlayer";xmp.i_$12N="Buffer Time";xmp.i_$12O="bufferTime";xmp.i_$12P="Streaming Video Adapter";xmp.i_$12Q="streamingVideoAdapter";xmp.i_$12R="fullscreenEnabled";xmp.METADATA="metadata";xmp.i_$12S="invokePlayKey";xmp.i_$12T="invokePauseKey";xmp.i_$12U="invokeStopKey";xmp.i_$12V="invokeSeekKey";xmp.$.$39=function(Ha,Ia){this.p_$BV=null;xmp.$.$39.ctor.call(this,xmp.i_$123,Ha,Ia);};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$39);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0046\u006C\u0061\u0073\u0068\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$39);xmp.$.$39.prototype.i_$T5=function(Ja){this.p_$BW(xmp.OPEN_OPERATION,[Ja.getMimeType(),Ja.getURI(),Ja.getMetadata(xmp.METADATA,{})]);};xmp.$.$39.prototype.i_$T9=function(){this.p_$BW(xmp.CLOSE_OPERATION,[]);xmp.$.$39.base.i_$T9.call(this);};xmp.$.$39.prototype.i_$YB=function(){this.p_$BW(xmp.i_$112,[]);xmp.$.$39.base.i_$YB.call(this);};xmp.$.$39.prototype.i_$YC=function(){this.p_$BW(xmp.i_$113,[]);xmp.$.$39.base.i_$YC.call(this);};xmp.$.$39.prototype.i_$RN=function(){this.p_$BW(xmp.i_$114,[]);xmp.$.$39.base.i_$RN.call(this);};xmp.$.$39.prototype.i_$YF=function(Ka){this.p_$BW(xmp.i_$117,[Ka]);xmp.$.$39.base.i_$YF.call(this,Ka);};xmp.$.$39.prototype.i_$YG=function(La){if(false===this.i_$XG()){return false;}
return this.p_$BW(xmp.i_$QU,[La]);};xmp.$.$39.prototype.i_$YH=function(){return this.p_$BW(xmp.i_$QV,[]);};xmp.$.$39.prototype.i_$YI=function(){return this.p_$BW(xmp.i_$QW,[]);};xmp.$.$39.prototype.i_$YK=function(){return this.p_$BW(xmp.i_$QX,[]);};xmp.$.$39.prototype.i_$YJ=function(Ma){this.p_$BW(xmp.i_$QY,[Ma]);};xmp.$.$39.prototype.i_$YM=function(){return this.p_$BW(xmp.i_$QZ,[]);};xmp.$.$39.prototype.i_$YL=function(Na){this.p_$BW(xmp.i_$R0,[Na]);};xmp.$.$39.prototype.i_$YN=function(Oa){var Pa="The \"setFullscreen\" method is not supported.  Fullscreen is only suppported by a double-click on the player.";if(false===this.i_$100()){Pa="The \"setFullscreen\" method is not supported.  Fullscreen disabled.";}
throw new xmp.$.$2B("Invoking \"setFullscreen\" method.",Pa,this);};xmp.$.$39.prototype.p_$BW=function(Qa,Ra){if(!this.p_$BV){throw new xmp.$.$28("Invoking native player method.","NULL native player proxy.",this);}
return this.p_$BV[Qa].apply(this.p_$BV,Ra);};xmp.$.$39.prototype.i_$ZR=function(Sa){this.i_$103(xmp.i_$123,this.p_$BX());};xmp.$.$39.prototype.p_$BX=function(){var Ta=this.i_$104(xmp.i_$123);if(xmp.i_$P8()){try{return this.p_$BY(new ActiveXObject(xmp.i_$127));}
catch(e){var Ua=parseInt(this.i_$102(Ta.minVersion).major,10);var Va=Ua;if(Ta.maxVersion&&Ta.maxVersion.length>0){Va=parseInt(this.i_$102(Ta.maxVersion).major,10);}
for(var i=Va;(i>=3&&i>=Ua);i--){try{return this.p_$BY(new ActiveXObject(xmp.i_$126+i));}
catch(tempE){}}}
throw new xmp.$.$2G("Validating native player plugin.",Ta);}
else{var Wa=navigator.mimeTypes[xmp.i_$124];if(!Wa){throw new xmp.$.$2G("Validating native player plugin.",Ta);}
if(!Wa.enabledPlugin){throw new xmp.$.$2F("Validating native player plugin.",Ta,xmp.i_$124);}
var Xa=Wa.enabledPlugin.name;if(Xa.indexOf(xmp.i_$125)===-1){throw new xmp.$.$2F("Validating native player plugin.",Ta,xmp.i_$124);}
var Ya=Wa.enabledPlugin.description;var Za=Ya.split(" ");var $a=Za[2].split(".");var ab=$a[0];var bb=$a[1];var cb=Za[3];if(cb===""){cb=Za[4];}
if(cb[0]==="d"){cb=cb.substring(1);}else if(cb[0]==="r"){cb=cb.substring(1);if(cb.indexOf("d")>0){cb=cb.substring(0,cb.indexOf("d"));}}
var db=ab+"."+bb+"."+cb;return db;}
return"";};xmp.$.$39.prototype.i_$Q7=function(eb){if(true===this.i_$ZZ(eb)){return;}
eb.id=xmp.i_$123+eb.group;xmp.$.$39.base.i_$Q7.call(this,eb);var fb=eb.viewport.i_$WZ();var gb={};gb[xmp.i_$TE]=xmp.i_$TF;gb[xmp.i_$Y4]=xmp.i_$Y5;gb[xmp.i_$12A]=xmp.i_$12B;gb[xmp.i_$Y6]=xmp.TRUE;var hb={};hb[xmp.i_$12O]=this.i_$10C(xmp.i_$12N);hb[xmp.i_$12Q]=this.i_$10C(xmp.i_$12P);hb[xmp.i_$12R]=((true===this.i_$100())?xmp.TRUE:xmp.FALSE);hb[xmp.i_$TC]=this.i_$XW(xmp.i_$12E);hb[xmp.i_$12J]=this.i_$XW(xmp.i_$12C);hb[xmp.i_$12L]=this.i_$XW(xmp.i_$12H);hb[xmp.i_$12K]=this.i_$XW(xmp.i_$12F);hb[xmp.i_$TD]=this.i_$XW(xmp.i_$12D);hb[xmp.i_$QS]=eb.volume;hb[xmp.MUTE]=((true===eb.mute)?xmp.TRUE:xmp.FALSE);xmp.$.$R.i_$TG(xmp.makeSWFPath(xmp.i_$Y7,true),fb.id,eb.id,((fb.style.width==='')?'100%':fb.style.width),((fb.style.height==='')?'100%':fb.style.height),xmp.i_$QT,hb,gb);};xmp.$.$39.prototype.i_$ZZ=function(ib){ib.id=ib.viewport.i_$PU();xmp.$.$39.base.i_$ZZ.call(this,ib);if(ib.viewport.i_$X4()!==xmp.DHTML_VIEWPORT&&ib.viewport.i_$X4()!==xmp.FLASH_VIEWPORT){throw new xmp.$.$23("Initializing native player.","Invalid native player viewport \""+ib.viewport.i_$X4()+"\".  Supported viewports:  DHTML, Flash",this);}
if(ib.viewport.i_$X4()!==xmp.FLASH_VIEWPORT){return false;}
var jb=[{name:xmp.i_$12O,value:this.i_$10C(xmp.i_$12N)},{name:xmp.i_$12Q,value:this.i_$10C(xmp.i_$12P)},{name:xmp.i_$12R,value:((true===this.i_$100())?xmp.TRUE:xmp.FALSE)},{name:xmp.i_$12S,value:xmp.i_$OK("i_$YB")},{name:xmp.i_$12T,value:xmp.i_$OK("i_$YC")},{name:xmp.i_$12U,value:xmp.i_$OK("i_$RN")},{name:xmp.i_$12V,value:xmp.i_$OK("i_$YF")}];var kb=jb.length;for(var i=0;i<kb;i++){var lb=jb[i];this.i_$WZ().SetVariable(lb.name,lb.value);}
var mb=[{name:xmp.i_$TC,value:this.i_$XW(xmp.i_$12E)},{name:xmp.i_$12J,value:this.i_$XW(xmp.i_$12C)},{name:xmp.i_$12L,value:this.i_$XW(xmp.i_$12H)},{name:xmp.i_$12K,value:this.i_$XW(xmp.i_$12F)},{name:xmp.i_$TD,value:this.i_$XW(xmp.i_$12D)},{name:xmp.i_$QS,value:ib.volume},{name:xmp.MUTE,value:((true===ib.mute)?xmp.TRUE:xmp.FALSE)}];if(false===ib.viewport.i_$WZ().fvpOpenPlayer(this.i_$X5(),mb)){var nb=ib.viewport.i_$WZ().fvpGetPlayerInvokeKey(this.i_$X5());this.p_$BV=xmp.$.$38.i_$Q7(nb,this.i_$WZ());this.i_$XQ();}
return true;};xmp.$.$39.prototype.p_$BZ=function(ob){return((ob===xmp.CLOSE)?"":ob);};xmp.$.$39.prototype.p_$BY=function(pb){var qb=pb.GetVariable(xmp.i_$129);var rb=qb.split(" ")[1];return rb.replace(/,/g,xmp.i_$ZL);};xmp.$.$39.prototype.i_$SS=function(sb){try{this.p_$BV=xmp.$.$38.i_$Q7(sb,this.i_$WZ());this.i_$WZ().style.zIndex=xmp.i_$ZK;this.i_$XQ();}
catch(e){this.i_$RS("Initializing.",e);}};xmp.$.$39.prototype.i_$YT=function(tb,ub){try{var vb=this.p_$BZ(tb);if(vb.length>0){this.i_$ZT(vb,ub);}}
catch(e){this.i_$RS("Handling state change.",e);}};xmp.$.$39.prototype.i_$YU=function(wb,xb){try{this.i_$ZW(wb,xb);}
catch(e){this.i_$RS("Handling trigger.",e);}};xmp.$.$39.prototype.i_$12G=function(yb,zb){try{this.i_$ZY(yb,zb);}
catch(e){this.i_$RS("Invoking method.",e);}};xmp.$.$39.prototype.i_$SW=function(Ab,Bb,Cb){try{var Db=[{label:"Flash Error Type",text:Ab}];if(Cb){Db.push({label:"Flash Error Code",text:Cb});}
var Eb=((Ab===xmp.i_$12M)?new xmp.$.$27("Connecting to media.",Bb,this,Db):new xmp.$.$28("Handling error.",Bb,this,Db));this.i_$RS(null,Eb);}
catch(e){this.i_$RS("Handling error.",e);}};xmp.i_$12W="Image";xmp.IMAGE_MIME_TYPE="application/x-image";xmp.i_$12X="IMG";xmp.i_$12Y=xmp.i_$OK("i_$YT");xmp.i_$12Z=xmp.i_$OK("i_$SW");xmp.i_$130=xmp.i_$OK("i_$SS");xmp.$.$3A=function(Fb,Gb){this.p_$BV=null;xmp.$.$3A.ctor.call(this,xmp.i_$12W,Fb,Gb);};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$3A);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0049\u006D\u0061\u0067\u0065\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$3A);xmp.$.$3A.prototype.i_$T5=function(Hb){this.p_$1T=Hb.getURI();this.p_$C0=Hb.getTimeLimitInSeconds();this.p_$70=0;if(true===this.p_$C1()){this.i_$ZT(xmp.CONNECTING);this.i_$WZ().src=this.p_$1T;}
else{this.p_$BW(xmp.OPEN_OPERATION,[Hb.getMimeType(),Hb.getURI(),Hb.getMetadata(xmp.METADATA,{})]);}};xmp.$.$3A.prototype.i_$T9=function(){if(false===this.p_$C1()){this.p_$BW(xmp.CLOSE_OPERATION,[]);}
xmp.$.$3A.base.i_$T9.call(this);};xmp.$.$3A.prototype.i_$YB=function(){if(-1!==this.p_$C0){this.i_$ZO();}
this.i_$ZT(xmp.PLAY);};xmp.$.$3A.prototype.i_$RN=function(){this.i_$ZT(xmp.STOP);};xmp.$.$3A.prototype.i_$ZH=function(){if(false===this.p_$C1()){this.p_$BW(xmp.ENDED_OPERATION,[]);}
xmp.$.$3A.base.i_$ZH.call(this);this.i_$T9();};xmp.$.$3A.prototype.i_$YG=function(Ib){return(Ib===xmp.ENDED);};xmp.$.$3A.prototype.i_$YH=function(){return this.p_$70;};xmp.$.$3A.prototype.i_$YI=function(){return((-1===this.p_$C0)?0:this.p_$C0);};xmp.$.$3A.prototype.p_$BW=function(Jb,Kb){if(!this.p_$BV){throw new xmp.$.$28("Invoking native player method.","NULL native player proxy.",this);}
return this.p_$BV[Jb].apply(this.p_$BV,Kb);};xmp.$.$3A.prototype.i_$Q7=function(Lb){if(true===this.i_$ZZ(Lb)){return;}
Lb.id=xmp.i_$12W+Lb.group;xmp.$.$3A.base.i_$Q7.call(this,Lb);this.i_$YJ(Lb.volume);this.i_$YL(Lb.mute);var Mb=Lb.viewport.i_$WZ();Mb.innerHTML="<img style='background-color:  #000000' id='"+Lb.id+"' width='"+(Mb.style.width)+"' height='"+(Mb.style.height)+"' src='"+Lb.node.getURI()+"' style='background-color:  #000000; z-index: "+xmp.i_$ZK+"' onError='"+this.p_$C2(xmp.i_$12Z)+"()' onLoad='"+this.p_$C2(xmp.i_$12Y)+"(xmp.OPEN, null)' />";this.i_$XQ();};xmp.$.$3A.prototype.i_$ZS=function(Nb,Ob){this.p_$70++;};xmp.$.$3A.prototype.i_$ZZ=function(Pb){Pb.id=Pb.viewport.i_$PU();this.i_$YJ(Pb.volume);this.i_$YL(Pb.mute);xmp.$.$3A.base.i_$ZZ.call(this,Pb);if(Pb.viewport.i_$X4()!==xmp.DHTML_VIEWPORT&&Pb.viewport.i_$X4()!==xmp.FLASH_VIEWPORT){throw new xmp.$.$23("Initializing native player.","Invalid native player viewport \""+Pb.viewport.i_$X4()+"\".  Supported viewports:  DHTML,  Flash",this);}
if(Pb.viewport.i_$X4()!==xmp.FLASH_VIEWPORT){return false;}
var Qb=[{name:xmp.i_$TC,value:this.i_$XW(xmp.i_$130)},{name:xmp.i_$12J,value:this.i_$XW(xmp.i_$12Y)},{name:xmp.i_$TD,value:this.i_$XW(xmp.i_$12Z)},{name:xmp.i_$QS,value:Pb.volume},{name:xmp.MUTE,value:((true===Pb.mute)?xmp.TRUE:xmp.FALSE)}];if(false===Pb.viewport.i_$WZ().fvpOpenPlayer(this.i_$X5(),Qb)){var Rb=Pb.viewport.i_$WZ().fvpGetPlayerInvokeKey(this.i_$X5());this.p_$BV=xmp.$.$38.i_$Q7(Rb,this.i_$WZ());this.i_$XQ();}
return true;};xmp.$.$3A.prototype.p_$C1=function(){return(this.i_$WZ().tagName.toUpperCase()===xmp.i_$12X);};xmp.$.$3A.prototype.p_$C2=function(Sb){return this.i_$XW(Sb).replace(/\'/g,"\"");};xmp.$.$3A.prototype.p_$BZ=function(Tb){return((Tb===xmp.CLOSE)?"":Tb);};xmp.$.$3A.prototype.i_$SS=function(Ub){try{this.p_$BV=xmp.$.$38.i_$Q7(Ub,this.i_$WZ());this.i_$XQ();}
catch(e){this.i_$RS("Initializing.",e);}};xmp.$.$3A.prototype.i_$YT=function(Vb,Wb){try{var Xb=this.p_$BZ(Vb);if(Xb.length>0){this.i_$ZT(Xb,Wb);}}
catch(e){this.i_$RS("Handling state change.",e);}};xmp.$.$3A.prototype.i_$SW=function(Yb,Zb,$b){try{var ac=null;if(true===this.p_$C1()){ac=new xmp.$.$27("Connecting to media.","Unable to connect to \""+this.i_$WZ().src+"\"",this);}
else{var bc=[{label:"Flash Error Type",text:Yb}];if($b){bc.push({label:"Flash Error Code",text:$b});}
ac=((Yb===xmp.i_$12M)?new xmp.$.$27("Connecting to media.",Zb,this,bc):new xmp.$.$28("Handling error.",Zb,this,bc));}
this.i_$RS(null,ac);}
catch(e){this.i_$RS("Handling error.",e);}};xmp.i_$131="MOCK_NATIVE";xmp.MOCK_MIME_TYPE="application/xmp-mock";xmp.$.$3B=function(cc,dc){xmp.$.$3B.ctor.call(this,xmp.i_$131,cc,dc);this.p_$70=0;this.p_$C3=0;this.p_$C4=0;this.p_$C5=0;this.p_$C6=-1;this.p_$C7=4.0;this.p_$X=xmp.$.$16.i_$S2('MockNativePlayer');};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$3B);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u004D\u006F\u0063\u006B\u004E\u0061\u0074\u0069\u0076\u0065\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$3B);xmp.$.$3B.prototype.i_$T5=function(ec){this.p_$7N=ec;this.p_$X.info("open(): "+this.p_$7N.getURI());this.p_$70=0;this.p_$C3=this.p_$C8();this.p_$C4=0;this.p_$C5=xmp.util.internals.MockTestMode.getInstance().getRealPlayTimePerNode();this.p_$C9=this.p_$C5/this.p_$C7;this.p_$CA=this.p_$C3/(this.p_$C7*2);this.p_$CB=this.p_$C5/(this.p_$C7*2);this.p_$X.info("Duration: "+this.p_$C3+" second(s)");this.p_$X.debug("Real time duration: "+this.p_$C5+" milliseconds");this.i_$ZT(xmp.OPEN);this.i_$ZT(xmp.CONNECTING);this.i_$ZT(xmp.CONNECTED);this.i_$ZT(xmp.FIRST_FRAME_RENDERED);this.i_$ZT(xmp.BUFFERING,{percent:0,bytesDownloaded:0,bytesTotal:0});};xmp.$.$3B.prototype.i_$T9=function(){if(this.p_$7N){this.p_$X.info("close(): "+this.p_$7N.getURI());}
this.p_$7N=null;xmp.$.$3B.base.i_$T9.call(this);};xmp.$.$3B.prototype.i_$WW=function(){this.i_$T9();};xmp.$.$3B.prototype.i_$ZV=function(fc,gc){xmp.$.$3B.base.i_$ZV.call(this,fc,gc);var hc=fc.i_$V8(xmp.i_$QR,{});if(hc.type===xmp.PLAY){this.p_$CC();}};xmp.$.$3B.prototype.i_$YB=function(){this.i_$ZT(xmp.PLAY);};xmp.$.$3B.prototype.p_$CC=function(){var ic=this.p_$7N;this.p_$X.info("play(): "+ic.getURI());this.p_$X.info("Node type: "+ic.getNodeTypeName());this.p_$C6++;var jc=this.i_$ZU({object:this,id:"position change",interval:this.p_$CB,handler:this.p_$CD,context:this.p_$C6});jc.i_$RL();this.i_$ZO();};xmp.$.$3B.prototype.p_$CD=function(kc,lc){var mc=this.p_$7N;var nc=kc.i_$V8(xmp.i_$QR,-1);if(!mc||nc!==this.p_$C6){lc.i_$RN();}
else if(this.p_$70>=this.p_$C3){lc.i_$RN();this.i_$ZN();this.i_$ZT(xmp.ENDED);}
else{this.p_$70+=this.p_$CA;}};xmp.$.$3B.prototype.p_$C8=function(){var oc=-1;var pc=this.p_$7N;if(pc.isContentType()||pc.isAdType()){var qc=pc.getPlayableData();oc=qc.getTotalRunTime();}
if(oc<=0){oc=3;}
return oc;};xmp.$.$3B.prototype.i_$YC=function(){if(this.p_$7N!==null){this.p_$X.info("pause(): "+this.p_$7N.getURI());}
xmp.$.$3B.base.i_$YC.call(this);this.i_$ZT(xmp.PAUSE);};xmp.$.$3B.prototype.i_$RN=function(){if(this.p_$7N!==null){this.p_$X.info("stop(): "+this.p_$7N.getURI());}
xmp.$.$3B.base.i_$RN.call(this);this.i_$ZT(xmp.STOP);};xmp.$.$3B.prototype.i_$YD=function(){if(this.p_$7N!==null){this.p_$X.info("rewind(): "+this.p_$7N.getURI());}
xmp.$.$3B.base.i_$YD.call(this);this.i_$ZT(xmp.REWIND);};xmp.$.$3B.prototype.i_$YE=function(){if(this.p_$7N!==null){this.p_$X.info("fastForward(): "+this.p_$7N.getURI());}
xmp.$.$3B.base.i_$YE.call(this);this.i_$ZT(xmp.FAST_FORWARD);};xmp.$.$3B.prototype.i_$YF=function(rc){if(this.p_$7N!==null){this.p_$X.info("seek(): "+this.p_$7N.getURI()+" to "+rc);}
xmp.$.$3B.base.i_$YF.call(this);this.setPosition(rc);this.i_$ZT(xmp.SEEKABLE);};xmp.$.$3B.prototype.i_$ZH=function(){if(this.p_$7N!==null){this.p_$X.info("ended(): "+this.p_$7N.getURI());}
xmp.$.$3B.base.i_$ZH.call(this);};xmp.$.$3B.prototype.i_$YG=function(sc){return true;};xmp.$.$3B.prototype.i_$YH=function(){return this.p_$70;};xmp.$.$3B.prototype.i_$YI=function(){return this.p_$C3;};xmp.$.$3B.prototype.i_$ZP=function(tc){};xmp.$.$3B.prototype.i_$ZR=function(uc){};xmp.$.$3B.prototype.i_$XQ=function(){this.i_$ZU({object:this,id:"setCreated",interval:xmp.i_$QP,handler:this.i_$ZX,context:null}).i_$RL();};xmp.$.$3B.prototype.i_$ZY=function(vc,wc){this.p_$7M.i_$109(vc,wc);};xmp.$.$3B.prototype.i_$Q7=function(xc){this.p_$3N=xc;};xmp.$.$3B.prototype.i_$ZZ=function(yc){this.p_$3N=yc;};xmp.$.$3B.prototype.i_$WZ=function(){return null;};xmp.$.$3B.prototype.i_$101=function(){return this.p_$C9;};xmp.i_$132="QuickTime";xmp.QUICKTIME_MIME_TYPE="video/quicktime";xmp.i_$133="Flip4Mac";xmp.i_$134="QuickTimeCheckObject.QuickTimeCheck.1";xmp.i_$135=" Beta";xmp.$.$3C=function(zc,Ac){this.p_$B6=new xmp.$.$3D(this);xmp.$.$3C.ctor.call(this,xmp.i_$132,zc,Ac);};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$3C);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0051\u0075\u0069\u0063\u006B\u0054\u0069\u006D\u0065\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$3C);xmp.$.$3C.prototype.i_$T5=function(Bc){this.p_$B6.i_$T5(Bc);};xmp.$.$3C.prototype.i_$T9=function(){xmp.$.$3C.base.i_$T9.call(this);this.p_$B6.i_$T9();};xmp.$.$3C.prototype.i_$YB=function(){xmp.$.$3C.base.i_$YB.call(this);this.p_$B6.i_$YB();};xmp.$.$3C.prototype.i_$YC=function(){xmp.$.$3C.base.i_$YC.call(this);this.p_$B6.i_$YC();};xmp.$.$3C.prototype.i_$RN=function(){xmp.$.$3C.base.i_$RN.call(this);this.p_$B6.i_$RN();};xmp.$.$3C.prototype.i_$YD=function(){xmp.$.$3C.base.i_$YD.call(this);this.p_$B6.i_$YD();};xmp.$.$3C.prototype.i_$YE=function(){xmp.$.$3C.base.i_$YE.call(this);this.p_$B6.i_$YE();};xmp.$.$3C.prototype.i_$YF=function(Cc){xmp.$.$3C.base.i_$YF.call(this,Cc);this.p_$B6.i_$YF(Cc);};xmp.$.$3C.prototype.i_$ZH=function(){xmp.$.$3C.base.i_$ZH.call(this);this.p_$B6.i_$ZH();};xmp.$.$3C.prototype.i_$YG=function(Dc){return this.p_$B6.i_$YG(Dc);};xmp.$.$3C.prototype.i_$ZR=function(Ec){this.p_$CE();if(Ec.indexOf(xmp.WINDOWS_MEDIA_MIME_TYPE)!==-1){this.p_$CF();}};xmp.$.$3C.prototype.i_$YH=function(){return this.p_$B6.i_$YH();};xmp.$.$3C.prototype.i_$YI=function(){return this.p_$B6.i_$YI();};xmp.$.$3C.prototype.i_$YK=function(){return this.p_$B6.i_$YK();};xmp.$.$3C.prototype.i_$YJ=function(Fc){this.p_$B6.i_$YJ(Fc);};xmp.$.$3C.prototype.i_$YM=function(){return this.p_$B6.i_$YM();};xmp.$.$3C.prototype.i_$YL=function(Gc){this.p_$B6.i_$YL(Gc);};xmp.$.$3C.prototype.i_$Q7=function(Hc){Hc.id=xmp.i_$132+Hc.group;xmp.$.$3C.base.i_$Q7.call(this,Hc);if(Hc.viewport.i_$X4()!==xmp.DHTML_VIEWPORT){throw new xmp.$.$23("Creating native player.","Invalid native player viewport \""+Hc.viewport.i_$X4()+"\".  Supported viewports:  DHTML",this);}
var Ic=Hc.viewport.i_$WZ();if(true===xmp.i_$P8()){Ic.innerHTML="<object id='"+Hc.id+"' width='"+Ic.style.width+"' height='"+Ic.style.height+"' classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'"+" style='background-color:  #000000; z-index: "+xmp.i_$ZK+"' >"+"<param name='src' value='"+Hc.node.getURI()+"' />"+"<param name='showlogo' value='false' />"+"<param name='bgcolor' value='#000000' />"+"<param name='autoplay' value='true' />"+"<param name='controller' value='false' />"+"<param name='enablejavascript' value='true' />"+"<param name='saveembedtags' value='true' />"+"<param name='scale' value='"+((true===Hc.stretchToFit)?"TOFIT":"ASPECT")+"' />"+"<param name='loop' value='false' />"+"<param name='kioskmode' value='true' /></object>";}
else{Ic.innerHTML="<embed type='video/quicktime' name='"+Hc.id+"' width='"+Ic.style.width+"' height='"+Ic.style.height+"' src='"+Hc.node.getURI()+"' showlogo='false'"+" style='background-color:  #000000; z-index: "+xmp.i_$ZK+"' bgcolor='#000000' autoplay='true'"+" controller='false' enablejavascript='true' saveembedtags='true'"+" scale='"+((true===Hc.stretchToFit)?"TOFIT":"ASPECT")+"' loop='false' kioskmode='true'></embed>";}
this.p_$B6.i_$Q7(Hc);this.i_$XQ();};xmp.$.$3C.prototype.p_$CE=function(){var Jc=this.i_$104(xmp.i_$132);var Kc="0.0.0.0";if(true===xmp.i_$P8()){try{var Lc=new ActiveXObject(xmp.i_$134);var Mc=Lc.QuickTimeVersion.toString(16);Kc=Mc.substr(0,1)+"."+Mc.substr(1,1)+"."+Mc.substr(2,1)+"."+Mc.substr(3);}
catch(e){throw new xmp.$.$2G("Validating native player plugin.",Jc);}
this.i_$103(xmp.i_$132,Kc);}
else{var Nc=navigator.mimeTypes[xmp.QUICKTIME_MIME_TYPE];if(!Nc){throw new xmp.$.$2G("Validating native player plugin.",Jc);}
if(!Nc.enabledPlugin){throw new xmp.$.$2F("Validating native player plugin.",Jc,xmp.QUICKTIME_MIME_TYPE);}
var Oc=Nc.enabledPlugin.name;if(Oc.indexOf(xmp.i_$132)===-1){throw new xmp.$.$2F("Validating native player plugin.",Jc,xmp.QUICKTIME_MIME_TYPE);}
Kc=Oc.split(" ")[2];this.i_$103(xmp.i_$132,Kc);}};xmp.$.$3C.prototype.p_$CF=function(){var Pc;var Qc=this.i_$104(xmp.i_$133);var Rc=navigator.plugins.length;for(var i=0;i<Rc;i++){var Sc=navigator.plugins[i];Pc=Sc.name;if(Pc.indexOf(xmp.i_$133)!==-1){var Tc=Pc.split(" ")[4];this.i_$103(xmp.i_$133,Tc);return;}}
throw new xmp.$.$2G("Validating native player plugin.",Qc);};xmp.i_$136="Waiting";xmp.i_$137="Loading";xmp.i_$138="Playable";xmp.i_$139="Complete";xmp.i_$13A="Error";xmp.i_$13B=1;xmp.i_$13C=0;xmp.i_$13D=-5;xmp.i_$13E=5;xmp.i_$13F=256;xmp.i_$13G=180000;xmp.i_$13H="LoadBuffering";xmp.i_$13I="WaitBuffering";xmp.i_$13J="BufferingComplete";xmp.i_$13K="State Change Polling Interval";xmp.i_$13L="Connection Timeout Interval";xmp.i_$13M=",";xmp.$.$3D=function(Uc){this.p_$7L=Uc;this.p_$CG();this.p_$CH();this.p_$CI();this.p_$CJ();this.p_$CK=true;this.p_$CL=null;this.p_$CM=null;this.p_$CN=false;};xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0051\u0075\u0069\u0063\u006B\u0074\u0069\u006D\u0065\u0053\u0074\u0061\u0074\u0065\u004D\u0061\u0063\u0068\u0069\u006E\u0065',xmp.$.$3D);xmp.$.$3D.prototype.i_$T5=function(Vc){if(false===this.p_$CO()){this.p_$CP();this.p_$1T=Vc.getURI();this.p_$7L.i_$WZ().SetURL(this.p_$1T);}};xmp.$.$3D.prototype.i_$T9=function(){try{this.p_$CQ(xmp.i_$111,false);this.p_$7B=false;this.p_$CR();this.p_$CS();this.p_$7L.i_$WZ().SetMute(true);this.p_$7L.i_$WZ().Stop();}
catch(e){}};xmp.$.$3D.prototype.i_$YB=function(){this.p_$7L.i_$WZ().Play();this.p_$CQ(xmp.PLAY,true);};xmp.$.$3D.prototype.i_$YC=function(){this.p_$7L.i_$WZ().SetRate(xmp.i_$13C);this.p_$CQ(xmp.PAUSE,true);};xmp.$.$3D.prototype.i_$RN=function(){this.p_$7L.i_$WZ().Stop();this.p_$7L.i_$WZ().Rewind();this.p_$CQ(xmp.STOP,true);};xmp.$.$3D.prototype.i_$YD=function(){this.p_$7L.i_$WZ().SetRate(xmp.i_$13D);this.p_$CQ(xmp.REWIND,true);};xmp.$.$3D.prototype.i_$YE=function(){this.p_$7L.i_$WZ().SetRate(xmp.i_$13E);this.p_$CQ(xmp.FAST_FORWARD,true);};xmp.$.$3D.prototype.i_$YF=function(Wc){this.p_$7L.i_$WZ().SetRate(xmp.i_$13B);this.p_$7L.i_$WZ().SetTime(Wc*this.p_$7L.i_$WZ().GetTimeScale());this.p_$CQ(xmp.SEEKABLE,true);};xmp.$.$3D.prototype.i_$ZH=function(){this.p_$CQ(xmp.ENDED,false);};xmp.$.$3D.prototype.i_$YG=function(Xc){var Yc=this.p_$CT[this.p_$B6];for(var Zc=xmp.$.$4.i_$Q7(Yc);Zc.i_$Q9();Zc.i_$QB()){var $c=Zc.i_$QD();if($c.state===Xc){if(false===this.p_$CK){return true;}
else{return(true===$c.live);}}}
return false;};xmp.$.$3D.prototype.i_$YH=function(){try{return Math.floor(this.p_$7L.i_$WZ().GetTime()/this.p_$7L.i_$WZ().GetTimeScale());}
catch(e){}
return 0;};xmp.$.$3D.prototype.i_$YI=function(){try{var ad=this.p_$CK;var bd=this.p_$7L.i_$WZ().GetDuration();if(true===this.p_$CU()){ad=this.p_$CV(bd);}
return((true===ad||bd===0)?0:Math.floor(bd/this.p_$7L.i_$WZ().GetTimeScale()));}
catch(e){}
return 0;};xmp.$.$3D.prototype.i_$YK=function(){return Math.abs(Math.floor(((this.p_$7L.i_$WZ().GetVolume()+1)/xmp.i_$13F)*100));};xmp.$.$3D.prototype.i_$YJ=function(cd){this.p_$7L.i_$WZ().SetVolume(Math.floor(((cd.toFixed(1)+1)*0.01)*xmp.i_$13F));this.p_$85=cd;this.p_$CW=this.i_$YM();};xmp.$.$3D.prototype.i_$YM=function(){var dd=this.p_$7L.i_$WZ().GetMute();return(dd===true||dd===1);};xmp.$.$3D.prototype.i_$YL=function(ed){this.p_$7L.i_$WZ().SetMute(ed);this.p_$CW=ed;this.p_$85=Math.floor(((this.p_$7L.i_$WZ().GetVolume()+1)/xmp.i_$13F)*100);};xmp.$.$3D.prototype.i_$Q7=function(fd){this.p_$CX=parseInt(this.p_$7L.i_$10C(xmp.i_$13K),10);if(!this.p_$CX){throw new xmp.$.$28("Validating state change polling interval.","Missing state change polling interval.",this.p_$7L,null);}
this.p_$CY=parseInt(this.p_$7L.i_$10C(xmp.i_$13L),10);if(!this.p_$CY){throw new xmp.$.$28("Validating connection timeout interval.","Missing connection timeout interval.",this.p_$7L,null);}
this.p_$1T=fd.node.getURI();this.p_$CZ=this.p_$1T;this.p_$85=fd.volume;this.p_$CW=fd.muted;this.p_$CP();};xmp.$.$3D.prototype.p_$D0=function(gd,hd){try{if(this.p_$B6===xmp.ERRORS){return;}
if(true===this.p_$D1()){var jd=this.p_$D2();if(!jd){return;}
var kd=this.p_$BZ(jd);if(kd.length>0){if(false===this.p_$D3[kd].apply(this,[jd,kd])){return;}}}
if(false===this.p_$CU()){var ld=this.i_$YH();if(this.p_$B6!==xmp.ENDED&&ld>0&&(ld>=this.i_$YI())&&false===this.p_$CK){this.p_$CQ(xmp.ENDED,true);}}}
catch(e){this.p_$D4(null,e);}};xmp.$.$3D.prototype.p_$D5=function(md,nd){try{this.p_$CS();if(this.p_$B6===xmp.ERRORS){return;}
if(false===this.p_$7B&&false===this.p_$D6()){var e=this.p_$D7(this.p_$D2(),"Connection timeout.","Error connecting to \""+this.p_$1T+"\".");throw e;}}
catch(e2){this.p_$D4(null,e2);}};xmp.$.$3D.prototype.p_$BZ=function(od){if(od.indexOf(xmp.i_$13A)===-1&&false===this.p_$D6()){return"";}
for(var i=0;i<this.p_$81.length;i++){var pd=this.p_$81[i];if(od.indexOf(pd.nativeState)===0){if(0===pd.currentState.length){return pd.transitionState;}
else{for(var j=0;j<pd.currentState.length;j++){if(this.p_$B6===pd.currentState[j]){return pd.transitionState;}}}}}
return"";};xmp.$.$3D.prototype.p_$CI=function(){this.p_$CT={};this.p_$CT[xmp.i_$110]=[];this.p_$CT[xmp.CONNECTING]=[];this.p_$CT[xmp.CONNECTED]=[];this.p_$CT[xmp.OPEN]=[];this.p_$CT[xmp.i_$111]=[];this.p_$CT[xmp.PLAY]=[{state:xmp.PAUSE,live:false},{state:xmp.STOP,live:true},{state:xmp.REWIND,live:false},{state:xmp.FAST_FORWARD,live:false},{state:xmp.SEEKABLE,live:false}];this.p_$CT[xmp.PAUSE]=[{state:xmp.PLAY,live:false},{state:xmp.STOP,live:false},{state:xmp.REWIND,live:false},{state:xmp.FAST_FORWARD,live:false},{state:xmp.SEEKABLE,live:false}];this.p_$CT[xmp.STOP]=[{state:xmp.PLAY,live:true},{state:xmp.REWIND,live:false},{state:xmp.FAST_FORWARD,live:false}];this.p_$CT[xmp.REWIND]=[{state:xmp.PLAY,live:false},{state:xmp.STOP,live:false},{state:xmp.PAUSE,live:false},{state:xmp.FAST_FORWARD,live:false},{state:xmp.SEEKABLE,live:false}];this.p_$CT[xmp.FAST_FORWARD]=[{state:xmp.PLAY,live:false},{state:xmp.PAUSE,live:false},{state:xmp.STOP,live:false},{state:xmp.REWIND,live:false},{state:xmp.SEEKABLE,live:false}];this.p_$CT[xmp.SEEKABLE]=[{state:xmp.SEEKABLE,live:false},{state:xmp.PAUSE,live:false},{state:xmp.STOP,live:false},{state:xmp.REWIND,live:false},{state:xmp.FAST_FORWARD,live:false}];this.p_$CT[xmp.ENDED]=[{state:xmp.PLAY,live:false},{state:xmp.FAST_FORWARD,live:false},{state:xmp.SEEKABLE,live:false}];this.p_$CT[xmp.ERRORS]=[];};xmp.$.$3D.prototype.p_$CQ=function(qd,rd,sd){this.p_$B6=qd;if(true===rd){var td=((qd===xmp.i_$13H||qd===xmp.i_$13I||qd===xmp.i_$13J)?xmp.BUFFERING:qd);this.p_$7L.i_$ZT(td,sd);}};xmp.$.$3D.prototype.p_$CG=function(){this.p_$81=[];this.p_$81.push({nativeState:xmp.i_$136,currentState:[xmp.i_$110],transitionState:xmp.CONNECTING});this.p_$81.push({nativeState:xmp.i_$136,currentState:[xmp.CONNECTING,xmp.i_$13I],transitionState:xmp.i_$13I});this.p_$81.push({nativeState:xmp.i_$137,currentState:[xmp.i_$110,xmp.CONNECTING,xmp.i_$13I],transitionState:xmp.CONNECTED});this.p_$81.push({nativeState:xmp.i_$137,currentState:[xmp.CONNECTED,xmp.i_$13H,xmp.OPEN],transitionState:xmp.i_$13H});this.p_$81.push({nativeState:xmp.i_$138,currentState:[xmp.PLAY,xmp.PAUSE,xmp.STOP,xmp.REWIND,xmp.FAST_FORWARD,xmp.SEEKABLE,xmp.BUFFERING],transitionState:xmp.BUFFERING});this.p_$81.push({nativeState:xmp.i_$139,currentState:[xmp.i_$110,xmp.CONNECTING,xmp.CONNECTED,xmp.i_$13I,xmp.i_$13H],transitionState:xmp.OPEN});this.p_$81.push({nativeState:xmp.i_$139,currentState:[xmp.PLAY,xmp.PAUSE,xmp.STOP,xmp.REWIND,xmp.FAST_FORWARD,xmp.SEEKABLE,xmp.OPEN,xmp.BUFFERING],transitionState:xmp.i_$13J});this.p_$81.push({nativeState:xmp.i_$138,currentState:[xmp.i_$110,xmp.CONNECTING,xmp.CONNECTED,xmp.i_$13I,xmp.i_$13H],transitionState:xmp.OPEN});this.p_$81.push({nativeState:xmp.i_$139,currentState:[xmp.i_$13H],transitionState:xmp.ERRORS});this.p_$81.push({nativeState:xmp.i_$13A,currentState:[],transitionState:xmp.ERRORS});};xmp.$.$3D.prototype.p_$CH=function(){this.p_$D3={};this.p_$D3[xmp.ERRORS]=this.p_$D8;this.p_$D3[xmp.CONNECTING]=this.p_$D9;this.p_$D3[xmp.CONNECTED]=this.p_$DA;this.p_$D3[xmp.OPEN]=this.p_$DB;this.p_$D3[xmp.i_$13I]=this.p_$DC;this.p_$D3[xmp.i_$13H]=this.p_$DC;this.p_$D3[xmp.i_$13J]=this.p_$DC;this.p_$D3[xmp.BUFFERING]=this.p_$DC;};xmp.$.$3D.prototype.p_$D8=function(ud,vd){this.p_$7B=false;var wd="Unknown error.";if(true===this.p_$CU()){wd="Error connecting to \""+this.p_$1T+"\".";}
this.p_$D4(null,this.p_$D7(ud,"Connecting to media.",wd));return false;};xmp.$.$3D.prototype.p_$DA=function(xd,yd){this.p_$7L.i_$ZO();this.p_$CQ(xmp.CONNECTED,true);return true;};xmp.$.$3D.prototype.p_$D9=function(zd,Ad){this.p_$7L.i_$ZO();this.p_$CQ(xmp.CONNECTING,true);return true;};xmp.$.$3D.prototype.p_$DB=function(Bd,Cd){this.p_$7B=true;this.p_$CK=this.p_$CV(this.p_$7L.i_$WZ().GetDuration());this.i_$YJ(this.p_$85);if(true===this.p_$CW){this.i_$YL(true);}
this.p_$CQ(xmp.OPEN,true);this.p_$7L.i_$ZT(xmp.FIRST_FRAME_RENDERED);return true;};xmp.$.$3D.prototype.p_$DC=function(Dd,Ed){this.p_$DD();if(this.p_$B6!==xmp.i_$13I&&this.p_$B6!==xmp.i_$13H&&this.p_$B6!==xmp.i_$13J&&this.p_$B6!==xmp.BUFFERING){this.p_$CT[Ed]=this.p_$CT[this.p_$B6];}
var Fd=this.p_$DE();var Gd=((Ed===xmp.i_$13J)?Fd:this.p_$DF());var Hd=((Fd<=0)?0:Math.floor((Gd/Fd)*100));Hd=((99===Hd)?100:Hd);if(false===this.p_$CN&&(false===this.p_$CV(this.p_$DG())||Ed===xmp.i_$13I||Ed===xmp.i_$13H||Ed===xmp.i_$13J)){this.p_$CQ(Ed,true,{percent:Hd,bytesDownloaded:Gd,bytesTotal:Fd});}
this.p_$CN=(100===Hd);if(Ed===xmp.i_$13H&&true===this.p_$CN){this.p_$DB(Dd,Ed);}
return true;};xmp.$.$3D.prototype.p_$CU=function(){return(this.p_$B6===xmp.i_$110||this.p_$B6===xmp.CONNECTING||this.p_$B6===xmp.CONNECTED||this.p_$B6===xmp.i_$13I||this.p_$B6===xmp.i_$13H);};xmp.$.$3D.prototype.i_$13N=function(){return(this.p_$B6===xmp.BUFFERING||this.p_$B6===xmp.i_$13I||this.p_$B6===xmp.i_$13H||this.p_$B6===xmp.i_$13J);};xmp.$.$3D.prototype.p_$CV=function(Id){return(xmp.i_$13G===Id||0===Id||-1===Id);};xmp.$.$3D.prototype.p_$D1=function(){return(false===this.p_$CN);};xmp.$.$3D.prototype.p_$DH=function(){if(!this.p_$CL){this.p_$CL=this.p_$7L.i_$ZU({object:this,id:"stateChange",interval:this.p_$CX,handler:this.p_$D0,context:null});this.p_$CL.i_$RL();}};xmp.$.$3D.prototype.p_$CR=function(){if(this.p_$CL){this.p_$CL.i_$RN();this.p_$CL=null;}};xmp.$.$3D.prototype.p_$DI=function(){if(!this.p_$CM){this.p_$CM=this.p_$7L.i_$ZU({object:this,id:"connectionTimeout",interval:this.p_$CY,handler:this.p_$D5,context:null});this.p_$CM.i_$RL();}};xmp.$.$3D.prototype.p_$CS=function(){if(this.p_$CM){this.p_$CM.i_$RN();this.p_$CM=null;}};xmp.$.$3D.prototype.p_$CJ=function(){this.p_$DJ={};this.p_$DJ[100]="(Continue)";this.p_$DJ[101]="(Switching Protocols)";this.p_$DJ[200]="(OK)";this.p_$DJ[201]="(Created)";this.p_$DJ[202]="(Accepted)";this.p_$DJ[204]="(No Content)";this.p_$DJ[205]="(Reset Content)";this.p_$DJ[206]="(Partial Content)";this.p_$DJ[300]="(Multiple Choices)";this.p_$DJ[301]="(Moved Permanently)";this.p_$DJ[302]="(Found)";this.p_$DJ[303]="(See Other)";this.p_$DJ[304]="(Not Modified)";this.p_$DJ[305]="(Use Proxy)";this.p_$DJ[306]="(No Longer Used)";this.p_$DJ[307]="(Temporary Redirect)";this.p_$DJ[400]="(Bad Request)";this.p_$DJ[401]="(Not Authorised)";this.p_$DJ[402]="(Payment Required)";this.p_$DJ[403]="(Forbidden)";this.p_$DJ[404]="(Not Found)";this.p_$DJ[405]="(Method Not Allowed)";this.p_$DJ[406]="(Not Acceptable)";this.p_$DJ[407]="(Proxy Authentication Required)";this.p_$DJ[408]="(Request Timeout)";this.p_$DJ[409]="(Conflict)";this.p_$DJ[410]="(Gone)";this.p_$DJ[411]="(Length Required)";this.p_$DJ[412]="(Precondition Failed)";this.p_$DJ[413]="(Request Entity Too Large)";this.p_$DJ[414]="(Request URI Too Long)";this.p_$DJ[415]="(Unsupported Media Type)";this.p_$DJ[416]="(Requested Range Not Satisfiable)";this.p_$DJ[417]="(Expectation Failed)";this.p_$DJ[451]="(Parameter Not Understood)";this.p_$DJ[452]="(Conference Not Found)";this.p_$DJ[453]="(Not Enough Bandwidth)";this.p_$DJ[454]="(Session Not Founds)";this.p_$DJ[455]="(Method Not Valid In This State)";this.p_$DJ[456]="(Header Field Not Valid For Resource)";this.p_$DJ[457]="(Invalid Range)";this.p_$DJ[458]="(Parameter Is Read Only)";this.p_$DJ[459]="(Aggregate Operation Not Allowed)";this.p_$DJ[460]="(Only Aggregate Operation Allowed)";this.p_$DJ[461]="(Unsupported Transport)";this.p_$DJ[462]="(Destination Unreachable)";this.p_$DJ[500]="(Internal Server Error)";this.p_$DJ[501]="(Not Implemented)";this.p_$DJ[502]="(Bad Gateway)";this.p_$DJ[503]="(Service Unavailable)";this.p_$DJ[504]="(Gateway Timeout)";this.p_$DJ[505]="(HTTP Version Not Supported)";};xmp.$.$3D.prototype.p_$DK=function(Jd){var Kd=((this.p_$DJ[Jd])?this.p_$DJ[Jd]:"(Unknown)");return Jd+" "+Kd;};xmp.$.$3D.prototype.p_$DL=function(Ld){var Md=[];var Nd=Ld.substring(Ld.indexOf(":")+1);if(Nd.indexOf(xmp.i_$13M)===-1){Md.push(this.p_$DK(parseInt(Nd,10)));}
else{while(Nd.length>0){var Od=Nd.indexOf(xmp.i_$13M);if(Od===-1){Md.push(this.p_$DK(parseInt(Nd,10)));break;}
else{Md.push(this.p_$DK(parseInt(Nd.substring(0,Od),10)));Nd=Nd.substring(Od+1);}}}
return Md;};xmp.$.$3D.prototype.p_$CP=function(){this.p_$7B=false;this.p_$CN=false;this.p_$CQ(xmp.i_$110,false);this.p_$DH();this.p_$DI();};xmp.$.$3D.prototype.p_$DD=function(){if(false===this.p_$7B&&this.i_$YH()>0){this.p_$DB("",xmp.OPEN);}};xmp.$.$3D.prototype.p_$D7=function(Pd,Qd,Rd){var Sd=[];if(Pd&&Pd.indexOf(xmp.i_$13A)===0){Sd.push({label:"QuickTime Error Codes",text:this.p_$DL(Pd).join(", ")});}
return new xmp.$.$27(Qd,Rd,this.p_$7L,Sd);};xmp.$.$3D.prototype.p_$DG=function(){try{return this.p_$7L.i_$WZ().GetDuration();}
catch(e){}
return 0;};xmp.$.$3D.prototype.p_$DM=function(){try{return this.p_$7L.i_$WZ().GetMaxTimeLoaded();}
catch(e){}
return 0;};xmp.$.$3D.prototype.p_$DF=function(){try{return this.p_$7L.i_$WZ().GetMaxBytesLoaded();}
catch(e){}
return 0;};xmp.$.$3D.prototype.p_$DE=function(){try{return this.p_$7L.i_$WZ().GetMovieSize();}
catch(e){}
return 0;};xmp.$.$3D.prototype.p_$D2=function(){try{return this.p_$7L.i_$WZ().GetPluginStatus();}
catch(e){}
return null;};xmp.$.$3D.prototype.p_$CO=function(){if(this.p_$CZ){this.p_$CZ=null;return true;}
return false;};xmp.$.$3D.prototype.p_$D4=function(Td,e){this.p_$CQ(xmp.ERRORS,false);this.p_$7L.i_$RS(Td,e);};xmp.$.$3D.prototype.p_$D6=function(){try{var Ud=this.p_$7L.i_$WZ().GetURL();if(!Ud){return false;}
return(Ud.length>0&&(Ud===this.p_$1T));}
catch(e){}
return false;};xmp.i_$13O="WindowsMedia";xmp.WINDOWS_MEDIA_MIME_TYPE="video/x-ms-wmv";xmp.i_$13P="OpenState";xmp.i_$13Q="PlayState";xmp.i_$13R=8;xmp.i_$13S=3;xmp.i_$13T=1;xmp.i_$13U=10;xmp.i_$13V=11;xmp.i_$13W=13;xmp.i_$13X="WMPlayer.OCX.7";xmp.i_$13Y=xmp.i_$OK("i_$13Z");xmp.i_$140=xmp.i_$OK("i_$141");xmp.i_$142=xmp.i_$OK("i_$143");xmp.i_$144=xmp.i_$OK("i_$YU");xmp.i_$145=xmp.i_$OK("i_$SW");xmp.$.$3E=function(Vd,Wd){xmp.$.$3E.ctor.call(this,xmp.i_$13O,Vd,Wd);this.p_$DN();};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$3E);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0057\u0069\u006E\u0064\u006F\u0077\u0073\u004D\u0065\u0064\u0069\u0061\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$3E);xmp.$.$3E.prototype.i_$T5=function(Xd){this.i_$WZ().URL=Xd.getURI();};xmp.$.$3E.prototype.i_$T9=function(){this.i_$WZ().close();xmp.$.$3E.base.i_$T9.call(this);};xmp.$.$3E.prototype.i_$YB=function(){this.i_$WZ().controls.play();xmp.$.$3E.base.i_$YB.call(this);this.i_$ZT(xmp.PLAY);};xmp.$.$3E.prototype.i_$YC=function(){this.i_$WZ().controls.pause();xmp.$.$3E.base.i_$YC.call(this);this.i_$ZT(xmp.PAUSE);};xmp.$.$3E.prototype.i_$RN=function(){this.i_$WZ().controls.stop();xmp.$.$3E.base.i_$RN.call(this);this.i_$ZT(xmp.STOP);};xmp.$.$3E.prototype.i_$YD=function(){this.i_$WZ().controls.fastReverse();xmp.$.$3E.base.i_$YD.call(this);this.i_$ZT(xmp.REWIND);};xmp.$.$3E.prototype.i_$YE=function(){this.i_$WZ().controls.fastForward();xmp.$.$3E.base.i_$YE.call(this);this.i_$ZT(xmp.FAST_FORWARD);};xmp.$.$3E.prototype.i_$YF=function(Yd){this.i_$WZ().controls.currentPosition=Yd;xmp.$.$3E.base.i_$YF.call(this,Yd);this.i_$ZT(xmp.SEEKABLE);};xmp.$.$3E.prototype.i_$YG=function(Zd){if(Zd===xmp.FULLSCREEN){return(true===this.i_$100()&&this.i_$WZ().playState===xmp.i_$13S);}
return this.i_$WZ().controls.isAvailable(xmp.$.$3G.i_$146(Zd));};xmp.$.$3E.prototype.i_$ZR=function($d){var ae=this.i_$104(xmp.i_$13O);try{var be=new ActiveXObject(xmp.i_$13X);this.i_$103(xmp.i_$13O,be.versionInfo);return;}
catch(e){if((e instanceof xmp.$.$25)||(e instanceof xmp.$.$2J)){throw e;}}
throw new xmp.$.$2G("Validating native player plugin.",ae);};xmp.$.$3E.prototype.i_$YH=function(){return this.i_$WZ().controls.currentPosition;};xmp.$.$3E.prototype.i_$YI=function(){var ce=this.i_$WZ().currentMedia;if(ce===null){return 0;}
return ce.duration;};xmp.$.$3E.prototype.i_$YK=function(){return this.i_$WZ().settings.volume;};xmp.$.$3E.prototype.i_$YJ=function(de){this.i_$WZ().settings.volume=de;};xmp.$.$3E.prototype.i_$YM=function(){return this.i_$WZ().settings.mute;};xmp.$.$3E.prototype.i_$YL=function(ee){this.i_$WZ().settings.mute=ee;};xmp.$.$3E.prototype.i_$YO=function(){return this.i_$WZ().fullScreen;};xmp.$.$3E.prototype.i_$YN=function(fe){if(false===this.i_$100()){throw new xmp.$.$2B("Invoking \"setFullscreen\" method.","Fullscreen disabled.",this);}
this.i_$WZ().fullScreen=fe;};xmp.$.$3E.prototype.i_$Q7=function(ge){ge.id=xmp.i_$13O+ge.group;xmp.$.$3E.base.i_$Q7.call(this,ge);if(ge.viewport.i_$X4()!==xmp.DHTML_VIEWPORT){throw new xmp.$.$23("Creating native player.","Invalid native player viewport \""+ge.viewport.i_$X4()+"\".  Supported viewports:  DHTML",this);}
var he=ge.viewport.i_$WZ();he.innerHTML="<object id='"+ge.id+"' width='"+he.style.width+"' height='"+he.style.height+"' style='background-color:  #000000; z-index: "+xmp.i_$ZK+"' classid='clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6'>"+"<param name='uiMode' value='none' />"+"<param name='stretchToFit' value='"+((true===ge.stretchToFit)?xmp.TRUE:xmp.FALSE)+"' />"+"<param name='enableContextMenu' value='false' />"+"<param name='windowlessVideo' value='"+((true===this.i_$100())?xmp.FALSE:xmp.TRUE)+"' />"+"<param name='volume' value='"+ge.volume+"'/>"+"<param name='mute' value='"+((true===ge.mute)?xmp.TRUE:xmp.FALSE)+"'/></object>"+"<script language = 'jscript' for='"+ge.id+"' event=playstatechange(newstate)>"+this.i_$XW(xmp.i_$13Y)+"(newstate);</script>"+"<script language = 'jscript' for='"+ge.id+"' event=openstatechange(newstate)>"+this.i_$XW(xmp.i_$140)+"(newstate);</script>"+"<script language = 'jscript' for='"+ge.id+"' event=buffering(start)>"+this.i_$XW(xmp.i_$142)+"(start);</script>"+"<script language = 'jscript' for='"+ge.id+"' event='scriptcommand(name, data)'>"+this.i_$XW(xmp.i_$144)+"(name, data);</script>"+"<script language = 'jscript' for='"+ge.id+"' event=error()>"+this.i_$XW(xmp.i_$145)+"();</script>";this.i_$XQ();};xmp.$.$3E.prototype.p_$DN=function(){this.p_$DO={};this.p_$DO[xmp.i_$13Q]=[{state:xmp.i_$13S,player_state:xmp.PLAY},{state:xmp.i_$13R,player_state:xmp.ENDED}];this.p_$DO[xmp.i_$13P]=[{state:xmp.i_$13U,player_state:xmp.CONNECTING},{state:xmp.i_$13V,player_state:xmp.CONNECTED},{state:xmp.i_$13W,player_state:xmp.OPEN}];};xmp.$.$3E.prototype.p_$BZ=function(ie,je){var ke=this.p_$DO[ie];for(var i=0;i<ke.length;i++){if(je===ke[i].state){return ke[i].player_state;}}
return"";};xmp.$.$3E.prototype.i_$13Z=function(le){try{if(le===xmp.i_$13T){this.i_$RV().warn("Play state changed to \"Stopped\".");}
var me=this.p_$BZ(xmp.i_$13Q,le);if(me.length>0){this.i_$ZT(me);}}
catch(e){this.i_$RS("Handling play state change.",e);}};xmp.$.$3E.prototype.i_$141=function(ne){try{var oe=this.p_$BZ(xmp.i_$13P,ne);if(oe.length>0){this.i_$ZT(oe);}}
catch(e){this.i_$RS("Handling open state change.",e);}};xmp.$.$3E.prototype.i_$143=function(pe){try{var qe=((true===pe)?this.i_$WZ().network.bufferingProgress:100);this.i_$ZT(xmp.BUFFERING,{percent:qe,bytesDownloaded:0,bytesTotal:0});if(100===qe){this.i_$ZT(xmp.FIRST_FRAME_RENDERED);}}
catch(e){this.i_$RS("Handling buffering.",e);}};xmp.$.$3E.prototype.i_$YU=function(re,se){try{this.i_$ZW(re,se);}
catch(e){this.i_$RS("Handling trigger.",e);}};xmp.$.$3E.prototype.i_$SW=function(){try{var te=null;var ue=this.i_$WZ().Error.item(0).errorCode;var ve=this.i_$WZ().Error.item(0).errorDescription;var we=[{label:"Windows Media Error Code",text:xmp.$.$3G.i_$147(ue)}];if(true===xmp.$.$3G.i_$148(ue)){te=new xmp.$.$27("Connecting to media.",ve,this,we);}
else{te=new xmp.$.$28("Handling error.",ve,this,we);}
this.i_$RS(null,te);}
catch(e){this.i_$RS("Handling error.",e);}};xmp.i_$149="WindowsMediaPlugIn";xmp.i_$14A="1";xmp.i_$14B="2";xmp.i_$14C="3";xmp.i_$14D="4";xmp.i_$14E="5";xmp.i_$14F="6";xmp.i_$14G=xmp.i_$OK("i_$YT");xmp.i_$14H=xmp.i_$OK("i_$SW");xmp.i_$14I=xmp.i_$OK("i_$YU");xmp.i_$14J="video/x-turner-wmv";xmp.i_$14K="Turner Media Plugin";xmp.i_$14L="TurnerMedia";xmp.$.$3F=function(xe,ye){xmp.$.$3F.ctor.call(this,xmp.i_$149,xe,ye);this.p_$DN();};xmp.DERIVE_CLASS(xmp.$.$1X,xmp.$.$3F);xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0057\u0069\u006E\u0064\u006F\u0077\u0073\u004D\u0065\u0064\u0069\u0061\u0050\u006C\u0075\u0067\u0049\u006E\u0050\u006C\u0061\u0079\u0065\u0072',xmp.$.$3F);xmp.$.$3F.prototype.i_$T5=function(ze){this.i_$ZT(xmp.CONNECTING);this.i_$WZ().url=ze.getURI();};xmp.$.$3F.prototype.i_$T9=function(){this.i_$WZ().close();xmp.$.$3F.base.i_$T9.call(this);};xmp.$.$3F.prototype.i_$YB=function(){this.i_$WZ().play();xmp.$.$3F.base.i_$YB.call(this);this.i_$ZT(xmp.PLAY);};xmp.$.$3F.prototype.i_$YC=function(){this.i_$WZ().pause();xmp.$.$3F.base.i_$YC.call(this);this.i_$ZT(xmp.PAUSE);};xmp.$.$3F.prototype.i_$RN=function(){this.i_$WZ().stop();xmp.$.$3F.base.i_$RN.call(this);this.i_$ZT(xmp.STOP);};xmp.$.$3F.prototype.i_$YD=function(){this.i_$WZ().rewind();xmp.$.$3F.base.i_$YD.call(this);this.i_$ZT(xmp.REWIND);};xmp.$.$3F.prototype.i_$YE=function(){this.i_$WZ().fastForward();xmp.$.$3F.base.fastForward.call(this);this.i_$ZT(xmp.FAST_FORWARD);};xmp.$.$3F.prototype.i_$YF=function(Ae){this.i_$WZ().seek(Ae);xmp.$.$3F.base.i_$YF.call(this,Ae);this.i_$ZT(xmp.SEEKABLE);};xmp.$.$3F.prototype.i_$YG=function(Be){return this.i_$WZ().isAvailable(xmp.$.$3G.i_$146(Be));};xmp.$.$3F.prototype.i_$ZR=function(Ce){var De=this.i_$104(xmp.i_$14L);var Ee=navigator.mimeTypes[xmp.i_$14J];if(!Ee){throw new xmp.$.$2G("Validating native player plugin.",De);}
if(!Ee.enabledPlugin){throw new xmp.$.$2F("Validating native player plugin.",De,xmp.i_$14J);}
var Fe=Ee.enabledPlugin.name;if(Fe.indexOf(xmp.i_$14K)===-1){throw new xmp.$.$2F("Validating native player plugin.",De,xmp.i_$14J);}
this.i_$103(xmp.i_$14L,Fe.substr(Fe.lastIndexOf(" ")+1));};xmp.$.$3F.prototype.i_$YH=function(){return this.i_$WZ().position;};xmp.$.$3F.prototype.i_$YI=function(){return this.i_$WZ().duration;};xmp.$.$3F.prototype.i_$YK=function(){return this.i_$WZ().volume;};xmp.$.$3F.prototype.i_$YJ=function(Ge){this.i_$WZ().volume=Math.floor(Ge);};xmp.$.$3F.prototype.i_$YM=function(){return this.i_$WZ().mute;};xmp.$.$3F.prototype.i_$YL=function(He){this.i_$WZ().mute=He;};xmp.$.$3F.prototype.i_$YO=function(){return this.i_$WZ().fullscreen;};xmp.$.$3F.prototype.i_$YN=function(Ie){this.i_$WZ().fullscreen=Ie;};xmp.$.$3F.prototype.i_$Q7=function(Je){Je.id=xmp.i_$149+Je.group;xmp.$.$3F.base.i_$Q7.call(this,Je);if(Je.viewport.i_$X4()!==xmp.DHTML_VIEWPORT){throw new xmp.$.$23("Creating native player.","Invalid native player viewport \""+Je.viewport.i_$X4()+"\".  Supported viewports:  DHTML",this);}
var Ke=Je.viewport.i_$WZ();Ke.innerHTML="<embed id='"+Je.id+"' type='"+xmp.i_$14J+"' statechangecallback='"+this.p_$C2(xmp.i_$14G)+"' errorcallback='"+this.p_$C2(xmp.i_$14H)+"' triggercallback='"+this.p_$C2(xmp.i_$14I)+"' "+"fullscreenenabled='"+((true===this.i_$100())?xmp.TRUE:xmp.FALSE)+"' uimode='none' stretchtofit='"+((true===Je.stretchToFit)?xmp.TRUE:xmp.FALSE)+"' windowlessvideo='true'"+"' volume='"+Je.volume+"' mute='"+((true===Je.mute)?xmp.TRUE:xmp.FALSE)+"' enablecontextmenu='false' width='"+Ke.style.width+"' height='"+Ke.style.height+"' style='background-color:  #000000; z-index: "+xmp.i_$ZK+"' />";this.i_$XQ();};xmp.$.$3F.prototype.p_$DN=function(){this.p_$DO={};this.p_$DO[xmp.i_$14A]=xmp.CONNECTING;this.p_$DO[xmp.i_$14B]=xmp.CONNECTED;this.p_$DO[xmp.i_$14C]=xmp.OPEN;this.p_$DO[xmp.i_$14D]=xmp.ENDED;this.p_$DO[xmp.i_$14E]=xmp.BUFFERING;this.p_$DO[xmp.i_$14F]=xmp.PLAY;};xmp.$.$3F.prototype.p_$BZ=function(Le){var Me=this.p_$DO[Le];return((Me)?Me:"");};xmp.$.$3F.prototype.i_$YT=function(Ne,Oe){try{var Pe=this.p_$BZ(Ne);if(Pe.length>0){var Qe=((Pe===xmp.BUFFERING)?{percent:parseInt(Oe,10),bytesDownloaded:0,bytesTotal:0}:null);this.i_$ZT(Pe,Qe);if(Pe===xmp.BUFFERING&&100===Qe.percent){this.i_$ZT(xmp.FIRST_FRAME_RENDERED);}}}
catch(e){this.i_$RS("Handling state change.",e);}};xmp.$.$3F.prototype.i_$SW=function(Re,Se){try{var Te=null;var Ue=parseInt(Se,10);var Ve=[{label:"Windows Media Error Code",text:xmp.$.$3G.i_$147(Ue)}];if(true===xmp.$.$3G.i_$148(Ue)){Te=new xmp.$.$27("Connecting to media.",Re,this,Ve);}
else{Te=new xmp.$.$28("Handling error.",Re,this,Ve);}
this.i_$RS(null,Te);}
catch(e){this.i_$RS("Handling error.",e);}};xmp.$.$3F.prototype.i_$YU=function(We,Xe){try{this.i_$ZW(We,Xe);}
catch(e){this.i_$RS("Handling trigger.",e);}};xmp.$.$3F.prototype.p_$C2=function(Ye){return xmp.i_$OT(this.i_$XW(Ye),false,false);};xmp.i_$14M="play";xmp.i_$14N="pause";xmp.i_$14O="stop";xmp.i_$14P="fastReverse";xmp.i_$14Q="fastForward";xmp.i_$14R="currentPosition";xmp.$.$3G=function(){return{i_$146:function(Ze){if(!this.commands){this.commands={};this.commands[xmp.PLAY]=xmp.i_$14M;this.commands[xmp.PAUSE]=xmp.i_$14N;this.commands[xmp.STOP]=xmp.i_$14O;this.commands[xmp.REWIND]=xmp.i_$14P;this.commands[xmp.FAST_FORWARD]=xmp.i_$14Q;this.commands[xmp.SEEKABLE]=xmp.i_$14R;this.commands[xmp.FULLSCREEN]=xmp.FULLSCREEN.toLowerCase();}
return this.commands[Ze];},i_$147:function($e){this.p_$DP();return((this.connectionErrorCodes[$e])?this.connectionErrorCodes[$e]:$e);},i_$148:function(af){this.p_$DP();return((this.connectionErrorCodes[af])?true:false);},p_$DP:function(){if(!this.connectionErrorCodes){this.connectionErrorCodes={};this.connectionErrorCodes[-1072885352]="NS_E_WMP_SERVER_INACCESSIBLE (0xC00D1198)";this.connectionErrorCodes[-1072885353]="NS_E_WMP_CANNOT_FIND_FILE (0xC00D1197)";this.connectionErrorCodes[-1072885325]="NS_E_WMP_SERVER_NOT_RESPONDING (0xC00D11B3)";this.connectionErrorCodes[-1072885328]="NS_E_WMP_SERVER_UNAVAILABLE (0xC00D11B0)";this.connectionErrorCodes[-1072885322]="NS_E_WMP_NETWORK_FIREWALL (0xC00D11B6)";this.connectionErrorCodes[-1072885320]="NS_E_WMP_PROXY_CONNECT_TIMEOUT (0xC00D11B8)";this.connectionErrorCodes[-1072885312]="NS_E_WMP_NETWORK_ERROR (0xC00D11C0)";this.connectionErrorCodes[-1072885311]="NS_E_WMP_CONNECT_TIMEOUT (0xC00D11C1)";this.connectionErrorCodes[-1072885309]="NS_E_WMP_SERVER_DNS_TIMEOUT (0xC00D11C3)";this.connectionErrorCodes[-1072885308]="NS_E_WMP_PROXY_NOT_FOUND (0xC00D11C4)";}}};}();xmp.$.$3.i_$PZ('\u0078\u006D\u0070\u002E\u0057\u0069\u006E\u0064\u006F\u0077\u0073\u004D\u0065\u0064\u0069\u0061\u0055\u0074\u0069\u006C\u0069\u0074\u0079',xmp.$.$3G,true);

