jQuery.noConflict();jQuery(document).ready(function() {		jQuery("#mediaplayer").jPlayer({		ready: function() {			displayPlayList();			playListInit(false); // Parameter is a boolean for autoplay.		},		swfPath: "assets/flash"	})	.jPlayerId("play", "player_play")	.jPlayerId("pause", "player_pause")	.jPlayerId("stop", "player_stop")	.jPlayerId("loadBar", "player_progress_load_bar")	.jPlayerId("playBar", "player_progress_play_bar")	.jPlayerId("volumeMin", "player_volume_min")	.jPlayerId("volumeMax", "player_volume_max")	.jPlayerId("volumeBar", "player_volume_bar")	.jPlayerId("volumeBarValue", "player_volume_bar_value")	.onProgressChange( function(loadPercent, playedPercentRelative, playedPercentAbsolute, playedTime, totalTime) {		var myPlayedTime = new Date(playedTime);		var ptMin = (myPlayedTime.getMinutes() < 10) ? "0" + myPlayedTime.getMinutes() : myPlayedTime.getMinutes();		var ptSec = (myPlayedTime.getSeconds() < 10) ? "0" + myPlayedTime.getSeconds() : myPlayedTime.getSeconds();		jQuery("#play_time").text(ptMin+":"+ptSec);		var myTotalTime = new Date(totalTime);		var ttMin = (myTotalTime.getMinutes() < 10) ? "0" + myTotalTime.getMinutes() : myTotalTime.getMinutes();		var ttSec = (myTotalTime.getSeconds() < 10) ? "0" + myTotalTime.getSeconds() : myTotalTime.getSeconds();		jQuery("#total_time").text(ttMin+":"+ttSec);	})	.onSoundComplete( function() {		playListNext();	});	jQuery("#ctrl_prev").click( function() {		playListPrev();		return false;	});	jQuery("#ctrl_next").click( function() {		playListNext();		return false;	});	function displayPlayList() {				for (i=0; i < myPlayList.length; i++) {			jQuery("#playlist_list ul").append("<li id='playlist_item_"+i+"'>"+ myPlayList[i].name +"</li>");			jQuery("#playlist_item_"+i).data( "index", i ).hover(				function() {					if (playItem != jQuery(this).data("index")) {						jQuery(this).addClass("playlist_hover");					}				},				function() {					jQuery(this).removeClass("playlist_hover");				}			).click( function() {				var index = jQuery(this).data("index");				if (playItem != index) {					playListChange( index );				}			});		}	}	function playListInit(autoplay) {		if(autoplay) {			playListChange( playItem );		} else {			playListConfig( playItem );		}	}	function playListConfig( index ) {		jQuery("#playlist_item_"+playItem).removeClass("playlist_current");		jQuery("#playlist_item_"+index).addClass("playlist_current");		playItem = index;		jQuery("#mediaplayer").setFile(myPlayList[playItem].filename);	}	function playListChange( index ) {		playListConfig( index );		jQuery("#mediaplayer").play();	}	function playListNext() {		var index = (playItem+1 < myPlayList.length) ? playItem+1 : 0;		playListChange( index );	}	function playListPrev() {		var index = (playItem-1 >= 0) ? playItem-1 : myPlayList.length-1;		playListChange( index );	}});