function PodcastPlayer( swfObject )
{
	this.swfObject = swfObject;
}
(function($){
PodcastPlayer.prototype = 
{
	loadXML: function( uri )
	{
		this.swfObject.nppLoadXML( uri );
		return false;
	},

	play: function()
	{
		this.swfObject.nppPlay();
		return false;
	},

	pause: function()
	{
		this.swfObject.nppPause();
		return false;
	},

	seek: function( time )
	{
		this.swfObject.nppSeek( time );
		return false;
	},

	gotoSegment: function( segment )
	{
		this.swfObject.nppGotoSegment( segment );
		return false;
	},

	seekAndPlay: function( time )
	{
		this.swfObject.nppSeek( time );
		this.swfObject.nppPlay();
		return false;
	},

	playSegment: function( segment )
	{
		this.swfObject.nppGotoSegment( segment );
		this.swfObject.nppPlay();
		return false;
	},
	
	getCurrentSegment: function()
	{
		return this.swfObject.nppGetCurrentSegment();
	}
}
})(jQuery);