var autostopped;
$(function(){
	var sudoSlider = $('#actus').sudoSlider({
		prevNext: false,
		fade: true,
		crossFade:true,
		auto: true,
		pause: 5000,
		speed: 800,
		autoheight: false,
		autowidth: false
	}).mouseenter(function() {
		auto = sudoSlider.getValue('autoAnimation');
		if (auto) sudoSlider.stopAuto();
		else autostopped = true;
	}).mouseleave(function() {
		if (!autostopped) sudoSlider.startAuto();
	})
})
