
	  function aleatoire(N) {
      return (Math.floor((N)*Math.random()+1));
   		}
   		
		var nbim = 4;
		var a = aleatoire(nbim);
		if (a==1) {alta="Stock permanent d acier";}
		if (a==2) {alta="Stock permanent d ébauches";}
		if (a==3) {alta="Grandes longueurs (Entretoises de 14x700)";}
		if (a==4) {alta="Taraudage d écrous automatique";}
		document.write("<p><img src='images/a" + a + ".jpg' width='141' height='185' alt='" + alta + "'/></p>");
		var b = aleatoire(nbim);
		if (b==1) {altb="Vis iso 4014 Galva";}
		if (b==2) {altb="Rondelles Moyennes Galva";}
		if (b==3) {altb="Tirefonds à visser Galva";}
		if (b==4) {altb="Sachets de Rondelles AZ Galva";}
		document.write("<p><img src='images/b" + b + ".jpg' width='141' height='185' alt='" + altb + "'/></p>");
		var c = aleatoire(nbim);
		if (c==1) {altc="Grenailleuse";}
		if (c==2) {altc="Pliage à Chaud d etriers";}
		if (c==3) {altc="Machine à Forger Nationale Semi-Automatique";}
		if (c==4) {altc="Forge sur Presse à Friction";}
		document.write("<p><img src='images/c" + c + ".jpg' width='141' height='185' alt='" + altc + "'/></p>");
		var d = aleatoire(nbim);
		if (d==1) {altd="Rouleuse Semi-Automatique Grande longueur";}
		if (d==2) {altd="Galvanisation au trempé";}
		if (d==3) {altd="Paniers de Galvanisation";}
		if (d==4) {altd="Pliage à Chaud d etriers";}
		document.write("<p><img src='images/d" + d + ".jpg' width='141' height='185' alt='" + altd + "'/></p>");
		
      