﻿.modalBackground
{
	background-color: Gray;
	filter: alpha(opacity=70);
	opacity: 0.7;
}
.modalPopup
{
	background-color: #ffffdd;
	border-width: 3px;
	border-style: solid;
	border-color: Gray;
	padding: 3px;
	width: 300px;
}
.img1
{
	cursor: hand;
}
.thumbImage
{
	max-width: 80px;
	max-height: 80px;
}
*html.thumbImage
{
	width: expression(this.width>80&&this.width>this.height?80:auto);
	height: expresion(this.height>80?80:auto);
}
.thumbImage1
{
	max-width: 300px;
	max-height: 300px;
}
*html.thumbImage
{
	width: expression(this.width>300&&this.width>this.height?300:auto);
	height: expresion(this.height>300?300:auto);
}
#gallery
{
	padding: 0px;
}
#gallery ul
{
	list-style: none;
}
#gallery ul li
{
	display: inline;
}
#gallery ul img
{
	border: 5px solid #3e3e3e;
	border-width: 5px 5px 20px;
}
#gallery ul a:hover img
{
	border: 5px solid #fff;
	border-width: 5px 5px 20px;
	color: #fff;
}
#gallery ul a:hover
{
	color: #fff;
}
#Layer4
{
	position: absolute;
	z-index: 2;
	visibility: hidden;
}
#Layer5
{
	position: absolute;
	width: 180px;
	z-index: 3;
	left: -175px;
	top: -10px;
}
