     @ui.reviewList.height(SHORT_HEIGHT)
 
   _initPhotoalbum: ->
+    width = 0
+
     @ui.img.each ->
-      WIDTH += $(@).width()
+      width += $(@).width()
 
-    WIDTH = WIDTH - $(document).width()
+    MAX_WIDTH = width - $(document).width()

  SHORT_HEIGHT = 0
  ITTER = 0
  WIDTH = 0
  DATE = [2014, 5, 21]

  constructor: ->


  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()
