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

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

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

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

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

#facebox {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	text-align: left;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#facebox .popup {
	position: relative;
}

#facebox table {
	border-collapse: collapse;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

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

#facebox .body {
	margin: 0;
	padding: 0;
	background-color: #efefef;
	width: 300px;
	height: 100px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

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

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

#facebox .footer {
	clear: both;
	border-top: 1px solid #dcdcdc;
	padding: 10px;
	margin: 0;
	text-align: right;
	background: #f5f5f5;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

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

#facebox_overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.facebox_hide {
	z-index:-100;
}

.facebox_overlayBG {
	background-color: #000000;
	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');
}