I downloaded a copy of the page and the script started working. I then commented out the JQuery call and it still worked. The download did rename all of the image files and the references in the page, I didn't see anything else change so presumably it has something to do with how the images are named.
The only other thing I can think of that might make a difference is to move the script tag to the bottom just before the </body> (which is where the script should be anyway).
Helping others to solve their computer problem at http://www.felgall.com/