function createXMLHttpRequest()
{
	try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
	try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
	try { return new XMLHttpRequest(); } catch(e) {}
	return null;
}
function writeXMLHttpRequest(objContainer,obj)
{
	container = document.getElementById(objContainer)
	if (obj.readyState==4)
	{
		container.innerHTML = obj.responseText
	}
	else
	{
		container.innerHTML = "Carregando..."
	}
}