#facebox .b {
  background:url(/includes/images/facebox/b.png);
}

#facebox .tl {
  background:url(/includes/images/facebox/tl.png);
}

#facebox .tr {
  background:url(/includes/images/facebox/tr.png);
}

#facebox .bl {
  background:url(/includes/images/facebox/bl.png);
}

#facebox .br {
  background:url(/includes/images/facebox/br.png);
}

#facebox .mt {
  background:url(/includes/images/facebox/mt.png);
  background-repeat: repeat-x;
}
#facebox .mb {
  background:url(/includes/images/facebox/mb.png);
  background-repeat: repeat-x;
}
#facebox .ml {
  background:url(/includes/images/facebox/ml.png);
  background-repeat: repeat-y;
}
#facebox .mr {
  background:url(/includes/images/facebox/mr.png);
  background-repeat: repeat-y;
}
#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
  padding: 0;
}

#facebox .body {
  background: #fff;
  width: 50px;
  height: 50px;
  padding: 0px 0px 0px 0px;
}

#facebox .loading {
  text-align: center;
  padding: 20px 20px 20px 20px;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox .header {
  border-top: 0px solid #DDDDDD;
  margin-bottom: 0px;
  text-align: right;
}
#facebox .content {
  border-top: 0px solid #DDDDDD;
  margin: 0px 0px 0px 0px;
  text-align: right;
}
#facebox .footer {
  border-top: 0px solid #DDDDDD;
  margin: 10px 20px 20px 20px;
  text-align: right;
  background-image: url(/images/PancieraDesignLogoFB.png);
  background-repeat: no-repeat;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
