Media.MIN_SBVDP_VERSION="9.0.115";AC.Detector.isSBVDPAvailable=function(a){return(typeof swfobject!=="undefined")?swfobject.hasFlashPlayerVersion(a):false
};Media.Spec.SBVDP={create:function(c,a,l){var d,e,h,f,g,j,b="sbvd";a=this._convertUrl(a);
g=document.createElement("div");g.setAttribute("id",b);c?c.appendChild(g):document.body.appendChild(g);
d={videoSrc:a,height:l.height,width:l.width};e={menu:"false",salign:"TL",scale:"noscale",wmode:"opaque",allowScriptAccess:"always"};
if(d&&typeof d=="object"){for(f in d){if(d.hasOwnProperty(f)){if(typeof e.flashvars!="undefined"){e.flashvars+="&"+f+"="+d[f]
}else{e.flashvars=f+"="+d[f]}}}}h={data:"/global/scripts/sbvdp/sbvd_video_phase2.swf",width:l.width,height:l.height,id:b,name:b};
var i=swfobject.createSWF(h,e,b);$(i).addClassName((i.playerType="sbvdp"));return i
},interfaceMethods:{setup:function(){},duration:function(){var b=0;try{b=this.GetDuration()
}catch(a){}return b||0},time:function(){var b=0;try{b=this.GetTime()}catch(a){}return b||0
},setTime:function(a){try{this.SetTime(a)}catch(b){}},volume:function(){return this.GetVolume()
},setVolume:function(a){this.SetVolume(a)},muted:function(){return this.GetMute()
},setMuted:function(a){this.SetMute(a)},rate:function(){var a;try{a=this.GetRate()
}catch(b){}return a||1},setRate:function(a){this.SetRate(a)},status:function(){this.GetPluginStatus()
},percentLoaded:function(){var a=0;try{a=this.GetMaxBytesLoaded()/this.GetMovieSize()
}catch(b){}return a},pause:function(){try{this.PauseVid()}catch(a){}},play:function(){try{this.PlayVid()
}catch(a){}},paused:function(){return this.isMoviePaused()},ended:function(){return this.ended
},src:function(){var b;try{b=this.GetURL()}catch(a){}return b||""},setSrc:function(a){this.SetURL(a)
},timeScale:function(){return 1},movieType:function(){return"SBVDP"},getContainer:function(){return this._container
},setTrackTextSpan:function(a){},setCaptionsAvailable:function(d,b){this.movieSrc=(typeof this.movieSrc=="undefined")?this.GetURL():this.movieSrc;
var e;if(b.match(/\w+:\/\//i)){b=b.replace(/\w+:\/\/[^\/]+/i,"")}var f=b.substring(b.lastIndexOf("/"),b.length);
if(f.match(/-cc-/)){var a=this;function c(){a.InitializeCaptioning(b);d()}new Ajax.checkURL(b,c)
}},enableCaptions:function(){try{this.SetCaptioning(true)}catch(a){}},disableCaptions:function(){try{this.SetCaptioning(false)
}catch(a){}}},pollForChanges:["load","timeupdate","durationchange","progress","playing","play","pause","ended"],_convertUrl:function(i){var a,g,j,k=/\d+/,d,f,b,e,c;
i=i.substring(0,i.indexOf("?"));a=i;g=a.lastIndexOf("_r");if(g===-1){return i}else{j=a.substring(g);
f=k.exec(j);b=j.substring(j.indexOf("-"));e=k.exec(b);d=f[0]/(16/e[0]);c="_"+f[0]+"x"+d+".mov";
a=a.substring(0,g)+c;i=a;return i}}};