Thanks again xelawho your a whiz. I just copied the one line of code again, pasted it into my slightly modified code and it worked, so without going back through earlier code I don't know what was different. As you are aware it doesn't take much to "upset" the code.

I hope 10 posts will speed things up; waiting 24 hours each time is a little frustrating however I do need to sleep and you are obviously in another time zone.

I will have many more coding questions but will start a new post as required. I may have to pay someone here in Oz that is good with JS coding; if I can find someone as skilled as yourself.

I'll certainly have a look at the mozilla website; thanks for the info.

Thanks very much again for your assistance.