
$(document).ready(function() {
	
	var ci = 0
	$('.next-concerts > .box').not(':eq('+ci+')').hide(); 
	$('.next-concerts > .box:eq('+ci+')').each(function(){
		var ele = $(this)
		var box = ele.parent()
		setInterval(function() {
			box.find('.box:eq('+ci+')').fadeOut('slow',function() {
				if(ele.next('.box').get().length>0) {
					
					ele = ele.next('.box')
					ci+=1
				} else {
					ele = box.find('.box:eq(0)')
					ci = 0
				}
				box.find('.box:eq('+ci+')').fadeIn('slow')
			})
		},5000)
	})
})
