function getHitsHome()
{
	xmlHttp10=GetXmlHttpObject()
	if (xmlHttp10==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	}
	var url="../counter.php?mode=home";
	xmlHttp10.onreadystatechange=stateChanged10
	xmlHttp10.open("GET",url,true)
	xmlHttp10.send(null)
}

function stateChanged10() 
{ 
if (xmlHttp10.readyState==4 || xmlHttp10.readyState== 200)
 {
	document.getElementById("hits").innerHTML = xmlHttp10.responseText;
	//recieveMessage();
 } 
}
function getHits()
{
	xmlHttp20=GetXmlHttpObject()
	if (xmlHttp20==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	}
	var url="../counter.php?mode=other";
	xmlHttp20.onreadystatechange=stateChanged20
	xmlHttp20.open("GET",url,true)
	xmlHttp20.send(null)
}

function stateChanged20() 
{ 
if (xmlHttp20.readyState==4 || xmlHttp20.readyState== 200)
 {
	document.getElementById("hits").innerHTML = xmlHttp20.responseText;
	//recieveMessage();
 } 
}


var xmlHttp12;
function GetXmlHttpObject()
{
var xmlHttp12=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp12=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp12=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp12=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp12;
}
