Script routine to be invoked when the button is clicked. The routine takes a single argument which will be the button.
On Toggle (ontoggle)Script routine to be invoked when the button is toggled. The routine takes two arguments, which will be the button and the toggle state.