div.roundedbox.bottomside {
  margin: auto;
  float: left;
  clear: both;
}

div.roundedbox.topside {
  background-position: top;
  background-repeat: repeat-x;
  margin: auto;
}

div.roundedbox.rightside {
  background-color: black;
  background-position: right;
  background-repeat: repeat-y;
  padding-right: 13px;
  margin: auto;
  float: left;   
  clear: both;
}

div.roundedbox.leftside {
  background-position: left;
  background-repeat: repeat-y;
  background-color: black;
  padding-left: 13px;
  margin: auto;
  float: left;
  clear: both;
}

div.roundedbox.bottomleft {
  background-color: black;
  background-position: left;
  background-repeat: no-repeat;
  height: 13px;
  padding-left: 13px;
  margin: auto;
  clear: both;
}

div.roundedbox.bottomright {
  background-position: right;
  background-repeat: no-repeat;
  padding-right: 13px;
  height: 13px;
  margin: auto;
  clear: both;
}

div.roundedbox.topleft {
  height: 13px;
  margin: auto;
  background-repeat: no-repeat;   
  clear: both;
}

div.roundedbox.topright {
  background-position: right;
  background-repeat: no-repeat;
  height: 13px;
  margin: auto;
  clear: both;
}

div.roundedbox.topinside {
  background-color: black;
  background-position: top;
  background-repeat: repeat-x;
  height: 13px;
  margin: auto;
  margin-right: 13px;
  margin-left: 13px;
}

div.roundedbox.bottominside {
  background-position: bottom;
  background-repeat: repeat-x;
  height: 13px;
  margin: auto;
}

img.dummypic {
  width: 100%;
  height: 1px;
}

img.dummypicv {
  width: 1px;
  height: 13px;
}

img.dummypicb {
  width: 13px;
  height: 13px;
}

li.active div.gray.topleft,
div.orange.topleft { background-image: url('../images/slices/slice-orange-tl.gif'); }
li.active div.gray.topright,
div.orange.topright { background-image: url('../images/slices/slice-orange-tr.gif'); }
li.active div.gray.bottomright,
div.orange.bottomright { background-image: url('../images/slices/slice-orange-br.gif'); }
li.active div.gray.bottomleft,
div.orange.bottomleft { background-image: url('../images/slices/slice-orange-bl.gif'); }
li.active div.gray.topinside,li.active div.gray.bottominside,
div.orange.topinside, div.orange.bottominside { background-image: url('../images/slices/slice-orange-horizontal.gif'); }
li.active div.gray.leftside,li.active div.gray.rightside,
div.orange.leftside, div.orange.rightside { background-image: url('../images/slices/slice-orange-vertical.gif'); }

div.gray.topleft { background-image: url('../images/slices/slice-gray-tl.gif'); }
div.gray.topright { background-image: url('../images/slices/slice-gray-tr.gif'); }
div.gray.bottomright { background-image: url('../images/slices/slice-gray-br.gif'); }
div.gray.bottomleft { background-image: url('../images/slices/slice-gray-bl.gif'); }
div.gray.topinside, div.gray.bottominside { background-image: url('../images/slices/slice-gray-horizontal.gif'); }
div.gray.leftside { background-image: url('../images/slices/slice-gray-vertical.gif'); }
div.gray.rightside { background-image: url('../images/slices/slice-gray-vertical.gif'); }

/*
div.rb_bottomside {
  background-image: none;
  margin: auto;
  float: left;
  clear: both;
}
div.rb_topside {
  background-image: none;
  background-position: bottom;
  background-repeat: repeat-x;
  margin: auto;
  background-color: black;
}
div.rb_rightside {
  background-position: right;
  background-repeat: repeat-y;
  padding-right: 13px;
  margin: auto;
  float: left;   
}

div.rb_leftside {
  background-position: left;
  background-repeat: repeat-y;
  padding-left: 13px;
  float: left;   
}

div.rb_bottomleft {
  background-position: bottom left;
  background-repeat: no-repeat;
  height: 13px;
  padding-left: 13px;
  margin: auto;
  clear: both;
}

div.rb_bottomright {
  background-position: bottom right;
  background-repeat: no-repeat;
  padding-right: 13px;
  height: 13px;
  margin: auto;
  clear: both;
}

div.rb_topleft {
  background-repeat: top left;
  background-repeat: no-repeat;   
  height: 13px;
  margin: auto;
  clear: both;
}

div.rb_topright {
  background-position: top right;
  background-repeat: no-repeat;
  height: 13px;
  margin: auto;
  clear: both;
}

div.rb_topinside {
  background-position: top;
  background-repeat: repeat-x;
  height: 13px;
  margin: auto;
  margin-right: 13px;
  margin-left: 13px;
}

div.rb_bottominside {
  background-position: bottom;
  background-repeat: repeat-x;
  height: 13px;
  margin: auto;
}

div.rb_rightside * {
  background-color: black;
  background-image: none;
  background-repeat: no-repeat;
}

img.dummypic {
  width: 100%;
  height: 1px;
}

img.dummypicv {
  width: 1px;
  height: 13px;
}

img.dummypicb {
  width: 13px;
  height: 13px;
}

div.rb_topleft.gray { background-image: url('../images/slices/slice-gray-tl.gif'); }
div.rb_topright.gray { background-image: url('../images/slices/slice-gray-tr.gif'); }
div.rb_bottomright.gray { background-image: url('../images/slices/slice-gray-br.gif'); }
div.rb_bottomleft.gray { background-image: url('../images/slices/slice-gray-bl.gif'); }
div.rb_topinside.gray, div.rb_bottominside.gray { background-image: url('../images/slices/slice-gray-horizontal.gif'); }
div.rb_leftside.gray { background-image: url('../images/slices/slice-gray-vertical.gif'); }
div.rb_rightside.gray { background-image: url('../images/slices/slice-gray-vertical.gif'); }

li.active div.rb_topleft.gray,
div.rb_topleft.orange { background-image: url('../images/slices/slice-orange-tl.gif'); }
li.active div.rb_topright.gray,
div.rb_topright.orange { background-image: url('../images/slices/slice-orange-tr.gif'); }
li.active div.rb_bottomright.gray,
div.rb_bottomright.orange { background-image: url('../images/slices/slice-orange-br.gif'); }
li.active div.rb_bottomleft.gray,
div.rb_bottomleft.orange { background-image: url('../images/slices/slice-orange-bl.gif'); }
li.active div.rb_topinside.gray,li.active div.rb_bottominside.gray,
div.rb_topinside.orange, div.rb_bottominside.orange { background-image: url('../images/slices/slice-orange-horizontal.gif'); }
li.active div.rb_leftside.gray,li.active div.rb_rightside.gray,
div.rb_leftside.orange, div.rb_rightside.orange { background-image: url('../images/slices/slice-orange-vertical.gif'); }
*/
