How is the ThemeRoller's reverse-background feature implemented?

How is the ThemeRoller's reverse-background feature implemented?

On the ThemeRoller page, there is a "Reverse background color" checkbox, with the following HTML:
 
  1. <div id="demo-options"><input type="checkbox" name="reverse-background" id="reverse-background"> <label for="reverse-background">Reverse page background color</label></div>
 
As you can see, there is no onclick attribute. I looked in the various .js files for that page, and did not see any code that would account for the onclick behavior.
 
How is that implemented? Apologies if this is an idiot question.