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

