var xmlHttp3
var a_id=0;
function get_state(c,s)
{
  xmlHttp3=GetXmlHttpObject3()

  if (xmlHttp3==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }

  var url="ajex/state.php?cid="+c+"&sid="+s
  xmlHttp3.onreadystatechange=stateChanged3
  xmlHttp3.open("GET",url,true)
  xmlHttp3.send(null)
}



function stateChanged3()
{
  if (xmlHttp3.readyState==4 || xmlHttp3.readyState=="complete")
  {
      document.getElementById("state").innerHTML=xmlHttp3.responseText
      document.getElementById("a22").innerHTML='';
      
  }
}



function insert_express(a,i)
{
  xmlHttp3=GetXmlHttpObject3()

  if (xmlHttp3==null)
  {
    alert ("Browser does not support HTTP Request")
    return
  }
a_id=a;
  var url="ajex/expressed.php?id="+a+"&uid="+i
  xmlHttp3.onreadystatechange=stateChanged32
  xmlHttp3.open("GET",url,true)
  xmlHttp3.send(null)
}



function stateChanged32()
{
  if (xmlHttp3.readyState==4 || xmlHttp3.readyState=="complete")
  {
   document.getElementById("exp_"+a_id).innerHTML=xmlHttp3.responseText
  }
}



























function GetXmlHttpObject3()
{
  var xmlHttp3=null;
  try
  {    // Firefox, Opera 8.0+, Safari
    xmlHttp3=new XMLHttpRequest();
  }
  catch (e)
  { //Internet Explorer
    try
    {
      xmlHttp3=new ActiveXObject("Msxml.XMLHTTP");
    }
    catch (e)
    {
      xmlHttp3=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
  return xmlHttp3;
}


