$(document).ready(function() {
	var interval;
	
	$('ul#flow')
		.roundabout({
		minOpacity: 0.0,
        minScale: 0.1
		})
		.hover(
			function() {
				// oh no, it's the cops!
				clearInterval(interval);
			},
			function() {
				// false alarm: PARTY!
				interval = startAutoPlay();
			}
		);
	
	// let's get this party started
	interval = startAutoPlay();
});


			
function startAutoPlay() {
	return setInterval(function() {
		$('ul#flow').roundabout_animateToNextChild();
	}, 2000);
}

