* {margin:0; padding:0}

#gallery {position:relative; width:347px; margin:0px auto;padding-bottom:6px;padding-left:6px;padding-right:6px;padding-top:0px; border-bottom:0px 6px 6px 6px solid #fff; background:#fff}
#images {border:2px solid #9ac1c9; height:225px; background:#eef5f6; margin-bottom:20px}
#image {position:relative; width:333px; height:353px; padding:5px; border:2px solid #666; background:#FFF url(ButtonsGallery/loading.gif) center center no-repeat}
#image img {position:absolute; top:5px; left:5px}
.thumbwrapper
 {
 	margin-top:10px; padding:5px 0; width:343px; height:101px; border:2px solid #666; background:#FFF
 }
 	
.thumbarea
 {
 	position:relative; overflow:hidden; height:101px; width:343px;
 }
 	 
#thumbs {position:absolute; list-style:none; margin-left:5px; height:101px; width:10000px; border-right:5px solid #FFF}
#thumbs li {float:left; margin-right:5px; cursor:pointer}
.imgnav {position:absolute; height:355px; width:20%; z-index:100; height:355px; width:20%; z-index:100; outline:none; cursor:pointer}
#previmg {left:0; background:url(ButtonsGallery/left.gif) left center no-repeat; border-left:5px solid #FFF}
#previmg:hover {opacity:1; filter:alpha(opacity=100)}
#nextimg {right:0; background:url(ButtonsGallery/right.gif) right center no-repeat; border-right:5px solid #FFF}
#nextimg:hover {opacity:1; filter:alpha(opacity=100)}
