It would be kind of you to post the new code with corrections rather than change the op, so that people can understand what was changed later on. You can also mark this thread as solved up at the top...