var imageTM31_list = ["side","front","back"];
var imageCourante = 1;

function swapGauche () {
	if (--imageCourante < 0) imageCourante = imageTM31_list.length -1;
	swapImg(imageTM31_list[imageCourante]);
}

function swapDroite () {
	if (++imageCourante >= imageTM31_list.length) imageCourante = 0;
	swapImg(imageTM31_list[imageCourante]);
}

function swapImg (arg) {
	document.images["tm31"].src = URL_ROOT + lang + "/img/tm31_" + arg + ".jpg";

}
function getZoom () {
	alert("Ouverture d'une fenêtre de zoom.\nFonction à venir.");
}


