jetpack.future.import("slideBar");
jetpack.slideBar.append({
  icon: "http://facebook.com/favicon.ico",
  url: "http://facebook.com/presence/popout.php",
  width: 500,
  onReady: function(slide) {
    setInterval(check,500,slide);
  },
});
previous = "";
function check(slide) {
  
  if (previous != "" && previous != $(".chat_conv", slide.contentDocument).text()) {
    slide.notify();
    previous = $(".chat_conv", slide.contentDocument).text();
  }
  if (previous == "") {
    previous = $(".chat_conv", slide.contentDocument).text();
  }
}