Тогда так:
<script>
function show(id){
var div = document.getElementById('sh'),
elems = div.getElementsByTagName('*');
for(var i=0; i<elems.length; i++)
if(elems[i].id) document.getElementById(elems[i].id).style.display = elems[i].id != id ? "none" : "block"; else elems[i].style.display = "none";
}
</script>
<a href="javascript:void(0)" onClick="show('e1')" >1</a>
<a href="javascript:void(0)" onClick="show('e2')">2</a>
<a href="javascript:void(0)" onClick="show('e3')">3</a>
<div id="sh">
<div class="block" style="display: none" id="e1">1</div>
<div class="block" style="display: none" id="e2">2</div>
<table>fff</table>
<div class="block" style="display: none" id="e3">3</div>
</div>