var xmlHttp;
var abuse_id;
function report_abuse(id)
{ 
	 abuse_id =id;
xmlHttp=GetXmlHttpObject()
    if (xmlHttp==null)
		{
		alert ("Your browser does not support AJAX!");
		return;
		}
	var url=document.getElementById('backurl').value+"module/form_process/report_abuse.php";
	url += "?url="+document.getElementById('url').value;
	url += "&comment_id="+document.getElementById('comment_id').value;
	xmlHttp.onreadystatechange=stateChanged_user;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}

function stateChanged_user()
{
	if (xmlHttp.readyState==4)
	{       
			document.getElementById('abuse'+abuse_id).innerHTML = 'Report Noted...'
		
	}
}
function GetXmlHttpObject(){var xmlHttp=null;try  {  xmlHttp=new XMLHttpRequest();  }catch (e)  {  try    {    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");    }  catch (e)    {    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");    }  }return xmlHttp;}
