// JavaScript Document

function montaAjax(){
	var aj = null;
	try{
		aj = new XMLHttpRequest();
	}catch(e){
		try{
			aj = new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				aj = new ActiveXObject("Msxml2.XMLHTTP");
			}catch(e){
				aj = "seu navegador não suporta ajax";
			}
		}
	}
	if(typeof aj == "String"){
		alert(aj);
	}else{
		return aj;
	}
}

var ajax = new montaAjax();

