Let's say I have two links
<a href="#pessoa1">link1</a>
<a href="#pessoa2">link2</a>
The content shown will only refer to the clicked link and when you click on another link the currently open content will be closed
<div id="pessoa1"></div>
<div id="pessoa2"></div>
<script>
$('a').click(function(e){
$('[id^="pessoa"]').show("slow");
e.preventDefault();
return false;
});
</script>