function rotatePhoto() {
	var rand = Math.floor(Math.random()*5)
	document.getElementById('header').style.backgroundImage = "url(/stylesheets/images/sub-rotator"+rand+".jpg)";
}

//addLoadEvent(rotatePhoto);