Richard: I'm in the middle of a post of the bits of code I used - will try to rustle something up for you!