Updated the off() and on() functions to the new design.
Authored by: bugman 2008-05-21
Parent: [r6226]
Child: [r6228]