function rotatePhoto() {
	var rand = Math.floor(Math.random()*4)+1
	document.getElementById('rotator').childNodes[0].src= "/stylesheets/images/home"+rand+".jpg/";
}

addLoadEvent(rotatePhoto);