html, body {
  height: 100%;
}

div#fancy_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 30;
}

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


/*div#fancy_overlay {
	position:absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	background-color: #000;
}*/

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(/scripts/jquery/fancybox/fancy_progress.png) no-repeat;
}

div#fancy_close {
	position: absolute;
	_position: static;
	margin-top: -25px;
	_margin-top: -30px;
	right: 5px;
	height: 20px;
	width: 77px;
	background: transparent url(/images/close.jpg) ;
	cursor: pointer;
	z-index: 100;
	display: none;
}

div#fancy_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0; 
	margin: 0;
	/*border-top: 30px black solid;
	border-bottom: 30px black solid;
	border-left: 5px black solid;
	border-right: 5px black solid;*/
	z-index: 96;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

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

div#fancy_title {
	position: absolute;
	top: -30px;
	left: -10;
	width: 80%;
	z-index: 100;
	display: none;
}

div#fancy_title table {
	margin: 0;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 2px;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_title_left.png) repeat-x;*/
}

td#fancy_title_main {
	height: 32px;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_title_main.png) repeat-x;*/
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_title_right.png) repeat-x;*/
}

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

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #444;
	background: #FFF;
}

a#fancy_left, a#fancy_right {
	position: absolute;
	bottom: -25px;
	_bottom: 0px;
	_margin-bottom: -30px;  
  
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	background-image: url(data:image/gif;base64,AAAA);
	z-index: 100; 
}

a#fancy_left {
	left: 5px;
}

a#fancy_right {
	right: 5px;
}

a#fancy_left {
	background: transparent url(/images/previous.jpg) no-repeat 0% 100%;
}

a#fancy_right {
	background: transparent url(/images/next.jpg) no-repeat 100% 100%;
}

#fancy_bigIframe, #fancy_freeIframe {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

div#fancy_bg {
	display: none;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
}

div.fancy_bg_n {
	top: -30px;
	width: 100%;
	height: 30px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_n.png) repeat-x;*/
}

div.fancy_bg_ne {
	top: -30px;
	right: -5px;
	width: 5px;
	height: 30px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_ne.png) no-repeat;*/
}

div.fancy_bg_e {
	right: -5px;
	height: 100%;
	width: 5px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_e.png) repeat-y;*/
}

div.fancy_bg_se {
	bottom: -30px;
	right: -5px;
	width: 5px;
	height: 30px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_se.png) no-repeat;*/
}

div.fancy_bg_s {
	bottom: -30px;
	width: 100%;
	height: 30px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_s.png) repeat-x;*/
}

div.fancy_bg_sw {
	bottom: -30px;
	left: -5px;
	width: 5px;
	height: 30px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_sw.png) no-repeat;*/
}

div.fancy_bg_w {
	left: -5px;
	height: 100%;
	width: 5px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_w.png) repeat-y;*/
}

div.fancy_bg_nw {
	top: -30px;
	left: -5px;
	width: 5px;
	height: 30px;
	background: #000;
	/*background: transparent url(/scripts/jquery/fancybox/fancy_shadow_nw.png) no-repeat;*/
}
