(function($){
	//导航插件
	$.fn.navigatorPlugin = function(/*object*/ options)
	{
		var defaults = {
			type : null, //easyNavigator、flowNavigator、treeNavigator
			selected : null
		};
		var options = $.extend( true, {}, defaults, options );
		
		return this.each(function(){
			if(!options.type){
				return;
			}
			var plugin_object = new (options.type)();
			plugin_object.owner(this);
			plugin_object.handle( $(this).find('.ready') );
			plugin_object.selected(options.selected, true);
			this.plugin = plugin_object;
			$(this).css('visibility','visible');
		});
	};
})(jQuery);
