// Comienza random images WebMaster Luis Cárdenas www.sudhosting.com -- 
// Preparar los archivos de imagen que serán usados
var theImages = new Array() // no cambiar esto
// Para agregar más imagenes, continuar con el 
// formato, agregando al array.
theImages[0] = './random_img/01_ba.jpg'
theImages[1] = './random_img/02_ba.jpg'
theImages[2] = './random_img/03_ba.jpg'
theImages[3] = './random_img/04_ba.jpg'
theImages[4] = './random_img/05_ba.jpg'
theImages[5] = './random_img/06_ba.jpg'
theImages[6] = './random_img/07_ba.jpg'
theImages[7] = './random_img/08_ba.jpg'
theImages[8] = './random_img/09_ba.jpg'
theImages[9] = './random_img/10_ba.jpg'
theImages[10] = './random_img/11_ba.jpg'
theImages[11] = './random_img/12_ba.jpg'
// no editar debajo de esta linea
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]+'"alt="Buenos_Aires">');
}

