function check_avail(rateval,content_id,section,tag_obj,cat_id)
{
	tag_name =tag_obj;
	url="http://www.cxotoday.com/cxo/event/rateArticle.jsp?content_id="+content_id+"&userRate="+rateval+"&section="+section+"&cat_id="+cat_id;
	// branch for native XMLHttpRequest object
	if (window.XMLHttpRequest)
	{
		req = new XMLHttpRequest();
		req.onreadystatechange = processReqChange;
		req.open("GET", url + " ", true);
		req.send(null);
		// branch for IE/Windows ActiveX version
	}
	else if (window.ActiveXObject)
	{
		isIE = true;
		req = new ActiveXObject("Microsoft.XMLHTTP");
		if (req)
		{
			req.onreadystatechange = processReqChange;
			req.open("GET", url, true);
			req.send();
		}
	}
}
// handle onreadystatechange event of req object
function processReqChange()
{
	// only if req shows "loaded"
	if (req.readyState == 4)
	{
		// only if "OK"
		if (req.status == 200)
		{
			document.getElementById(tag_name).style.display="block";
			document.getElementById(tag_name).innerHTML=req.responseText;
		}
		else
		{
			alert("There was a problem retrieving the XML data:\n" + req.statusText);
		}
	}
}
