Got this to work for me after all! Some minor edits to the code, and it worked beautifully. I suspect maybe it didn't work before because of some browser compatibility issues, but I don't know for sure. Anyway, thanks to all for providing this code - it was a big help to me.