function motoraction_ajax(url, func_callback) {

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

	if (!xmlhttp) {
	  alert('Não foi possível criar o objeto xml');
	  return;
	}

	xmlhttp.onreadystatechange = function () {
	  // se está no estado de concluido
	  if (xmlhttp.readyState==4)
		if (xmlhttp.status == 200)
			func_callback(eval ('(' + xmlhttp.responseText + ')'));
		else
			alert('Ocorreu algum problema na resposta: ' + xmlhttp.statusText);
	}

	xmlhttp.open('GET', url, true);
	xmlhttp.send(null);
}

