es lo mismo que lo anterior, solo agregalo al codigo...
   
Código Javascript
:
Ver original- ocument.write("<a href='" + urls[numRandom] + "' target='_blank'><img src='" + imagenes[numRandom] + "' width='20px' height='20px'></a>"); 
Al menos intenta hace el cambio por ti mismo, lo peor que pueda suceder es que no funcione...