/* if i use imageclasses UNIQUe to this border - define them here WITH the */
__ICLASS __BGN
  __NAME PB1
  __NORMAL "borders/PAGER/images/pb1.png"
__END

__ICLASS __BGN
  __NAME PB2
  __NORMAL "borders/PAGER/images/pb2.png"
  __EDGE_SCALING 2 2 0 0
__END

__ICLASS __BGN
  __NAME PB3
  __NORMAL "borders/PAGER/images/pb3.png"
__END

__ICLASS __BGN
  __NAME PB4
  __NORMAL "borders/PAGER/images/pb4.png"
  __NORMAL_ACTIVE "borders/PAGER/images/pb7.png"
  __EDGE_SCALING 3 4 6 7
__END

__ICLASS __BGN
  __NAME PB5
  __NORMAL "borders/PAGER/images/pb5.png"
  __EDGE_SCALING 2 2 0 0
__END

__ICLASS __BGN
  __NAME PB6
  __NORMAL "borders/PAGER/images/pb6.png"
__END

__ICLASS __BGN
  __NAME PB7
  __NORMAL "borders/PAGER/images/pb8.png"
  __EDGE_SCALING 0 0 2 2
__END

__ICLASS __BGN
  __NAME PB8
  __NORMAL "borders/PAGER/images/pb9.png"
__END

/* now start the border defs */

__BORDER __BGN
  __NAME PAGER
  __BORDER_GROUP_NAME PAGER_GROUP
  __BORDER_SIZE_LEFT 4
  __BORDER_SIZE_RIGHT 12
  __BORDER_SIZE_TOP 4
  __BORDER_SIZE_BOTTOM 4
  __SHADE_DIRECTION __LEFT
  __CHANGES_SHAPE __OFF

/* 0 */
  __BORDER_PART __BGN
    __ICLASS PB1
    __ACLASS ACTION_RESIZE
    __CURSOR RESIZE_BR
    __MIN_WIDTH 4
    __MAX_WIDTH 4
    __MIN_HEIGHT 4
    __MAX_HEIGHT 4
    __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  2
    __BOTTOMRIGHT_Y_PERCENTAGE  0
    __BOTTOMRIGHT_Y_ABSOLUTE  2
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

/* 1 */
  __BORDER_PART __BGN
    __ICLASS PB2
    __ACLASS ACTION_RESIZE_V
    __CURSOR RESIZE_V
    __MIN_WIDTH 0
    __MAX_WIDTH 99999
    __MIN_HEIGHT 4
    __MAX_HEIGHT 4
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  3
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  0
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -13
    __BOTTOMRIGHT_Y_PERCENTAGE  0
    __BOTTOMRIGHT_Y_ABSOLUTE  2
    __KEEP_WHEN_SHADED __OFF
    __KEEP_ON_TOP __OFF
  __END

/* 2 */
  __BORDER_PART __BGN
    __ICLASS PB3
    __ACLASS ACTION_MOVE
    __CURSOR MOVE
    __MIN_WIDTH 12
    __MAX_WIDTH 12
    __MIN_HEIGHT 4
    __MAX_HEIGHT 4
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -12
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  0
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -1
    __BOTTOMRIGHT_Y_PERCENTAGE  0
    __BOTTOMRIGHT_Y_ABSOLUTE  4
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

/* 3 */
  __BORDER_PART __BGN
    __ICLASS PB4
    __ACLASS ACTION_MOVE
    __MIN_WIDTH 12
    __MAX_WIDTH 12
    __MIN_HEIGHT 13
    __MAX_HEIGHT 99999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -12
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  4
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -1
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -4
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

/* 4 */
  __BORDER_PART __BGN
    __ICLASS PB5
    __ACLASS ACTION_RESIZE_V
    __CURSOR RESIZE_V
    __MIN_WIDTH 0
    __MAX_WIDTH 99999
    __MIN_HEIGHT 4
    __MAX_HEIGHT 4
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  3
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -4
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -13
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -1
    __KEEP_WHEN_SHADED __OFF
    __KEEP_ON_TOP __OFF
  __END

/* 5 */
  __BORDER_PART __BGN
    __ICLASS PB6
    __ACLASS ACTION_RESIZE
    __CURSOR RESIZE_TR
    __MIN_WIDTH 4
    __MAX_WIDTH 4
    __MIN_HEIGHT 4
    __MAX_HEIGHT 4
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  0
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -4
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  0
    __BOTTOMRIGHT_X_ABSOLUTE  2
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -1
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

/* 6 */
  __BORDER_PART __BGN
    __ICLASS PB7
    __ACLASS ACTION_RESIZE_H
    __CURSOR RESIZE_H
    __MIN_WIDTH 4
    __MAX_WIDTH 4
    __MIN_HEIGHT 0
    __MAX_HEIGHT 99999
    __TOPLEFT_ORIGIN -1
    __TOPLEFT_X_PERCENTAGE  0
    __TOPLEFT_X_ABSOLUTE  0
    __TOPLEFT_Y_PERCENTAGE  0
    __TOPLEFT_Y_ABSOLUTE  3
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  0
    __BOTTOMRIGHT_X_ABSOLUTE  2
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  -4
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __OFF
  __END

/* 7 */
  __BORDER_PART __BGN
    __ICLASS PB8
    __ACLASS ACTION_MOVE
    __MIN_WIDTH 12
    __MAX_WIDTH 12
    __MIN_HEIGHT 4
    __MAX_HEIGHT 4
    __TOPLEFT_ORIGIN 3
    __TOPLEFT_X_PERCENTAGE  1024
    __TOPLEFT_X_ABSOLUTE  -12
    __TOPLEFT_Y_PERCENTAGE  1024
    __TOPLEFT_Y_ABSOLUTE  -5
    __BOTTOMRIGHT_ORIGIN -1
    __BOTTOMRIGHT_X_PERCENTAGE  1024
    __BOTTOMRIGHT_X_ABSOLUTE  -1
    __BOTTOMRIGHT_Y_PERCENTAGE  1024
    __BOTTOMRIGHT_Y_ABSOLUTE  5
    __KEEP_WHEN_SHADED __ON
    __KEEP_ON_TOP __ON
  __END
__END
