jama_za is spot on. That is the smartest way to do it.
Alternatively you could store it in two separate files, and load the content into your div on click on your anchor link. However, that would be less desireable.
The site you linked to refreshes the whole page when you change between the two views. At least here :-)