while(true){ aleatorio = Math.random(); numero = Math.round(aleatorio *3); if (numero == 0){ imagen = "http://img5.imageshack.us/img5/6352/bannerxc.png"; break;} if (numero == 1){ imagen = "http://img190.imageshack.us/img190/6913/ccbannerp.png"; break;} if (numero == 2){ imagen = "http://img155.imageshack.us/img155/4705/asgbannerr.png"; break;} if (numero == 3){ imagen = "http://imageshack.us/m/222/8403/jtzj.png"; break;} } document.write('');