function rotatePhoto() {
	var rand = Math.floor(Math.random()*13)+1;
img =document.getElementById('sponsor');
	img.src = "/stylesheets/images/sponsor"+rand+".jpg";
        
}

addLoadEvent(rotatePhoto);