
html, body {
	height: 100%;	
}

* html div#fancy_overlay {
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_overlay {
	background-color: #000;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position:fixed;
	z-index: 30;
}


div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('fancy_progress.png') no-repeat;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 58px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	background: #FFF;
}

div#fancy_content {
	position: relative;
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: 0px;
	right: 3px;
	height: 24px;
	width: 59px;
/* 	background: transparent url(fancy_closebox.png); */
	background: transparent url('fancy_close.png');
	cursor: pointer;
	z-index: 181;
	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

a#fancy_left, a#fancy_right {
	display: block !important;
	position: relative;
	height: 24px;
	cursor: pointer;
	z-index: 111; 
	display: none;
	outline: none;
}

a#fancy_left {
	float: left;
	background: url('fancy_previous.gif') no-repeat top left;
	width: 90px;
	margin-left: 8px;
}

a#fancy_right {
	float: left;
	background: url('fancy_next.gif') no-repeat top right;
	width: 60px;
	margin-right: 10%;
}

.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	filter: alpha(opacity=0);
}
	

/* 
/	added
------------------------------------------*/

div#topwrap {
/*
	position: absolute;
	bottom: -35px;
	left: 0;
*/
	background: url('fancy_top.png') no-repeat;
	width: 100%;
	height: 24px;
	z-index: 100;
    position: relative;
}

div#fancy_title div { color: #05335D !important; padding: 5px 0 0 15px; }

div#fancy_close {
	position: absolute;
	top: 0px;
	right: 3px;
	height: 24px !important;
	width: 59px;
/* 	background: transparent url(fancy_closebox.png); */
	background: transparent url('fancy_close.png');
	cursor: pointer;
	z-index: 100;
	float: right;
}

div#topright {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 24px;
	width: 7px;
/* 	background: transparent url(fancy_closebox.png); */
	background: transparent url('fancy_top_right.png') no-repeat top right;
	z-index: 100;
	float: right;
}
