function executeXHR(callback, url)
{
	// branch for native XMLHttpRequest object
	if (window.XMLHttpRequest)
	{
		req = new XMLHttpRequest();
		req.onreadystatechange = callback;
		req.open("GET", url, true);
		req.send(null);
	} // branch for IE/Windows ActiveX version
	else if (window.ActiveXObject)
	{
		req = new ActiveXObject("Microsoft.XMLHTTP");
		if (req)
		{
			req.onreadystatechange = callback;
			req.open("GET", url, true);
			req.send();
		}// end if
	}// end else if
}// end executeXHR

function processAddViewResponse()
{
	// only if req shows "loaded"
	if (req.readyState == 4)
	{
		// only if "OK"
		if (req.status == 200)
		{
			//done
		}// end if
		else
		{
			//alert("There was a problem retrieving the data:\n" + req.statusText);
		}// end else
	}// end if
}// end processAjaxResponse
