.gallery {padding:0 10px 10px 10px;}
.gallery ul {margin:0;padding:0;list-style:none;position:relative;height:15px; }

.gallery ul li {display:block; width:auto;background:url(../../img/tabright5.gif) no-repeat right -42px;float:left; color:#fff;padding:0 0 4px 0;height:15px;}
.gallery ul li a {display:block;cursor:default;width:auto; color:#fff; text-decoration:none; padding:6px 1.3em 2px 1em;background:url(../../img/tableft5.gif) no-repeat 0 -42px;}
.gallery ul li a:hover {color:#fff;text-decoration:underline;background:url(../../img/tableft5.gif) no-repeat 0 -42px;}

.gallery ul li ul {display:none;position:absolute;top:25px;background:#fff;height:auto;border-bottom:6px solid #DCDCDC;border-left:1px solid #DCDCDC;border-right:1px solid #DCDCDC;min-width:300px;left:2%;padding:8px 5px 15px 5px;}
.gallery ul li:hover ul,
.gallery ul li.over ul {display:block;}
.gallery ul li ul li { display:inline; float:none; background-image:none; height:auto; }
.gallery ul li ul li a { background-image:none;cursor:pointer;margin:8px; padding:2px; position:relative; border:1px solid #DCDCDC; float:left; display:block; width:75px; height:50px; background-color:#fff; }
.gallery ul li ul li a:hover {background-image:none;z-index:3;}
.gallery ul li ul li a img {position:absolute; top:2px; width:75px; height:50px; border:0; margin:0; padding:0;}
.gallery ul li a:hover img,
.gallery ul li a:active img,
.gallery ul li a:focus img {width:100px; height:75px; left:-11px; top:-10px;border:1px solid #000;z-index:2;}
.gallery ul li.overview {display:block; clear:both; padding:5px 10px 0 10px; color:#666;}


#gallery1 ul {z-index:3;}
#gallery2 ul {z-index:2;}
