﻿/*Tab 选项卡 标签*/
$(function(){
		var t=count=n=m=0;
		count = $("#toppic ul li").size();
	    t = setInterval("showAuto()",6000);
           
		})
function showAuto(){
	n = n >= (count - 1) ? 0 : n + 1;
	m = n> 0 ? n-1 : count-1;		
	$("#toppic ul li").stop(true,true)
					.eq(m).fadeOut('slow').hide().end()
					.eq(n).fadeIn('slow');
					//.siblings().hide();
}
