     getPeople()
   )
 
+  updateSelectedPerson = (e) ->
+    personLi = e.delegateTarget
+
+    $('.select_box').children('input').attr 'checked', false
+    $('.icon-ok-sign').hide()
+
+    selectedPersonInput = $(personLi).children('.select_box').children('input')
+    selectedPersonInput.attr 'checked', true
+    $('#question_person_id').val selectedPersonInput.val()
+
+    $(personLi).children('.icon-ok-sign').show()
+
+
   getPeople = (->
     address = $('#street').val()
     address += ' ' + $('#city').val()

          liVal += '<span class="selected icon-ok-sign"></span>'

          liVal += "</li>"
          personList.append liVal
          personList.children('li:last').fadeTo(300, 1)
    )

      success: (data) ->
        $('label.select-person').fadeTo(300, 1)
        personList = $('div.address_lookup ol.people-list').first()
        personList.html('')
        $(data).each ->
          liVal = '<li style="display:none;">'
          liVal += '<div class="select_box">'
          liVal += "<input type=\"radio\" name=\"person-select\" id=\"#{@id}\" value=\"#{@id}\" /></div>"

          liVal += '<div class="avatar">'
          if @photo_url?
