function getXmlHttpObject() {
    var xmlHttp = null;
    
    try {
        // Firefox, Opera 8.0+, Safari
        xmlHttp = new XMLHttpRequest();
        xmlHttp.setrequestheader ( "contentType", "text / html; charset = uft-8")
    } catch (e) {
        // Internet Explorer
        try {
            xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
            xmlHttp.setrequestheader ( "contentType", "text / html; charset = uft-8")
        } catch (e) {
            try {
                xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
                xmlHttp.setrequestheader ( "contentType", "text / html; charset = uft-8")
            } catch (e) { }
        }
    }
    
    return xmlHttp;
}
