var xmlDoc;
function PrintStatistics (url)
{
	url = 'http://stats.abacast.com/' + url + '.xml';

	// code for IE
	if (window.ActiveXObject)
	{
		xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
		xmlDoc.async=false;
		xmlDoc.load(url);
		PrintCount();
	}
	
	// code for Mozilla, Firefox, Opera, etc.
	else if (document.implementation && document.implementation.createDocument)
	{
		xmlDoc=document.implementation.createDocument("","",null);
		xmlDoc.load(url);
		xmlDoc.onload=PrintCount;
	}
	else
	{
		//alert('Your browser cannot handle this script');
	}
}

function PrintCount()
{
	var current = xmlDoc.getElementsByTagName("audience/current")[0].childNodes[0].nodeValue;
	document.write (current);
}