$(function(){	var imgNum = 10;	//画像の枚数	var imgSize = 258;	//画像のサイズ	var time = 2000;	//切り替えのタイミング	var current = 1;	//現在の画像	setInterval(function(){		if( current < imgNum ) {			current++;		    $("#banner ul").animate({				marginLeft : parseInt($("#banner ul").css("margin-left"))-imgSize+"px"			},"fast");		} else {			 $("#banner ul").animate({				marginLeft : parseInt($("#banner ul").css("margin-left"))+(imgSize * (imgNum-1))+"px"			},"fast");			current = 1;		}	}, time);});
