jQuery(function(b){function a(){b("#Ac_Generateur").fadeIn(900,function(){b("#Ac_Video").fadeIn(800);setTimeout(function(){b("#Ac_Actus,#ZoneACTUS").fadeIn(800)},400);setTimeout(function(){b("#Ac_Eco").fadeIn(800,function(){b("#Bt_Ecolabel,#Bt_Video,#Bt_Suivant").show();b("#ZoneLiens").fadeIn(900,function(){swfobject.embedSWF(AnimURL,"Bt_Video","280","170","9.0.0",false,{},{wmode:"transparent"})})})},800)})}b(window).bind("load",function(){setTimeout(a,400)});b("#ZoneACTUS").load(NewsURL,0,function(){c()});function c(){var f,e=409,i=1,h=b(".BlocActu").length;function d(k){if((k>0)&(k<=h)&(k!=i)){var l,j=Math.abs(k-i);if(k>i){l="-"}else{l="+"}l+="="+e*j+"px";b("#ContenuACTUS").animate({left:l},"slow");i=k;if(i>1){b("#Bt_Precedent").show()}else{b("#Bt_Precedent").hide()}if(i<h){b("#Bt_Suivant").show()}else{b("#Bt_Suivant").hide()}clearTimeout(f)}}b("#Bt_Precedent").click(function(){d(i-1)});b("#Bt_Suivant").click(function(){d(i+1)});function g(){var j=1;if(i<h){j=i+1}d(j);f=setTimeout(function(){g()},10000)}f=setTimeout(function(){g()},10000)}});