(function($) {

	$.widget("ui.deposit_bonus_menu", {

		_anchor:null,
		
		_bonusesList:null,
		
		_init : function() {
			var self=this;
			this._bonusesList=this.element.find('>ul');
			this._anchor=this.element.find('>a');
			
			
			this.element.bind('mouseover', function(e){
				self.onMouseOver(e);
			});
			this.element.bind('mouseout', function(e){
				self.onMouseOut(e);
			});
		},
		
		onMouseOver:function(e){
			this._bonusesList.removeClass('Hidden');
		},
		
		onMouseOut:function(e){
			this._bonusesList.addClass('Hidden');
		}
	});
})(jQuery);