Thanks for posting that, Marc!
I actually searched for your old post where you originally posted it, but the link in that post is dead... You might want to edit it to reflect the new link, in case anyone else searches for it. (The only difference is that the file name was in lowercase back then, and now it's in all caps.)
Adam