<a id="showhide" href="javascript:changeDisplayState('example1')">Show example</a>
The general text continues ....