#gallery {
	position: relative;
	width: 800px;
	margin: 0 auto;
	padding: 10px;
}

#images {
	border: 2px solid #9ac1c9;
	margin-bottom: 1em;
}

#image {
	position: relative;
	width: 792px;
	height: 443px;
	padding: 5px;
	background: #fff url(images/loading.gif) center center no-repeat;
	text-align: center;
}

#image img {
	position: absolute;
	top: 5px;
	left: 100px;
	padding: 3px;
}

#thumbwrapper {
	margin-top: 1em;
	padding: 6px 0;
	width: 800px;
	height: 90px;
	border: 1px solid #666;
	background: #FFF;
}

#thumbarea {
	position: relative;
	overflow: hidden;
	height: 100px;
	width: 800px;
}

#thumbs {
	position: absolute;
	list-style: none;
	margin-left: 5px;
	height: 90px;
	width: 10000px;
	border-right: 5px solid #FFF
}

#thumbs li {
	float: left;
	margin-right: 5px;
	cursor: pointer
}

#thumbs img {
	-moz-opacity: 0.5;
	opacity: 0.5;
}

#thumbs img:hover {
	-moz-opacity: 1;
	opacity: 1;
}

.imgnav {
	position: absolute;
	height: 375px;
	width: 20%;
	z-index: 100;
	height: 375px;
	width: 20%;
	z-index: 100;
	outline: none;
	cursor: pointer
}

#previmg {
	left: 0;
	background: url(images/left.gif) left center no-repeat;
	border-left: 5px solid #FFF
}

#previmg:hover {
	opacity: 1;
	filter: alpha(opacity=100)
}

#nextimg {
	right: 0;
	background: url(images/right.gif) right center no-repeat;
	border-right: 5px solid #FFF
}

#nextimg:hover {
	opacity: 1;
	filter: alpha(opacity=100)
}