code: function show_notification(msg, type, reload_page, timeout){
      // defaults to false
      reload_page = reload_page || false;
      timeout = timeout || 3000;
  
      $('#notify_message').removeClass();
      $('#notify_message').addClass('notify_message-' + type);
      $('#notify_message').html(msg);
      $('#notify_message').slideDown(600).delay(timeout).slideUp(600, function(){
          if(reload_page === true){
              location.reload();
          }
      });
  }
docs: show notification popup