// JavaScript Document

var randImg = new Array("/Images/homeHeroImg-1.jpg", "/Images/homeHeroImg-2.jpg", "/Images/homeHeroImg-3.jpg")
 
function setBackground() {
var bgimage = randImg[(Math.round(Math.random()*(randImg.length - 1)))]
document.getElementById("HeroImg").style.backgroundImage = "url('" +bgimage+ "')";

}
