// definitions var xmlHttp = null; if( window.XMLHttpRequest ){ xmlHttp = new XMLHttpRequest(); } else{ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } function callXMLHttp(url){ if( xmlHttp ){ if( url != undefined && url != null ){ xmlHttp.open("POST", url, false); xmlHttp.send(null); return xmlHttp.responseText; } } } function callXMLHttpAsync(url){ if( xmlHttp ){ xmlHttp.open("POST", url, true); /* xmlHttp.onReadyStateChange = function(){ if( xmlHttp.readyState == 4 ) viewarea.innerHTML = xmlHttp.responseText; } */ xmlHttp.send(null); } } // messages Interval ID var intervalID; // focus object var fObj;