/* Borderbox CSS Document - Structure only */
/* This MUST be paired with an "images" document that fills in dimension and image information. */

#borderbox_a, #borderbox_b {
	position: relative;
}

/* Primary version: A */
/* Borders (stacking) */
#bb_a_tl, #bb_a_tr, #bb_a_bl, #bb_a_br { z-index: 2; background-repeat: no-repeat; }
#bb_a_te, #bb_a_be, #bb_a_le, #bb_a_re { z-index: 1; }
#bb_a_te, #bb_a_be { background-repeat: repeat-x; }
#bb_a_le, #bb_a_re { background-repeat: repeat-y; }

/* Borders (positioning) */
#bb_a_tl, #bb_a_tr, #bb_a_bl, #bb_a_br, #bb_a_te, #bb_a_be, #bb_a_le, #bb_a_re { position: absolute; }
#bb_a_tl, #bb_a_te, #bb_a_tr { top: 0; }
#bb_a_tl, #bb_a_le, #bb_a_bl { left: 0; }
#bb_a_tr, #bb_a_re, #bb_a_br { right: 0; }
#bb_a_bl, #bb_a_be, #bb_a_br { bottom: 0; }

/* Secondary version: B */
/* Borders (stacking) */
#bb_b_tl, #bb_b_tr, #bb_b_bl, #bb_b_br { z-index: 2; background-repeat: no-repeat; }
#bb_b_te, #bb_b_be, #bb_b_le, #bb_b_re { z-index: 1; }
#bb_b_te, #bb_b_be { background-repeat: repeat-x; }
#bb_b_le, #bb_b_re { background-repeat: repeat-y; }

/* Borders (positioning) */
#bb_b_tl, #bb_b_tr, #bb_b_bl, #bb_b_br, #bb_b_te, #bb_b_be, #bb_b_le, #bb_b_re { position: absolute; }
#bb_b_tl, #bb_b_te, #bb_b_tr { top: 0; }
#bb_b_tl, #bb_b_le, #bb_b_bl { left: 0; }
#bb_b_tr, #bb_b_re, #bb_b_br { right: 0; }
#bb_b_bl, #bb_b_be, #bb_b_br { bottom: 0; }

/* Goldframe version: GP */
#borderbox_gp {
	position: relative;
}

/* Borders (stacking) */
#bb_gp_tl, #bb_gp_tr, #bb_gp_bl, #bb_gp_br { z-index: 2; background-repeat: no-repeat; }
#bb_gp_te, #bb_gp_be, #bb_gp_le, #bb_gp_re { z-index: 1; }
#bb_gp_te, #bb_gp_be { background-repeat: repeat-x; }
#bb_gp_le, #bb_gp_re { background-repeat: repeat-y; }

/* Borders (positioning) */
#bb_gp_tl, #bb_gp_tr, #bb_gp_bl, #bb_gp_br, #bb_gp_te, #bb_gp_be, #bb_gp_le, #bb_gp_re { position: absolute; }
#bb_gp_tl, #bb_gp_te, #bb_gp_tr { top: 0; }
#bb_gp_tl, #bb_gp_le, #bb_gp_bl { left: 0; }
#bb_gp_tr, #bb_gp_re, #bb_gp_br { right: 0; }
#bb_gp_bl, #bb_gp_be, #bb_gp_br { bottom: 0; }
