
var xmlHttp_moniter
 
function moniter()
{
    xmlHttp_moniter = GetXmlHttpObject_parcel()
    if(xmlHttp_moniter == null)
    {
        alert("browser does not support HTTP Request")
        return
    }
var url="table.php?yo=" 
    xmlHttp_moniter.onreadystatechange = stateChanged
    xmlHttp_moniter.open("GET",url,true)
    xmlHttp_moniter.send(null)
 
}
 
function stateChanged()
{
    if(xmlHttp_moniter.readyState==4 || xmlHttp_moniter.readyState == "complete")
    {
        document.getElementById("moniter").innerHTML = xmlHttp_moniter.responseText
        setTimeout('moniter()',7000);
    }
}
 
function GetXmlHttpObject_parcel()
{
    var xmlHttp_moniter=null;
    try
    {
        xmlHttp_moniter=new XMLHttpRequest();
    }
    catch (e)
         {
             //Internet Explorer
             try
              {
                  xmlHttp_moniter=new ActiveXObject("Msxml2.XMLHTTP");
              }
             catch (e)
              {
              xmlHttp_moniter=new ActiveXObject("Microsoft.XMLHTTP");
              }
         }
    return xmlHttp_moniter;
}
 
 
 
