function retrieveComments(div, gid, page)
{
	var xmlHttp;

	document.getElementById(div).innerHTML="<img src='img/ajax.gif' alt='Loading' height='16' width='16' />";

	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)
			{
				document.getElementById(div).innerHTML="Your browser does not support AJAX!";
				return false;
			}
		}
	}
	
	xmlHttp.onreadystatechange=function()
	{
		if(xmlHttp.readyState==4)
		{
			document.getElementById(div).innerHTML=xmlHttp.responseText;
		}
    }
 
	xmlHttp.open("GET","retrieveComments.php?div="+div+"&gid="+gid+"&page="+page,true)
	xmlHttp.send(null);
}