/* global HTTP Request object */ 
var xhttp=null;
/* probing for HTTP Request functionality */	
	if (window.XMLHttpRequest)	/* DOM 3 code */
  		xhttp=new XMLHttpRequest();
	else if(window.ActiveXObject) /* IE odd code */
  	{	try{xhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){xhttp=null;}/* you never know with IE ActiveX*/
	}
/* request method */
xOpen=function(url)
{	if (xhttp!=null)
  	{	log.push('#http request: openining '+url+' ...');
  		xhttp.open("GET",url,true);/* asynchonous get request */
  		xhttp.onreadystatechange=function()
  		{	if(xhttp.readyState==4)/* Transfer completed */
  			{ 	log.push('#http request: data retrieved from '+url);
  			/* calling result handler */
  				xResult(xhttp.responseText);
  			}
  		}
  		xhttp.send(null)
  	}
 	else /* good old iframe */
	{	/* to be implemented */
		error('no valid http request functionality','getInfo.js','xOpen()','Runtime');	alert();
	}
}
xResult=function(xRes){}
/* end of http request code */
