/* Date de création: 20/11/2004 */
 function img_fx(img)
{
  if(img && img.filters && img.filters[0])
  {
	img.filters[0].apply();
	img.filters[0].play();
  }
}
function show(val,nomimg)
{
	index=val;
	
    val2=(val*1)+1*1
	img=nomimg;
	nom_img = "images/"+ nomimg + val2 + ".jpg";
	img_fx(document.diapositive)

	window.document.diapositive.src = nom_img;
	// % 3 = nombre total de photos...
     index = (index + 1) % 3;
     timeoutID = window.setTimeout("show(index,img)",3000);
}
