/*
 * Depends:
 *	ui.core.js
 *	ui.draggable.js
 *	ui.resizable.js
 */
(function($) {

$.widget("dcms.player_news", {
	_init:function() {
		var self = this;
	},
	load:function(id) {
		if (id != this._getData('my_id')) {
			this._trigger('bad_id') ;
		}
		else {
			this._trigger('good_id') ;
		}
	}
}) ;

//$.dcms.player_news.getter = "getUrl";

$.extend($.dcms.player_news, {
	defaults: {
		my_id:0
	},
});

})(jQuery);