#facebox .b {background:url(../images/template/facebox/b.png);}
#facebox .tl {background:url(../images/template/facebox/b.png) no-repeat;}
#facebox .tr {background:url(../images/template/facebox/b.png) no-repeat;}
#facebox .bl {background:url(../images/template/facebox/b.png) no-repeat;}
#facebox .br {background:url(../images/template/facebox/b.png) no-repeat;}

.ie6 #facebox .b {background:url(../images/template/facebox/b.gif);}
.ie6 #facebox .tl {background:url(../images/template/facebox/b.gif) no-repeat;}
.ie6 #facebox .tr {background:url(../images/template/facebox/b.gif) no-repeat;}
.ie6 #facebox .bl {background:url(../images/template/facebox/b.gif) no-repeat;}
.ie6 #facebox .br {background:url(../images/template/facebox/b.gif) no-repeat;}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
  padding: 0;
}

#facebox .body {
  background: #fff;
  width: 370px;
  padding:0 0 10px 0;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox .footer {
	margin:0;
	width:26px;
	height:26px;
	max-width:26px;
	min-width:26px;
	padding:0;
	position:absolute;
	right:15px;
	top:16px;
	background:none;
}

#facebox .footer a {
	width:auto;
	height:auto;
	margin:0;
	padding:0;
}

#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: #010d01;
  z-index: 999;
}

* html #facebox_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
