// Conexão Ajax
	function connAjax() {
      //verifica se o browser tem suporte a ajax
		try {
			ajax = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(e) {
			try { ajax = new ActiveXObject("Msxml2.XMLHTTP"); }
			catch(ex) {
				try { 
					ajax = new XMLHttpRequest(); 
					ajax.overrideMimeType('text/xml'); // substituir o header do arquivo para garantir
				}
				catch(exc) { alert("Esse browser não tem recursos para uso do Ajax"); ajax = null; }
			}
		}
	}
// Fim Conexão Ajax