if(typeof AC==="undefined"){AC={}}AC.QuickTime={_createNullMovie:function(l,h){l=0;
h=0;var i=$(document.createElement("div")),g="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",j="http://www.apple.com/qtactivex/qtplugin.cab#version=7,3,0,0",k="http://www.apple.com/quicktime/download/";
i.innerHTML='<object width="'+l+'" height="'+h+'" classid="'+g+'" codebase="'+j+'"><embed width="'+l+'" height="'+h+'" type="video/quicktime" pluginspage="'+k+'"></embed></object>';
return i},minVersion:function(){return"7"},packageMovie:function(j,g,f){if(!j||!g){throw new TypeError("Valid Name and File URL are required arguments.")
}var h=AC.QuickTime.minVersion(),i=null;if(f&&f.minVersion){h=f.minVersion}if(!AC.Detector.isMobile()&&!AC.Detector.isiPad()&&!AC.Detector.isValidQTAvailable(h)){i=$(document.createElement("a"));
i.addClassName("quicktime-download");i.setAttribute("href","http://www.apple.com/quicktime/download/");
i.innerHTML=f.downloadText||"QuickTime required. Free download";$$("body")[0].fire("QuickTime:noCompatibleQTAvailable",{controller:this,minVersion:h});
return i}if(AC.Detector.isIEStrict()){AC.QuickTime.createEventSource()}if(f&&!!f.factory){return f.factory.create.call(f.factory,j,g,f)
}else{return AC.QuickTime.Factory.Plugin.create(j,g,f)}},createEventSource:function(){var f="qt_event_source",d,e;
if(document.getElementById(f)){return}d=document.createElement("object");d.id=f;
d.setAttribute("clsid","CB927D12-4FF7-4a9e-A169-56E4B8A75598");e=document.getElementsByTagName("head")[0];
e.appendChild(d)}};AC.Quicktime=AC.QuickTime;AC.QuickTime.Factory={Combined:{create:function(j,g,f){var h=null,i=null;
h=AC.QuickTime.Factory.Plugin.create(j,g,f);if(AC.Detector.isIEStrict()){return h
}else{i=AC.QuickTime.Factory.Video.create(j,g,f);i.appendChild(h);return i}}},Plugin:{create:function(i,f,j){var h=this._createOuterObject(i,f,j),g=null;
if(!AC.Detector.isIEStrict()){g=this._createInnerObject(i,f,j);h.appendChild(g);
h.inner=g}else{h.style.behavior="url(#qt_event_source)";if(j.aggressiveCleanup!==false){Event.observe(window,"unload",function(){try{h.Stop()
}catch(a){}h.style.display="none";h=null})}}this._configure(g,h,j);this._addParameter(h,"saveembedtags",true);
this._addParameter(g,"saveembedtags",true);this._addParameter(h,"postdomevents",true);
this._addParameter(g,"postdomevents",true);h.setAttribute("classid","clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B");
return h},_configure:function(g,h,j){if(!j){return false}var i=null,f=null;for(i in j){if(j.hasOwnProperty(i)){f=i.toLowerCase();
switch(f){case ("type"):case ("src"):case ("data"):case ("classid"):case ("name"):case ("id"):case ("postdomevents"):case ("saveembedtags"):case ("factory"):case ("aggressiveCleanup"):break;
case ("class"):Element.addClassName(h,j[i]);break;case ("innerId"):if(g){g.setAttribute("id",j[i])
}break;case ("autoplay"):this._addParameter(h,"autostart",j[i]);this._addParameter(g,"autostart",j[i]);
break;case ("width"):case ("height"):h.setAttribute(f,j[i]);if(g){g.setAttribute(f,j[i])
}break;default:this._addParameter(h,f,j[i]);this._addParameter(g,f,j[i]);break}}}},_addParameter:function(e,f,h){if(!e){return
}var g=document.createElement("param");g.setAttribute("value",h);g.setAttribute("name",f);
e.appendChild(g);g=null},_createOuterObject:function(j,g,f){var h=document.createElement("object"),i="7,3,0,0";
if((AC.Detector.isMobile()||AC.Detector.isiPad())&&f.posterFrame){this._addParameter(h,"src",f.posterFrame);
this._addParameter(h,"href",g);this._addParameter(h,"target","myself")}else{this._addParameter(h,"src",g)
}h.setAttribute("id",j);if(null!==f&&(typeof f.codebase!=="undefined")&&""!==f.codebase){i=f.codeBase
}h.setAttribute("codebase","http://www.apple.com/qtactivex/qtplugin.cab#version="+i);
return h},_createInnerObject:function(g,e,h){var f=document.createElement("object");
f.setAttribute("type","video/quicktime");f.setAttribute("data",e);f.setAttribute("id",g+"Inner");
f.setAttribute("name",g);return f}},Video:{create:function(h,f,e){var g=document.createElement("video");
g.setAttribute("id",h);g.setAttribute("src",f);this._configure(g,e);return g},_configure:function(h,e){if(!e){return false
}var g=null,f=null;for(g in e){if(e.hasOwnProperty(g)){f=g.toLowerCase();switch(f){case ("type"):case ("src"):case ("data"):case ("classid"):case ("name"):case ("id"):case ("postdomevents"):case ("saveembedtags"):case ("factory"):case ("aggressiveCleanup"):case ("innerId"):case ("cache"):case ("wmode"):case ("aggressivecleanup"):case ("showlogo"):break;
case ("class"):Element.addClassName(h,e[g]);break;case ("controller"):if(e[g]){h.setAttribute("controls","controls")
}break;case ("autoplay"):case ("autostart"):if(e[g]){h.setAttribute("autoplay","autoplay")
}break;default:h.setAttribute(f,e[g]);break}}}}},Audio:{},Null:{}};AC.QuickTime.States={Polling:{isAvailable:function(b){return true
},toString:function(){return"Polling State"},detachFromMovie:Prototype.emptyFunction,reset:Prototype.emptyFunction,_monitor:function(){var c=this.isPlaying(),d=null;
if(!this._acknowledgedPlayable){d=this.GetPluginStatus();if("Playable"===d||"Complete"===d){this._didBecomePlayable()
}}else{if(!this.isJogging){if(c&&!this.playing){this._didStart()}else{if(!c&&this.playing){this._didStop()
}}}}this.updateController();if(this.movie!==null){this.movieWatcher=setTimeout(AC.Quicktime.States.Polling._monitor.bind(this),this._monitorDelay)
}},monitorMovie:function(){this.movieWatcher=setTimeout(AC.Quicktime.States.Polling._monitor.bind(this),this._monitorDelay)
}},Events:{eventNames:{plugin:{loadstart:"loadstart",progress:"qt_progress",loadedmetadata:"loadedmetadata",loadedfirstframe:"loadedfirstframe",load:"load",abort:"abort",error:"error",emptied:"emptied",stalled:"stalled",play:"qt_play",pause:"qt_pause",waiting:"waiting",seeking:"seeking",seeked:"seeked",timeupdate:"timeupdate",ended:"qt_ended",dataunavailable:"dataunavailable",canshowcurrentframe:"canshowcurrentframe",canplay:"canplay",canplaythrough:"qt_canplaythrough",ratechange:"ratechange",durationchange:"durationchange",volumechange:"volumechange"},video:{loadstart:"loadstart",progress:"progress",loadedmetadata:"loadedmetadata",loadedfirstframe:"loadedfirstframe",load:"load",abort:"abort",error:"error",emptied:"emptied",stalled:"stalled",play:"play",pause:"pause",waiting:"waiting",seeking:"seeking",seeked:"seeked",timeupdate:"timeupdate",ended:"ended",dataunavailable:"dataunavailable",canshowcurrentframe:"canshowcurrentframe",canplay:"canplay",canplaythrough:"canplaythrough",ratechange:"ratechange",durationchange:"durationchange",volumechange:"volumechange"}},isAvailable:function(b){return AC.Detector.isQTCompatible("7.3")
},toString:function(){return"DOM Event State"},detachFromMovie:function(){var b=AC.QuickTime.States.Events._eventNames(this.movie);
Event.stopObserving(this.movie,b.canplaythrough,this._didBecomePlayableCallback);
Event.stopObserving(this.movie,b.pause,this._didStopCallback);Event.stopObserving(this.movie,b.play,this._didStartCallback)
},_eventNames:function(d){var c=d.tagName.match(/video/i)?AC.QuickTime.States.Events.eventNames.video:AC.QuickTime.States.Events.eventNames.plugin;
return c},reset:Prototype.emptyFunction,_monitor:function(){var d=null,c;if(!this._acknowledgedPlayable){d=this.GetPluginStatus();
if("Playable"===d||"Complete"===d){this._didBecomePlayable();if(this.isPlaying()){this._didStart()
}c=AC.QuickTime.States.Events._eventNames(this.movie);this._didStartCallback=this._didStart.bind(this);
Event.observe(this.movie,c.play,this._didStartCallback)}}this.updateController();
if(this.movie!==null){this.movieWatcher=setTimeout(AC.Quicktime.States.Events._monitor.bind(this),this._monitorDelay)
}},monitorMovie:function(){if(!this._hasBegunMonitoring){var b=AC.QuickTime.States.Events._eventNames(this.movie);
this._didStopCallback=this._didStop.bind(this);Event.observe(this.movie,b.pause,this._didStopCallback);
Event.observe(this.movie,b.ended,this._didStopCallback)}this.movieWatcher=setTimeout(AC.Quicktime.States.Events._monitor.bind(this),this._monitorDelay)
}}};AC.QuickTime.Controller=Class.create();AC.QuicktimeController=AC.QuickTime.Controller;
AC.QuickTimeController=AC.QuickTime.Controller;AC.QuickTime.Controller.prototype={movie:null,options:null,movieAttacher:null,attachDelay:500,movieWatcher:null,normalMonitorDelay:480,longMonitorDelay:4800,_monitorDelay:480,_hasBegunMonitoring:false,currentTime:0,percentLoaded:0,maxBytesLoaded:0,movieSize:0,allowAttach:true,controllerPanel:null,currentControl:null,playControl:null,pauseControl:null,slider:null,track:null,playHead:null,loadedProgress:null,state:null,_closedCaptionsAvailable:false,_closedCaptionsEnabled:false,_closedCaptionTrackIndex:4,_acknowledgedPlayable:false,isJogging:false,hardPaused:false,duration:0,finished:false,playing:false,unloader:null,initialize:function(d,c){this._eventSource=$$("body")[0];
this.options=c||{};if(this.options.delegate){this.setDelegate(this.options.delegate)
}if(this.options.renderInto){this.render(this.options.renderInto)}this.attachToMovie(d,c)
},setDelegate:function(b){this.delegate=b},setState:function(c,d){if(typeof(c)!=="undefined"){this.state=c
}else{this.state=AC.Quicktime.States.Polling}},attachToMovie:function(d,c){if(!d||!this.allowAttach){return
}if(!$(d)){throw"Movie has to be appended to document prior to attaching to with a controller."
}if(this.movie){this.detachFromMovie()}this._trackTypes=[];this._trackNames=[];
this._chapterNames=[];clearInterval(this.movieAttacher);if(typeof c!=="undefined"){this.options=c
}if(!this.unloader){this.unloader=this.detachFromMovie.bind(this);Event.observe(window,"unload",this.unloader)
}this._startLoadingIndicator(d);this.movieAttacher=setInterval(this._attach.bind(this,d),this.attachDelay);
d=null},_attach:function(d){if(!this.allowAttach){return}var c;try{this.movie=this._responsiveMediaElement(d)
}catch(c){this.movie=null}if(this.movie){clearInterval(this.movieAttacher);this.setState(this.options.state);
this.movieIsVideo=!!this.movie.tagName.match(/video/i);if(this.delegate&&typeof this.delegate.didAttach==="function"){this.delegate.didAttach(this)
}this._eventSource.fire("QuickTime:didAttach",{controller:this});this.monitorMovie()
}d=null},_startLoadingIndicator:function(b){this._movieContainer=b.parentNode;Element.addClassName(this._movieContainer,"movie-loading");
if(this.controllerPanel){Element.addClassName(this.controllerPanel,"movie-loading")
}},_stopLoadingIndicator:function(){if(this._movieContainer){Element.removeClassName(this._movieContainer,"movie-loading");
this._movieContainer=null}if(this.controllerPanel){Element.removeClassName(this.controllerPanel,"movie-loading")
}},_responsiveMediaElement:function(d){try{if(!d){return null}else{if(d.play||d.Play){return d
}else{return this._responsiveMediaElement(d.down("video, object, embed"))}}}catch(c){if(d.GetPluginStatus()){return d
}else{return this._responsiveMediaElement(d.down("video, object, embed"))}return null
}},detachFromMovie:function(){this.allowAttach=false;if(this.state){this.state._monitor.call(this);
this.state.detachFromMovie.call(this)}clearInterval(this.movieAttacher);clearTimeout(this.movieWatcher);
this.movie=null;this.reset();this._trackTypes=null;this._trackNames=null;this._chapterNames=null;
Event.stopObserving(window,"unload",this.unloader);this.unloader=null;this.allowAttach=true;
if(this.delegate&&typeof this.delegate.didDetach==="function"){this.delegate.didDetach(this)
}this._eventSource.fire("QuickTime:didDetach",{controller:this})},monitorMovie:function(){if(!this.movie){throw new Error("Cannot begin monitoring until attached to a movie")
}this.state.monitorMovie.call(this);if(this.controllerPanel!==null&&!this._hasBegunMonitoring){this.slider=new Control.Slider(this.playHead,this.track,{onSlide:function(b){if(isNaN(b)){return
}this.trackProgress.style.width=this.slider.translateToPx(b);if(!this.isJogging){this._didStartJogging()
}this.SetTime(b*this.GetDuration())}.bind(this),onChange:function(b){if(isNaN(b)){return
}if(this.isJogging){this._didStopJogging()}this.trackProgress.style.width=this.slider.translateToPx(b)
}.bind(this)});this.slider.updateStyles=Prototype.emptyFunction}this._hasBegunMonitoring=true
},_didBecomePlayable:function(){this._stopLoadingIndicator();this.updateController();
if(this._acknowledgedPlayable){return}this._acknowledgedPlayable=true;this._checkForClosedCaptions();
if(this.options.onMoviePlayable&&typeof this.options.onMoviePlayable==="function"){this.options.onMoviePlayable()
}if(this.delegate&&typeof this.delegate.didBecomePlayable==="function"){this.delegate.didBecomePlayable(this)
}this._eventSource.fire("QuickTime:canplaythrough",{controller:this})},playedCount:0,_didStart:function(){if(this.wasJogging){this.wasJogging=false;
return}this.playing=true;if(this.controllerPanel){this.controllerPanel.replaceChild(this.pauseControl,this.currentControl);
this.currentControl=this.pauseControl}if(typeof this.options.onMovieStart==="function"){this.options.onMovieStart()
}if(0===this.playedCount){if(this.delegate&&typeof this.delegate.didBegin==="function"){this.delegate.didBegin(this)
}this._eventSource.fire("QuickTime:begin",{controller:this})}else{if(this.delegate&&typeof this.delegate.didStart==="function"){this.delegate.didStart(this)
}this._eventSource.fire("QuickTime:start",{controller:this})}this.playedCount+=1
},_didStop:function(){if(this.isJogging){return}this.playing=false;if(this.controllerPanel){this.controllerPanel.replaceChild(this.playControl,this.currentControl);
this.currentControl=this.playControl}if(typeof this.options.onMovieStop==="function"){this.options.onMovieStop()
}var c=this.GetTime(),d=this.GetDuration();if(c>=d){this._didPlayProgress(d,d);
if(this.options.onMovieFinished&&typeof this.options.onMovieFinished==="function"){this.options.onMovieFinished()
}if(this.delegate&&typeof this.delegate.didEnd==="function"){this.delegate.didEnd(this)
}this._eventSource.fire("QuickTime:end",{controller:this})}else{if(this.delegate&&typeof this.delegate.didStop==="function"){this.delegate.didStop(this)
}this._eventSource.fire("QuickTime:stop",{controller:this})}},reset:function(){if(this.state){this.state.reset.call(this)
}this.duration=0;this.movieSize=0;this.maxBytesLoaded=0;this.percentLoaded=0;this.movieIsVideo=false;
this._acknowledgedPlayable=false;this.playedCount=0;this._hasBegunMonitoring=false;
this._monitorDelay=this.normalMonitorDelay;this._trackCount=NaN;this._trackTypes=[];
this._trackNames=[];this._chapterCount=NaN;this._chapterNames=[];this.setClosedCaptionsEnabled(false);
this._setClosedCaptionsAvailable(false);delete this.timeScale;if(this.slider){this.slider.setValue(0);
this.slider.trackLength=this.slider.maximumOffset()-this.slider.minimumOffset()
}this._stopLoadingIndicator();if(this.loadedProgress){this.loadedProgress.style.width="0px"
}},render:function(d){if(typeof d!=="undefined"&&!$(d)){throw new Error("Specified container ID, '"+d+"' not found in DOM")
}this.controllerPanel=$(document.createElement("div"));Element.addClassName(this.controllerPanel,"ACQuicktimeController");
this.playControl=document.createElement("div");Element.addClassName(this.playControl,"control");
Element.addClassName(this.playControl,"play");this.playControl.innerHTML="Play";
this.playControl.onclick=this.Play.bind(this);this.pauseControl=document.createElement("div");
Element.addClassName(this.pauseControl,"control");Element.addClassName(this.pauseControl,"pause");
this.pauseControl.innerHTML="Pause";this.pauseControl.onclick=this.Stop.bind(this);
var c=false;if(null!==this.movie){c=this.GetAutoPlay()}this.currentControl=(c)?this.pauseControl:this.playControl;
this.controllerPanel.appendChild(this.currentControl);this.sliderPanel=document.createElement("div");
Element.addClassName(this.sliderPanel,"sliderPanel");this.track=document.createElement("div");
Element.addClassName(this.track,"track");this.sliderPanel.appendChild(this.track);
this.loadedProgress=document.createElement("div");Element.addClassName(this.loadedProgress,"loadedProgress");
this.track.appendChild(this.loadedProgress);this.trackProgress=document.createElement("div");
Element.addClassName(this.trackProgress,"trackProgress");this.track.appendChild(this.trackProgress);
this.playHead=document.createElement("div");Element.addClassName(this.playHead,"playHead");
this.track.appendChild(this.playHead);this.controllerPanel.appendChild(this.sliderPanel);
this.timeDisplay=document.createElement("div");Element.addClassName(this.timeDisplay,"timeDisplay");
this.controllerPanel.appendChild(this.timeDisplay);if(d){$(d).appendChild(this.controllerPanel);
this.trackWidth=Element.getDimensions(this.track).width;if(this.delegate&&typeof this.delegate.didRenderController==="function"){this.delegate.didRenderController(this)
}this._eventSource.fire("QuickTime:didRenderController",{controller:this});if(this.movie){this.monitorMovie()
}}return this.controllerPanel},setTimeDisplayString:function(b){if(this.timeDisplay){this.timeDisplay.innerHTML=b
}},updateController:function(f){if(!this.controllerPanel){return}this._checkForClosedCaptions();
this._updateControllerLoadedProgress();if(this.isJogging||this.isPlaying()){var g=this.currentTime,e=this.GetTime(),h=this.GetDuration();
if(!isNaN(g)&&!isNaN(e)&&g!==e){if(!this.isJogging){this.slider.setValue(e/h)}this._didPlayProgress(e,h)
}}},_hasCheckedTracksForClosedCaptions:false,_checkForClosedCaptions:function(){if(this._hasCheckedTracksForClosedCaptions){return
}var d=this.GetTrackCount(),c;if(isNaN(d)){return}this._hasCheckedTracksForClosedCaptions=true;
for(c=1;c<=d;c++){if("Closed Caption"===this.GetTrackType(c)){this._closedCaptionTrackIndex=c;
this._setClosedCaptionsAvailable(true)}}},_didPlayProgress:function(d,c){if(this.delegate&&typeof this.delegate.didPlayProgress==="function"){this.delegate.didPlayProgress(this,d,c)
}this._eventSource.fire("QuickTime:didPlayProgress",{controller:this,currentTime:d,duration:c})
},_updateControllerLoadedProgress:function(g){if(this.percentLoaded<1||g){var f=Element.getDimensions(this.track).width,h=this.GetMaxBytesLoaded()/this.GetMovieSize(),e=0;
if(!isNaN(h)&&0!==h){this.percentLoaded=h}e=f*this.percentLoaded;Element.setStyle(this.loadedProgress,{width:e+"px"})
}},_didStartJogging:function(){if(!this.isJogging){this.playAfterJog=this.isPlaying();
this.isJogging=true;this.Stop();var b=this.GetTime();if(this.delegate&&typeof this.delegate.didStartJogging==="function"){this.delegate.didStartJogging(this,b)
}this._eventSource.fire("QuickTime:didStartJogging",{controller:this,time:b})}},_didStopJogging:function(){this.isJogging=false;
var b=this.GetTime();if(this.delegate&&typeof this.delegate.didStopJogging==="function"){this.delegate.didStopJogging(this,b)
}this._eventSource.fire("QuickTime:didStopJogging",{controller:this,time:b});if(this.playAfterJog){this.wasJogging=true;
this.Play()}},Play:function(){if(null!==this.movie){try{if(this.movieIsVideo){this.movie.play()
}else{this.movie.Play()}}catch(b){}}},Stop:function(){if(null!==this.movie){try{if(this.movieIsVideo){this.movie.pause()
}else{this.movie.Stop()}}catch(b){}}},Rewind:function(){if(null!==this.movie){this.movie.Stop();
this.movie.Rewind()}},Step:function(b){this.movie.Step(b)},ShowDefaultView:function(){this.movie.ShowDefaultView()
},GoPreviousNode:function(){this.movie.GoPreviousNode()},GetQuicktimeVersion:function(){return this.movie.GetQuickTimeVersion()
},GetQuicktimeLanguage:function(){return this.movie.GetQuicktimeLanguage()},GetQuicktimeConnectionSpeed:function(){return this.movie.GetQuicktimeConnectionSpeed()
},GetIsQuickTimeRegistered:function(){return this.movie.GetIsQuickTimeRegistered()
},GetComponentVersion:function(){return this.movie.GetComponentVersion()},GetPluginVersion:function(){return this.movie.GetPluginVersion()
},ResetPropertiesOnReload:function(){this.movie.ResetPropertiesOnReload()},GetPluginStatus:function(){if(!this.movieIsVideo){try{return this.movie.GetPluginStatus()
}catch(c){return"Waiting"}}else{var d=this.movie.readyState;return d>2?"Playable":"Waiting"
}},GetAutoPlay:function(){return this.movie.GetAutoPlay()},SetAutoPlay:function(b){this.movie.SetAutoPlay(b)
},GetControllerVisible:function(){return this.movie.GetControllerVisible()},SetControllerVisible:function(b){this.movie.SetControllerVisible(b)
},GetRate:function(){return this.movie.GetRate()},SetRate:function(b){this.movie.SetRate()
},GetTime:function(){var c=null;try{if(this.movieIsVideo){c=this.movie.currentTime
}else{c=this.movie.GetTime()}}catch(d){}if(null===c){c=this.currentTime+this._monitorDelay
}else{this.currentTime=c}return c||0},SetTime:function(c){try{if(this.movieIsVideo){this.movie.currentTime=c
}else{this.movie.SetTime(c)}}catch(d){}},GetVolume:function(){return this.movie.GetVolume()
},SetVolume:function(b){this.movie.SetVolume(b)},GetMute:function(){return this.movie.GetMute()
},SetMute:function(b){this.movie.SetMute(b);this.setClosedCaptionsEnabled(b)},GetMovieName:function(){return this.movie.GetMovieName()
},SetMovieName:function(b){this.movie.SetMovieName(b)},GetMovieID:function(){return this.movie.GetMovieID()
},SetMovieID:function(b){this.movie.SetMovieID(b)},GetStartTime:function(){return this.movie.GetStartTime()
},SetStartTime:function(b){this.movie.SetStartTime(b)},GetEndTime:function(){return this.movie.GetEndTime()
},SetEndTime:function(b){this.movie.SetEndTime(b)},GetBgColor:function(){return this.movie.GetBgColor()
},SetBgColor:function(b){this.movie.SetBgColor(b)},GetIsLooping:function(){return this.movie.GetIsLooping()
},SetIsLooping:function(b){this.movie.SetIsLooping(b)},GetLoopIsPalindrome:function(){return this.movie.GetLoopIsPalindrome()
},SetLoopIsPalindrome:function(b){this.movie.SetLoopIsPalindrome(b)},GetPlayEveryFrame:function(){return this.movie.GetPlayEveryFrame()
},SetPlayEveryFrame:function(b){this.movie.SetPlayEveryFrame(b)},GetHREF:function(){return this.movie.GetHREF()
},SetHREF:function(b){this.movie.SetHREF(b)},GetTarget:function(){return this.movie.GetTarget()
},SetTarget:function(b){this.movie.SetTarget(b)},GetQTNEXTUrl:function(){return this.movie.GetQTNEXTUrl()
},SetQTNEXTUrl:function(c,d){this.movie.SetQTNEXTUrl(c,d)},GetURL:function(){return this.movie.GetURL()
},SetURL:function(b){if(!!this.movie.tagName.match(/video/i)){this.movie.src=b;
this.movie.load()}else{this.movie.SetURL(b)}this.reset()},GetKioskMode:function(){return this.movie.GetKioskMode()
},SetKioskMode:function(b){this.movie.SetKioskMode(b)},GetDuration:function(){if(null===this.duration||0===this.duration||isNaN(this.duration)||this.duration===Infinity){try{if(this.movieIsVideo){this.duration=this.movie.duration
}else{this.duration=this.movie.GetDuration()}}catch(b){this.duration=0}}return this.duration
},GetMaxTimeLoaded:function(){return this.movie.GetMaxTimeLoaded()},GetTimeScale:function(){if(typeof this.timeScale!=="undefined"){return this.timeScale
}try{if(this.movieIsVideo){this.timeScale=2997}else{this.timeScale=this.movie.GetTimeScale()
}}catch(b){}return this.timeScale},GetMovieSize:function(){if(0===this.movieSize){try{if(this.movieIsVideo){this.movieSize=this.movie.totalBytes
}else{this.movieSize=this.movie.GetMovieSize()}}catch(b){this.movieSize=0}}return this.movieSize
},GetMaxBytesLoaded:function(){try{if(this.movieIsVideo){this.maxBytesLoaded=this.movie.bufferedBytes
}else{this.maxBytesLoaded=this.movie.GetMaxBytesLoaded()}}catch(b){}return this.maxBytesLoaded
},_trackCount:NaN,GetTrackCount:function(){if(!isNaN(this._trackCount)){return this._trackCount
}var d=NaN;try{var d=this.movie.GetTrackCount()}catch(c){return NaN}if(d<1){return NaN
}else{this._trackCount=d;return this._trackCount}},GetMatrix:function(){return this.movie.GetMatrix()
},SetMatrix:function(b){this.movie.SetMatrix(b)},GetRectangle:function(){return this.movie.GetRectangle()
},SetRectangle:function(b){this.movie.SetRectangle(b)},GetLanguage:function(){return this.movie.GetLanguage()
},SetLanguage:function(b){this.movie.SetLanguage(b)},GetMIMEType:function(){return this.movie.GetMIMEType()
},GetUserData:function(b){return this.movie.GetUserData(b)},GetIsVRMovie:function(){return this.movie.GetIsVRMovie()
},GetHotspotUrl:function(b){return this.movie.GetHotspotUrl(b)},SetHotspotUrl:function(d,c){this.movie.SetHotspotUrl(d,c)
},GetHotspotTarget:function(b){return this.movie.GetHotspotTarget(b)},SetHotspotTarget:function(d,c){this.movie.SetHotspotTarget(d,c)
},GetPanAngle:function(){return this.movie.GetPanAngle()},SetPanAngle:function(b){this.movie.SetPanAngle(b)
},GetTiltAngle:function(){return this.movie.GetTiltAngle()},SetTiltAngle:function(b){this.movie.SetTiltAngle(b)
},GetFieldOfView:function(){return this.movie.GetFieldOfView()},SetFieldOfView:function(b){this.movie.SetFieldOfView(b)
},GetNodeCount:function(){return this.movie.GetNodeCount()},SetNodeID:function(b){this.movie.SetNodeID(b)
},_trackNames:null,GetTrackName:function(e){if(!this._trackNames){throw"Need to attach to a movie before getting track names"
}if(this._trackNames[e]){return this._trackNames[e]}try{var d=this.movie.GetTrackName(e);
this._trackNames[e]=d;return d}catch(f){if(!this._trackExistsAtIndex(e)){throw"There is no track at the specified index: "+e
}else{return"Unknown"}}},_trackTypes:null,GetTrackType:function(e){if(!this._trackTypes){throw"Need to attach to a movie before getting track types"
}if(this._trackTypes[e]){return this._trackTypes[e]}try{var d=this.movie.GetTrackType(e);
this._trackTypes[e]=d;return d}catch(f){if(!this._trackExistsAtIndex(e)){throw"There is no track at the specified index: "+e
}else{return"Unknown"}}},GetTrackEnabled:function(d){try{return this.movie.GetTrackEnabled(d)
}catch(c){if(!this._trackExistsAtIndex(d)){throw"There is no track at the specified index: "+d
}}},SetTrackEnabled:function(d,e){try{this.movie.SetTrackEnabled(d,e)}catch(f){if(!this._trackExistsAtIndex(d)){throw"There is no track at the specified index: "+d
}}},_trackExistsAtIndex:function(b){return !isNaN(this._trackCount)&&(b<=this._trackCount)&&(b>0)
},GetSpriteTrackVariable:function(c,d){return this.movie.GetSpriteTrackVariable(c,d)
},SetSpriteTrackVariable:function(c,d){this.movie.SetSpriteTrackVariable(c,d)},_chapterCount:NaN,GetChapterCount:function(){if(!isNaN(this._chapterCount)){return this._chapterCount
}try{this._chapterCount=this.movie.GetChapterCount();return this._chapterCount}catch(b){return NaN
}},_chapterNames:null,GetChapterName:function(e){if(!this._chapterNames){throw"Need to attach to a movie before getting chapter names"
}if(this._chapterNames[e]){return this._chapterNames[e]}try{var f=this.movie.GetChapterName(e);
this._chapterNames[e]=f;return f}catch(d){if(!this._chapterExistsAtIndex(e)){throw"There is no chapter at the specified index: "+e
}else{return null}}},GoToChapter:function(d){try{this.movie.GoToChapter(d);return true
}catch(c){return false}},_chapterExistsAtIndex:function(b){return !isNaN(this._chapterCount)&&(b<=this._chapterCount)&&(b>0)
},isPlaying:function(){try{if(this.movieIsVideo){return !this.movie.paused&&!this.movie.ended
}else{return this.movie.GetRate()!==0}}catch(b){return false}},isFinished:function(){try{if(this.movieIsVideo){return this.movie.ended
}var f=this.movie.GetRate()===0,e=this.movie.GetTime()===this.GetDuration();return f&&e
}catch(d){return false}},toggle:function(){if(this.isPlaying()){this.Stop()}else{this.Play()
}},_setClosedCaptionsAvailable:function(b){this._closedCaptionsAvailable=b;if(this.controllerPanel){if(b){if(!this.captioningToggle){this.captioningToggle=document.createElement("div");
Element.addClassName(this.captioningToggle,"captioningToggle");Element.addClassName(this.captioningToggle,"ccAvailable");
Element.addClassName(this.controllerPanel,"ccAvailable");this.captioningToggle.innerHTML="Closed Captioning";
this.captioningToggle.onclick=this.toggleClosedCaptions.bind(this)}if(!this.captioningToggle.parentNode!==this.controllerPanel){this.controllerPanel.appendChild(this.captioningToggle)
}this._updateControllerLoadedProgress(true);this.slider.trackLength=this.slider.maximumOffset()-this.slider.minimumOffset()
}else{if(!b&&this.captioningToggle&&this.captioningToggle.parentNode){this.captioningToggle.parentNode.removeChild(this.captioningToggle)
}}}},toggleClosedCaptions:function(){if(!this._closedCaptionsAvailable){return}this.setClosedCaptionsEnabled(!this._closedCaptionsEnabled)
},setClosedCaptionsEnabled:function(d){if(!this._closedCaptionsAvailable){return
}try{this.SetTrackEnabled(this._closedCaptionTrackIndex,d);if(this.captioningToggle&&d){Element.addClassName(this.captioningToggle,"ccEnabled")
}else{Element.removeClassName(this.captioningToggle,"ccEnabled")}this._closedCaptionsEnabled=d;
if(this.delegate&&typeof this.delegate.didSetClosedCaptions==="function"){this.delegate.didSetClosedCaptions(this,d)
}this._eventSource.fire("QuickTime:didSetClosedCaptions",{controller:this,enabled:d})
}catch(c){}},closedCaptionsEnabled:function(){return this._closedCaptionsEnabled
},suspend:function(){if(this.movieWatcher){clearTimeout(this.movieWatcher);this.movieWatcher=null
}},decelerate:function(){this.setMonitorDelay(this.longMonitorDelay)},resume:function(){if(!this.movie){return
}if(!this.movieWatcher){this.monitorMovie()}else{this.setMonitorDelay(this.normalMonitorDelay)
}},setMonitorDelay:function(b){clearTimeout(this.movieWatcher);this._monitorDelay=b;
this.monitorMovie()},monitorDelay:function(){return this._monitorDelay}};
