/**
 * @author dao
 */


/*
 * sdMenu: make nice sliding menus with mootools.
 */
var sdMenu = new Class({   
	Implements: [Event, Options],
	options: {
		menuUl: $('sdMenu'),
		onShow: function(menu){},
		onHide: function(menu){},
		showDelay: 100,
		hideDelay: 100
	},	
	initialize: function(options) {
		this.setOptions(options);
		var menus = $$('ul');
		menus.each(function(menu) {
			menu.addEvent();
		});
	},
	show: function() {
		this.fireEvent('onShow', [this.menu]);
	},
	hide: function() {
		this.fireEvent('onHide', [this.menu]);
	},
	start: function() {
	},
	end: function() {
	}
	
});


 

