       html = Mustache.to_html(@tpl('show'),{ filename: data.uid, src: url, orientation: data.orientation })
       $.facebox("<div class=\"asset-detail\">#{html}</div>")
     @touch(data)
-
-  modal_data: (id) ->
-    @log "modal_data(#{id})"
-    #touch_url = Mustache.to_html @options.touch_url, { id: el.id }
-    #$.post "#{@options.base_url}#{touch_url}"
 
   load_img: (el,src) ->
     img = new Image()

      </div></div>
    </div>'
    handle: '<a href="#" id="{{ id }}-handle" class="handle">{{ title }}</a>'
    tab: '<a href="#" data-role="{{ id }}" class="tab">{{ title }}</a>'
    page: '
    <div id="{{ id }}" class="page">
      <ul></ul>

  get_pages: (tpl = 'page') ->
    html = ''
    $.each @options.pages, (idx,el) => 
      el['classes'] = 'first-child' if idx == 0
      html += Mustache.to_html @tpl(tpl), el
    html

