// JavaScript Document
var xmlHttp
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 showHint(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
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 showHint1(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint1").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
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 showHint2(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint2").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
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 showHint3(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint3").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
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 showHint4(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint4").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
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 showHint5(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint5").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
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 showHint6(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint6").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
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 showHint7(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint7").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
xmlHttp.onreadystatechange=stateChanged7
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 
function stateChanged7() 
{ 
 if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 	document.getElementById("txtHint7").innerHTML=xmlHttp.responseText 
 } 
}
function showHint8(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint8").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
xmlHttp.onreadystatechange=stateChanged8
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 
function stateChanged8() 
{ 
 if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 	document.getElementById("txtHint8").innerHTML=xmlHttp.responseText 
 } 
}
function showHint9(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint9").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
xmlHttp.onreadystatechange=stateChanged9
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 
function stateChanged9() 
{ 
 if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 	document.getElementById("txtHint9").innerHTML=xmlHttp.responseText 
 } 
}
function showHint10(str,lmt)
{
		
	if (str.length==0)
	{ 
		document.getElementById("txtHint10").innerHTML=""
		return
	}
		xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
  
var url="gethint.php"
url=url+"?q="+str+"&lm="+lmt;
xmlHttp.onreadystatechange=stateChanged10
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 
function stateChanged10() 
{ 
 if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 	document.getElementById("txtHint10").innerHTML=xmlHttp.responseText 
 } 
}



