onload = function() {
	if (screen.width > 1024) {
		images = new Array("/fotos/1440/meteo01.jpg", "/fotos/1440/meteo02.jpg", "/fotos/1440/meteo03.jpg");
	}	else {
		images = new Array("/fotos/1024/meteo01.jpg", "/fotos/1024/meteo02.jpg", "/fotos/1024/meteo03.jpg");
	}
	rand = Math.floor(Math.random()*images.length);
	img = images[rand];
	document.body.style.background = "url("+img+") no-repeat fixed";
}