var xmlHttp2

function showDetails2(cabType, codeword, cabid)
{ 
xmlHttp2=GetXmlHttpObject2()
if (xmlHttp2==null)
 {
 alert ("Browser does not support HTTP Request");
 return
 }
var url2="getids_2.php";
url2=url2+"?s1="+cabType+ "&s2="+codeword+"&s3="+cabid;
url2=url2+"&sid="+Math.random();
xmlHttp2.onreadystatechange=stateChanged2;
xmlHttp2.open("GET",url2,false);
xmlHttp2.send(null);
if (xmlHttp2.onreadystatechange == null) stateChanged2();
}
function stateChanged2() 
{ 
//alert("STATE: "+ xmlHttp.readyState)
if (xmlHttp2.readyState==4)
 { 

 document.getElementById("txtHint_2").innerHTML=xmlHttp2.responseText;
 
// alert("ID: " + document.getElementById("txtHint").innerHTML);
 } 
}
function GetXmlHttpObject2()
{
var xmlHttp2=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp2=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp2=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp2=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp2;
}