//numItems is the number of photos for the random image - 1.  I have 11 total, 10 + 1 = 11.
numItems = 10
random_num = (Math.round((Math.random()*numItems)+1))

document.getElementById("container1").style.background = "transparent url(images/body/rotate/" + random_num +".jpg) no-repeat top right";