$(document).ready(function() {
	var position = 0;
	$('#references_roll li').each(function() {
		$(this).attr('style','left: ' + position + 'px');
		position = position + 480;
	});
	start = setInterval(function(){
		$('#references_roll li').animate({
			left: '-=480'
			}, 1000, function() {
				$('#references_roll li').each(function() {
					if ($(this).position().left == -480) {$(this).attr('style','left: ' + 480 * ($('#references_roll li').length - 1) + 'px')}
				});
		});
	}, 5000);
});

