Guys thanks again for the great work. It was very close in the end but as usual there can only be one winner. With a small alteration the winner is jamess. Please pm me so I can send you the payment. Again, thanks to everyone who took part.