Thanks for stack overflow link - that's what I was after. I'm just having a bit of a play