Thank you snock.
Just what i was after and saved a load of time.