function getPage(page, replace) {
  $.ajax({
    url: page,
    type: "POST",
    dataType: "html",
    error: function(xhr, desc, exception) {
      alert('error loading [' + page + ']');
    },
    success: function(html){
      $(replace).html(html);
    }
  });
}
