
if(navigator.appName == "Microsoft Internet Explorer") {
  http = new ActiveXObject("Microsoft.XMLHTTP");
} else {
  http = new XMLHttpRequest();
}

function getIt(topic) {
  http.open("GET", topic, true);
  http.onreadystatechange=function() {
    if(http.readyState == 4) {
      document.getElementById('content').innerHTML = http.responseText;
    }
  }
  http.send(null);
}
function getFooter() {
  http.open("GET", "footer.html", true);
  http.onreadystatechange=function() {
    if(http.readyState == 4) {
      document.getElementById('footerBody').innerHTML = http.responseText;
    }
  }
  http.send(null);
}
function replaceIt(topic) {
  if(topic=="apps"){
}
}




