     current = @getCurrent()
     current.css 'opacity', 1
     current.addClass 'current'
-    
+  ###
+  
   changeSlide: (difference) ->
     if @index + difference is -1
       return

  show: (images, index) ->    
    html = $('#gallery').html()
    $('#gallery').html ''
    $('#gallery').css 'width', (images.length * 720) + 'px'
    
    for image in images
      $('#gallery').append html 
      @showImage '#gallery .imageContainer:last', image
      $("#gallery .imageContainer").css "opacity", 0.3
    
    @images = images      
    @index = if index? then index else 0

  getCurrent: ->
    $("#gallery .imageContainer:eq(#{@index})")
  
  ###
  dimCurrent: ->
    current = @getCurrent()
    current.css 'opacity', 0.3
