

#gallery {width:534px; position:absolute; height:60px; 		padding-top:292px;
	top: 180px;
	left: 230px; }

#gallery img.left {width:55px; height:62px; float:left;cursor:pointer;}
#gallery img.right {width:55px; height:62px;  float:left;cursor:pointer;}

#gallery ul {list-style:none; padding:0; margin:0; float:left;  border:2px ; border-width:5px 2px;}
#gallery ul li {display:inline; width:50px; height:50px; float:left; margin:0 4px; border:1px solid #000; cursor:pointer;}

#gallery ul li.hide {display:none;}

/* using background images */
#gallery ul li.th1 {background:url(pics/thumbs/th1.jpg);}
#gallery ul li.th2 {background:url(pics/thumbs/th2.jpg);}
#gallery ul li.th3 {background:url(pics/thumbs/th3.jpg);}
#gallery ul li.th4 {background:url(pics/thumbs/th4.jpg);}
#gallery ul li.th5 {background:url(pics/thumbs/th5.jpg);}
#gallery ul li.th6 {background:url(pics/thumbs/th6.jpg);}
#gallery ul li.th7 {background:url(pics/thumbs/th7.jpg);}
#gallery ul li.th8 {background:url(pics/thumbs/th8.jpg);}
#gallery ul li.th9 {background:url(pics/thumbs/th9.jpg);}
#gallery ul li.th10 {background:url(pics/thumbs/th10.jpg);}


/* remove visibility:hidden; if you want to use the original images as thumbnails */
#gallery ul li img {visibility:hidden; display:block; width:50px; height:50px;}


#gallery ul li.chosen {border-color:#fff; cursor:default;}
#gallery ul li.chosen div {position:absolute; left:5px; top:10px; width:532px; height:280px; background:none; border:none;}
#gallery ul li.chosen div i {width:530px; height:280px; display:table-cell; vertical-align:top; text-align:center;}  
#gallery ul li.chosen div i img {visibility:visible; width:auto; height:auto; border:1px solid #aaa; margin:0 auto;}
#gallery ul li.chosen span {display:block;}
