function ajaxSend(url,changeObjId, formAction)
{
    var objId = changeObjId;
    var xmlHttp = false;
    if(window.ActiveXObject)
    {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    else if(window.XMLHttpRequest)
    {
        xmlHttp = new XMLHttpRequest();
    }

    if (xmlHttp)
    {
        xmlHttp.open(formAction, url, true);
        if(!changeObjId=="")
        {
            xmlHttp.onreadystatechange = function()
            {
                if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
                {
                    document.getElementById(changeObjId).innerHTML = xmlHttp.responseText;
                    delete xmlHttp;
                    xmlHttp = null;
                }
            }
        }
        xmlHttp.send(null);    
    }
}
 