its in the post jooel, and not sure what you mean by the pending part? but just to let you know with all your help guys i've managed to edit the script to work across 18 different centres now, so big well done to everyone and dont worry i've put you all in under the author(s). thanks everyone,