function ajaxInit()  //Inicia a biblioteca para funcionar o AJAX
{
	var req;
	try
    {
	    req = new ActiveXObject("Microsoft.XMLHTTP");
	}

        catch(e)
        {
  	        try
            {
	            req = new ActiveXObject("Msxml2.XMLHTTP");
	        }

            catch(ex)
            {
	            try
                {
		            req = new XMLHttpRequest();
		        }

                catch(exc)
		        {
		            alert("Esse Navegador não tem recursos para uso do Ajax! Atualize seu Navegador!");
		            req = null;
		        }
            }
        }

	return req;
}

