(function($){
	$.fn.slidingMenu = function(options){
		
		options = $.extend({
			speed: 300
		}, options);
		
		return this.each(function(){
			
			var nav = $(this),
				reset;
			var sub_menu = $('ul', nav).hide().end();
			
			$('li', nav).hover(
				function(e) {
					$('>ul', this).hoverFlow(e.type, {'height': 'show', 'opacity':'show'}, options.speed);
				},
				function(e){
					$('>ul', this).hoverFlow(e.type, {'height': 'hide', 'opacity':'hide'}, options.speed);
				}
			);
		}); //end each
		
	};
})(jQuery);

