function GetData(dest)
{
	try 
	{
		// Moz supports XMLHttpRequest. IE uses ActiveX. 
		// browser detction is bad. object detection works for any browser
		xmlHttp = window.XMLHttpRequest ? new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");
	}
	catch (e) 
	{
		// browser doesn't support ajax. handle however you want
		alert(e);
	}
	 
	// the xmlHttp object triggers an event everytime the status changes
	// triggered() function handles the events
	xmlHttp.onreadystatechange = DoC;
	 
	// open takes in the HTTP method and url.
	xmlHttp.open("GET", dest);
	 
	// send the request. if this is a POST request we would have
	// sent post variables: send("name=aleem&gender=male)
	// Moz is fine with just send(); but
	// IE expects a value here, hence we do send(null);
	xmlHttp.send(null);
	
	//alert('request sent to ' + dest);
 
}

//process the count data
function DoC()
{
	if ((xmlHttp.readyState == 4) && (xmlHttp.status == 200)) 
	{
		var resp = xmlHttp.responseText;
		arr = resp.split('|');

		//for(i=0; i<arr.length-1; i++)
		//{
		//	//alert(arr[i]);
		//}
		
		document.getElementById("aJ").innerText += "   (" + arr[0] + ")";
		document.getElementById("aH").innerText += "   (" + arr[1] + ")";
		document.getElementById("aF").innerText += "   (" + arr[2] + ")";
		document.getElementById("aS").innerText += "   (" + arr[3] + ")";
		//document.getElementById("aP").innerText += "   (" + arr[4] + ")";
   }
}