
$(document).ready(function(){

// Local copy of jQuery selectors, for performance.
var jpPlayTime = $("#jplayer_play_time");
var jpTotalTime = $("#jplayer_total_time");
var jpStatus = $("#demo_status"); // For displaying information about jPlayer's status in the demo 	page

$("#jquery_jplayer").jPlayer({
ready: function () {
this.element.jPlayer("setFile", "templates/music/kdm_web.mp3", 
"templates/music/kdm_web.ogg").jPlayer("play");
demoInstanceInfo(this.element, $("#demo_info")); 
// This displays information about jPlayer's configuration in the demo page
},
volume: 30,
oggSupport: true,
nativeSupport: true,
preload: 'none',
swfPath: "templates/js",
})
.jPlayer("onProgressChange", function(loadPercent, playedPercentRelative, playedPercentAbsolute, 
playedTime,
totalTime) {
jpPlayTime.text($.jPlayer.convertTime(playedTime));
jpTotalTime.text($.jPlayer.convertTime(totalTime));

demoStatusInfo(this.element, jpStatus); 
// This displays information about jPlayer's status in the demo page
})
.jPlayer("onSoundComplete", function() {
this.element.jPlayer("play");
});
$("#jplayer_stop3").click( function() {
        		$("#jquery_jplayer").jPlayer("stop");
        		
        	});
$("#jplayer_stop2").click( function() {
        		$("#jquery_jplayer").jPlayer("stop");
        		
        	});
});



<!--
function popup(url) 
{
 params  = 'width='+screen.width;
 params += ', height='+screen.height;
 params += ', top=0, left=0'
 params += ', fullscreen=yes';
 

 newwin=window.open(url,'windowname4', params);
 if (window.focus) {newwin.focus()}
 return false;
}
// -->










