// JavaScript Document
function myVisitorCount()
{
	var xmlHttpVC="";
	try
	{
		xmlHttpVC=GetXmlHttpObject();
		if (xmlHttpVC==null)
		{
		  alert ("Your browser does not support AJAX!");
		  return;
		}
		var url = '../visitor_count.php';
		url = url+"?fresh="+new Date().getTime();
		//alert(url);
		xmlHttpVC.onreadystatechange=function() 
		{ 
			if (xmlHttpVC.readyState==4)
			{
				document.getElementById('sp_visitor_count').innerHTML = xmlHttpVC.responseText;
			}
		}
		xmlHttpVC.open("GET",url,true);
		//xmlHttpVC.setRequestHeader("Content-Type","text/html; charset=utf-8"); 
		xmlHttpVC.send(null);
		
	}
	catch(exception)
	{
		alert(exception);
	}
}

