//Fondo aleatorio
function quefondo (){
//Activate cloaking device
var randnum = Math.random();
var inum = 3;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array;
images[1] = "fondo1.jpg";
images[2] = "fondo2.jpg";
images[3] = "fondo3.jpg";
// Ensure you have an array item for every image you are using.
var image = images[rand1];
// Deactivate cloaking device
return image;
}

