
/* IE6 */

#fancybox-left:hover,
#fancybox-right:hover {
	visibility:visible;
}

.fancybox-ie6 #fancybox-bg-w,
.fancybox-ie6 #fancybox-bg-e,
.fancybox-ie6 #fancybox-left,
.fancybox-ie6 #fancybox-right,
#fancybox-hide-sel-frame {
	height: expression( this.parentNode.clientHeight + "px" );
}

#fancybox-loading.fancybox-ie6 {
	position: absolute;
	margin-top: 0;
	top: expression( ( -20 + ( document.documentElement.clientHeight ? document.documentElement.clientHeight / 2 : document.body.clientHeight / 2 ) + ( ignoreMe=document.documentElement.scrollTop?document.documentElement.scrollTop : document.body.scrollTop ) ) + "px" );
}

/* IE6, IE7, IE8 */

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 111001
}

#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
}
#fancybox-bg-ne {
	top: -20px;
	right: -20px;
}
#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
}
#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
}
#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
}
#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
}
#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
}
#fancybox-bg-nw {
	top: -20px;
	left:-20px;
}

.fancybox-ie .fancybox-bg {
	background: transparent !important;
}
