// JavaScript Document


var base  = "artwork/images/randomImages/";
var images = new Array();


images[0] = base + "image03.jpg";
images[1] = base + "image04.jpg";
images[2] = base + "image05.jpg";
images[3] = base + "image06.jpg";
images[4] = base + "lana.jpg";
images[5] = base + "trigo1.jpg";
images[6] = base + "girasol-2.jpg";

var index = Math.floor(Math.random() * images.length);

window.onload = function() {
	document.getElementById("randomImage").style.background = "url(" + images[index] + ")"; 
}
