* {margin: auto; padding: 0}
.centeredImage {
    	text-align:center;
    	margin-top:0px;
    	margin-bottom:0px;
    	padding:0px;
}
#gallery {
	position:relative; 
	width:672px; 
	margin: auto; 
	padding:0px; 
	border:0px solid #fff; 
	background:#d1d1d1
}
#images {
	border:2px solid #9ac1c9; 
	height:380px; 
	background:#eef5f6; 
	margin-bottom:2px;
}
#image {
	position:relative; 
	width:672px; 
	height:330px; 
	padding:0px; 
	border:2px solid #666; 
	background:#FFF url(images/loading.gif) center center no-repeat
}
#image img {
	position:relative; 
	margin-left: auto; 
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
	width: auto; 
	height: auto; 
	padding:2px; 
	max-height: 325px; 
	max-width: 672px
}
#thumbwrapper {
	margin-top:10px; 
	padding:5px; 
	width:672px; 
	height:100px; 
	border:0px solid #666; 
	background:#FFF
}
#thumbarea {
	position:relative; 
	overflow:hidden; 
	height:100px; 
	width:672px
}
#thumbs {
	position:absolute; 
	list-style:none; 
	margin-left:0px; 
	height:100px; 
	width:100000px; 
	border-right:0px solid #FFF
}
#thumbs li {
	float:left; 
	margin-right:5px; 
	cursor:pointer
}
.imgnav {
	position:absolute; 
	height:275px; 
	width:20%; 
	z-index:100; 
	height:275px; 
	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)
}

