html, body {
	height: 100%;
}
div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #36393b;
	display: none;
	z-index: 5130;
}

* html div#fancy_overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
	text-align: left;
}
div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 5200;
}
div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url("../i/fancy/fancy_progress.png") no-repeat;
}

div#fancy_loading_overlay {
	position: absolute;
	background-color: #FFF;
	z-index: 5130;
}

div#fancy_loading_icon {
	position: absolute;
	background: url("../i/fancy/fancy_loading.gif") no-repeat;
	z-index: 5135;
	width: 16px;
	height: 16px;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 5290;
    padding: 18px 31px 67px 31px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	background: #FFF;
}


div#fancy_content {
	margin: 0;
	z-index: 5200;
	position: absolute;
}

div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 5200;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border: none; 
	padding: 0; 
	margin: 0;
	z-index: 5200;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: 0px;
	right: -30px;
	height: 26px;
	width: 26px;
	background: url("../i/fancy/fancy_closebox.gif") top left no-repeat;
	cursor: pointer;
	z-index: 5281;
	display: none;
}
div#fancy_close:hover{
	background: url("../i/fancy/fancy_closebox.gif") no-repeat 0 -27px;
}
#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#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: 5211; 
	display: none;
	outline: none;
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 26px;
	height: 26px;
	z-index: 5212; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -30px;
	background: transparent url("../i/fancy/fancy_left.gif") no-repeat;
}
span#fancy_left_ico:hover{
	left: -30px;
	background: transparent url("../i/fancy/fancy_left.gif") no-repeat 0 -27px;
}
span#fancy_right_ico {
	right: -30px; 
	background: transparent url("../i/fancy/fancy_right.gif") no-repeat;
}
span#fancy_right_ico:hover{
	right: -30px; 
	background: transparent url("../i/fancy/fancy_right.gif") no-repeat 0 -27px;
}
a#fancy_left:hover {
  visibility: visible;
}
a#fancy_right:hover {
  visibility: visible;
}
a#fancy_left:hover span {
	left: -30px; 
}
a#fancy_right:hover span {
	right: -30px; 
}
.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%;
	z-index: 5170;
	border: 0;
	padding: 0;
	margin: 0;
}	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 5170;
	border: 0;
	padding: 0;
	margin: 0;
}
div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url("../i/fancy/fancy_shadow_n.png") repeat-x;
}
div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url("../i/fancy/fancy_shadow_ne.png") no-repeat;
}
div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url("../i/fancy/fancy_shadow_e.png") repeat-y;
}
div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url("../i/fancy/fancy_shadow_se.png") no-repeat;
}
div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url("../i/fancy/fancy_shadow_s.png") repeat-x;
}
div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url("../i/fancy/fancy_shadow_sw.png") no-repeat;
}
div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url("../i/fancy/fancy_shadow_w.png") repeat-y;
}
div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url("../i/fancy/fancy_shadow_nw.png") no-repeat;
}
div#fancy_title {
	position: absolute;
	bottom: -60px;
	left: 0;
	width: 100%;
	z-index: 5200;
	display: none;
	background: #fff;
}
div#fancy_title div {
	color: #515359;
	font: normal 12px Arial;
	padding-bottom: 3px;
	height: 44px;
	padding: 12px 14px 0 14px;
	vertical-align: middle;
	text-align: center;
}
div#fancy_title table {
	margin: 0 auto;
}
div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}
