var pic= 1;
var totalPics= 2;

function timerRecettes(div, image){
	// Set the time before changing the image
	window.setTimeout("blendimage('" + div + "','" + image + "', 'Images/Recettes/" + pic + ".jpg', 2000)", 0);
	if (pic == totalPics){
		pic= 1;
	} else {
		++pic;
	}
	// Set the time before calling the function again
	window.setTimeout("timerRecettes('" + div + "', '" + image + "')", 4500);
}
