// JScript File
function ShowContainer(c_id, toObject)
{
    var xmlHttp;
        try
        {
            xmlHttp=new XMLHttpRequest();
        }
    catch (e)
    {
        try
        {
            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
    catch (e)
    {
        try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
    catch (e)
    {
    alert("Your browser does not support AJAX!");
    return false;
    }
    }
    }
    xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4){
    document.getElementById(toObject).innerHTML=xmlHttp.responseText;
    }
    }
    var query = "?containerId=" + c_id;
    xmlHttp.open("GET","inc/show_container.asp"+query,true);
    xmlHttp.send(null);
}


function ShowConstant(constName, toObject)
{
    var xmlHttp;
        try
        {
            xmlHttp=new XMLHttpRequest();
        }
    catch (e)
    {
        try
        {
            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
    catch (e)
    {
        try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
    catch (e)
    {
    alert("Your browser does not support AJAX!");
    return false;
    }
    }
    }
    xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4){
    document.getElementById(toObject).innerHTML=xmlHttp.responseText;
    }
    }
    var query = "?constName=" + constName;
    xmlHttp.open("GET","inc/show_constant.asp"+query,true);
    xmlHttp.send(null);
}
