Note the use of two functions to make two backgrounds. Any element that you want to change must be given the "mychange" class, which is actually defined twice, once for each function. Here you see the onclick event handler used in a form with radio buttons. The form button works to reset the backgrounds to the original state.

The big dog ran down the street.