Well, look at what I posted. Why question how I did it, without looking first?
Because you made it hunt-n-seek game - you said it was in the code you posted in some other topic, and left it up to the user to find the other topic, and the post in the other topic, and the code, and then look at the code... I didn't feel like taking the time to hunt down the code, when you didn't take the time to provide a link.
But you're right - I had no right to comment on your code without looking at it. Take my post then as just a generic bit-o-info for other possibly-interested parties, and ignore it.