shouts.load(function() {
		
	$('#featured div').each(function() {
		
		var self = $(this);
		
		var items = self.find('.ad_item');		
		
		var count = items.size();
			
		var start = Math.floor(Math.random() * count);
				
		for(var i=0; i<3; i++) {
			self.prepend(items.eq(start).show());
			if (++start >= count) {
				start = 0;
			}
		}
		
		function show() {		
			self.append(self.find('.ad_item').eq(0).hide());
			self.find('.ad_item').eq(2).show();			
			setTimeout(show, 6000);
		}
		
		show();
	});
	
});

