function JsSendReq ( dbmid )
{

if (xmlHttp) {

    xmlHttp.open('POST', './incs/ajax2.php', true);
    xmlHttp.onreadystatechange = JsProcessReqChg;
    xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlHttp.send("dbid="+dbmid);
}

}

function JsSendReq2 ( dbmid )
{

if (xmlHttp) {

    xmlHttp.open('POST', './incs/ajax3.php', true);
    xmlHttp.onreadystatechange = JsProcessReqChg2;
    xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlHttp.send("dbid="+dbmid);
}

}

function JsSendReq3 ( dbmid )
{

if (xmlHttp) {

    xmlHttp.open('POST', './incs/ajax4.php', true);
    xmlHttp.onreadystatechange = JsProcessReqChg3;
    xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlHttp.send("dbid="+dbmid);
}

}

function JsProcessReqChg ()
{
if (xmlHttp.readyState==4 && xmlHttp.status==200)
{

 var text = xmlHttp.responseText;
 var atext = text.split("##");

document.getElementById('s1').innerHTML = atext[0];
document.getElementById('r1').innerHTML = atext[1];
}
}

function JsProcessReqChg2 ()
{
if (xmlHttp.readyState==4 && xmlHttp.status==200)
{
document.getElementById('s2').innerHTML = xmlHttp.responseText;
}
}

function JsProcessReqChg3 ()
{
if (xmlHttp.readyState==4 && xmlHttp.status==200)
{
document.getElementById('r2').innerHTML = xmlHttp.responseText;
}
}
