function parseContent($name,$id)
{
	var xmlHttp;
	try
	{   
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
	{
		// Internet Explorer
		try
		{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e)
		{
			try
			{        
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e)
			{
				alert("Whoops! Your browser does not support ajax! Shame on you!");
				return false;       
			}
		}
	}

xmlHttp.onreadystatechange=function()
{
	if(xmlHttp.readyState==4)
	{
		document.getElementById('content').innerHTML = '<div style="margin-top:15px; margin-left:1px;">' + xmlHttp.responseText + '</div>';		
	}
}

xmlHttp.open("GET","lib/getcontent.lib.php?name=" + $name + "&id=" + $id + "",true);
xmlHttp.send(null);
}
