anchor.diff:         connection.send(pres.tree());
          setStatusWidgetTitle(status);
       }
  -}+}
  
positive.code: var iqIDNumber = 1000;
  function sendIQStanzaForRequestClientInfo(jid){
    //var client = "Social Stream XMPP Client"
    //var version = '<%=Socialstream::Presence::VERSION%>';
    //var iq = $iq({to: jid, type: "result", id: iqID})
    //.c("query", {xmlns: "jabber:iq:version"}).c("name").t(client).up().c("version").t(version);
    //connection.sendIQ(iq);
  
negative.code: 
  function sendIQStanzaWithClientInfo(jid,iqID){
  	var client = "Social Stream XMPP Client"
  	var version = '<%=SocialStream::Presence::VERSION%>';
  	var iq = $iq({to: jid, type: "result", id: iqID})
    .c("query", {xmlns: "jabber:iq:version"}).c("name").t(client).up().c("version").t(version);
  	connection.sendIQ(iq);
  