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

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

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

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

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

#facebox {
	background: transparent url(b.png) repeat-x;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	text-align: left;
	width: 800px;
	height: 80%;
	padding-top: 16px;
}



#facebox .popup {
	position: relative;
	background: transparent url(b.png) repeat-y;
	padding-left: 17px;
}

#facebox .body {
	background: #fff;
	background: transparent url(b.png) repeat-y right;
	padding-right: 17px;
}

#facebox .content-wrap {
	height: 560px;
	background: white url(b.png) repeat-x bottom;
	padding-bottom: 17px;
	padding: 10px;
}

#facebox .content {
	height: 495px;
	overflow-y: scroll;
	overflow-x: scroll;
}

#facebox .footer {
	width: 100%;
	padding-top: 5px;
	margin-top: 10px;
	text-align: right;
	overflow: hide;
}


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

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

#facebox img {
  border: 0;
  margin: 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');
}
