Thanks abraxxas! I'm not sure if I didn't explain clearly enough or I don't understand your reply.

Please bear with me in either case!
I'm wondering if javascript has the ability to retrieve a list of available files from a specified location on the web, then parse those files and preload any image files that were found into a scrolling marquee. This will allow me to upload images without being concerned with their name or having to update the javascript code.
I haven't found any js example where a list of files in a directory are retrieved from the server. The only examples I've found used .asp or php.
If you understood me but I was being dense, please elaborate. I'm a C++ developer just getting into website stuff. Even though I don't know a lot about this at the moment, I will hopefully be a quick learner!