<!doctype html public
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title></title>
<style type="text/css" media="screen">
div.visible {
display: visible;
}
div.hidden {
display: none;
}
</style>
<script type="text/javascript">
function part2() {
var part2 = document.getElementById('part2');
if ( part2.className == 'hidden' ) {
part2.className = 'visible';
} else {
part2.className = 'hidden';
}
}
</script>
</head>
<body>
<div id="part1">
<p><a onclick="part2();" href="#">show part 2</a></p>
</div>
<div id="part2" class="hidden">
<p>This was hidden.</p>
</div>
</body>
</html>