﻿    var http_requestlistppt = false;
    var Allconerid;
    function makeRequestlistppt(url,conerid) {
        http_requestlistppt = false;
        if (window.XMLHttpRequest) { // Mozilla, Safari,...
            http_requestlistppt = new XMLHttpRequest();
            if (http_requestlistppt.overrideMimeType) {
                http_requestlistppt.overrideMimeType('text/xml');
            }
        } else if (window.ActiveXObject) { // IE
            try {
                http_requestlistppt = new ActiveXObject("Msxml2.XMLHTTP");
            } catch (e) {
                try {
                    http_requestlistppt = new ActiveXObject("Microsoft.XMLHTTP");
                } catch (e) {}
            }
        }

        if (!http_requestlistppt) {
            alert('Giving up :( Cannot create an XMLHTTP instance');
            return false;
        }
        Allconerid=conerid;
        http_requestlistppt.onreadystatechange = alertContentslistppt;
        http_requestlistppt.open('GET', url, true);
        http_requestlistppt.send(null);

    }

    function alertContentslistppt() {
           if (http_requestlistppt.readyState == 4) {
            if (http_requestlistppt.status == 200) {
             document.getElementById(Allconerid).innerHTML=http_requestlistppt.responseText.split('uuptt')[1];
            } else {
                //alert('There was a problem with the request.');
            }
        }

    }

