// JScript source code
function callAJAX(urlToCall,callFrom){
    var oXmlHttp ;
    if (window.XMLHttpRequest) { // Mozilla, Safari, ...
        oXmlHttp = new XMLHttpRequest();
        if (oXmlHttp.overrideMimeType) {
            oXmlHttp.overrideMimeType('text/xml');
        }
    } else if (window.ActiveXObject) { // IE
       oXmlHttp = new ActiveXObject("MsXml2.XmlHttp") ;
    }

        oXmlHttp.onreadystatechange=function() {
        switch(callFrom){
            case 'expand_collapse':
                onExCol(oXmlHttp);
                break;
            case 'ee':
                loadDdl(oXmlHttp);
                break;
        }
    }
    oXmlHttp.open( 'GET', urlToCall, true ) ;
        oXmlHttp.send(null);
}


