var oHttp; function updateHitCount(pKey) { if (self.ActiveXObject) { oHttp = new ActiveXObject('Microsoft.XMLHTTP'); } else { if (self.XMLHttpRequest) { oHttp = new XMLHttpRequest(); } } if (typeof oHttp == 'undefined' || oHttp == null) return; var strUrl = "http://domino-80.prominic.net/A55BE4/NotesHoundWeb.nsf/(updateHitCountRecord)?openagent&key=" + pKey; oHttp.onreadystatechange = onReadyStateChangeAjaxRequest; oHttp.open('GET', strUrl); oHttp.send(null); } function onReadyStateChangeAjaxRequest() { //if (oHttp.readyState == 4 && oHttp.status == 200) { // alert(oHttp.responseText); // return true; //} return true; }