jQuery.noConflict();
var imgH;
var iNum = 1;
var SI;

function Home_fade(iNum){
	clearInterval(SI);
	if(iNum < 9){
		if(iNum == 1){
			jQuery("#welcome1").css("top","0px");
			jQuery("#welcome1").fadeIn("slow",function(){
				iNum += 1;
				SI    = setInterval("Home_fade("+iNum+")",1000);
			});
		}else{
			var Speed = "normal";
			if(iNum == 8){	Speed = 3000;}
			jQuery("#welcome"+iNum).css("top","-"+(imgH*(iNum-1))+"px");
			jQuery("#welcome"+iNum).fadeIn(Speed,function(){
				iNum     += 1;
				var tNum = 30;
				if(iNum == 8){	tNum = 2000;}
				SI = setInterval("Home_fade("+iNum+")",tNum);
			});
		}
	}
}

// 初期画像FIN
jQuery(function(){
	imgH = jQuery("#welcome1").css("height").replace(/[^\d]/g,"")*1;
	SI   = setInterval("Home_fade("+iNum+")",1000);
});
