If you paste these codes http://paste.plurk.com/show/152772 in http://htmledit.squarefree.com/
You will see the codes run without any problem. The images altogether will turn into a slideshow.
However, if you paste the following codes:
http://paste.plurk.com/show/152773
The codes will fail to run, no slideshow.
These two pieces of codes only differ in whether the codes are wrapped inside a jquery anonymous function.
I just have no idea why the second piece of codes doesn't work.