$(document).ready(function(){
    $('#boxImgHome0>img').hide();
    $('#boxImgHome0>img').eq(0).fadeIn(2000);
    $('#boxImgHome0>img');
	setInterval( function() {
	    $('#boxImgHome0>img').filter(':visible').fadeOut(3000, function() {
		if($(this).next('div').size()) {
		    $(this).next().fadeIn(3000);
		} else {
		    $('#boxImgHome0>img').eq(0).fadeIn(3000);
		}
	    });
	},6000);
});

$(document).ready(function(){
    $('#boxImgHome1>img').hide();
    $('#boxImgHome1>img').eq(0).fadeIn(3000);
    $('#boxImgHome1>img');
	setInterval( function() {
	    $('#boxImgHome1>img').filter(':visible').fadeOut(4000, function() {
		if($(this).next('div').size()) {
		    $(this).next().fadeIn(4000);
		} else {
		    $('#boxImgHome1>img').eq(0).fadeIn(4000);
		}
	    });
	},6000);
});

$(document).ready(function(){
    $('#boxImgHome2>img').hide();
    $('#boxImgHome2>img').eq(0).fadeIn(4000);
    $('#boxImgHome2>img');
	setInterval( function() {
	    $('#boxImgHome2>img').filter(':visible').fadeOut(5000, function() {
		if($(this).next('div').size()) {
		    $(this).next().fadeIn(5000);
		} else {
		    $('#boxImgHome2>img').eq(0).fadeIn(5000);
		}
	    });
	},6000);
});

