div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 300;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 1000;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('../images/fancy_progress.png') no-repeat;
}

div#fancy_outer { display: none; position: absolute; top: 0; left: 0;  margin: 0; padding: 20px 20px 40px; background: transparent; z-index: 900; }
div#fancy_inner { position: relative; width:100%; height:100%; background: #fff; }
div#fancy_content { position: absolute; margin: 0; z-index: 1000; }
div#fancy_div {	width: 100%; height: 100%; color: #fff; background: #000; z-index: 100; }

img#fancy_img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; border:0;  margin: 0; padding: 0; z-index: 1000; }

div#fancy_close { display: none; position: absolute; top: 0; right: 0; width: 31px; height: 32px; background: url('../images/fancy_closebox.png') top left no-repeat; z-index: 1810; cursor: pointer; }

#fancy_frame { display: none; position: relative; width: 100%; height: 100%; }
#fancy_ajax { width: 100%; height: 100%; overflow: auto; }


a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 1110; 
	display: none;
	background-image: url("data:image/gif;base64,AAAA");
	outline: none;
	overflow: hidden;
}

a#fancy_left { left: 0px; }
a#fancy_right { right: 0px; }
span.fancy_ico { display: block; position: absolute;  top: 50%; width: 40px; height: 58px; margin-top: -15px; z-index: 112;  cursor: pointer; }
span#fancy_left_ico { background: transparent url('../images/fancy_left.png') no-repeat; left: -9999px; }
span#fancy_right_ico { background: transparent url('../images/fancy_right.png') no-repeat; right: -9999px; }
a#fancy_left:hover, a#fancy_right:hover { visibility: visible; background-color: transparent; }
a#fancy_left:hover span { left: 0; }
a#fancy_right:hover span { right: 0; }

#fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0;  padding: 0; border: 0;  z-index: 700; }
div.fancy_bg { position: absolute; z-index: 700; margin: 0; padding: 0; border: 0; display: block; }

div#fancy_bg_n { top: -9px; width: 100%; height: 9px; background: transparent url('../images/fancy_shadow_n.png') repeat-x; }
div#fancy_bg_ne { top: -9px; right: -9px; width: 9px; height: 9px; background: transparent url('../images/fancy_shadow_ne.png') no-repeat; }
div#fancy_bg_e { right: -9px; width: 9px; height: 100%; background: transparent url('../images/fancy_shadow_e.png') repeat-y; }
div#fancy_bg_se { bottom: -9px; right: -9px; width: 9px; height: 9px; background: transparent url('../images/fancy_shadow_se.png') no-repeat; }
div#fancy_bg_s { bottom: -9px; width: 100%; height: 9px; background: transparent url('../images/fancy_shadow_s.png') repeat-x; }
div#fancy_bg_sw { bottom: -9px; left: -9px; width: 9px; height: 9px; background: transparent url('../images/fancy_shadow_sw.png') no-repeat; }
div#fancy_bg_w { left: -9px; width: 9px; height: 100%; background: transparent url('../images/fancy_shadow_w.png') repeat-y; }
div#fancy_bg_nw { top: -9px; left: -9px; width: 9px; height: 9px; background: transparent url('../images/fancy_shadow_nw.png') no-repeat; }

div#fancy_title { display: none; position: absolute; z-index: 100; }
div#fancy_title div { padding-bottom: 3px; color: #fff; font: bold 11px Tahoma; white-space: nowrap; }
div#fancy_title table { margin: 0 auto; }
div#fancy_title table td { padding: 0; vertical-align: middle; }

td#fancy_title_left { width: 15px; height: 32px; background: transparent url('../images/fancy_title_left.png') repeat-x; }
td#fancy_title_main { height: 32px; background: transparent url('../images/fancy_title_main.png') repeat-x; }
td#fancy_title_right { width: 15px; height: 32px; background: transparent url('../images/fancy_title_right.png') repeat-x; }