var parent_width;
var child_width;

function start_scroll()
{
	var time = (child_width * 10) + 4000;
	
	$('#scroller > div').css({'left' : parent_width})
	$('#scroller > div').animate({
		left: -child_width	
	}, 
	time,
	"linear",
	start_scroll
	);
	
}

$(document).ready(function(){
	parent_width 	= $('#scroller').width();
	child_width 	= $('#scroller > div').width();
	
	start_scroll();
	
	$('#diaporama').cycle({
		fx:    'fade',
		timeout: 3000
	});

	
});