// JavaScript Document
function NovoXML(){
	if((document.implementation)&&(document.implementation.createDocument)){
		try{
			docxml	= document.implementation.createDocument("","",null);
		}catch(err){
			docxml	= false;
		}
	}else  if(window.ActiveXObject){
		try{
			docxml	= new ActiveXObject("MSxml2.DOMDocument");
		}catch(err){
			try{
				docxml	= new ActiveXObject("Msxml.DOMDocument");
			}catch(err){
				docxml	= false;
				document.getElementById("erro").innerHTML	= "Falhou a iniciação do protocolo de envio.<br />";
			}
		}
	}
}