jQuery(document).ready(function(){
var scripts = document.getElementsByTagName("script");
var jsFolder = "";
for (var i= 0; i< scripts.length; i++)
{
if( scripts[i].src && scripts[i].src.match(/initaudioplayer-1\.js/i))
jsFolder = scripts[i].src.substr(0, scripts[i].src.lastIndexOf("/") + 1);
}
jQuery("#amazingaudioplayer-1").amazingaudioplayer({
jsfolder:jsFolder,
skinsfoldername:"",
volumeimagewidth:24,
barbackgroundimage:"",
imagewidth:100,
showtime:true,
titleinbarwidth:80,
showprogress:true,
random:false,
titleformat:"%TITLE%",
height:600,
prevnextimage:"prevnext-24-24-0.png",
showinfo:true,
imageheight:100,
skin:"BarTitle",
loopimage:"loop-24-24-0.png",
loopimagewidth:24,
volumebarheight:80,
prevnextimageheight:24,
infoformat:"By %ARTIST%
Performed by John Scott",
showstop:false,
showvolumebar:true,
width:420,
showtitleinbar:false,
showloop:true,
volumeimage:"volume-24-24-0.png",
playpauseimagewidth:24,
loopimageheight:24,
tracklistitemformat:"%ID%. %TITLE% %DURATION%",
prevnextimagewidth:24,
tracklistarrowimage:"tracklistarrow-16-16-0.png",
playpauseimageheight:24,
showbackgroundimage:false,
progresswidthmode:"auto",
stopimage:"stop-24-24-0.png",
showvolume:true,
playpauseimage:"playpause-24-24-0.png",
showprevnext:true,
backgroundimage:"",
volumebarpadding:8,
progressheight:8,
showtracklistbackgroundimage:false,
progresswidth:96,
showtitle:true,
tracklistarrowimageheight:16,
heightmode:"auto",
titleinbarformat:"%TITLE%",
showtracklist:false,
stopimageheight:24,
volumeimageheight:24,
stopimagewidth:24,
tracklistbackgroundimage:"",
showbarbackgroundimage:false,
showimage:false,
tracklistwidth:320,
tracklistarrowimagewidth:16,
timeformat:"%CURRENT% / %DURATION%",
autoplay:false,
loop:1,
tracklistitem:10
});
});