/*function ajaxInit()

{

var req;



	if (window.XMLHttpRequest)

	{ 

		 req = new XMLHttpRequest();

	} //Objeto nativo (FF/Safari/Opera7.6+)

	else

	{

		try

		{

		 req = new ActiveXObject("Microsoft.XMLHTTP");

		}

		catch(e)

		{

				try

				{

					req = new ActiveXObject("Msxml2.XMLHTTP");

					alert(req);

				}

				catch(ex)

				{

					try

					{

						req = new XMLHttpRequest();

					}

					catch(exc)

					{

						alert("Esse browser não tem recursos para uso do Ajax");

						req = null;

					}

				}

		}

	}

return req;

}*/



function ajaxInit()

{

	if (window.XMLHttpRequest)

	{ 

		a=new XMLHttpRequest(); 

	} //Objeto nativo (FF/Safari/Opera7.6+)

	else 

	{

		try 

		{ 

			a=new ActiveXObject("Msxml2.XMLHTTP");  //activeX (IE5.5+/MSXML2+)

		}   

		catch(e) 

		{

			try 

			{ 

				a=new ActiveXObject("Microsoft.XMLHTTP"); //activeX (IE5+/MSXML1)

			}   

			catch(e) 

			{ /* O navegador não tem suporte */ 

				a=false; 

			}

		}

	} 

return a;

}







