// JavaScript Document
var rotate_delay = 2000; // delais en microseconde (4000 = 4 secs)
<!--current = 0;-->
function next() {

  if (current<nb_img && nb_img>5) {
	document.images.show.src = tbl_img[current]+"-s.jpg";
	//document.links[poslien1].href = tbl_img[current]+"_l.jpg";

	//document.slideform.test.value = poslien1;
		if (tbl_img[current+1]) {
			document.images.show2.src = tbl_img[current+1]+"-s.jpg";
			
			//document.links[poslien1+1].href = tbl_img[current+1]+"_l.jpg";
		}else{
			document.images.show2.src = tbl_img[current-nb_img+1]+"-s.jpg";
			//document.links[poslien1+1].href = tbl_img[current-nb_img+1]+"_l.jpg";
		}
		if (tbl_img[current+2]) {
			document.images.show3.src = tbl_img[current+2]+"-s.jpg";
			//document.links[poslien1+2].href = tbl_img[current+2]+"_l.jpg";
		}else{
			document.images.show3.src = tbl_img[current-nb_img+2]+"-s.jpg";
			//document.links[poslien1+2].href = tbl_img[current-nb_img+2]+"_l.jpg";
		}
		if (tbl_img[current+3]) {
			document.images.show4.src = tbl_img[current+3]+"-s.jpg";
			//document.links[poslien1+3].href = tbl_img[current+3]+"_l.jpg";
		}else{
			document.images.show4.src = tbl_img[current-nb_img+3]+"-s.jpg";
			//document.links[poslien1+3].href = tbl_img[current-nb_img+3]+"_l.jpg";
		}
		if (tbl_img[current+4]) {
			document.images.show5.src = tbl_img[current+4]+"-s.jpg";
			//document.links[poslien1+4].href = tbl_img[current+4]+"_l.jpg";
		}else{
			document.images.show5.src = tbl_img[current-nb_img+4]+"-s.jpg";
			//document.links[poslien1+4].href = tbl_img[current-nb_img+4]+"_l.jpg";
		}
		++current;
  }else first();
}

function first() {
  <!--current = 0;-->
  document.images.show.src = tbl_img[0]+"-s.jpg";
	//document.links[poslien1].href = tbl_img[0]+"_l.jpg";
	document.images.show2.src = tbl_img[1]+"-s.jpg";
	//document.links[poslien1+1].href = tbl_img[1]+"_l.jpg";
	document.images.show3.src = tbl_img[2]+"-s.jpg";
	//document.links[poslien1+2].href = tbl_img[2]+"_l.jpg";
	
	document.images.show4.src = tbl_img[3]+"-s.jpg";
	//document.links[poslien1+3].href = tbl_img[3]+"_l.jpg";
	
	document.images.show5.src = tbl_img[4]+"-s.jpg";
	//document.links[poslien1+4].href = tbl_img[4]+"_l.jpg";
}

function rotate() {
	
	//document.slideform.tst.value = tbl_img[current];
	next();
	window.setTimeout("rotate()", rotate_delay);
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function gd_img() {

}
//-->
