Dumb luck, I suppose; I dont recall making any changes to get it to work (never didn't work for me). I did have to cleanup the code I posted above and take out a couple <br /> tags for spacing - and I noticed the instructions didnt always match the code I had (6.2.3), but I figured out what needed to be done.
Dumb luck?