#gallery {
	position:relative;
	width:740px;
	padding:0px;
	background:#F1F1F2;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#images {
border:1px solid #9ac1c9; 
height:225px; 
background:#eef5f6; 
margin-bottom:20px
}
#image {
margin:auto;
width:600px; 
height:440px; 
background:#FFF url(images/loading.gif) center center no-repeat;
}
#image img {
position:absolute; 
top:10px; 
left:85px;
}
#thumbwrapper {
margin-top:10px; 
width:740px; 
height:100px; 
background:#FFFFFF;
}
#thumbarea {
position:relative; 
overflow:hidden; 
height:100px; 
width:740px; 
}
#thumbs1 {
position:absolute; 
list-style:none; 
margin-left:0px; 
height:100px; 
width:10000px; 
border-right:5px solid #FFFFFF;
}
.table {
        display: table;   /* Allow the centering to work */
        margin: 0 auto;
}

#thumbs {
list-style:none;
height:100px;
width:1000px; 
border-right:5px solid #FFFFFF;
margin-left:auto;
margin-right:auto;
display: inline;
}
ul#thumbs2 {display:inline;}
#thumbs li {
	float:left;
	cursor:pointer;
	margin-top: auto;
	margin-right: 10px;
	margin-bottom: auto;
	margin-left: 10px;
}
#thumbs2 li {
	float:left;
	cursor:pointer;
	margin-top: auto;
	margin-right: 10px;
	margin-bottom: auto;
	margin-left: 10px;
	display:inline;
}
.imgnav {
position:absolute; 
height:375px; 
width:20%; 
z-index:100; 
height:375px; 
width:20%; 
z-index:100; 
outline:none; 
cursor:pointer
}
.imgnav2 {
position:absolute; 
height:375px; 
width:75%; 
z-index:100; 
outline:none; 
cursor:pointer
}
#previmg {
left:0; 
background:url(images/left.gif) left center no-repeat; 
}
#previmg:hover {
opacity:1; 
filter:alpha(opacity=100)
}
#nextimg {
right:0; background:url(images/right.gif) right center no-repeat; 
}
#nextimg:hover {
opacity:1; 
filter:alpha(opacity=100)
}
#onimg {
left:150;
}
