var intMaxBackgrounds = 7;

function rndBackground() {
	var newBG = "images/bg_" + Math.ceil(Math.random() * intMaxBackgrounds) + ".jpg";
	//alert("Background = " + newBG);
	document.body.style.backgroundImage = "url('" + newBG + "')";
}

