$(function(){
	var len=$(".pic>li").length;
	var index=0;
	var adTimer;
	$("#move").hover(function(){
		clearInterval(adTimer);
	},function(){
		adTimer=setInterval(function(){
			showImg(index)
			index++;
			if(index==len){index=0;}
		},3000);
	}).trigger("mouseleave");
})
function showImg(index){
	var adHeight=$("#move").height();
	$('.pic').stop(true,false).animate({top:-adHeight*index},700);
}
