var tempX = 0;
var tempY = 0;
var IE = document.all?true:false;
document.onmouseover = getMouseXY;

function testfun(file)
{
 	var xmlObj=false;
	/*@cc_on @*/
	/*@if (@_jscript_version >= 5)
	// JScript gives us Conditional compilation, we can cope with old IE versions.
	// and security blocked creation of the objects.
	 try {
	  xmlObj = new ActiveXObject("Msxml2.XMLHTTP");
	 } catch (e) {
	  try {
	   xmlObj = new ActiveXObject("Microsoft.XMLHTTP");
	  } catch (E) {
	   xmlObj = false;
	  }
	 }
	@end @*/
	if (!xmlObj && typeof XMLHttpRequest!='undefined') 
	{
  	xmlObj = new XMLHttpRequest();
	}

 	xmlObj.onreadystatechange = function()
 	{
  	if(xmlObj.readyState == 4)
  	{
    	handleXML(xmlObj);
    }
  }
  xmlObj.open ('GET', file, true);
  xmlObj.send ('');
}
 
function handleXML(xmlObj)
 	{
		 	var testtext=xmlObj.responseText;
		  elm=document.getElementById ('dataArea');
		  elm.innerHTML = testtext;
		  elm.style.left=tempX + "px";
		  elm.style.top=tempY + "px";
		  elm.style.display="block";
 	}

function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft
    tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }  
  // catch possible negative values in NS4
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  
  return true
}

function divClose()
{
	document.getElementById('dataArea').style.display="none";
}