var wimpyReg="";var wimpySwfBasename="rave.swf";var wimpyAppBasename="";var wimpyPopout="rave_popout.html";var wimpyFullscreen="rave_fullscreen.html";var defaultWimpyConfigs=new Object();defaultWimpyConfigs.wimpyReg=wimpyReg;defaultWimpyConfigs.wimpySwf=wimpySwfBasename;defaultWimpyConfigs.wimpyApp=wimpyAppBasename;defaultWimpyConfigs.wimpySkin="";defaultWimpyConfigs.startPlayingOnload="";defaultWimpyConfigs.startOnTrack="";defaultWimpyConfigs.autoAdvance="";defaultWimpyConfigs.loopTrack="";defaultWimpyConfigs.repeatPlaylist="";defaultWimpyConfigs.randomPlayback="";defaultWimpyConfigs.randomOnLoad="";defaultWimpyConfigs.sortField="";defaultWimpyConfigs.sortOrder="";defaultWimpyConfigs.bufferSeconds="";defaultWimpyConfigs.theVolume="";defaultWimpyConfigs.limitPlaytime="";defaultWimpyConfigs.resume="";defaultWimpyConfigs.scrollFormat="";defaultWimpyConfigs.timeFormat="";defaultWimpyConfigs.infoDisplaySpeed="";defaultWimpyConfigs.fsMode="";defaultWimpyConfigs.setAspectRatio="";defaultWimpyConfigs.clickWindowAction="";
defaultWimpyConfigs.infoButtonAction="";defaultWimpyConfigs.linkToWindow="";defaultWimpyConfigs.coverartBasename="";defaultWimpyConfigs.popUpHelp="";defaultWimpyConfigs.enableDownloads="";defaultWimpyConfigs.useSysCodePage="";defaultWimpyConfigs.wimpyHTMLpageTitle="";defaultWimpyConfigs.tptBkgd="";defaultWimpyConfigs.bkgdColor="#000000";defaultWimpyConfigs.wimpyWidth="250";defaultWimpyConfigs.wimpyHeight="290";defaultWimpyConfigs.debugMode="";defaultWimpyConfigs.startupLogo="";defaultWimpyConfigs.defaultImage="";defaultWimpyConfigs.onTrackComplete="";defaultWimpyConfigs.onTrackCompleteURL="";defaultWimpyConfigs.plugPlaylist="";defaultWimpyConfigs.plugEvery="";defaultWimpyConfigs.getMyid3info="";defaultWimpyConfigs.findAllMedia="";defaultWimpyConfigs.hide_folders="";defaultWimpyConfigs.hide_files="";defaultWimpyConfigs.playlist="";var enableWimpyEvents=false;function handleWimpyInit(b){var a="Wimpy is ready:"+b+"<br>";writeitAppend(a,"wimpySaid")}function handlTrackStarted(b){var a='Track Started. <br>&nbsp;&nbsp;Track data should be visible in the "Track info" section below.<br>';
writeitAppend(a,"wimpySaid");displayPlaylistObject(b)}function handleTrackDone(b){var a='Track Done. <br>&nbsp;&nbsp;Track data should be visible in the "Track info" section below.<br>';writeitAppend(a,"wimpySaid");displayPlaylistObject(b)}function randomNumber(b,a){return(b+Math.floor(Math.random()*(a-b+1)))}function path_parts(b){if(b.lastIndexOf("/")==b.length-1){b=b.substr(0,b.length-1)}var d=b.split("/");var c=d.pop();var a=c.split(".");var h="";if(a.length>1){h=a.pop()}var g=a.join(".");if(h==""){d.push(c)}var f=d.join("/");if(f.length>0){f=f+"/"}var e=new Object();e.filename=c;e.extension=h;e.basename=g;e.basepath=f;e.filepath=b;return e}function getExtension(a){return unescape(a).split("/").pop().split(".").pop().toLowerCase()}function trim(a){return a.replace(/^\s+|\s+$/g,"")}function stripWhiteSpace(b){var a=b.split("\n").join("").split("\r\n").join("").split("\t").join("").split("%0A").join("").split("%09").join("");return a}function getQueryString(){var a=new Array();var f=window.location.search||document.location.hash;
var e=f.substring(1);var d=e.split("&");for(var c=0;c<d.length;c++){var h=d[c].indexOf("=");if(h>0){var b=d[c].substring(0,h);var g=d[c].substring(h+1);a[b]=g}}return a}var XMLio=[];function XMLimport(f,b){if(window.ActiveXObject){var g=XMLio.length;var d=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Microsoft.XMLDOM"];for(var a=0;!XMLio[g]&&a<d.length;a++){try{XMLio[g]=new ActiveXObject(d[a])}catch(c){}}if(XMLio[g]){XMLio[g].onreadystatechange=new Function("if( XMLio["+(g)+"].readyState == 4 ) { "+b+"(XMLio["+(g)+"].responseXML);}");if(XMLio[g].load){XMLio[g].load(f)}else{XMLio[g].open("GET",f,true);XMLio[g].send(null)}return true}}else{var g=XMLio.length;XMLio[g]=new XMLHttpRequest();XMLio[g].onreadystatechange=new Function("if(XMLio["+(g)+"].readyState == 4){if(XMLio["+(g)+"].status == 200 ) {"+b+"(XMLio["+(g)+"].responseXML);} else {"+b+"(false);}}");XMLio[g].open("GET",f,true);XMLio[g].send(null);return true}return false}function makeWimpyPlayer(d,e){var h=d||"";var e=e||"flashcontent";if(typeof(h)=="string"){var h=defaultWimpyConfigs;
if(h!=""){h.playlist=d}}for(var g in defaultWimpyConfigs){h[g]=h[g]||defaultWimpyConfigs[g]}if(h.bkgdColor.substring(0,1)!="#"){h.bkgdColor="#"+h.bkgdColor}var b=h.wimpySwf;var c=h.wimpyWidth;var a=h.wimpyHeight;h.wimpyHTMLpageTitle="";h.wimpyJS="";h.wimpySwf="";h.wimpyWidth="";h.wimpyHeight="";h.bkgdColor="";h.hide_files="";h.hide_folders="";h.findAllMedia="";for(var g in h){if(g=="playlist"){var f=h[g]}else{var f=encodeURI(h[g])}if(f==""){delete h[g]}else{h[g]=f}}swfobject.embedSWF(b,e,c,a,"8","expressInstall.swf?"+oaService.release,h,{allowScriptAccess:"always",allowFullScreen:"true",scale:"noscale",menu:"false",salign:"lt"},null,function(i){document.wimpy=i.ref;window.wimpy=i.ref})}var wimpy_popout_window;function wimpyIsOpen(){if(!wimpy_popout_window||wimpy_popout_window.closed){return false}else{return true}}function notifyOpener(){if(self.opener||!self.opener.wimpy_popout_window){self.opener.wimpy_popout_window=self}}function wimpy_popAndPlay(d,h,a,e,b){var d=d||wimpyPopout;var g=g||"";
var h=h||defaultWimpyConfigs.wimpyWidth;var a=a||defaultWimpyConfigs.wimpyHeight;var b=b||"";var c="a"+randomNumber(1,1000);var f=d+"?w="+h+"&h="+a+"&startPlayingOnload="+b+"&playlist="+e;wimpy_popout_window=window.open(f,c,"width="+h+",height="+a)}function wimpy_popout_make(){var c=getQueryString();var b=path_parts(location.href);var a=new swfobject(b.basepath+wimpySwfBasename+"?cachebust="+new Date().getTime(),"wimpy",c.w,c.h,"8","#000000");a.addVariable("wimpyPop","yes");a.addParam("scale","noscale");a.addParam("salign","lt");a.addParam("allowScriptAccess","always");a.addParam("allowFullScreen","true");a.addParam("menu","false");a.write("flashcontent");setInterval(notifyOpener,1000)}function wimpy_fullscreen(b){var a="a"+randomNumber(1,1000);window.open(b+wimpyFullscreen,a,"resizable=yes")}function wimpy_fullscreen_make(){window.moveTo(0,0);window.resizeTo(screen.availWidth/2,screen.availHeight/2);var b=path_parts(location.href);var a=new swfobject(b.basepath+wimpySwfBasename,"wimpyFS","100%","100%","8","#000000");
a.addVariable("wimpyFS","yes");a.addVariable("cachebust",new Date().getTime());a.addParam("scale","noscale");a.addParam("salign","lt");a.addParam("allowScriptAccess","always");a.addParam("menu","false");a.write("flashcontent")}var wimpyUserAgent=navigator.appName.indexOf("Microsoft");function wimpy_play(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_play()}else{return document.wimpy.js_wimpy_play()}}function wimpy_stop(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_stop()}else{return document.wimpy.js_wimpy_stop()}}function wimpy_pause(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_pause()}else{return document.wimpy.js_wimpy_pause()}}function wimpy_next(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_next()}else{return document.wimpy.js_wimpy_next()}}function wimpy_prev(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_prev()}else{return document.wimpy.js_wimpy_prev()}}function wimpy_gotoTrack(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_gotoTrack(a)
}else{return document.wimpy.js_wimpy_gotoTrack(a)}}function wimpy_clearPlaylist(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_clearPlaylist()}else{return document.wimpy.js_wimpy_clearPlaylist()}}function wimpy_appendPlaylist(a,b){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_appendPlaylist(a,b)}return document.wimpy.js_wimpy_appendPlaylist(a,b)}function wimpy_getTrackInfo(a){var b=a||false;if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_getTrackInfo(b)}else{return document.wimpy.js_wimpy_getTrackInfo(b)}}function wimpy_loadExternalPlaylist(a,b){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_loadExternalPlaylist(a,b)}else{return document.wimpy.js_wimpy_loadExternalPlaylist(a,b)}}function wimpy_amReady_ask(){if(wimpyUserAgent!=-1){if(window.wimpy.js_wimpy_amReady_ask==undefined){return false}return window.wimpy.js_wimpy_amReady_ask()}if(document.wimpy.js_wimpy_amReady_ask==undefined){return false}return document.wimpy.js_wimpy_amReady_ask()}function wimpy_setVolume(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_setVolume(a)
}else{return document.wimpy.js_wimpy_setVolume(a)}}function wimpy_setLoopTrackState(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_setLoopTrackState(a)}else{return document.wimpy.js_wimpy_setLoopTrackState(a)}}function wimpy_setRandomState(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_setRandomState(a)}else{return document.wimpy.js_wimpy_setRandomState(a)}}function wimpy_setRepeatState(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_setRepeatState(a)}else{return document.wimpy.js_wimpy_setRepeatState(a)}}function wimpy_setMuteState(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_setMuteState(a)}else{return document.wimpy.js_wimpy_setMuteState(a)}}function wimpy_updateInfoDisplay(a,b){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_updateInfoDisplay(a,b)}else{return document.wimpy.js_wimpy_updateInfoDisplay(a,b)}}function wimpy_getPlayheadPercent(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_getPlayheadPercent()}else{return document.wimpy.js_wimpy_getPlayheadPercent()
}}function wimpy_getPlayheadSeconds(){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_getPlayheadSeconds()}else{return document.wimpy.js_wimpy_getPlayheadSeconds()}}function wimpy_setPlayheadPercent(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_setPlayheadPercent(a)}else{return document.wimpy.js_wimpy_setPlayheadPercent(a)}}function wimpy_setPlayheadSeconds(a){if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_setPlayheadSeconds(a)}else{return document.wimpy.js_wimpy_setPlayheadSeconds(a)}}function wimpy_getLoadPercent(){var a="";if(wimpyUserAgent!=-1){a=window.wimpy.js_wimpy_getLoadPercent()}else{a=document.wimpy.js_wimpy_getLoadPercent()}return a}function wimpy_getLoadState(){var a="";if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_getLoadState()}else{return document.wimpy.js_wimpy_getLoadState()}return a}function wimpy_getPlayerState(){var a="";if(wimpyUserAgent!=-1){return window.wimpy.js_wimpy_getPlayerState()}else{return document.wimpy.js_wimpy_getPlayerState()}return a
}function wimpy_getTotalPlaylistItems(){var a="";if(wimpyUserAgent!=-1){a=window.wimpy.js_wimpy_getTotalPlaylistItems()}else{a=document.wimpy.js_wimpy_getTotalPlaylistItems()}return a}function wimpy_getPlaylist(){var a;if(wimpyUserAgent!=-1){a=window.wimpy.js_wimpy_getPlaylist()}else{a=document.wimpy.js_wimpy_getPlaylist()}return a}function wimpy_getPlaylistXML(){var a="";if(wimpyUserAgent!=-1){a=window.wimpy.js_wimpy_getPlaylistXML()}else{a=document.wimpy.js_wimpy_getPlaylistXML()}return a}function wimpy_callPlugin(c,b){var a="";if(wimpyUserAgent!=-1){a=window.wimpy.js_wimpy_callPlugin(c,b)}else{a=document.wimpy.js_wimpy_callPlugin(c,b)}return a}function wimpy_resume_kill(){var a="";if(wimpyUserAgent!=-1){a=window.wimpy.js_wimpy_resume_kill()}else{a=document.wimpy.js_wimpy_resume_kill()}return a}function wimpy_amReady(a){if(enableWimpyEvents){handleWimpyInit(a)}}function wimpy_trackStarted(a){if(enableWimpyEvents){handlTrackStarted(a)}}function wimpy_trackDone(a){if(enableWimpyEvents){handleTrackDone(a)
}}function wimpy_doWhenLoaded(a){if(window.wimpy==undefined||wimpy_amReady_ask()!=true){setTimeout(function(){wimpy_doWhenLoaded(a)},500);return true}a();return true};