#facebox .b {
	background:url(b.png);
}

#facebox .tl {
	background:url(tl.png) no-repeat 100% 100%;
}

#facebox .tr {
	background:url(tr.png);
}

#facebox .bl {
	background:url(bl.png);
}

#facebox .br {
	background:url(br.png);
}

#facebox {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100000;
	text-align: left;
}

#facebox .popup {
	position: relative;
}

#facebox table {
	border-collapse: collapse;
}

#facebox td {
	border-bottom: 0;
	padding: 0;
}

#facebox .body {
	padding: 0;
	border:1px solid #999;
	background: #ececec;
	width: 350px;
}

#facebox .content {
	margin:0 5px 5px;
	padding:0;
	background: #f1f1f1;
	border:1px solid #d0d0d0;
}

#facebox .loading {
	text-align: center;
}

#facebox .image {
	text-align: center;
}

#facebox img {
	border: 0;
	margin: 0;
}

#facebox .header {
	height:22px;
	background:#ececec url(bg-header.png) repeat-x;
	padding:5px 5px 0 5px;
	text-align: right;
}
#facebox .title {float:left;}
#facebox .header h3 {font:bold 14px arial; margin:0; padding:0; line-height:16px; color:#3A484E}
#facebox .title img {float:left; padding-right:4px}
#facebox .header a.close {float:right; padding-top: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: #000;
	z-index: 99999;
}

* html #facebox_overlay { /* ie6 hack */
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

