# File lib/autotest/jabber_notify.rb, line 35
  def self.im
    unless @@im
      puts "# creating im client"
      @@im = Jabber::Simple.new(@@account,@@password)
      sleep(2)  # need this or else the first announcement may cause an error
    end
    if !@@im.connected?
      puts "# reconnecting to #{@@account}"
      @@im.reconnect
    end
    @@im
  end