     $data.digitWidth = $data.digitwidth
     $data.digitHeight = $data.digitheight
 
-    $(this).countdown($data)
+    $(@).countdown($data)
 
 $.fn.remove_fields = (link) ->
   $(link).prev("input[type=hidden]").val "1"


bind_button_urls = ->
  $("[data-button-url]").on "click", ->
    window.location = $(this).data("button-url")
    false

bind_datepicker = ->

        $opt_el.show()

$.fn.bind_checkboxes_clone = ->
  $el = $($(@).data("checkboxes-clone"))
  $new_id = $(@).data("checkboxes-clone-into")

  $str = $el.concat_checkbox_text()
  $new_el = $("<div class='controls' id='#{$new_id}' style='margin-top: 5px;'></div>").hide()
