var xmlHttp


function showInf1(str)
{ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
  var url="getinformation.php"
  url=url+"?q="+str
  xmlHttp.onreadystatechange=stateChanged 
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)
}

function stateChanged() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHint").innerHTML=xmlHttp.responseText 
 } 
}

function showInf2(str)
{ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
  var url="getinformation.php"
  url=url+"?r="+str
  xmlHttp.onreadystatechange=stateChanged1 
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)

}

function stateChanged1() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHint1").innerHTML=xmlHttp.responseText 
 } 
}

function showInf3(str)
{ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
  var url="getinformation.php"
  url=url+"?s="+str
  xmlHttp.onreadystatechange=stateChanged2
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)
  
}

function stateChanged2() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHint2").innerHTML=xmlHttp.responseText 
 } 
}

function showInf4(str)
{ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
  var url="getinformation.php"
  url=url+"?t="+str
  xmlHttp.onreadystatechange=stateChanged3
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)
}

function stateChanged3() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHint3").innerHTML=xmlHttp.responseText 
 } 
}

function showInf5(str)
{ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
  var url="getinformation.php"
  url=url+"?u="+str
  xmlHttp.onreadystatechange=stateChanged4
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)
}

function stateChanged4() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHint4").innerHTML=xmlHttp.responseText 
 } 
}

function showInf6(str)
{ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
  var url="getinformation.php"
  url=url+"?v="+str
  xmlHttp.onreadystatechange=stateChanged5
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)
}

function stateChanged5() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHint5").innerHTML=xmlHttp.responseText 
 } 
}

function showInf7(str)
{ 
  xmlHttp=GetXmlHttpObject()
  if (xmlHttp==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
  var url="getinformation.php"
  url=url+"?w="+str
  xmlHttp.onreadystatechange=stateChanged6
  xmlHttp.open("GET",url,true)
  xmlHttp.send(null)
}

function stateChanged6() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHint6").innerHTML=xmlHttp.responseText 
 } 
}

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;
}