function rand(c){return Math.floor(Math.random()*c+1)}
function generatePlayer(c,a,d,m,v,p){uniq=rand(1E3);document.write('<table border="0" cellpadding="0" cellspacing="0">');document.write("<tbody><tr>");document.write('<td><img src="/images/spacer.gif" height="1" width="10"></td>');document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_top_left.jpg"></td>');document.write('<td class="dc4_cont_blueoval_top"></td>');document.write('<td class="dc4_cont_blueoval_top" nowrap="nowrap">&nbsp;<span class="dc4_cont_blueoval_title_dark">');document.write(c);
document.write("</span></td>");document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_top_right.jpg"></td>');document.write('<td><img src="/images/spacer.gif" height="1" width="10"></td>');document.write("</tr>");document.write("<tr>");document.write('<td></td><td class="dc4_cont_blueoval_left"></td><td></td><td id="dnn_ctr548_ContentPane" align="left">');document.write('<object type="application/x-shockwave-flash" data="http://devcentral.f5.com/media/players/FlowPlayerWhite.swf" ');
document.write('width="320" height="266" id="FlowPlayer');document.write(uniq);document.write('">');document.write('<param name="allowScriptAccess" value="sameDomain" />');document.write('<param name="movie" value="http://devcentral.f5.com/media/players/FlowPlayerWhite.swf" />');document.write('<param name="quality" value="high" />');document.write('<param name="scale" value="noScale" />');document.write('<param name="wmode" value="transparent" />');document.write('<param name="flashvars" value="config={');
document.write("videoFile: '");document.write(a);document.write(v);document.write(".flv',");document.write("splashImageFile: '");document.write(d);document.write("',");document.write("scaleSplash: true,");document.write("baseURL: '");document.write(m);document.write("',");document.write("autoPlay: false,");document.write("autoBuffer: true,");document.write("loop: false,");document.write("showLoopButton: false,");document.write("showMenu: false,");document.write("videoHeight: 240,");document.write("showPlayListButtons: true,");
document.write("hideControls: false");document.write('}" />');document.write("</object>");document.write("</td>");document.write('<td class="dc4_cont_blueoval_right"></td>');document.write("<td></td>");document.write("</tr>");document.write("<tr>");document.write("<td></td>");document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_bottom_left.jpg"></td>');document.write('<td class="dc4_cont_blueoval_bottom"></td><td class="dc4_cont_blueoval_bottom"></td>');document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_bottom_right.jpg"></td>');
document.write("<td></td>");document.write("</tr>");document.write("<tr>");document.write('<td colspan="3"/>');document.write('<td class="Normal" align="right">');document.write('[<a href="');document.write(m);document.write(a);document.write(p);document.write('.wmv">wmv</a>]');document.write('[<a href="');document.write(m);document.write(a);document.write(p);document.write('.mp4">mp4</a>]');document.write("</td>");document.write("<td/>");document.write("</tr>");document.write("</tbody></table>")}
function generateVideoPlayer(c,a,d,m,v,p,r,q,x){if(null==q)q="http://devcentral.f5.com/media/videos/";if(null==x)x="http://devcentral.f5.com/media/Audio/";uniq=rand(1E3);document.write('<table border="0" cellpadding="0" cellspacing="0">');document.write("<tbody><tr>");document.write('<td><img src="/images/spacer.gif" height="1" width="10"></td>');document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_top_left.jpg"></td>');document.write('<td class="dc4_cont_blueoval_top"></td>');
document.write('<td class="dc4_cont_blueoval_top" nowrap="nowrap">&nbsp;<span class="dc4_cont_blueoval_title_dark">');document.write(c);document.write("</span></td>");document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_top_right.jpg"></td>');document.write('<td><img src="/images/spacer.gif" height="1" width="10"></td>');document.write("</tr>");document.write("<tr>");document.write('<td></td><td class="dc4_cont_blueoval_left"></td><td></td><td id="dnn_ctr548_ContentPane" align="left">');
document.write('<object type="application/x-shockwave-flash" data="http://devcentral.f5.com/media/players/FlowPlayerLight.swf" ');document.write('width="320" height="266" id="FlowPlayer');document.write(uniq);document.write('" name="FlowPlayer');document.write(uniq);document.write('">');document.write('<param name="allowScriptAccess" value="sameDomain" />');document.write('<param name="movie" value="http://devcentral.f5.com/media/players/FlowPlayerLight.swf" />');document.write('<param name="quality" value="high" />');
document.write('<param name="scale" value="noScale" />');document.write('<param name="wmode" value="transparent" />');document.write('<param name="flashvars" value="config={');document.write("videoFile: '"+a+"',");document.write("splashImageFile: '"+d+"',");document.write("scaleSplash: true,");document.write("baseURL: '"+q+"',");document.write("autoPlay: false,");document.write("autoBuffering: false,");document.write("loop: false,");document.write("showLoopButton: false,");document.write("showMenu: false,");
document.write("videoHeight: 240,");document.write("showPlayListButtons: true,");document.write("controlBarBackgroundColor: 0xFFFFFF,");document.write("controlBarGloss: 'none',");document.write("hideControls: false");document.write('}" />');document.write("</object>");document.write("</td>");document.write('<td class="dc4_cont_blueoval_right"></td>');document.write("<td></td>");document.write("</tr>");document.write("<tr>");document.write("<td></td>");document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_bottom_left.jpg"></td>');
document.write('<td class="dc4_cont_blueoval_bottom"></td><td class="dc4_cont_blueoval_bottom"></td>');document.write('<td><img src="/Portals/_default/Containers/DC4/images/blueoval_bottom_right.jpg"></td>');document.write("<td></td>");document.write("</tr>");document.write("<tr>");document.write('<td colspan="3"/>');document.write('<td class="Normal" align="right"> Downloads: ');null!=m&&document.write(' <a href="'+q+m+'"><img style="vertical-align:bottom" border="0" alt="WMV" src="/media/images/wmv_16.jpg">&nbsp;WMV</a>');
null!=v&&document.write(' <a href="'+q+v+'"><img style="vertical-align:bottom" border="0" alt="iPod" src="/media/images/ipod_16.jpg">&nbsp;iPod</a>');null!=r&&document.write(' <a href="'+q+r+'"><img style="vertical-align:bottom" border="0" alt="Quicktime" src="/media/images/quicktime_16.jpg">&nbsp;Quicktime</a>');null!=p&&document.write(' <a href="'+x+p+'"><img style="vertical-align:bottom" border="0" alt="MP3" src="/media/images/mp3_16.gif">&nbsp;MP3</a>');document.write("</td>");document.write("<td/>");
document.write("</tr>");document.write("</tbody></table>")}
function generateAudioPlayer(c,a,d,m){if(null==m)m="http://devcentral.f5.com/media/audio/";FULL_AUDIO_PATH=m+c;window.alert(FULL_AUDIO_PATH);document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="20" >');document.write('<param name="allowScriptAccess" value="sameDomain"/>');document.write('<param name="movie" value="http://www.name.com/folder/xspf_player_slim.swf"/>');document.write('<param name="quality" value="high"/>');
document.write('<param name="bgcolor" value="#FFFFFF"/>');document.write('<embed src="xspf_player_slim.swf?');document.write("player_title=");document.write(a);document.write("&song_url=");document.write(FULL_AUDIO_PATH);document.write("&song_title=");document.write(d);document.write('" ');document.write('quality="high" bgcolor="#FFFFFF" name="xspf_player" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="center" height="16" width="250"> </embed>');
document.write("</object>")}if(typeof deconcept=="undefined")var deconcept={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={};
deconcept.SWFObject=function(c,a,d,m,v,p,r,q,x,e){if(document.getElementById){this.DETECT_KEY=e?e:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];c&&this.setAttribute("swf",c);a&&this.setAttribute("id",a);d&&this.setAttribute("width",d);m&&this.setAttribute("height",m);v&&this.setAttribute("version",new deconcept.PlayerVersion(v.toString().split(".")));this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(!window.opera&&document.all&&this.installedVer.major>7)deconcept.SWFObject.doPrepUnload=true;p&&this.addParam("bgcolor",p);this.addParam("quality",r?r:"high");this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);this.setAttribute("xiRedirectUrl",q?q:window.location);this.setAttribute("redirectUrl","");x&&this.setAttribute("redirectUrl",x)}};
deconcept.SWFObject.prototype={useExpressInstall:function(c){this.xiSWFPath=!c?"expressinstall.swf":c;this.setAttribute("useExpressInstall",true)},setAttribute:function(c,a){this.attributes[c]=a},getAttribute:function(c){return this.attributes[c]},addParam:function(c,a){this.params[c]=a},getParams:function(){return this.params},addVariable:function(c,a){this.variables[c]=a},getVariable:function(c){return this.variables[c]},getVariables:function(){return this.variables},getVariablePairs:function(){var c=
[],a,d=this.getVariables();for(a in d)c[c.length]=a+"="+d[a];return c},getSWFHTML:function(){var c="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}c='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';c+=
' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var a=this.getParams(),d;for(d in a)c+=[d]+'="'+a[d]+'" ';a=this.getVariablePairs().join("&");if(a.length>0)c+='flashvars="'+a+'"';c+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}c='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+
'" style="'+this.getAttribute("style")+'">';c+='<param name="movie" value="'+this.getAttribute("swf")+'" />';a=this.getParams();for(d in a)c+='<param name="'+d+'" value="'+a[d]+'" />';a=this.getVariablePairs().join("&");if(a.length>0)c+='<param name="flashvars" value="'+a+'" />';c+="</object>"}return c},write:function(c){if(this.getAttribute("useExpressInstall"))if(this.installedVer.versionIsValid(new deconcept.PlayerVersion([6,0,65]))&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",
true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){c=typeof c=="string"?document.getElementById(c):c;objTag=this.getSWFHTML();c.style.visibility="hidden";document.write(objTag+"<br>");return true}else this.getAttribute("redirectUrl")!=
""&&document.location.replace(this.getAttribute("redirectUrl"));return false}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){var c=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description)c=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){a=1;for(var d=3;a;)try{d++;a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+d);c=new deconcept.PlayerVersion([d,
0,0])}catch(m){a=null}}else{try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(v){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c=new deconcept.PlayerVersion([6,0,21]);a.AllowScriptAccess="always"}catch(p){if(c.major==6)return c}try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(r){}}if(a!=null)c=new deconcept.PlayerVersion(a.GetVariable("$version").split(" ")[1].split(","))}return c};
deconcept.PlayerVersion=function(c){this.major=c[0]!=null?parseInt(c[0]):0;this.minor=c[1]!=null?parseInt(c[1]):0;this.rev=c[2]!=null?parseInt(c[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(c){if(this.major<c.major)return false;if(this.major>c.major)return true;if(this.minor<c.minor)return false;if(this.minor>c.minor)return true;if(this.rev<c.rev)return false;return true};
deconcept.util={getRequestParameter:function(c){var a=document.location.search||document.location.hash;if(c==null)return a;if(a){a=a.substring(1).split("&");for(var d=0;d<a.length;d++)if(a[d].substring(0,a[d].indexOf("="))==c)return a[d].substring(a[d].indexOf("=")+1)}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){for(var c=document.getElementsByTagName("OBJECT"),a=c.length-1;a>=0;a--){c[a].style.display="none";for(var d in c[a])if(typeof c[a][d]=="function")c[a][d]=function(){}}};
if(deconcept.SWFObject.doPrepUnload)if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}if(!document.getElementById&&document.all)document.getElementById=function(c){return document.all[c]};
var getQueryParamValue=deconcept.util.getRequestParameter,FlashObject=deconcept.SWFObject,SWFObject=deconcept.SWFObject;
function generateMP3Player_small(c,a,d){if(null==d)d="http://devcentral.f5.com/media/audio/";FULL_AUDIO_PATH=d+a;d=new SWFObject("http://devcentral.f5.com/media/players/mp3player.swf","swf"+c,"240","20","7");d.addVariable("file",FULL_AUDIO_PATH);d.addVariable("repeat","false");d.addVariable("showdigits","true");d.addVariable("showdownload","true");d.addVariable("showeq","true");d.addVariable("showvolume","true");d.write(c);null!=a&&document.write('Download: <a href="'+FULL_AUDIO_PATH+'"><img style="vertical-align:bottom" border="0" alt="MP3" src="/media/images/mp3_16.gif">&nbsp;MP3</a>')}
function generateMP3Player_big(c,a,d){if(null==d)d="http://devcentral.f5.com/media/audio/";FULL_AUDIO_PATH=d+a;d=new SWFObject("http://devcentral.f5.com/media/players/AudioPlayer.swf?audioUrl="+FULL_AUDIO_PATH,"swf"+c,"400","27","7");d.addVariable("playerMode","embedded");d.write(c);null!=a&&document.write('Download: <a href="'+FULL_AUDIO_PATH+'"><img style="vertical-align:bottom" border="0" alt="MP3" src="/media/images/mp3_16.gif">&nbsp;MP3</a>')}
function generateMP3Player(c,a,d){generateMP3Player_big(c,a,d)}
(function(){function c(b){if(!b||typeof b!="object")return b;var f=new b.constructor,g;for(g in b)if(b.hasOwnProperty(g))f[g]=c(b[g]);return f}function a(b,f){if(b){var g,s=0,i=b.length;if(i===undefined)for(g in b){if(f.call(b[g],g,b[g])===false)break}else for(g=b[0];s<i&&f.call(g,s,g)!==false;g=b[++s]);return b}}function d(b,f,g){b&&f&&a(f,function(s,i){if(!g||typeof i!="function")b[s]=i})}function m(b){var f=b.indexOf(".");if(f!=-1){var g=b.substring(0,f)||"*",s=b.substring(f+1,b.length),i=[];a(document.getElementsByTagName(g),
function(){this.className&&this.className.indexOf(s)!=-1&&i.push(this)});return i}}function v(b){b=b||window.event;if(b.preventDefault){b.stopPropagation();b.preventDefault()}else{b.returnValue=false;b.cancelBubble=true}return false}function p(b,f,g){b[f]=b[f]||[];b[f].push(g)}function r(){return"_"+(""+Math.random()).substring(2,10)}function q(b,f,g){function s(){function j(o){!i.isLoaded()&&i._fireEvent("onBeforeClick")!==false&&i.load();return v(o)}if($f(b)){$f(b).getParent().innerHTML="";D=$f(b).getIndex();
t[D]=i}else{t.push(i);D=t.length-1}I=parseInt(b.style.height,10)||b.clientHeight;if(typeof f=="string")f={src:f};A=b.id||"fp"+r();E=f.id||A+"_api";f.id=E;g.playerId=A;if(typeof g=="string")g={clip:{url:g}};if(typeof g.clip=="string")g.clip={url:g.clip};g.clip=g.clip||{};if(b.getAttribute("href",2)&&!g.clip.url)g.clip.url=b.getAttribute("href",2);k=new e(g.clip,-1,i);g.playlist=g.playlist||[g.clip];var u=0;a(g.playlist,function(){var o=this;if(typeof o=="object"&&o.length)o=""+o;if(typeof o=="string")o=
{url:o};a(g.clip,function(z,B){if(g.clip[z]!==undefined&&o[z]===undefined&&typeof B!="function")o[z]=B});g.playlist[u]=o;o=new e(o,u,i);l.push(o);u++});a(g,function(o,z){if(typeof z=="function"){p(y,o,z);delete g[o]}});a(g.plugins,function(o,z){if(z)w[o]=new h(o,z,i)});if(!g.plugins||g.plugins.controls===undefined)w.controls=new h("controls",null,i);f.bgcolor=f.bgcolor||"#000000";f.version=f.version||[9,0];f.expressInstall="http://www.flowplayer.org/swf/expressinstall.swf";C=b.innerHTML;if(C.replace(/\s/g,
"")!=="")if(b.addEventListener)b.addEventListener("click",j,false);else b.attachEvent&&b.attachEvent("onclick",j);else{b.addEventListener&&b.addEventListener("click",v,false);i.load()}}var i=this,n=null,C,k,l=[],w={},y={},A,E,D,G,J,I;d(i,{id:function(){return A},isLoaded:function(){return n!==null},getParent:function(){return b},hide:function(j){if(j)b.style.height="0px";if(n)n.style.height="0px";return i},show:function(){b.style.height=I+"px";if(n)n.style.height=J+"px";return i},isHidden:function(){return n&&
parseInt(n.style.height,10)===0},load:function(j){if(!n&&i._fireEvent("onBeforeLoad")!==false){a(t,function(){this.unload()});C=b.innerHTML;flashembed(b,f,{config:g});if(j){j.cached=true;p(y,"onLoad",j)}}return i},unload:function(){try{if(!n||n.fp_isFullscreen())return i}catch(j){return i}if(i._fireEvent("onBeforeUnload")===false)return false;n.fp_close();n=null;if(C.replace(/\s/g,"")!=="")b.innerHTML=C;i._fireEvent("onUnload");return i},getClip:function(j){if(j===undefined)j=G;return l[j]},getCommonClip:function(){return k},
getPlaylist:function(){return l},getPlugin:function(j){var u=w[j];if(!u&&i.isLoaded()){var o=i._api().fp_getPlugin(j);if(o){u=new h(j,o,i);w[j]=u}}return u},getScreen:function(){return i.getPlugin("screen")},getControls:function(){return i.getPlugin("controls")},getConfig:function(j){return j?c(g):g},getFlashParams:function(){return f},loadPlugin:function(j,u,o,z){if(typeof o=="function"){z=o;o={}}var B=z?r():"_";i._api().fp_loadPlugin(j,u,o,B);u={};u[B]=z;z=new h(j,null,i,u);return w[j]=z},getState:function(){return n?
n.fp_getState():-1},play:function(j){function u(){j!==undefined?i._api().fp_play(j):i._api().fp_play()}n?u():i.load(function(){u()});return i},getVersion:function(){if(n){var j=n.fp_getVersion();j.push("flowplayer.js 3.0.6");return j}return"flowplayer.js 3.0.6"},_api:function(){if(!n)throw"Flowplayer "+i.id()+" not loaded. Try moving your call to player's onLoad event";return n},_dump:function(){console.log(y)},setClip:function(j){i.setPlaylist([j])},getIndex:function(){return D}});a("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,Fullscreen*,FullscreenExit,Error".split(","),
function(){var j="on"+this;if(j.indexOf("*")!=-1){j=j.substring(0,j.length-1);var u="onBefore"+j.substring(2);i[u]=function(o){p(y,u,o);return i}}i[j]=function(o){p(y,j,o);return i}});a("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,reset,close,setPlaylist".split(","),function(){var j=this;i[j]=function(u){if(!n)return i;u=u===undefined?n["fp_"+j]():n["fp_"+j](u);return u=="undefined"?i:u}});i._fireEvent=
function(j){if(typeof j=="string")j=[j];var u=j[0],o=j[1],z=j[2],B=j[3];g.debug&&console.log("$f.fireEvent",[].slice.call(j));if(!n&&u=="onLoad"&&o=="player"){n=n||document.getElementById(E);J=n.clientHeight;a(l,function(){this._fireEvent("onLoad")});a(w,function(L,H){H._fireEvent("onUpdate")});k._fireEvent("onLoad")}if(!(u=="onLoad"&&o!="player")){if(u=="onError")if(typeof o=="string"||typeof o=="number"&&typeof z=="number"){o=z;z=B}if(u=="onContextMenu")a(g.contextMenu[o],function(L,H){H.call(i)});
else if(u=="onPluginEvent"){if(B=w[o.name||o]){B._fireEvent("onUpdate",o);B._fireEvent(z,j.slice(3))}}else{if(u=="onPlaylistReplace"){l=[];var M=0;a(o,function(){l.push(new e(this,M++,i))})}var F=true;if(typeof o=="number"&&o<l.length){G=o;if(j=l[o])F=j._fireEvent(u,z,B);if(!j||F!==false)F=k._fireEvent(u,z,B,j)}var K=0;a(y[u],function(){F=this.call(i,o,z);this.cached&&y[u].splice(K,1);if(F===false)return false;K++});return F}}};typeof b=="string"?flashembed.domReady(function(){var j=document.getElementById(b);
if(j){b=j;s()}else throw"Flowplayer cannot access element: "+b;}):s()}function x(b){this.length=b.length;this.each=function(f){a(b,f)};this.size=function(){return b.length}}var e=function(b,f,g){var s=this,i={},n={};s.index=f;if(typeof b=="string")b={url:b};d(this,b,true);a("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop".split(","),function(){var k="on"+this;if(k.indexOf("*")!=-1){k=k.substring(0,k.length-1);var l="onBefore"+k.substring(2);s[l]=
function(w){p(n,l,w);return s}}s[k]=function(w){p(n,k,w);return s};if(f==-1){if(s[l])g[l]=s[l];if(s[k])g[k]=s[k]}});d(this,{onCuepoint:function(k,l){if(arguments.length==1){i.embedded=[null,k];return s}if(typeof k=="number")k=[k];var w=r();i[w]=[k,l];g.isLoaded()&&g._api().fp_addCuepoints(k,f,w);return s},update:function(k){d(s,k);g.isLoaded()&&g._api().fp_updateClip(k,f);var l=g.getConfig();d(f==-1?l.clip:l.playlist[f],k,true)},_fireEvent:function(k,l,w,y){if(k=="onLoad"){a(i,function(D,G){G[0]&&
g._api().fp_addCuepoints(G[0],f,D)});return false}y=y||s;if(k=="onCuepoint"){var A=i[l];if(A)return A[1].call(g,y,w)}if(k=="onStart"||k=="onUpdate"){d(y,l);if(y.duration)y.fullDuration=l.metaData.duration;else y.duration=l.metaData.duration}var E=true;a(n[k],function(){E=this.call(g,y,l,w)});return E}});if(b.onCuepoint){var C=b.onCuepoint;s.onCuepoint.apply(s,typeof C=="function"?[C]:C);delete b.onCuepoint}a(b,function(k,l){if(typeof l=="function"){p(n,k,l);delete b[k]}});if(f==-1)g.onCuepoint=this.onCuepoint},
h=function(b,f,g,s){var i={},n=this,C=false;s&&d(i,s);a(f,function(k,l){if(typeof l=="function"){i[k]=l;delete f[k]}});d(this,{animate:function(k,l,w){if(!k)return n;if(typeof l=="function"){w=l;l=500}if(typeof k=="string"){var y=k;k={};k[y]=l;l=500}if(w){var A=r();i[A]=w}if(l===undefined)l=500;f=g._api().fp_animate(b,k,l,A);return n},css:function(k,l){if(l!==undefined){var w={};w[k]=l;k=w}f=g._api().fp_css(b,k);d(n,f);return n},show:function(){this.display="block";g._api().fp_showPlugin(b);return n},
hide:function(){this.display="none";g._api().fp_hidePlugin(b);return n},toggle:function(){this.display=g._api().fp_togglePlugin(b);return n},fadeTo:function(k,l,w){if(typeof l=="function"){w=l;l=500}if(w){var y=r();i[y]=w}this.display=g._api().fp_fadeTo(b,k,l,y);this.opacity=k;return n},fadeIn:function(k,l){return n.fadeTo(1,k,l)},fadeOut:function(k,l){return n.fadeTo(0,k,l)},getName:function(){return b},getPlayer:function(){return g},_fireEvent:function(k,l){if(k=="onUpdate"){var w=g._api().fp_getPlugin(b);
if(!w)return;d(n,w);delete n.methods;if(!C){a(w.methods,function(){var y=""+this;n[y]=function(){var A=[].slice.call(arguments);A=g._api().fp_invoke(b,y,A);return A=="undefined"?n:A}});C=true}}if(w=i[k]){w.apply(n,l);k.substring(0,1)=="_"&&delete i[k]}}})},t=[];window.flowplayer=window.$f=function(){var b=null,f=arguments[0];if(!arguments.length){a(t,function(){if(this.isLoaded()){b=this;return false}});return b||t[0]}if(arguments.length==1)if(typeof f=="number")return t[f];else{if(f=="*")return new x(t);
a(t,function(){if(this.id()==f.id||this.id()==f||this.getParent()==f){b=this;return false}});return b}if(arguments.length>1){var g=arguments[1],s=arguments.length==3?arguments[2]:{};if(typeof f=="string")if(f.indexOf(".")!=-1){var i=[];a(m(f),function(){i.push(new q(this,c(g),c(s)))});return new x(i)}else{var n=document.getElementById(f);return new q(n!==null?n:f,g,s)}else if(f)return new q(f,g,s)}return null};d(window.$f,{fireEvent:function(){var b=[].slice.call(arguments),f=$f(b[0]);return f?f._fireEvent(b.slice(1)):
null},addPlugin:function(b,f){q.prototype[b]=f;return $f},each:a,extend:d});if(document.all)window.onbeforeunload=function(){$f("*").each(function(){this.isLoaded()&&this.close()})};if(typeof jQuery=="function")jQuery.prototype.flowplayer=function(b,f){if(!arguments.length||typeof arguments[0]=="number"){var g=[];this.each(function(){var s=$f(this);s&&g.push(s)});return arguments.length?g[arguments[0]]:new x(g)}return this.each(function(){$f(this,c(b),f?c(f):{})})}})();
(function(){function c(){if(x.done)return false;var e=document;if(e&&e.getElementsByTagName&&e.getElementById&&e.body){clearInterval(x.timer);x.timer=null;for(e=0;e<x.ready.length;e++)x.ready[e].call();x.ready=null;x.done=true}}function a(e,h){if(h)for(key in h)if(h.hasOwnProperty(key))e[key]=h[key];return e}function d(e){switch(m(e)){case "string":e=e.replace(RegExp('(["\\\\])',"g"),"\\$1");e=e.replace(/^\s?(\d+)%/,"$1pct");return'"'+e+'"';case "array":return"["+v(e,function(b){return d(b)}).join(",")+
"]";case "function":return'"function()"';case "object":var h=[],t;for(t in e)e.hasOwnProperty(t)&&h.push('"'+t+'":'+d(e[t]));return"{"+h.join(",")+"}"}return String(e).replace(/\s/g," ").replace(/\'/g,'"')}function m(e){if(e===null||e===undefined)return false;var h=typeof e;return h=="object"&&e.push?"array":h}function v(e,h){var t=[],b;for(b in e)if(e.hasOwnProperty(b))t[b]=h(e[b]);return t}function p(e,h){var t=document.all,b='<object width="'+e.width+'" height="'+e.height+'"';if(t&&!e.id)e.id=
"_"+(""+Math.random()).substring(9);if(e.id)b+=' id="'+e.id+'"';b+=e.w3c||!t?' data="'+e.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';b+=">";if(e.w3c||t)b+='<param name="movie" value="'+e.src+'" />';t=a({},e);t.width=t.height=t.id=t.w3c=t.src=null;for(var f in t)if(t[f]!==null)b+='<param name="'+f+'" value="'+t[f]+'" />';f="";if(h){for(var g in h)if(h[g]!==null)f+=g+"="+(typeof h[g]=="object"?d(h[g]):h[g])+"&";f=f.substring(0,f.length-1);b+=
'<param name="flashvars" value=\''+f+"' />"}b+="</object>";return b}function r(e,h,t){var b=flashembed.getVersion();a(this,{getContainer:function(){return e},getConf:function(){return conf},getVersion:function(){return b},getFlashvars:function(){return t},getApi:function(){return e.firstChild},getHTML:function(){return p(h,t)}});var f=h.version,g=h.expressInstall,s=!f||flashembed.isSupported(f);if(s){h.onFail=h.version=h.expressInstall=null;e.innerHTML=p(h,t)}else if(f&&g&&flashembed.isSupported([6,
65])){a(h,{src:g});t={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};e.innerHTML=p(h,t)}else if(e.innerHTML.replace(/\s/g,"")===""){e.innerHTML="<h2>Flash version "+f+" or greater is required</h2><h3>"+(b[0]>0?"Your version is "+b:"You have no flash plugin installed")+"</h3>"+(e.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");if(e.tagName=="A")e.href="http://www.adobe.com/go/getflashplayer"}if(!s&&
h.onFail){f=h.onFail.call(this);if(typeof f=="string")e.innerHTML=f}}var q=typeof jQuery=="function",x=q?jQuery:function(e){if(x.done)return e();if(x.timer)x.ready.push(e);else{x.ready=[e];x.timer=setInterval(c,13)}};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}});window.flashembed=function(e,h,t){if(typeof e=="string"){var b=document.getElementById(e);if(b)e=b;else{x(function(){flashembed(e,h,t)});return}}if(e){b=
{width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false};if(typeof h=="string")h={src:h};a(b,h);return new r(e,b,t)}};a(window.flashembed,{getVersion:function(){var e=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var h=navigator.plugins["Shockwave Flash"].description;if(typeof h!="undefined"){h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1");e=parseInt(h.replace(/^(.*)\..*$/,"$1"),10);
h=/r/.test(h)?parseInt(h.replace(/^.*r(.*)$/,"$1"),10):0;e=[e,h]}}else if(window.ActiveXObject){try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(t){try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");e=[6,0];h.AllowScriptAccess="always"}catch(b){if(e[0]==6)return}try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(f){}}if(typeof h=="object"){h=h.GetVariable("$version");if(typeof h!="undefined"){h=h.replace(/^\S+\s+(.*)$/,"$1").split(",");e=[parseInt(h[0],10),parseInt(h[2],
10)]}}}return e},isSupported:function(e){var h=flashembed.getVersion();return h[0]>e[0]||h[0]==e[0]&&h[1]>=e[1]},domReady:x,asString:d,getHTML:p});if(q)jQuery.prototype.flashembed=function(e,h){return this.each(function(){flashembed(this,e,h)})}})();
(function(){function c(a,d){if(a.substring(0,4)=="http")return a;if(d)return d+(d.substring(d.length-1)!="/"?"/":"")+a;d=location.protocol+"//"+location.host;if(a.substring(0,1)=="/")return d+a;var m=location.pathname;m=m.substring(0,m.lastIndexOf("/"));return d+m+"/"+a}$f.addPlugin("embed",function(a){var d=this.getConfig(true),m={width:this.getParent().clientWidth,height:this.getParent().clientHeight,url:c(this.getFlashParams().src),index:-1,allowfullscreen:true};$f.extend(m,a);m.src=m.url;if(m.index>
-1)d.playlist=[d.playlist[m.index]];var v=0;$f.each(d.playlist,function(){d.playlist[v++].url=c(this.url,this.baseUrl)});delete d.playerId;delete m.url;delete m.index;this.getEmbedCode=function(p){var r=flashembed.getFullHTML(m,{config:d});p||(r=r.replace(/\</g,"&lt;").replace(/\>/g,"&gt;"));return r};return this})})();
(function(c){$f.addPlugin("playlist",function(a,d){function m(b,f){if(b.hasClass(q.playingClass)||b.hasClass(q.pausedClass))r.toggle();else{b.addClass(q.progressClass);r.play(f)}return false}function v(){e.removeClass(q.playingClass);e.removeClass(q.pausedClass);e.removeClass(q.progressClass)}function p(b){return x?e.filter("[href="+b.url+"]"):e.eq(b.index)}var r=this,q={playingClass:"playing",pausedClass:"paused",progressClass:"progress",template:'<a href="${url}">${title}</a>',loop:false,playOnClick:true};
c.extend(q,d);a=c(a);var x=r.getPlaylist().length<2,e=null;if(x){e=a.children();if(e.eq(0).hasClass("__scrollable"))e=e.children();e.each(function(){var b=c(this);b.click(function(){return m(b,b.attr("href"))})});var h=r.getClip(0);!h.url&&q.playOnClick&&h.update({url:e.eq(0).attr("href")})}else{var t=a.is(":empty")?q.template:a.html();a.empty();c.each(r.getPlaylist(),function(){var b=this;if(b.duration===0)return false;var f=t;c.each(b,function(g,s){f=f.replace("${"+g+"}",s).replace("$%7B"+g+"%7D",
s)});f=c(f);f.click(function(){return m(f,b.index)});a.append(f)});e=a.children()}r.onBegin(function(b){v();p(b).addClass(q.playingClass)});r.onPause(function(b){p(b).removeClass(q.playingClass).addClass(q.pausedClass)});r.onResume(function(b){p(b).removeClass(q.pausedClass).addClass(q.playingClass)});!q.loop&&!x&&r.onBeforeFinish(function(b){if(b.index<e.length-1)return false});x&&q.loop&&r.onBeforeFinish(function(b){b=p(b);b.next().length?b.next().click():e.eq(0).click();return false});r.onUnload(function(){v()});
return r})})(jQuery);
(function(c){function a(d,m){function v(q){if(p.onClose||q){if(!q||q.target)q=p.onClose;q&&q.call(d)}r.fadeTo(p.speed,0,function(){r.hide();d.css({zIndex:p.zIndex-1})});r.unbind("click.unexpose")}var p={speed:1E3,zIndex:1,opacity:0.8,color:"#333",onClose:null};c.extend(p,m);var r=c("#blanket");if(!r.is(":visible")){if(!r.length){r=c('<div id="blanket"></div>').css({position:"absolute",top:0,left:0,width:"100%",height:c(document).height(),display:"none"}).css("opacity",0);c("body").append(r)}r.css({backgroundColor:p.color,zIndex:p.zIndex});
d.css({zIndex:p.zIndex+1});/relative|absolute/i.test(d.css("position"))||d.css("position","relative");r.css("display","block").fadeTo(p.speed,p.opacity);c(document).bind("keypress.unexpose",function(q){if(q.keyCode==27){v();c(document).unbind("keypress.unexpose")}});r.bind("click.unexpose",v);c.unexpose=v}}c.fn.expose=function(d){a(this,d);return this}})(jQuery);
function HDMediaPlayer(c,a,d,m){UNIQ=rand(1E3);ID="player"+UNIQ;WIDTH="511px";HEIGHT="310px";if(null==a)a="http://devcentral.f5.com/media/videos/";if(null==d)d="http://devcentral.f5.com/media/Audio/";if(null==m)m="#playlist";IMAGE_LOCATION="http://devcentral.f5.com/media/Images/";VIDEO_URL=a+c+".mp4";FLASH_URL=a+c+".flv";WMV_URL=a+c+".wmv";QT_URL=a+c+".mov";MP3_URL=d+c+".mp3";JPG_URL=a+c+".jpg";PLAYBUTTON_URL=IMAGE_LOCATION+"VideoPlayButton.png";HIRES_FILE=c+".MP4";HIRES_FILE=LORES_FILE=c+".FLV";
AUTOPLAY=true;AUTOBUFFER=false;document.write('<table border="0" class="hdvideotable"><tr><td>');document.write('<a id="'+ID+'" class="hdvideoplayer" href="'+HIRES_FILE+'" style="text-align:center;display:block;width:'+WIDTH+";height:"+HEIGHT+";background-image:url("+JPG_URL+');background-position:top right">');document.write('<img border="0" src="'+PLAYBUTTON_URL+'" alt="Click to Play the Video" style="margin-top:115px;">');document.write("</a>");document.write('</td></tr><tr><td align="right" class="hdvideocell">');
document.write("Downloads: ");document.write(' <a class="hdvideolink" href="'+WMV_URL+'">Windows Media.WMV</a>');document.write(' | <a class="hdvideolink" href="'+VIDEO_URL+'">iPod.MP4</a>');document.write(' | <a class="hdvideolink"  href="'+MP3_URL+'">Audio.MP3</a>');document.write("</td></tr></table>");$f(ID,"/media/players/flowplayer.commercial.swf",{key:"#$b6f38444bbc097cd844",clip:{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,baseUrl:a},playlist:[{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,url:flashembed.isSupported([9,
115])?HIRES_FILE:LORES_FILE}],logo:{url:"http://devcentral.f5.com/media/images/dc4_logo_45x45.png",top:10,right:10,opacity:0.5,fullscreenOnly:false},contextMenu:["DevCentral Video Player 3.0.5"]});$("a.hdvideoplayer").hover(function(){$("img",this).fadeTo(400,1)},function(){$("img",this).fadeTo(400,0.5)}).find("img").css({opacity:0.5})}
function HDMediaPlayerAutoPlay(c,a,d){UNIQ=rand(1E3);ID="player"+UNIQ;WIDTH="511px";HEIGHT="310px";if(null==a)a="http://devcentral.f5.com/media/videos/";if(null==d)d="http://devcentral.f5.com/media/Audio/";VIDEO_URL=a+c+".mp4";FLASH_URL=a+c+".flv";WMV_URL=a+c+".wmv";QT_URL=a+c+".mov";MP3_URL=d+c+".mp3";JPG_URL=a+c+".jpg";HIRES_FILE=c+".MP4";HIRES_FILE=LORES_FILE=c+".FLV";AUTOPLAY=false;AUTOBUFFER=true;document.write('<table border="0" class="hdvideotable"><tr><td>');document.write('<div id="'+ID+
'" style="display:block;width:'+WIDTH+";height:"+HEIGHT+'"></div>');document.write('</td></tr><tr><td align="right" class="hdvideocell">');document.write("Downloads: ");document.write(' <a class="hdvideolink" href="'+WMV_URL+'">Windows Media.WMV</a>');document.write(' | <a class="hdvideolink" href="'+VIDEO_URL+'">iPod.MP4</a>');document.write(' | <a class="hdvideolink"  href="'+MP3_URL+'">Audio.MP3</a>');document.write("</td></tr></table>");$f(ID,"/media/players/flowplayer.commercial.swf",{key:"#$b6f38444bbc097cd844",
clip:{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,baseUrl:a},playlist:[{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,url:flashembed.isSupported([9,115])?HIRES_FILE:LORES_FILE}],logo:{url:"http://devcentral.f5.com/media/images/dc4_logo_45x45.png",top:10,right:10,opacity:0.5,fullscreenOnly:false},contextMenu:["DevCentral Video Player 3.0.5"]})}
function CustomMediaPlayerNoAutoHide(c,a,d,m,v){UNIQ=rand(1E3);ID="player"+UNIQ;if(null==c)c="511px";if(null==a)a="310px";if(null==m)m="http://devcentral.f5.com/media/videos/";if(null==v)v="http://devcentral.f5.com/media/Audio/";IMAGE_LOCATION="http://devcentral.f5.com/media/Images/";VIDEO_URL=m+d+".mp4";FLASH_URL=m+d+".flv";WMV_URL=m+d+".wmv";QT_URL=m+d+".mov";MP3_URL=v+d+".mp3";JPG_URL=m+d+".jpg";PLAYBUTTON_URL=IMAGE_LOCATION+"VideoPlayButton.png";HIRES_FILE=d+".MP4";HIRES_FILE=LORES_FILE=d+".FLV";
AUTOPLAY=true;AUTOBUFFER=false;document.write('<table border="0" class="hdvideotable"><tr><td>');document.write('<a id="'+ID+'" class="hdvideoplayer" href="'+HIRES_FILE+'" style="text-align:center;display:block;width:'+c+";height:"+a+'">');document.write('<img border="0" src="'+JPG_URL+'" width="'+c+'" height="'+a+'">');document.write('<img border="0" src="'+PLAYBUTTON_URL+'" alt="Click to Play the Video" style="margin-top:50px;position:absolute;left:90px;top:25px;z-index:50;">');document.write("</a>");
document.write('</td></tr><tr><td align="right" class="hdvideocell">');document.write('</td></tr><tr><td align="left" class="hdvideocell">');document.write("</td></tr></table>");$f(ID,"/media/players/flowplayer.commercial.swf",{key:"#$b6f38444bbc097cd844",clip:{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,baseUrl:m},playlist:[{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,url:flashembed.isSupported([9,115])?HIRES_FILE:LORES_FILE}],logo:{url:"http://devcentral.f5.com/media/images/dc4_logo_45x45.png",top:10,
right:10,opacity:0.5,fullscreenOnly:false},contextMenu:["DevCentral Video Player 3.0.5"]});$("a.hdvideoplayer").hover(function(){$("img",this).fadeTo(400,1)},function(){$("img",this).fadeTo(400,0.5)}).find("img").css({opacity:0.5})}
function CustomMediaPlayer(c,a,d,m,v,p){UNIQ=rand(1E3);ID="player"+UNIQ;if(null==c)c="511px";if(null==a)a="310px";if(null==m)m=true;if(null==v)v="http://devcentral.f5.com/media/videos/";if(null==p)p="http://devcentral.f5.com/media/Audio/";IMAGE_LOCATION="http://devcentral.f5.com/media/Images/";VIDEO_URL=v+d+".mp4";FLASH_URL=v+d+".flv";WMV_URL=v+d+".wmv";QT_URL=v+d+".mov";MP3_URL=p+d+".mp3";JPG_URL=v+d+".jpg";PLAYBUTTON_URL=IMAGE_LOCATION+"VideoPlayButton.png";HIRES_FILE=d+".MP4";HIRES_FILE=LORES_FILE=
d+".FLV";AUTOPLAY=true;AUTOBUFFER=false;SCALING="scale";AUTOHIDE="always";HIDEDELAY=1E3;d=[];d.push('<table border="0" class="hdvideotable"><tr><td>');d.push('<a id="'+ID+'" class="hdvideoplayer" href="'+HIRES_FILE+'" style="text-align:center;display:block;width:'+c+";height:"+a+'">');d.push('<img border="0" src="'+JPG_URL+'" width="'+c+'" height="'+a+'">');d.push('<img border="0" src="'+PLAYBUTTON_URL+'" alt="Click to Play the Video" style="margin-top:50px;position:absolute;left:90px;top:25px;z-index:50;">');
d.push("</a>");d.push('</td></tr><tr><td align="right" class="hdvideocell">');d.push('</td></tr><tr><td align="left" class="hdvideocell">');d.push("</td></tr></table>");document.write(d.join(""));$f(ID,{src:"/media/players/flowplayer.commercial.swf",bgcolor:"#FFFFFF"},{key:"#$b6f38444bbc097cd844",clip:{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,baseUrl:v,scaling:SCALING,fadeInSpeed:0,fadeOutSpeed:0},playlist:[{autoPlay:AUTOPLAY,autoBuffering:AUTOBUFFER,url:flashembed.isSupported([9,115])?HIRES_FILE:
LORES_FILE}],logo:{url:"http://devcentral.f5.com/media/images/dc4_logo_45x45.png",top:10,right:10,opacity:0.5,fullscreenOnly:m},plugins:{controls:{autoHide:AUTOHIDE,hideDelay:HIDEDELAY}},contextMenu:["DevCentral Video Player 3.0.5"]});$("a.hdvideoplayer").hover(function(){$("img",this).fadeTo(400,1)},function(){$("img",this).fadeTo(400,0.5)}).find("img").css({opacity:0.5})}
function TransformLinks(c){VIDEO_EXTENSION=".flv";if(c=document.getElementById(c)){c=c.getElementsByTagName("a");for(var a=0;a<c.length;a++)c[a].onclick=function(){$f().play(this.getAttribute("href",2)+VIDEO_EXTENSION);return false}}};

