var pFader = function(){
  var out = $("#rME");
  out.css({'min-height':'110px'});

  return {
    init: function(src) {
      setInterval(function(){
        pFader.get(src);
      }, 8000);
    },

    get: function(src) {
      if (src) $.post(src, this.fade);
      else throw new Error("no url parsed");
    },

    fade: function(result) {
      if (!result) return;
      out.append(result).children("table:not(:first)").hide();

      out.children("table:first").fadeOut(2000).hide();
      out.children("table:not(:first)").fadeIn(1000);
      out.children("table:first").remove();
    }
  }
}();
