$(document).ready(function() {
	/*$('#divacc1').css('z-index','1');
	$('#accueil1').rotate(-5);
	$("#divacc1").fadeIn(1000, function() {
		$('#divacc2').css('z-index','2');
		$('#accueil2').rotate(20);
		$("#divacc2").fadeIn(1000, function() {
			$('#divacc3').css('z-index','3');
			$('#accueil3').rotate(-5);
			$("#divacc3").fadeIn(1000, function() {
				$('#divacc4').css('z-index','4');
				$('#accueil4').rotate(15);	
				$("#divacc4").fadeIn(1000);
				return false;
			});   
		});	   
	});*/
	$('#divacc1').css('z-index','1');
	$('#accueil1').rotate({
		angle: -9,
		callback:
			$("#divacc1").fadeIn(1000, function() {
				$('#divacc2').css('z-index','2');
				$('#accueil2').rotate({
					angle: 26,
					callback:
						$("#divacc2").fadeIn(1000, function() {
							$('#divacc3').css('z-index','3');
							$('#accueil3').rotate({
								angle: -9,
								callback:
									$("#divacc3").fadeIn(1000, function() {
										$('#divacc4').css('z-index','4');
										$('#accueil4').rotate({
											angle: 13,
											callback:
												$("#divacc4").fadeIn(1000)
										});
									})
							});								
						})
				});
			})
	});
});
