Well, first of all I noticed a tag problem. You somehow have two "</body>" tags. Your other problem is my fault. The size of the images array should be two, not three. Your current example only has two sets of images and links, but the array is sized at three.