Thank you for replying... If you could just explain the code that you have posted it would be great.