Carl, that's exactly what I had in mind. Just make sure that there are no comma's in your values, what shouldn't be if they are filenames.
Beejay, if you need a hand with some of the code let us know, remember that if you want to use javascript and Cold Fusion the CF code is run before the page...