$(document).ready(function() { 
						   
	$("li:first-child a.personLinks").addClass("active");
	$("div.personDetails:first-child").show();

	$("a[id^='personLink-']").click(function(){
		
		$("div.personDetails").hide();
		$("a.personLinks").removeClass("active");
		
		$(this).addClass("active");
										  
		match = this.id.match(/personLink-(\d+)/);
		container = $("div#personContainer-"+match[1])
		container.show();
		return false;
		
	});

});