function PagePlayer(K){var F=this;var N=this;var O=soundManager;var G=navigator.userAgent.match(/msie/i);var Q=navigator.userAgent.match(/opera/i);var B=navigator.userAgent.match(/firefox/i);this.config={flashVersion:8,usePeakData:false,useWaveformData:false,useEQData:false,fillGraph:false,allowRightClick:true,useThrottling:false,autoStart:false,playNext:true,updatePageTitle:false,emptyTime:"-:--",useFavIcon:false};O.debugMode=(window.location.href.toString().match(/debug=1/i)?true:false);this._mergeObjects=function(T,S){var W={};for(var U in T){W[U]=T[U]}var V=(typeof S=="undefined"?{}:S);for(var X in V){if(typeof W[X]=="undefined"){W[X]=V[X]}}return W};if(typeof K!="undefined"&&K){this.config=this._mergeObjects(K,this.config)}this.css={sDefault:"sm2_link",sLoading:"sm2_loading",sPlaying:"sm2_playing",sPaused:"sm2_paused"};this.cssBase=[];if(this.config.usePeakData){this.cssBase.push("use-peak")}if(this.config.useWaveformData||this.config.useEQData){this.cssBase.push("use-spectrum")}this.cssBase=this.cssBase.join(" ");O.flashVersion=this.config.flashVersion;if(O.flashVersion>=9){O.useMovieStar=this.config.useMovieStar;O.movieStarOptions.useVideo=this.config.useVideo;O.defaultOptions.usePeakData=this.config.usePeakData;O.defaultOptions.useWaveformData=this.config.useWaveformData;O.defaultOptions.useEQData=this.config.useEQData}this.links=[];this.sounds=[];this.soundsByObject=[];this.lastSound=null;this.soundCount=0;this.strings=[];this.dragActive=false;this.dragExec=new Date();this.dragTimer=null;this.pageTitle=document.title;this.lastWPExec=new Date();this.xbmImages=[];this.oControls=null;this.addEventHandler=function(U,T,S){typeof(attachEvent)=="undefined"?U.addEventListener(T,S,false):U.attachEvent("on"+T,S)};this.removeEventHandler=function(U,T,S){typeof(attachEvent)=="undefined"?U.removeEventListener(T,S,false):U.detachEvent("on"+T,S)};this.hasClass=function(T,S){return(typeof(T.className)!="undefined"?T.className.indexOf(S)+1:false)};this.addClass=function(T,S){if(!T||!S){return false}if(F.hasClass(T,S)){return false}T.className=(T.className?T.className+" ":"")+S};this.removeClass=function(T,S){if(!T||!S){return false}if(!F.hasClass(T,S)){return false}T.className=T.className.replace(new RegExp("( "+S+")|("+S+")","g"),"")};this.getElementsByClassName=function(W,S,Z){var Y=(Z||document);var X=[];var V,U;var T=[];if(typeof(S)!="undefined"&&typeof(S)!="string"){for(V=S.length;V--;){if(!T||!T[S[V]]){T[S[V]]=Y.getElementsByTagName(S[V])}}}else{if(S){T=Y.getElementsByTagName(S)}else{T=Y.all||Y.getElementsByTagName("*")}}if(typeof(S)!="string"){for(V=S.length;V--;){for(U=T[S[V]].length;U--;){if(F.hasClass(T[S[V]][U],W)){X[X.length]=T[S[V]][U]}}}}else{for(V=0;V<T.length;V++){if(F.hasClass(T[V],W)){X[X.length]=T[V]}}}return X};this.getOffX=function(S){var T=0;if(S.offsetParent){while(S.offsetParent){T+=S.offsetLeft;S=S.offsetParent}}else{if(S.x){T+=S.x}}return T};this.isChildOfClass=function(T,S){if(!T||!S){return false}while(T.parentNode&&!F.hasClass(T,S)){T=T.parentNode}return(F.hasClass(T,S))};this.getParentByNodeName=function(T,S){if(!T||!S){return false}S=S.toLowerCase();while(T.parentNode&&S!=T.parentNode.nodeName.toLowerCase()){T=T.parentNode}return(T.parentNode&&S==T.parentNode.nodeName.toLowerCase()?T.parentNode:null)};this.getTime=function(T,U){var S=Math.floor(T/1000);var V=Math.floor(S/60);var W=S-(V*60);return(U?(V+":"+(W<10?"0"+W:W)):{min:V,sec:W})};this.getSoundByObject=function(S){return(typeof F.soundsByObject[S.rel]!="undefined"?F.soundsByObject[S.rel]:null)};this.getSoundIndex=function(T){for(var S=F.links.length;S--;){if(F.links[S].rel==T.rel){return S}}return -1};this.setPageTitle=function(S){if(!F.config.updatePageTitle){return false}try{document.title=(S?S+" - ":"")+F.pageTitle}catch(T){F.setPageTitle=function(){return false}}};this.events={play:function(){N.removeClass(this._data.oLI,this._data.className);this._data.className=N.css.sPlaying;N.addClass(this._data.oLI,this._data.className);F.setPageTitle(this._data.originalTitle)},stop:function(){N.removeClass(this._data.oLI,this._data.className);this._data.className="";this._data.oPosition.style.width="0px";F.setPageTitle();F.resetPageIcon()},pause:function(){if(N.dragActive){return false}N.removeClass(this._data.oLI,this._data.className);this._data.className=N.css.sPaused;N.addClass(this._data.oLI,this._data.className);F.setPageTitle();F.resetPageIcon()},resume:function(){if(N.dragActive){return false}N.removeClass(this._data.oLI,this._data.className);this._data.className=N.css.sPlaying;N.addClass(this._data.oLI,this._data.className)},finish:function(){N.removeClass(this._data.oLI,this._data.className);this._data.className="";this._data.oPosition.style.width="0px";if(F.config.playNext&&this._data.nIndex<N.links.length-1){N.handleClick({target:N.links[this._data.nIndex+1]})}else{F.setPageTitle();F.resetPageIcon()}},whileloading:function(){this._data.oLoading.style.width=(((this.bytesLoaded/this.bytesTotal)*100)+"%");if(!this._data.didRefresh&&this._data.metadata){this._data.didRefresh=true;this._data.metadata.refresh()}},onload:function(){if(!this.loaded){var T=this._data.oLI.getElementsByTagName("a")[0];var U=T.innerHTML;var S=this;T.innerHTML=U+' <span style="font-size:0.5em"> | Load failed, d\'oh! '+(O.sandbox.noRemote?" Possible cause: Flash sandbox is denying remote URL access.":(O.sandbox.noLocal?"Flash denying local filesystem access":"404?"))+"</span>";setTimeout(function(){T.innerHTML=U},5000)}else{if(this._data.metadata){this._data.metadata.refresh()}}},metadata:function(){O._wD("video metadata: "+this.width+"x"+this.height);O.oMC.style.width=this.width+"px";O.oMC.style.height=this.height+"px"},whileplaying:function(){var S=null;if(N.dragActive||!N.config.useThrottling){F.updateTime.apply(this);if(O.flashVersion>=9){if(N.config.usePeakData&&this.instanceOptions.usePeakData){F.updatePeaks.apply(this)}if(N.config.useWaveformData&&this.instanceOptions.useWaveformData||N.config.useEQData&&this.instanceOptions.useEQData){F.updateGraph.apply(this)}}if(this._data.metadata){S=new Date();if(S&&S-F.lastWPExec>500){F.refreshMetadata(this);F.lastWPExec=S}}this._data.oPosition.style.width=(((this.position/F.getDurationEstimate(this))*100)+"%")}else{S=new Date();if(S-F.lastWPExec>500){F.updateTime.apply(this);if(O.flashVersion>=9){if(N.config.usePeakData&&this.instanceOptions.usePeakData){F.updatePeaks.apply(this)}if(N.config.useWaveformData&&this.instanceOptions.useWaveformData||N.config.useEQData&&this.instanceOptions.useEQData){F.updateGraph.apply(this)}}if(this._data.metadata){F.refreshMetadata(this)}this._data.oPosition.style.width=(((this.position/F.getDurationEstimate(this))*100)+"%");F.lastWPExec=S}}}};this.setPageIcon=function(T){if(!F.config.useFavIcon||!F.config.usePeakData||!T){return false}var S=document.getElementById("favicon");if(!S){S=document.createElement("link");S.id="favicon";S.rel="shortcut icon";S.type="image/x-bitmap";S.href=T}else{S.href=T}document.getElementsByTagName("head")[0].appendChild(S)};this.resetPageIcon=function(){if(!F.config.useFavIcon){return false}var S=document.getElementById("favicon");if(S){S.href="/favicon.ico"}};this.updatePeaks=function(){var T=this._data.oPeak;var S=T.getElementsByTagName("span");S[0].style.marginTop=(13-(Math.floor(15*this.peakData.left))+"px");S[1].style.marginTop=(13-(Math.floor(15*this.peakData.right))+"px");if(F.config.flashVersion>8&&F.config.useFavIcon&&F.config.usePeakData){if(!Q){F.setPageIcon(F.xbmImages[parseInt(15*this.peakData.left)][parseInt(15*this.peakData.right)])}else{F.setPageIcon(F.xbmImages[1+parseInt(14*this.peakData.left)][1+parseInt(14*this.peakData.right)])}}};this.updateGraph=function(){if((!N.config.useWaveformData&&!N.config.useEQData)||N.config.flashVersion<9){return false}var V=this._data.oGraph.getElementsByTagName("div");if(N.config.useWaveformData){var U=8;for(var S=255;S--;){V[255-S].style.marginTop=(1+U+Math.ceil(this.waveformData[S]*-U))+"px"}}else{var T=9;for(var S=255;S--;){V[255-S].style.marginTop=((T*2)-1+Math.ceil(this.eqData[S]*-T))+"px"}}};this.resetGraph=function(){if(!N.config.useEQData||N.config.flashVersion<9){return false}var V=this._data.oGraph.getElementsByTagName("div");var U=(!N.config.useEQData?"9px":"17px");var S=(!N.config.fillGraph?"1px":"32px");for(var T=255;T--;){V[255-T].style.marginTop=U;V[255-T].style.height=S}};this.refreshMetadata=function(X){var U=null;var T=X.position;var W=X._data.metadata.data;for(var V=0,S=W.length;V<S;V++){if(T>=W[V].startTimeMS&&T<=W[V].endTimeMS){U=V;break}}if(U!=W.currentItem){X._data.oLink.innerHTML=W.mainTitle+' <span class="metadata"><span class="sm2_divider"> | </span><span class="sm2_metadata">'+W[U].title+"</span></span>";F.setPageTitle(W[U].title+" | "+W.mainTitle);W.currentItem=U}};this.updateTime=function(){var S=F.strings.timing.replace("%s1",F.getTime(this.position,true));S=S.replace("%s2",F.getTime(F.getDurationEstimate(this),true));this._data.oTiming.innerHTML=S};this.getTheDamnTarget=function(S){return(S.target||S.srcElement||window.event.srcElement)};this.withinStatusBar=function(S){return(F.isChildOfClass(S,"controls"))};this.handleClick=function(V){if(V.button==2){if(!N.config.allowRightClick){N.stopEvent(V)}return(N.config.allowRightClick)}var Y=F.getTheDamnTarget(V);if(F.dragActive){F.stopDrag()}if(F.withinStatusBar(Y)){return false}if(Y.nodeName.toLowerCase()!="a"){Y=F.getParentByNodeName(Y,"a")}if(!Y){return true}var U=Y.getAttribute("href");if(!Y.href||(!O.canPlayURL(Y.href)&&!F.hasClass(Y,"playable"))||F.hasClass(Y,"exclude")){if(G&&Y.onclick){return false}return true}var X=Y.href;var S=F.getSoundByObject(Y);if(S){F.setPageTitle(S._data.originalTitle);if(S==F.lastSound){if(S.readyState!=2){if(S.playState!=1){S.play()}else{S.togglePause()}}else{O._writeDebug("Warning: sound failed to load (security restrictions, 404 or bad format)",2)}}else{if(F.lastSound){F.stopSound(F.lastSound)}S._data.oTimingBox.appendChild(document.getElementById("spectrum-container"));S.togglePause()}}else{S=O.createSound({id:"mp3Sound"+(F.soundCount++),url:X,onplay:F.events.play,onstop:F.events.stop,onpause:F.events.pause,onresume:F.events.resume,onfinish:F.events.finish,whileloading:F.events.whileloading,whileplaying:F.events.whileplaying,onmetadata:F.events.metadata,onload:F.events.onload});var T=F.oControls.cloneNode(true);Y.parentNode.appendChild(T);Y.parentNode.appendChild(document.getElementById("spectrum-container"));F.soundsByObject[Y.rel]=S;S._data={oLink:Y,oLI:Y.parentNode,oControls:F.getElementsByClassName("controls","div",Y.parentNode)[0],oStatus:F.getElementsByClassName("statusbar","div",Y.parentNode)[0],oLoading:F.getElementsByClassName("loading","div",Y.parentNode)[0],oPosition:F.getElementsByClassName("position","div",Y.parentNode)[0],oTimingBox:F.getElementsByClassName("timing","div",Y.parentNode)[0],oTiming:F.getElementsByClassName("timing","div",Y.parentNode)[0].getElementsByTagName("div")[0],oPeak:F.getElementsByClassName("peak","div",Y.parentNode)[0],oGraph:F.getElementsByClassName("spectrum-box","div",Y.parentNode)[0],nIndex:F.getSoundIndex(Y),className:F.css.sPlaying,originalTitle:Y.innerHTML,metadata:null};S._data.oTimingBox.appendChild(document.getElementById("spectrum-container"));if(S._data.oLI.getElementsByTagName("ul").length){S._data.metadata=new E(S)}var W=F.strings.timing.replace("%s1",F.config.emptyTime);W=W.replace("%s2",F.config.emptyTime);S._data.oTiming.innerHTML=W;F.sounds.push(S);if(F.lastSound){F.stopSound(F.lastSound)}F.resetGraph.apply(S);S.play()}F.lastSound=S;return F.stopEvent(V)};this.handleMouseDown=function(S){if(S.button==2){if(!N.config.allowRightClick){N.stopEvent(S)}return(N.config.allowRightClick)}var T=F.getTheDamnTarget(S);if(!F.withinStatusBar(T)){return true}F.dragActive=true;F.lastSound.pause();F.setPosition(S);F.addEventHandler(document,"mousemove",F.handleMouseMove);F.addClass(F.lastSound._data.oControls,"dragging");F.stopEvent(S);return false};this.handleMouseMove=function(S){if(F.dragActive){if(F.config.useThrottling){var T=new Date();if(T-F.dragExec>20){F.setPosition(S)}else{window.clearTimeout(F.dragTimer);F.dragTimer=window.setTimeout(function(){F.setPosition(S)},20)}F.dragExec=T}else{F.setPosition(S)}}else{F.stopDrag()}return false};this.stopDrag=function(S){if(F.dragActive){F.removeClass(F.lastSound._data.oControls,"dragging");F.removeEventHandler(document,"mousemove",F.handleMouseMove);if(!N.hasClass(F.lastSound._data.oLI,F.css.sPaused)){F.lastSound.resume()}F.dragActive=false;F.stopEvent(S);return false}};this.handleStatusClick=function(S){F.setPosition(S);if(!N.hasClass(F.lastSound._data.oLI,F.css.sPaused)){F.resume()}return F.stopEvent(S)};this.stopEvent=function(S){if(typeof S!="undefined"&&typeof S.preventDefault!="undefined"){S.preventDefault()}else{if(typeof event!="undefined"&&typeof event.returnValue!="undefined"){event.returnValue=false}}return false};this.setPosition=function(X){var U=F.getTheDamnTarget(X);var W=U;while(!F.hasClass(W,"controls")&&W.parentNode){W=W.parentNode}var T=F.lastSound;var S=parseInt(X.clientX);var V=Math.floor((S-F.getOffX(W)-4)/(W.offsetWidth)*F.getDurationEstimate(T));if(!isNaN(V)){V=Math.min(V,T.duration)}if(!isNaN(V)){T.setPosition(V)}};this.stopSound=function(S){O._writeDebug("stopping sound: "+S.sID);O.stop(S.sID);O.unload(S.sID)};this.getDurationEstimate=function(S){if(S.instanceOptions.isMovieStar){return(S.duration)}else{return(!S._data.metadata||!S._data.metadata.data.givenDuration?S.durationEstimate:S._data.metadata.data.givenDuration)}};function D(S){var U=new Array();if(typeof(U.concat)=="function"){return U.concat(S)}for(var T=0;T<S.length;++T){U[U.length]=S[T]}return U}function J(){var V="";for(var U=0;U<this.height;++U){for(var T=0;T<this.width/8;++T){if(typeof(this.data[U])!="undefined"&&typeof(this.data[U][T])!="undefined"){var S=0;S=this.data[U][T];var W=(new Number(S)).toString(16);if(W.length==1){W="0"+W}V+="0x"+W+","}else{V+="0x00,"}}}if(V.length>0){V=V.substring(0,V.length-1)}return V}function I(S,V){if(!(S>-1&&S<this.width&&V>-1&&V<this.height)){return}if(typeof(this.data[V])=="undefined"){this.data[V]=new Array()}var U=S%8;var T=(S-U)/8;if(typeof(this.data[V][T])=="undefined"){this.data[V][T]=0}this.data[V][T]|=(1<<U)}function C(T,Z,S){if(!(Z>-1&&Z<this.height)){return}if(T>S){var U=T;T=Math.max(0,S);S=Math.min(this.width,U)}var b=255;var X=T%8;var c=(T-T%8)/8;var a=8-S%8;var Y=(S-S%8)/8;if(c==Y){this.data[Z][c]|=(b<<X)&(b>>a);return}for(var W=c+1;W<Y;++W){this.data[Z][W]=b}for(var V=T;V<(T+(8-T%8));++V){this.draw(V,Z)}this.data[Z][Y]|=(b>>a)}function R(T,W,U){if(!(T>-1&&T<this.width)){return}if(W>U){var V=W;W=Math.max(0,U);U=Math.min(this.height,V)}var Y=T%8;var X=(T-Y)/8;var S=(1<<Y);for(var Z=W;Z<=U;++Z){this.data[Z][X]|=S}}function A(U,a,T,Y){if(U>T){var S=U;U=T;T=S;var W=a;a=Y;Y=W}var X=a;if(a==Y){if(U==T){return this.draw(U,a)}else{return this.drawHLine(U,a,T)}}if(U==T){return this.drawVLine(U,a,Y)}var V=(a-Y)/(U-T);var b=a-Math.floor(V*U);for(var Z=U;Z<T;++Z){if(V>0){for(X=Math.floor(V*Z)+b;X<(Math.floor(V*(Z+1))+b);++X){this.draw(Z,X)}if(Math.floor(V*Z)==Math.floor(V*(Z+1))){this.draw(Z,X)}if(Z==T-1){for(X;X<=Y;++X){this.draw(Z,X)}}}else{for(X=Math.floor(V*Z)+b;X>(Math.floor(V*(Z+1))+b);--X){this.draw(Z,X)}if(Math.floor(V*Z)==Math.floor(V*(Z+1))){this.draw(Z,X)}if(Z==T-1){for(X;X>=Y;--X){this.draw(Z,X)}}}}return null}function H(T,V,S,U){for(var W=V;W<=U;++W){this.drawHLine(T,W,S)}}function M(){return this.header+this.body()+this.footer}function L(X){var T=X.substring(X.indexOf("{")+1,X.lastIndexOf("}"));var W=T.split(",");for(var U=0;U<this.height;++U){this.data[U]=new Array();for(var V=0;V<Math.floor(this.width/8);++V){var S=V+U*(Math.floor(this.width/8));if(S<W.length){this.data[U][V]=(new Number(parseInt(W[S],16))).valueOf()}}}}function P(W,S,U){this.name=U;this.width=W+((W%8)>0?(8-(W%8)):0);this.height=S;this.header="#define "+U+"_width "+this.width+"\n#define "+U+"_height "+this.height+"\nstatic char "+U+"_bits[] = {\n";this.footer="};";this.data=new Array(this.height);for(var V=0;V<this.data.length;++V){this.data[V]=new Array(this.width);for(var T=0;T<this.data[V].length;++T){this.data[V][T]=0}}this.frames=new Array();this.body=J;this.draw=I;this.drawLine=A;this.drawHLine=C;this.drawVLine=R;this.drawBoxFilled=H;this.getXBM=M;this.setXBM=L;this.xbm=this.getXBM()}this.createXBMData=function(){var U=null;var T=0;var S=0;for(T=0;T<16;T++){F.xbmImages[T]=[]}for(var T=0;T<16;T++){for(S=0;S<16;S++){U=new P(16,16,"img"+T+"x"+S);U.drawBoxFilled(0,16-T,7,16-(T-16));U.drawBoxFilled(9,16-S,16,16-(S-16));F.xbmImages[T][S]="data:image/x-bitmap,"+encodeURI(U.getXBM())}}};if(this.config.useFavIcon){if(B||Q){this.createXBMData()}else{this.config.useFavIcon=false}}this.init=function(){O._writeDebug("pagePlayer.init()");var V=document.getElementsByTagName("a");var U=0;for(var T=0;T<V.length;T++){if((O.canPlayURL(V[T].href)||F.hasClass(V[T],"playable"))&&!F.hasClass(V[T],"exclude")){V[T].rel="mp3Sound"+T;F.links[F.links.length]=V[T];F.addClass(V[T],F.css.sDefault);U++}}if(U>0){var S=document.getElementById("sm2_timing");F.strings.timing=S.innerHTML;S.innerHTML="";S.id="";F.addEventHandler(document,"click",F.handleClick);F.addEventHandler(document,"mousedown",F.handleMouseDown);F.addEventHandler(document,"mouseup",F.stopDrag);F.addEventHandler(window,"unload",function(){})}O._writeDebug("pagePlayer.init(): Found "+U+" relevant items.");if(F.config.autoStart){N.handleClick({target:N.links[0]})}};var E=function(Z){var b=this;var Y=Z._data.oLI;var S=Y.getElementsByTagName("ul")[0];var V=S.getElementsByTagName("li");var W=document.createElement("div");W.innerHTML="<span>&nbsp;</span>";W.className="annotation";var X=document.createElement("div");X.innerHTML="<span>&nbsp;</span>";X.className="annotation alt";var U=document.createElement("div");U.className="note";this.totalTime=0;this.strToTime=function(c){var d=c.split(":");var f=0;for(var e=d.length;e--;){f+=parseInt(d[e])*Math.pow(60,d.length-1-e,10)}return f};this.data=[];this.data.givenDuration=null;this.data.currentItem=null;this.data.mainTitle=Z._data.oLink.innerHTML;for(var T=0;T<V.length;T++){this.data[T]={o:null,title:V[T].getElementsByTagName("p")[0].innerHTML,startTime:V[T].getElementsByTagName("span")[0].innerHTML,startSeconds:b.strToTime(V[T].getElementsByTagName("span")[0].innerHTML.replace(/[()]/g,"")),duration:0,durationMS:null,startTimeMS:null,endTimeMS:null,oNote:null}}var a=N.getElementsByClassName("duration","div",Y);this.data.givenDuration=(a.length?b.strToTime(a[0].innerHTML)*1000:0);for(T=0;T<this.data.length;T++){this.data[T].duration=parseInt(this.data[T+1]?this.data[T+1].startSeconds:(b.data.givenDuration?b.data.givenDuration:Z.durationEstimate)/1000)-this.data[T].startSeconds;this.data[T].startTimeMS=this.data[T].startSeconds*1000;this.data[T].durationMS=this.data[T].duration*1000;this.data[T].endTimeMS=this.data[T].startTimeMS+this.data[T].durationMS;this.totalTime+=this.data[T].duration}this.createElements=function(){var c=document.createDocumentFragment();var g=null;var e=null;var f=null;for(var d=0;d<b.data.length;d++){g=(d%2==0?W:X).cloneNode(true);e=g.getElementsByTagName("span")[0];g.rel=d;b.data[d].o=g;f=U.cloneNode(true);if(d%2==0){f.className="note alt"}f.innerHTML=this.data[d].title;g.onmouseover=b.mouseover;g.onmouseout=b.mouseout;this.data[d].oNote=f;Z._data.oControls.appendChild(f);c.appendChild(g)}b.refresh();Z._data.oStatus.appendChild(c)};this.refresh=function(){var f=0;var d=null;var e=(b.data.givenDuration?b.data.givenDuration:Z.durationEstimate);for(var c=0;c<b.data.length;c++){if(e){d=(((b.data[c].duration*1000)/e)*100);b.data[c].o.style.left=(f?f+"%":"-2px");b.data[c].oNote.style.left=(f?f+"%":"0px");f+=d}}};this.mouseover=function(c){b.data[this.rel].oNote.style.visibility="hidden";b.data[this.rel].oNote.style.display="inline-block";b.data[this.rel].oNote.style.marginLeft=-parseInt(b.data[this.rel].oNote.offsetWidth/2)+"px";b.data[this.rel].oNote.style.visibility="visible"};this.mouseout=function(){b.data[this.rel].oNote.style.display="none"};this.createElements();this.refresh()};this.initDOM=function(){var W=F.getElementsByClassName("spectrum-box","div",document.documentElement)[0];if(O.flashVersion>=9){F.addClass(F.getElementsByClassName("playlist","ul",document.documentElement)[0],F.cssBase);var V=W.getElementsByTagName("div")[0];var U=document.createDocumentFragment();var T=null;for(var S=256;S--;){T=V.cloneNode(false);T.style.left=(S)+"px";U.appendChild(T)}W.removeChild(V);W.appendChild(U)}this.oControls=document.getElementById("control-template").cloneNode(true);this.oControls.id="";this.init()}};