function showHint(str)
{
if (str.length==0)
  {document.getElementById("txtHint").innerHTML="";
document.getElementById("searchhint").style.display = 'none';
  return;}
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null){alert ("Browser does not support HTTP Request");return;} 
var url="/ajax/gethint.php";
url=url+"?q="+str;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged4;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);}


function stateChanged4() 
{ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 {  document.getElementById("txtHint").innerHTML=xmlHttp.responseText;
document.getElementById("searchhint").style.display = 'inline';
 } }