.dialog-r {
 width:590px;
 margin:0px auto;
 min-width:20em;
 max-width:800px; /* I only cut the left background images out to 800px. You could do much larger, etc. */
 color:#fff;
}

.dialog-r .hd-r .c-r,
.dialog-r .ft-r .c-r {
 font-size:1px; /* ensure minimum height */
 height:20px;
}

.dialog-r .ft-r .c-r {
 height:20px;
}

.dialog-r .hd-r {
 background:url(/_images/corner_red/tl.png) no-repeat 0px 0px;
 margin-right:20px; /* space for right corner */
}

.dialog-r .hd-r .c-r {
 background:url(/_images/corner_red/tr.png) no-repeat right 0px;
 margin-right:-20px; /* pull right corner back over "empty" space (from above margin) */
}

.dialog-r .bd-r {
 background:url(/_images/corner_red/ml.png) repeat-y 0px 0px;
 margin-right:20px;
}

.dialog-r .bd-r .c-r {
 background:url(/_images/corner_red/mr.png) repeat-y right 0px;
 margin-right:-20px;
 margin-bottom:-15px;
 margin-top:-15px;
}

.dialog-r .ft-r {
 background:url(/_images/corner_red/bl.png) no-repeat 0px 0px;
 margin-right:20px;
}

.dialog-r .ft-r .c-r {
 background:url(/_images/corner_red/br.png) no-repeat right 0px;
 margin-right:-20px;
}