           side2 = equation.slice(equation.lastIndexOf(" ") + 1)
           side1 = $("#" + side1.slice(2, -1)).val()  if side1.slice(0, 2) is "${"
           side2 = $("#" + side2.slice(2, -1)).val()  if side2.slice(0, 2) is "${"
-          console.log side1 + ", " + operation + ", " + side2
           if operation is "-"
             return (side1 - side2)
           else if operation is "+"


              while question_info.tree is current_tree
                grid_row+=1
                switch_question = $('#' + question_info.name + "_field")

                # First, change the select to a list, then change the options to radio buttons
                attrs = { }
                #$.each($('#' + switch_question[0].id + ' select')[0].attributes, (idx, attr) ->
                #  attrs[attr.nodeName] = attr.value
                #)
                #$('#' + switch_question[0].id + ' select').replaceWith( () ->
                #  return $("<div />", attrs).append($(@).contents()) )

                $('#' + switch_question[0].id + ' option').each( (index) ->
                  attrs = { }
                  $.each($(@)[0].attributes, (idx, attr) ->
                    attrs[attr.nodeName] = attr.value
                  )
                  attrs.type = 'radio'
                  attrs.name = switch_question.data('key')
                  attrs.id = switch_question.data('key') + '-' + index
                  $(@).replaceWith( () ->
                    return $("<input />", attrs) ) 
                  $('#' + attrs.id)
                    .appendTo($(switch_question))
                    .wrap('<td class="grid-list-cell" />')
                )

                $('#' + switch_question[0].id + ' label').wrap('<td class="grid-list-cell" />')

                $('#' + switch_question[0].id + ' .controls').remove()#.attr('display', 'inline-block')

                # Then, move the question into the grid-list as a grid-row
                switch_question.appendTo($('#' + table_name + ' tbody'))
                attrs = { }
                $.each(switch_question[0].attributes, (idx, attr) ->
                  attrs[attr.nodeName] = attr.value
                )
                attrs.class = "active"

                switch_question
                  .fadeIn(1)
                  .replaceWith( () ->
                    return $("<tr />", attrs).append($(@).contents()) )              


            @_display_form_buttons( question_index )

            @

        next_question: () ->
