function GetXMLHttp() { 
        var xmlHttp; 
        try {                 
                xmlHttp = new XMLHttpRequest(); 
        } 
        catch(ee) { 
                try {   
                                             
                        xmlHttp = new ActiveXObject("Microsoft.XMLHttp"); 
                } 
                catch(e) { 
                        try {      
                                                             
                                xmlHttp = xmlhttp=new ActiveXObject("MSXML2.XMLHttp"); 
                        } 
                        catch(e) { 
                                    alert("Seu browser não suporta AJAX!");                                    
                                    xmlHttp = false; 
                                
                                
                                
                        } 
                } 
        } 
        return xmlHttp; 
} 
 
