 
     artifactTool:
       enter: ->
-        # console.log "STATE: \'artifactTool/enter\'"
         @enableMarkingSurfaces()
         @el.find('.artifact-classifier').show()
       exit: ->
-        # console.log "STATE: \'artifactTool/exit\'"
         @disableMarkingSurfaces()
         @el.find('.artifact-classifier').hide() 
 

    console.log '-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-'
    console.log 'onClickAsteroidNotVisible: '

    # console.log 'completeChecked: ', @asteroidCompleteCheckboxes[@currFrameIdx].checked
    # console.log 'visibleChecked: ', @asteroidVisibilityCheckboxes[@currFrameIdx].checked

    # get checkbox states
    completeChecked   = @asteroidCompleteCheckboxes[@currFrameIdx].checked
    visibilityChecked = @asteroidVisibilityCheckboxes[@currFrameIdx].checked


    if @asteroidMarkedInFrame[@currFrameIdx]
      @currAsteroid.clearSightingsInFrame @currFrameIdx
      @destroyMarksInFrame @currFrameIdx, @currAsteroid.id

    # # this needs work!
    # # handle checkmark behavior
    # if @asteroidMarkedInFrame[@currFrameIdx] and visibilityChecked
    #   console.log 'case 1'
    #   @asteroidVisibilityCheckboxes[@currFrameIdx].checked = true
    #   @asteroidCompleteCheckboxes[@currFrameIdx].checked = true
    # else if @asteroidMarkedInFrame[@currFrameIdx] and not visibilityChecked
    #   console.log 'case 2'
    #   @currAsteroid.clearSightingsInFrame @currFrameIdx
    #   @asteroidVisibilityCheckboxes[@currFrameIdx].checked = false
    #   @asteroidCompleteCheckboxes[@currFrameIdx].checked = false
    #   @currAsteroid.clearSightingsInFrame @currFrameIdx
    #   @destroyMarksInFrame @currFrameIdx

    @updateIconsForNotVisible()


    @el.attr 'data-on-frame', @currFrameIdx

  hideAllFrames: ->
    @hideFrame(i) for i in [0...4]

  showFrame: (frame_idx) ->
    @hideAllFrames()
