.box-bordered .top-left, .box-bordered .top-right, .box-bordered .bottom-left, .box-bordered .bottom-right { 
	height: 9px;       /* CHANGE: replace by the height of one of your corners (= 1/2 height of the image) */
	font-size: 2px;    /* DNC: correction IE for height of the <div>'s */
	line-height:7px;
}
.box-bordered .top-left, .box-bordered .bottom-left { 
	margin-right: 9px; /* CHANGE: replace by the width of one of your corners */
}
.box-bordered .top-right, .box-bordered .bottom-right { 
	margin-left: 9px;  /* CHANGE: replace by the width of one of your corners */
	margin-top: -9px;  /* CHANGE: replace by the height of one of your corners */
}
.box-bordered .top-right {
	background-position: 100% 0;    /* DNC: position right corner at right side, no vertical changes */
}
.box-bordered .bottom-left  { 
	background-position: 0 -9px;    /* CHANGE: replace second number by negative height of one of your corners */
}
.box-bordered .bottom-right { 
	background-position: 100% -9px; /* CHANGE: replace second number by negative height of one of your corners */
}
.box-bordered .inside {
	margin-left: 9px;               /* CHANGE: replace by the width of one of your corners */
	margin-right: 9px;              /* CHANGE: replace by the width of one of your corners */               /* YCC: default text-color of the inside */
	padding-left: 0px;             /* YCC: all texts at some distance of the left border */
	padding-right:0px;             /* YCC: all texts at some distance of the right border */
}
.box-bordered .inside-pad {            
	padding-left: 7px;             
	padding-right:7px;            
}
.box-bordered .notopgap    { margin-top: 0 !important; }    /* DNC: to avoid splitting of the box */
.box-bordered .nobottomgap { margin-bottom: 0 !important; } /* DNC: to avoid splitting of the box */
.box-bordered .insideleft, .insideright {
	background-repeat: repeat-y;   /* DNC: to pile the image2 as much as needed */
}
.box-bordered .insideright { background-position: 100% 0; } /* DNC: position right corner */
