Thanks so much Devinemke,
The first code snippet was driving me crazy! I couldn't get it to work until... few hours later... found that there was a "s" on document, which should not have been there!
But I sure did learn lots, trying to figuring it out.
Thanks so much for your help. I need to learn some javascript.
I do want to direct my questions to the right boards. Where should I have posted this javascript question?
Gilles