#facebox .b       {background:url(../images/facebox/facebox_b.png); }
#facebox .tl      {background:url(../images/facebox/facebox_tl.png);}
#facebox .tr      {background:url(../images/facebox/facebox_tr.png);}
#facebox .bl      {background:url(../images/facebox/facebox_bl.png);}
#facebox .br      {background:url(../images/facebox/facebox_br.png);}
#facebox .popup   {position: relative;}
#facebox table    {border-collapse: collapse;}
#facebox .loading {text-align: center;}
#facebox .image   {text-align: center;}
.facebox_hide     {z-index:-100;}

#facebox table.jcPopupTable {
	width: 100%;
	padding: 2px;
}
#facebox table.jcPopupTable caption {
	font-size     : 14px;
}
#facebox table.jcPopupTable td {
	padding: 5px;
}
#facebox table.jcPopupTable td div.error {
	display   : none;
	text-align: center;
	color     : red;
}
#facebox table.jcPopupTable td.buttons {
	padding-top: 5px;
	text-align : center;
}

#facebox {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1010;
  text-align: left;
}

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

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

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

#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_overlayBG {
	opacity: .65;
  background-color: #333;
  z-index: 998;
}

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