Photo gallery

Hello there…
I’m wondering if anybody can help me…

I’m having problem getting my photo gallery to work. You know the one that’s listed on the tutorial,with the fade in and fade out thing?

Well, it works just find when I preview the file (ctrl-enter), but when i open the html or when I open that file through a link from another page, it would only load the first pict in the array. I have no idea where I did wrong…

well, i’d be just awesome if somebody can help me figure this out…
thanks heaps