         News.unreadCountAndNotify items
         News.refreshNewsIdList items
 
+loadAffiliationIcon = ->
+  symbol = ls.affiliationSymbol
+  if symbol isnt undefined and symbol isnt ''
+    Browser.setIcon ls.affiliationSymbol
+  else
+    if DEBUG then console.log 'ERROR: tried to load empty/undefined affiliation icon'
+
 # Document ready, go!
 $ ->
   # Setting the timeout for all AJAX and JSON requests

  # Set default vars for main loop
  ls.everConnected = ls.wasConnected = 'false'

  # Load affiliation icon
  symbol = ls.affiliationSymbol
  if symbol isnt undefined and symbol isnt ''
      Browser.setIcon symbol

  # Reload the page once every day
  setInterval ( ->

  window.updateOfficeAndMeetings = updateOfficeAndMeetings
  window.updateCoffeeSubscription = updateCoffeeSubscription
  window.updateNews = updateNews
  window.loadAffiliationIcon = loadAffiliationIcon

  # Enter main loop, keeping everything up-to-date
  mainLoop()
