while(true){ aleatorio = Math.random(); numero = Math.round(aleatorio * 3); if (numero == 0){ imagen = "http://s14.directupload.net/images/user/120517/t5c93i6e.png"; break;} if (numero == 1){ imagen = "http://s14.directupload.net/images/user/120517/y97qkh8q.png"; break;} if (numero == 2){ imagen = "http://s14.directupload.net/images/user/120517/zxn7r958.png"; break;} } document.write('');