Leaning Javascript - Altering content

This is the example from the article Learning Javascript - Altering Content. You can also download the source code.

View High Contrast Version

Important text

This is important text that some people may have difficulty reading.

If Javascript is turned off the user will be taken to page showing the high contrast version.