while(true){ aleatorio = Math.random(); numero = Math.round(aleatorio * 5); if (numero == 0){ imagen = "http://img8.imageshack.us/img8/5105/harryheader.jpg"; break;} if (numero == 1){ imagen = "http://img26.imageshack.us/img26/7237/hermineheader.jpg"; break;} if (numero == 2){ imagen = "http://img198.imageshack.us/img198/9243/ronheader.jpg"; break;} if (numero == 3){ imagen = "http://img854.imageshack.us/img854/1312/headeralbushellezacken.jpg"; break;} if (numero == 4){ imagen = "http://img200.imageshack.us/img200/3250/cedricchoweihnachtsball.jpg"; break;} if (numero == 5){ imagen = "http://img194.imageshack.us/img194/9269/karkaroffsnapemcgonagal.jpg"; break;} } document.write('');