This will display three links, one for each div. Clicking one of these links will show the relevant div and hide the others.
Then you can place the actual divs anywhere in your page using:
<div id="the_div_1">This is div 1</div> <div style="display: none;" id="the_div_2">This is div 2</div> <div style="display: none;" id="the_div_3">This is div 3</div>
You'll notice the second and third divs have a CSS style setting of display:none. This hides them when the page is first loaded, and the first div is displayed. These are displayed accordingly when the links are clicked.
The possibilities for using this are endless. Enjoy!