function	createXhrObject()
{
    var		names, i;

    if (window.XMLHttpRequest)
        return new XMLHttpRequest();
    if (window.ActiveXObject)
        {
            names = ["Msxml2.XMLHTTP.6.0",
                     "Msxml2.XMLHTTP.3.0",
                     "Msxml2.XMLHTTP",
                     "Microsoft.XMLHTTP"];
            for(i in names)
                {
                    try {
                        return new ActiveXObject(names[i]);
                    } catch (e) {}
                }
        }
    return null;
}
