anchor.diff:  SEARCH_PARAMS = null
   
   print_has_prompted = false
  +ready_to_print = false
   template = false
   
   show_content_window = (marker, content) ->
  
positive.code: 
        search_params.widget = 'direction'
  
        performSearch search_params, (result) ->
          renderResults result.clusters, result.relics, ->
            printRenderRelics result.relics if printAction?
    else
      performSearch search_params, (result) ->
        renderResults(result.clusters, [])
  
negative.code:   template ||= Handlebars.compile $('#relic-template').html()
    $('#relics-container').append template(relic)
  
  printClearRelics = ->
    $('#relics-container').html ''
    $('#relics-loading-info').show()
  
  printRenderRelics = (relics, last) ->
    relics.each (relic) ->
      printAppendRelic relic
  
    if last
      $('#relics-loading-info').hide()
      do windowPrint
  
  windowPrint = ->
    return if print_has_prompted
  
    if ready_to_print
      ( ->
        print_has_prompted = true
        <%=
          if !Rails.env.development?
            "console.log('`window.print()` doesn’t prompt during development')"
          else
            'window.print()'
          end
        %>
      ).delay 1000
    else
      ready_to_print = true
  
  performSearch = (search_params, callback) ->
    search_params._method = 'get'
  