﻿// JavaScript Document
window.onload = initBackground;

var cuantosFondos = 15;

function initBackground(){
	randomNum = Math.floor((Math.random() * cuantosFondos)) + 1;	
	document.getElementById("picbkg").style.backgroundImage= "url(images/fondo"+randomNum+".jpg)";
	
}