$(function() {
    if($('.imageChange').children().length > 1)
    {
        $('.imageChange').each(function() {
            
            var imageChange = $(this);
            setInterval(function() { 
                
                var active = imageChange.find('.active');
                var next = (active.next().length > 0) ? active.next() : imageChange.find(':first');
                
                next.fadeIn(2000).addClass('active');
                active.fadeOut(2000).removeClass('active');
                
            }, 6000);
            
        });
    }
});
