/*
 * Javascript controller to retrieve detail data from a person over AJAX.
 * The return value is json with two html contents. The first ist the detail 
 * with name, description, phone and email. The second is the image source. 
 */
loadPeopleDetails = function(uid)
{
	var responseHandle = function(person)
	{
		if (person)
		{
			$("#spalte_r").html(person.description_content);
			$("#decker .bild_r").html(person.image_content);
		}
	}
	
	$.get("index.php", {eID: "user_peoples_eID", uid: uid}, responseHandle, "json");
}
