     else
       $('#other_year').hide()
 
+  # footer logos rotation
+  #
   call_the_cyclists: ->
     if $("#logos ul.left li").length > 1
       $("#logos ul.left").cycle

      if App.peak_load
        App.peak_load.disable_peak_load_tracking()

  close_all_menus: ->
    $('a.menu_toggler').removeClass('menu-open')
    $('.header_menu').hide()


$ ->
  window.Interface = new AppInterface()
  Interface.call_the_cyclists()

class @CommonInterface
  constructor: ->
    @setup_menus()
    @setup_home_menu()
    @setup_tooltips()
    @setup_browser_tweaks()
    @call_the_cyclists()

  setup_home_menu: ->
    $("select[name='area_code']").change ->
      country = $(this).val()
      url = "/update_footer/?country=" + country
      $.ajax
        url: url
        method: 'get'
        success: (data) ->
          $("#logos").replaceWith(data)
          Interface.call_the_cyclists()

  set_active_movie_tab: (page) ->
    $(".movie_tabs li").removeClass 'active'
