 highlight_time_on_load    = 1500
 highlight_time_on_in_view = 1500
 delay_between_highlight_and_show_button_open = 400
-
-
-class ShowButtonManager
-  constructor: (@dom_events) ->
-    @show_button = new Factlink.ShowButton @dom_events
-
-  set_coordinates: (top, left) =>
-    @show_button.setCoordinates(top, left)
-
-  openShowButton:  ->  @show_button.show()
-  closeShowButton: ->  @show_button.hide()
-
-  startLoading: -> @show_button.startLoading()
-
-  destroy: -> @show_button.destroy()
 
 class Highlighter
   constructor: (@$elements) ->

  onBlur: -> @attention_span.neglect()
  onFocus: (e) =>
    if e?
      @show_button_manager.set_coordinates($(e.target).offset().top, e.pageX)
    @attention_span.attend()

  startEmphasis: ->
    @highlighter.highlight()
    @show_button_manager.openShowButton()

  stopEmphasis: =>
    return if @shouldHaveEmphasis()

    @highlighter.dehighlight()
    @show_button_manager.closeShowButton()

  shouldHaveEmphasis: =>
    @attention_span.has_attention() || @_loading


      $el.remove()

    @show_button.destroy()
