__BORDER __BGN
  __NAME MENU_BORDER_ONLY
  __BORDER_SIZE_LEFT 6
  __BORDER_SIZE_RIGHT 6
  __BORDER_SIZE_TOP 6
  __BORDER_SIZE_BOTTOM 6
  __SHADE_DIRECTION __UP
  __CHANGES_SHAPE __OFF

  __BORDER_PART __BGN
    __ICLASS TOP_RIGHT_CORNER
    __ACLASS ACTION_MOVE
    __CURSOR MOVE
    __MIN_WIDTH 6
    __MIN_HEIGHT 6
    __MAX_HEIGHT 9999
    __MAX_WIDTH 99999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -15
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  0
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -1
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -15
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __ON
  __END

/* left side */
  __BORDER_PART __BGN
    __ICLASS TPL_SM
    __ACLASS ACTION_MOVE
    __CURSOR MOVE
    __MIN_WIDTH 25
    __MAX_WIDTH 25
    __MIN_HEIGHT 25
    __MAX_HEIGHT 25
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  0
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  0
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  0
    __BOTTOMRIGHT_X_ABSOLUTE  0 /* -15 */
    __BOTTOMRIGHT_Y_PERCENTAGE  0 /* 1024 */
    __BOTTOMRIGHT_Y_ABSOLUTE  10 /* -14 */
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __ON
  __END

  __BORDER_PART __BGN
    __ICLASS TOP_LEFT_CORNER
    __ACLASS ACTION_MOVE
    __CURSOR MOVE
    __MIN_WIDTH 25
    __MAX_WIDTH 25
    __MIN_HEIGHT 25
    __MAX_HEIGHT 25
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  0
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  0
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  0
    __BOTTOMRIGHT_X_ABSOLUTE  0 /* -15 */
    __BOTTOMRIGHT_Y_PERCENTAGE  0 /* 1024 */
    __BOTTOMRIGHT_Y_ABSOLUTE  10 /* -14 */
    __KEEP_WHEN_SHADED __OFF
    __KEEP_ON_TOP __ON
  __END

  __BORDER_PART __BGN
    __ICLASS SIDE_BOTTOM
    __ACLASS ACTION_MOVE
    __CURSOR MOVE
    __MIN_WIDTH 0
    __MAX_WIDTH 99999
    __MIN_HEIGHT 6
    __MAX_HEIGHT 6
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  6
    __TOPLEFT_Y_PERCENTAGE 0
    __TOPLEFT_Y_ABSOLUTE 0
    __BOTTOMRIGHT_ORIGIN 0
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE -10
    __BOTTOMRIGHT_Y_PERCENTAGE 0
    __BOTTOMRIGHT_Y_ABSOLUTE 0
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

  __BORDER_PART __BGN
    __ICLASS SIDE_LEFT
    __ACLASS ACTION_RESIZE_H
    __CURSOR RESIZE_H
    __MIN_WIDTH 6
    __MAX_WIDTH 6
    __MIN_HEIGHT 25
    __MAX_HEIGHT 9999
    __KEEP_WHEN_SHADED __ON
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE 0
    __TOPLEFT_X_ABSOLUTE 0
    __TOPLEFT_Y_PERCENTAGE 0
    __TOPLEFT_Y_ABSOLUTE 0
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE 0
    __BOTTOMRIGHT_X_ABSOLUTE 0
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE 0
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

  __BORDER_PART __BGN
    __ICLASS W6
    __ACLASS ACTION_RESIZE_V
    __CURSOR RESIZE_V
    __MIN_WIDTH 0
    __MAX_WIDTH 99999
    __MIN_HEIGHT 6
    __MAX_HEIGHT 6
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  6
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -6
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -6
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -1
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

/* bottom left */
  __BORDER_PART __BGN
    __ICLASS W7
    __ACLASS ACTION_RESIZE
    __CURSOR RESIZE_TR
    __MIN_WIDTH 6
    __MAX_WIDTH 9999
    __MIN_HEIGHT 6
    __MAX_HEIGHT 9999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  0
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -25
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  0
    __BOTTOMRIGHT_X_ABSOLUTE  24
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -1
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

/* bottom right */
  __BORDER_PART __BGN
    __ICLASS W5_SMALL
    __ACLASS ACTION_MOVE
    __CURSOR MOVE
    __MIN_WIDTH 6
    __MAX_WIDTH 9999
    __MIN_HEIGHT 6
    __MAX_HEIGHT 9999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -25
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -25
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -1
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -1
    __KEEP_WHEN_SHADED __OFF
    __KEEP_ON_TOP __ON
  __END

  __BORDER_PART __BGN
    __ICLASS W5CLEAN
    __ACLASS ACTION_MOVE
    __CURSOR MOVE
    __MIN_WIDTH 6
    __MAX_WIDTH 9999
    __MIN_HEIGHT 6
    __MAX_HEIGHT 9999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -25
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -25
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -1
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -1
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END
__END
