Thanks mate, thats got me sorted for the afternoon, those two had me a bit stuck for a while