function tabs2(se,ll,cur,prev,next,stop){
	var $obj=jQuery("#"+se);//所用标签
	var len=$obj.length;//个数
	var divs="";
	var c=1;
	for(n=1;n<=len;n++){n==1?divs+="#"+ll+n:divs+=",#"+ll+n;};
	function showDiv($num){
		$obj.removeClass(cur);
		jQuery(divs).hide();
		jQuery($obj.get($num-1)).addClass(cur);
		jQuery("#"+ll+$num).show();
	};
	$obj.each(function(i){
		jQuery(this).mouseover(function(){
			c=i+1;showDiv(c);
		});
	});
	/*jQuery("#"+next).click(function(){
			c++;c>len?c=1:c;showDiv(c);
		});
	jQuery("#"+prev).click(function(){
		    c--;c<=0?c=len:c;showDiv(c);
		});*/

	var interval=setInterval(function() {
					c++;c>len?c=1:c;showDiv(c);
				}, 3000);
	if(stop){
			$(stop).mouseover(function(){
			 clearInterval(interval);
			}).mouseout(function(){
				  interval=setInterval(function() {
					c++;c>len?c=1:c;showDiv(c);
				}, 3000);
			});
		}
}

