//var xmlHttp_oneaa=GetXmlHttpObjectaa();



function showHintaa(str)
{


if (str.length==0)
  { 
  document.getElementById("txtHintmobileone").innerHTML="";
  return;
  }
xmlHttp_oneaa=GetXmlHttpObjectaa();
if (xmlHttp_oneaa==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="http://www.see.com.pk/gethintimga.php";
url=url+"?q="+str;
url=url+"&sid="+Math.random();
xmlHttp_oneaa.onreadystatechange=stateChangedaa;
xmlHttp_oneaa.open("GET",url,true);
xmlHttp_oneaa.send(null);
} 

function stateChangedaa() 
{ 
if (xmlHttp_oneaa.readyState==4)
{ 
//document.getElementById("txtHint").innerHTML=xmlHttp_one.responseText;
if (xmlHttp_oneaa.status==200) {
            // we use a delay only for this example
			
            setTimeout('loadResultsaa()',100);
			
        }
}
}

function GetXmlHttpObjectaa()
{
var xmlHttpaa=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp_oneaa=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp_oneaa=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp_oneaa=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp_oneaa;
} 
 function loadResultsaa() {
	  document.getElementById("txtHintmobileone").innerHTML=xmlHttp_oneaa.responseText;
	 document.getElementById('txtHintmobileone').innerHTML = '<img id="submitImage" name="submitImage" src="http://www.see.com.pk/images/ajax-loader.gif" alt="AJAX Results Ready">';
	 
	 setTimeout('resetImageaa()',2000);
    
}


function resetImageaa() {
	document.getElementById("txtHintmobileone").innerHTML=xmlHttp_oneaa.responseText;
}
//-------------------------------------------------------
