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

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

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

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

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



#facebox {
  position: absolute;
  top: 0;
  left: 0;
    z-index: 90000;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
}

#facebox .body {
  padding: 5px;
  background: #fff;
  width: 370px;
  
}

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

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

#facebox img {
  border: 0;
  margin: 0;  
  max-height: 650px; height: expression(this.height > 650 ? 650: true);
  max-width: 1000px; width: expression(this.width > 1000 ? 1000: true);     
        
}

#facebox .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}


#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:-9999;
}

.facebox_overlayBG {
  background-color:#fedbff;
  z-index: 9999;
}

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

#faceboxAjax .b {
	background-image: url(b.png);
}

#faceboxAjax .tl {
	background-image: url(tl.png);
}

#faceboxAjax .tr {
	background-image: url(tr.png);
}

#faceboxAjax .bl {
	background-image: url(bl.png);
}

#faceboxAjax .br {
	background-image: url(br.png);
}

#faceboxAjax .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}
#faceboxAjax .image {
  text-align: center;
}

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

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


#facebox .photocaption 
{
	 background: #fff;
	 margin: 5px 0 0 0;
	 text-align:center;

}

#facebox .phototitle
{    border-bottom: 2px solid #999999;
	 margin: 0 0 5px 0;
	 background: #fff;
	 text-align:center;
}