function melerrep(){ b=Math.floor(Math.random()*nbreponse)+1; if(prisrep[b]==1){melerrep();} prisrep[b]=1; return b; } function meler(){ a=Math.floor(Math.random()*nbq)+1; if(pris[a]==1){meler();} pris[a]=1; return a; } function debut(){ document.getElementById('bouton').style.visibility="hidden"; document.getElementById('choisissez').style.visibility="visible"; for(l=1;l<=nbq;l++){pris[l]=0;} for(l=1;l0){debut();}else{nbqq=0;}