/*
 * This function peforms the XMLHttpRequest. It Then searches through the
 * XML returned to find a text within the CDATA section.
 * It then return the HTML contained within the CDATA section
 */
function doUpdate(url)
{
	var xmlhttp = new XMLHttpRequest();
	xmlhttp.open('GET',url,false);
		xmlhttp.send(null);
	pages = xmlhttp.responseXML.getElementsByTagName("ajaxtable");
	var myout = "";
	for(var i = 0;i < pages.length;i++)
	{
		for(var j = 0;j < pages[i].childNodes.length;j++){
			if(pages[i].childNodes[j].nodeName == "#cdata-section"){
			myout += pages[i].childNodes[j].nodeValue;
			}
		}
	}
	return myout;
}
