// JavaScript Document
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'img/imagenes-random/1.jpg'
theImages[1] = 'img/imagenes-random/2.jpg'
theImages[2] = 'img/imagenes-random/3.jpg'
theImages[3] = 'img/imagenes-random/4.jpg'
theImages[4] = 'img/imagenes-random/5.jpg'
theImages[5] = 'img/imagenes-random/6.jpg'
theImages[6] = 'img/imagenes-random/7.jpg'
theImages[7] = 'img/imagenes-random/8.jpg'
theImages[8] = 'img/imagenes-random/9.jpg'
theImages[9] = 'img/imagenes-random/10.jpg'
theImages[10] = 'img/imagenes-random/11.jpg'
theImages[11] = 'img/imagenes-random/12.jpg'
theImages[12] = 'img/imagenes-random/13.jpg'
theImages[13] = 'img/imagenes-random/14.jpg'
theImages[14] = 'img/imagenes-random/15.jpg'
theImages[15] = 'img/imagenes-random/16.jpg'
theImages[16] = 'img/imagenes-random/17.jpg'
theImages[17] = 'img/imagenes-random/18.jpg'
theImages[18] = 'img/imagenes-random/19.jpg'
theImages[19] = 'img/imagenes-random/20.jpg'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

//  End -->