
function CatHttpResponse() {
  if (http.readyState == 4) {
    if(http.status==200) {
      var results=http.responseText;
      if (results != "") {
         document.getElementById("barBrowse").innerHTML = results;
      }
    }
  }
}


function getCats () {
   http.open("GET", "listCats.php", true);
   http.onreadystatechange = CatHttpResponse;
   http.send(null);
}

