/* ajax */
var xmlHttp

function showCustomer(str)
{ 

if (str.length==0)
 { 
 document.getElementById("txtHint").
 innerHTML="";
 document.getElementById("txtHint").
 style.visibility="hidden";
 return
 }

xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
  
var url="http://www.nqa.com/en/intouch/inc/livesearch.asp";
url=url+"?zoom_query="+str;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function stateChanged() 
{ 
if (xmlHttp.readyState==4)
{ 
//document.getElementById("txtHint").innerHTML=xmlHttp.responseText;

document.getElementById("txtHint").
style.visibility="visible";
document.getElementById("txtHint").
innerHTML=xmlHttp.responseText;
document.getElementById("txtHint").
style.border="1px solid #006CB9";
document.getElementById("txtHint").
zIndex=100;
document.getElementById("txtHint").
style.backgroundColor="#eeeeee";
document.getElementById("txtHint").
marginTop = "-50px";
}
}

function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
} 
function HideResults() {
	
document.getElementById("txtHint").
style.visibility="hidden";
	
	
}