I finally got it figured out. I had forgotten the AddHandler line. Thanks for all your help.