   , "#order_use_billing"
 
 
-#  $(document).on
-#    click: (e)->
-#      e.preventDefault()
-#      url =  $(@).attr('href')
-#      $.ajax
-#        dataType: 'html'
-#        url: url
-#  , ".js-show-one-page-checkout"
+  #  $(document).on
+  #    click: (e)->
+  #      e.preventDefault()
+  #      url =  $(@).attr('href')
+  #      $.ajax
+  #        dataType: 'html'
+  #        url: url
+  #  , ".js-show-one-page-checkout"
 
   $(document).on
     click: (e)->

checkAdjustments = ()->
  url = $("#js-check-adjustments-url").attr('href')
  $.ajax
      dataType: 'html'
      method: 'POST'
      url: url
      success: (response)->
        $('#js-order-adjustments').html response

checkAddress = (value, my_this)->
  console.log value

  $(document).on
    click: (e)->
      if $(@).is(':checked')
        $('.js-hidden-radio', $(@).parents('.shipping-methods')).click()
      else
        $('.js-special-radio', $(@).parents('.shipping-methods')).click()

  , '#js-select_white_glove'

  $(document).on
    click: (e)->
      $('#js-select_white_glove', $(@).parents('.shipping-methods')).attr("checked", false);

  , '.js-special-radio'

