I fully understand that Jimmy and appreciate the help you guys give. Having already got a response I didn't realise that the 2 days time came in again. I had already handed this to the client to load their data and ir's the first time I've used it so apologies if that seemed impatient. The client loved it - until it stopped working. I've updated the thread - it looks like a conflict with power CMS code on the same page. I look forward to your response. It's one of the most useful scripts I've found for a while and I don't want to try this on other sites until I'v worked it out. Thanks for your help.