while(true){ aleatorio = Math.random(); numero = Math.round(aleatorio * 5); if (numero == 0){ imagen = "http://rainfall.bplaced.net/silent_words/sw-header1.png"; break;} if (numero == 1){ imagen = "http://rainfall.bplaced.net/silent_words/sw-header2.png"; break;} if (numero == 2){ imagen = "http://rainfall.bplaced.net/silent_words/sw-header3.png"; break;} if (numero == 3){ imagen = "http://rainfall.bplaced.net/silent_words/sw-header4.png"; break;} if (numero == 4){ imagen = "http://rainfall.bplaced.net/silent_words/sw-header5.png"; break;} if (numero == 5){ imagen = "http://rainfall.bplaced.net/silent_words/sw-header1.png"; break;} } document.write('');