
function IncrementCounters( sParams )
{

// alert(sParams);

var xmlhttp;
var sURL;

sParams = 'name=' + sParams;

sURL = '/resource/_inc_counter.aspx?' + sParams;

xmlhttp=null;

if (window.XMLHttpRequest)
  {// code for all new browsers
  //alert('1');
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {// code for IE5 and IE6
  //alert('2');
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }

if (xmlhttp!=null)
  {
  //alert('A');
  //xmlhttp.onreadystatechange=state_Change;

  xmlhttp.onreadystatechange = function(){};

  //alert('B ' + sURL);
  xmlhttp.open("POST",sURL,false);

  //alert('C');
  xmlhttp.send(sParams);

  //a/lert('D');
  }
else
  {
  // alert("Your browser does not support XMLHTTP.");
  }

// alert( "Sent " + sParams);

}

