function doCallback(data) {
    if (window.XMLHttpRequest) {						// NATIVE XMLHttpRequest OBJ //
        req = new XMLHttpRequest();
        req.onreadystatechange = processReqChange;
        req.open('POST', url, true);
        req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
        req.send(data);
    } else if (window.ActiveXObject) {				// IE/Windows ActiveX //
        req = new ActiveXObject('Microsoft.XMLHTTP')
        if (req) {
            req.onreadystatechange = processReqChange;
            req.open('POST', url, true);
            req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
            req.send(data);
        }
    }
}

function processReqChange() {
    if (req.readyState == 4) { // LOADED //
        if (req.status == 200) { eval(run); } else { alert('AJAX hatası! Bilgi alınamadı.'); }
    }
}