﻿
#photoholder
{
	background: #fff 50% 50% no-repeat;
}
.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;
}
#Layer2
{
	position: absolute;
	z-index: 1;
	visibility: hidden;
	background-color: White;
}
#Layer3
{
	position: absolute;
	z-index: 1;
	left: -343px;
	top: -20px;
	visibility: hidden;
	background-color: White;
}
#Layer4
{
	position: absolute;
	z-index: 2;
	visibility: hidden;
}
#Layer5
{
	position: absolute;
	width: 180px;
	z-index: 3;
	left: -165px;
	top: 0px;
}
#down
{
	width: 1247px;
	height: 93px;
}

.tip
{
	padding: 0px;
	line-height: 2.2em;
	font-size: 12px;
	color: #ffffff;
	background: #FFFFFF;
}
.image
{
	filter: progid:DXImageTransform.Microsoft.Shadow (Color=#666666,Direction=-113,strength=6);
}
.list
{
	position: relative;
}
.list span img
{
	border-width: 0;
	padding: 2px;
}
.list span
{
	position: absolute;
	padding: 3px;
	border: 1px solid gray;
	visibility: hidden;
	background-color: #FFFFFF;
}
.list:hover
{
	background-color: transparent;
}
.list:hover span
{
	visibility: visible;
	top: -350px;
	left: 200px;
}
.box1
{
	var: ((image.width>=image.height){image.width=350;
	image: ..height=parseInt(310/scale);
}
else
{
	image: ..height=350;
	image: ..width=parseInt(310*scale);
}
.style2
{
	height: 25px;
}
.thumbImage
{
	max-width: 60px;
	max-height: 60px;
}
*html.thumbImage
{
	width: expression(this.width>60&&this.width>this.height?60:auto);
	height: expresion(this.height>60?60:auto);
}

.thumbImage1
{
	max-width: 300px;
	max-height: 300px;
}
*html.thumbImage1
{
	width: expression(this.width>300&&this.width>this.height?300:auto);
	height: expresion(this.height>300?300:auto);
}
.thumbImage2
{
	max-width: 120px;
	max-height: 120px;
}
*html.thumbImage
{
	width: expression(this.width>120&&this.width>this.height?120:auto);
	height: expresion(this.height>120?120:auto);
}
.thumbImage3
{
	max-width: 90px;
	max-height: 90px;
}
*html.thumbImage
{
	width: expression(this.width>90&&this.width>this.height?90:auto);
	height: expresion(this.height>90?90:auto);
}
.thumbImage4
{
	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);
}
#gallery
{
	background-color: #444;
	padding: 10px;
	width: 520px;
}
#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;
}
#gallery1
{
	background-color: #444;
	padding: 10px;
	width: 520px;
}
#gallery1 ul
{
	list-style: none;
}
#gallery1 ul li
{
	display: inline;
}
#gallery1 ul img
{
	border: 5px solid #3e3e3e;
	border-width: 5px 5px 20px;
}
#gallery1 ul a:hover img
{
	border: 5px solid #fff;
	border-width: 5px 5px 20px;
	color: #fff;
}
#gallery1 ul a:hover
{
	color: #fff;
}
.style1
{
	width: 102px;
}
.style2
{
	width: 73px;
}
