var tab=new Array;
   tab[0]="G1.gif";
   tab[1]="G2.gif";
   tab[2]="G3.gif";
   tab[3]="G4.gif";
   tab[4]="G5.gif";
   tab[5]="G6.gif";
   tab[6]="G7.gif";
   tab[7]="G8.gif";
   tab[8]="G9.gif";
   tab[9]="G10.gif";

var tab2=new Array;
   tab2[0]="IUD23R8";
   tab2[1]="51J4PS3";
   tab2[2]="21YSV7Q";
   tab2[3]="HL57X33";
   tab2[4]="27KX2Y9";
   tab2[5]="KJ73NW6";
   tab2[6]="OV5D35A";
   tab2[7]="94KXM1Z";
   tab2[8]="2M64PL7";
   tab2[9]="LR2P13S";

function cryptographie()
{
var num=Math.round(Math.random() * 9);
document.getElementById('crypto').src="crypto/"+tab[num];
document.getElementById('crypt_cache').value=tab2[num];
}

