var xmlHttp63;
function getLocal()
{
 
xmlHttp63=GetXmlHttpObject23();
if (xmlHttp63==null)
  {
  alert ("Your browser does not support AJAX Please Contact Administrator!");
  return;
  } 
var url="GetLocal.php";
 
xmlHttp63.onreadystatechange=stateChanged23;
xmlHttp63.open("GET",url,true);
xmlHttp63.send(null);

}//get_egazat_control_value() function 

function stateChanged23() 
{ 
if (xmlHttp63.readyState==4)
{    
 
  info=xmlHttp63.responseText;//contain id_username of the current user.....
    document.getElementById("local").innerHTML=info;
 }//if readystate==4
 
 else{
    document.getElementById("local").innerHTML="<img src='images/load.gif' />";
 }//else not in ready state yet

}//statechange function

function GetXmlHttpObject23()
{
var xmlHttp63=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp63=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp63=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp63=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp63;
}//getxmlhttpobject




