   onClickSubmitTalkAlt: ->
     console.log "SEND THIS TO ANOTHER TALK DISCUSSION", @altTalkComment.val()
     @appendComment(@altTalkComment, @altComments)
-
-  resetTalkComment: (talkComment) -> talkComment.val("").parent().hide().siblings().show()
 
   appendComment: (comment, container) ->
     container.append("""

    # reset zoom parameters
    @zoomReset()

  onClickNextSubject: ->
    @course.prompt_el.hide()
    # console.log 'onClickNextSubject()'
    # @noTransitsButton.show()
    @classifySummary.fadeOut(150)
    @nextSubjectButton.hide()
    # @canvasGraph.marks.destroyAll() #clear old marks
    # @canvas.outerHTML = ""
    @resetTalkComment @talkComment
    @resetTalkComment @altTalkComment
    # show courses

    # # switch to verify mode
    # if @course.count % @verifyRate is 0
    #   location.hash = "#/verify"

    # if @course.getPref() isnt 'never' and @course.count % @course.rate is 0 and @course.coursesAvailable() and @course.count isnt 0
    #   @el.find('#notification-message').hide() # get any notification out of the way
    #   @course.showPrompt()

    if @course.getPref() is "yes" and @course.count % @course.rate is 0 and @course.coursesAvailable() and @course.count isnt 0
      @notify 'Loading mini-course...'
      @course.launch()
      
      # @course.displayLatest()

    # display supplemental tutorial
    for classification_count in @whenToDisplayTips
      if @course.count is classification_count
        # console.log "*** DISPLAY SUPPLEMENTAL TUTOTIAL # #{classification_count} *** "
        @supplementalTutorial.first = "displayOn_" + classification_count.toString()
        @supplementalTutorial.start()

        # prompt user to opt in/out of mini course
        if @course.count is 7
          newElement = document.createElement('div')
          newElement.setAttribute 'class', "supplemental-tutorial-option-container"
          newElement.setAttribute 'style', "padding: 20px;"
          newElement.innerHTML = """
            <input class=\"mini-course-option\" name=\"mini-course-option\" type=\"checkbox\"></input>
            <div id=\"course-opt-in-label\" style=\"float: left; font-style: italic; font-weight: 500;\"></div>
          """
          # inject custom element into zootorial
          @supplementalTutorial.container.getElementsByClassName('zootorial-content')[0].appendChild(newElement)

          if @allowCustomCourseInterval
            $('#course-opt-in-label').html """
              <!--<div id="course-interval-setter">-->
                <div class="course-interval-text">Launch mini-course every </div>
                <input type="number" id="course-interval-sup-tut" class="course-interval" name="course-interval-sup-tut" value="5"></input>
                <div class="course-interval-text"> classifications!</div>
              <!--</div>-->
            """
          else
            $('#course-opt-in-label').html "Yes, I want to learn more!"

          # check box only if mini-course enabled
          $('.mini-course-option').prop 'checked', @courseEnabled

    # SEND CLASSIFICATION

    if User.current?
      @course.incrementCount()
    else
      @loggedOutClassificationCount += 1
      if @loggedOutClassificationCount%5 == 0
        @course.showPrompt()


    # console.log 'YOU\'VE MARKED ', @course.count, ' LIGHT CURVES!'

    @classification.annotate
      classification_type: 'light_curve'
      selected_id:          @subject.selected_light_curve._id
      location:             @subject.selected_light_curve.location

    for mark in [@canvasGraph.marks.all...]
      @classification.annotate
        timestamp: mark.timestamp
        zoomLevel: mark.zoomLevelAtCreation
        xMinRelative: mark.dataXMinRel
        xMaxRelative: mark.dataXMaxRel
        xMinGlobal: mark.dataXMinGlobal
        xMaxGlobal: mark.dataXMaxGlobal
        score: mark.score
      console.log 'MARK SCORE: ', mark.score # DEBUG CODE

    # dump all recorded click events to classification
    # @classification.set 'recordedClickEvents', [@recordedClickEvents...]
    @classification.annotate
      recordedClickEvents: [@recordedClickEvents...]

    # # DEBUG CODE
    console.log JSON.stringify( @classification )
    # console.log '********************************************'

    # send classification (except for tutorial subject)
    unless @classification.subject.id is 'TUTORIAL_SUBJECT'
      @classification.send()

    @canvasGraph.marks.destroyAll() #clear old marks
    @recordedClickEvents = []
    @Subject.next()

  onClickJoinConvo: ->
    # @joinConvoBtn.hide().siblings().show()

  onClickAltJoinConvo: -> @altJoinConvoBtn.hide().siblings().show()


      return false

  finishSubject: ->
    # disable buttons until next lightcurve is loaded
    @el.find('#no-transits-button').hide() #prop('disabled',true)
    @el.find('#finished-marking').hide() #prop('disabled',true)
