Better day separation, and added jQuery instead of alert()ing
when the user reaches the end of the images.