while(true){ aleatorio = Math.random(); numero = Math.round(aleatorio * 5); if (numero == 0){ imagen = "https://i.servimg.com/u/f25/14/85/07/19/anothe15.jpg"; break;} if (numero == 1){ imagen = "https://i.servimg.com/u/f25/14/85/07/19/anothe14.jpg"; break;} if (numero == 2){ imagen = "https://i.servimg.com/u/f25/14/85/07/19/anothe16.jpg"; break;} if (numero == 3){ imagen = "https://i.servimg.com/u/f25/14/85/07/19/anothe17.jpg"; break;} } document.write('');