Object loses event binding in Internet Explorer

Object loses event binding in Internet Explorer

Hello,
 
I am working on a script to allow the user to click on an image to turn table header locking on and off. Everything appears to work fine, with the exception of one quirk that is occurring when I run the test page in Internet Explorer (7, in this case).
 
If you click on the icon once to turn on header locking, it works. If you then click the icon again, it turns off header locking, as it is supposed to. But after that, you can no longer click on the icon. It is as if it loses the event binding.
 
I am not removing or in anyway creating a new instance of the icon (although I did try using live() instead of click() just to be safe). Also, if I run this same page in Firefox, I do not have this problem.
 
You can see the example page and view the complete source at http://www.bobthegeek.com/jQuery_Testing/jQueryLockingTableHeaders.html
 
I would really appreciate any help with this.
 
Thanks!
 
Bob