function getHTTPObject() {
  var xmlhttp;
  /*@cc_on
  @if (@_jscript_version >= 5)
    try {
      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (E) {
        xmlhttp = false;
      }
    }
  @else
  xmlhttp = false;
  @end @*/
  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
    try {
      xmlhttp = new XMLHttpRequest();
    } catch (e) {
      xmlhttp = false;
    }
  }
  return xmlhttp;
}


/* -- These are just examples on how to use
function UpdateStatus(statusList) {
  	var sL;
	var details;
	if (resetStatusUpdate) {
		resetStatusUpdate = false;
		initStatusUpdate();
	} else {
		xmlhttp.open("GET", "/dynpage/admin/rowstat.asp?p=" + statusList + '&cb=' + Math.random(),true); //Beware of brower caching
		xmlhttp.onreadystatechange = handleHttpResponse ;
		xmlhttp.send(null);
		setTimeout('UpdateStatus("' + statusList + '")', 5000);
	}
}

function handleHttpResponse() {
  //alert('e' + xmlhttp.readyState );
  if (xmlhttp.readyState == 4) {
  	var c = xmlhttp.responseText;
	//alert(c);
 	var a = c.split("|");
	for (var i = 0; i < a.length; i=i+3) {
		if (a[i] != '') {
			try {
				var b = document.getElementById(a[i]);
				b.innerHTML = a[i+1];
				b.numStat = a[i+2];
			} catch(e) {
				// niks
			}
		}
	}
  }
}

*/