var objXML;
function createxmlobject()
{
    if (window.XMLHttpRequest)
    {
        objXML=new XMLHttpRequest();
        if (objXML.overrideMimeType)
        {
            objXML.overrideMimeType('text/html');
        }
    }
        else if (window.ActiveXObject)
        { // For IE
            try 
            {
                objXML=new ActiveXObject("Msxml2.XMLHTTP");
            } 
            catch (e)
            {
                try
                {
                    objXML=new ActiveXObject("Microsoft.XMLHTTP");
                }
                catch (e)
                {
                    objXML = null;
                }
            }
    }
}
