var coeff=2;	//Coefficient de reduction
var larg=570;	//largeur maxi de l'image
var haut=350;	//hauteur maxi de l'image
var coeffinit=coeff;
function changer(sel) {
	if (document.image1.width < larg) {
		coeff = coeff-0.2;
		document.image1.width = Math.round(larg/coeff);
		document.image1.height = Math.round(haut/coeff);
		chang=window.setTimeout('changer(1);',60);	//vitesse de l'effet
	}
}

function initial(sel) {
	if (document.image1.width > larg/coeffinit) {
		window.clearTimeout(chang);
		coeff = coeff+0.2;
		document.image1.width = Math.round(larg/coeff);
		document.image1.height = Math.round(haut/coeff);
		initi=window.setTimeout('initial(1);',60);	//vitesse de l'effet
	}
	if (document.image1.width < larg/4) window.clearTimeout(initi);
}