
	var musicSipPlayer = Class.create(musicPlayer, {

		initialize:function($super, container){
			$super(container);
			this.instID = 'musicSlideshowPlayer_' + parseInt(Math.random()*1000000);
			this.path = "/upload/songs/"
		},
		
		play : function($super, elem, file){
			$$('.play').each(
				function(buttn){
					buttn.src = "/images/play_black.png";
				}
			)
			if (this.isPlaying == file){
				this.player.sendEvent("PLAY", false);
				this.isPlaying = '';
				return false;
			}
			var uri = this.path + file;
			this.player.sendEvent("LOAD", uri);
			this.player.sendEvent("PLAY", true);
			this.isPlaying = file;
			elem.src = "/images/pauze_black.png";
			return true;
		}
		
		
	})
