 function ajaxInit() {
  var req;
  try {
   req = new ActiveXObject("Microsoft.XMLHTTP");
  } catch(e) {
   try {
    req = new ActiveXObject("Msxml2.XMLHTTP");
   } catch(ex) {
    try {
     req = new XMLHttpRequest();
    } catch(exc) {
     alert("Esse browser não tem recursos para uso do Ajax");
     req = null;
    }
   }
  }
  return req;
  }
  function inCarrega(url){
   var inDiv = document.getElementById("carrega_cardapio");
   ajax = ajaxInit();
   ajax.open("GET", url, true);
   ajax.onreadystatechange=function() {
     if (ajax.readyState==1){
      inDiv.innerHTML = "<img src='../images/load.gif'>";
     }
    if (ajax.readyState==4){
     inDiv.innerHTML = ajax.responseText;
    }
   }
   ajax.send(null);
  }
  function inDestaque(url){
   var inDiv2 = document.getElementById("conteudo_esquerdo");
   ajax2 = ajaxInit();
   ajax2.open("GET", url, true);
   ajax2.onreadystatechange=function() {
     if (ajax2.readyState==1){
      inDiv2.innerHTML = "<img src='../images/load.gif'>";
     }
    if (ajax2.readyState==4){
     inDiv2.innerHTML = ajax2.responseText;
    }
   }
   ajax2.send(null);
  }