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: 50px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 1000;
}

	div#fancy_loading div {
		position: absolute;
		top: 0;
		left: 0;
		width: 50px;
		height: 160px;
		background: transparent url('../i/loading.png') no-repeat;
	}

div#fancy_outer {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 900;
	padding: 0 0 40px 0;
	margin: 0;
	background: transparent;
	display: none;
}

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

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

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

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

div#fancy_close {
	position: absolute;
	right: 0;
	bottom: -20px;
	height: 10px;
	width: 10px;
	cursor: pointer;
	z-index: 1810;
	display: none;
x	background: red;
	font-size: 200%;
	font-weight: 400!important;
	background: url(../i/cross.gif) no-repeat center
}

div#fancy_title {
	position: absolute;
	z-index: 1000;
	display: none;
	background: transparent
}

	div#fancy_title div {
		color: #222;
		font: 14px "Courier New", Courier, Arial, Verdana, Sans-serif;
		white-space: nowrap;
		background: transparent
	}




#fancy_bigIframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: transparent;}
#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: 50%; 
	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 {
	position: absolute; 
	top: 50%;
	margin-top: -5px;
	width: 5px;
	height: 10px;
	z-index: 1120; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
	background: url(../i/cross.gif) right top
}

span#fancy_right_ico {
	right: -9999px;
	background: url(../i/cross.gif) 0 0
}

a#fancy_left:hover,
a#fancy_right:hover {
	visibility: visible;
	background-color: rgba(255,255,255,.3);
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}
