/*
function ajaxInit() {

	var xmlhttp;
	
	try {
		xmlhttp = new XMLHttpRequest();
	} catch (ee) {
		try {
			xmlhttp = new ActiveXObject("Msxm12.XMLHTTP");
		} catch (e) {
			try {
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (E) {
				xmlhttp = false;
			}
		}
	}
	
	return xmlhttp;
}


function ajaxInit(){
	var xmlhttp = null;
			
	if(window.XMLHttpRequest && navigator.appVersion.indexOf('MSIE') < 0){
	xmlhttp = new XMLHttpRequest();
	}
	else if(window.ActiveXObject){
	xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	if(!xmlhttp){
	xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	}
	else{
	xmlhttp = null;
	}

	
    return xmlhttp;
}
*/
var req;

function ajaxInit()
{
xmlhttp = null;
// Procura por um objeto nativo (Mozilla/Safari)
if (window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();
// Procura por uma versão ActiveX (IE)
} else if (window.ActiveXObject) {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}

return xmlhttp;
}

