(function($){
	$.fn.tabMultiple=function(settings){	  
		  st=$.extend({
			  tab: "tab",
			  tabContent: "tab_cont",
			  currentClass: "curr"
		  },settings);	  
		  var tabBox=$(this);
		  tabBox.find("."+st.tabContent+":gt(0)").hide();
		  tabBox.find("."+st.tab+" li:eq(0)").addClass(st.currentClass);
		  tabBox.find("."+st.tab).children().each(function(n){ $(this).attr("index",n); });
		  tabBox.find("."+st.tab).children().click(function(){				  
			  var currIndex=parseInt($(this).attr("index"));
			  $(this).addClass(st.currentClass).siblings().removeClass(st.currentClass);
			  tabBox.find("."+st.tabContent).eq(currIndex).show().siblings("."+st.tabContent).hide();				
		  });
	  return this;
	}
})(jQuery);
