docs: function (jid)
      {
          var bare = Strophe.getBareJidFromJid(jid);
          if (bare.indexOf("@") < 0) {
              return bare;
          } else {
              var parts = bare.split("@");
              parts.splice(0, 1);
              return parts.join('@');
          }
      }