function changerImage(id){
	$('#img_home_'+current_img).hide();
	current_img = id;
	$('#img_home_'+current_img).fadeIn(500);
}

function nextImage(){
	next_img = current_img + 1;
	if(next_img>nbImage){
		next_img = 1;
	}
	else if(next_img+1 <= nbImage) {
		var next = $("#img_home_"+(next_img+1)+" img");
		var src = next.attr("src_tmp");
		//alert(src+" "+next_img);
		if(src && src.length > 0)
			next.attr("src", src);
	}
	changerImage(next_img);
}

