function getEditData(regid, ident, evalue)
{
    var xmlhttp;
    var url;
    var sectionid = regid;
    var sdid = evalue;
    url="ehandler.php?sectionid=" + sectionid + "&detailsid=" + sdid;

    function GetXmlHttpObject()
    {
        if (window.XMLHttpRequest)
        {
            // code for IE7+, Firefox, Chrome, Opera, Safari
            return new XMLHttpRequest();
        }
        if (window.ActiveXObject)
        {
            // code for IE6, IE5
            return new ActiveXObject("Microsoft.XMLHTTP");
        }
        return null;
    }
    xmlhttp=GetXmlHttpObject();
    if (xmlhttp==null)
    {
        alert ("Browser does not support HTTP Request");
        return;
    }
     function handleSectionSelectionChanged()
    {
        if (xmlhttp.readyState==4)
        {
            document.getElementById(ident).innerHTML = xmlhttp.responseText;
        }
    }
    xmlhttp.onreadystatechange=handleSectionSelectionChanged;
    xmlhttp.open("GET",url,true);
    xmlhttp.send(null);

}


