   SHORT_HEIGHT = 0
   ITTER = 0
   WIDTH = 0
+  MAX_WIDTH = 0
   DATE = [2014, 5, 21]
 
   constructor: ->

    @ui.reviewList.height(SHORT_HEIGHT)

  _initPhotoalbum: ->
    @ui.img.each ->
      WIDTH += $(@).width()

    WIDTH = WIDTH - $(document).width()


  slidePhoto: (event) =>
    self = $(event.currentTarget)

    if self.hasClass('left-button')
      if ITTER > 0
        WIDTH -= @ui.img.eq(ITTER).width()
        ITTER--
    else if self.hasClass('right-button')
      if ITTER < @count - 2
        WIDTH += @ui.img.eq(ITTER).width()
        ITTER++

    if WIDTH > MAX_WIDTH
      @ui.photoalbumInner.stop().animate('left': -MAX_WIDTH, 300)
    else
      @ui.photoalbumInner.stop().animate('left': -WIDTH, 300)

  registrationForm: (event) =>
    event.preventDefault()
