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

.gallery ul li { display:block; width:auto; float:left; color:#006699; height:36px; }
.gallery ul li a {
	color:#006699;
	text-decoration:none;
	font:1em Verdana, sans-serif;
}
.gallery ul li a:hover { text-decoration:underline; background:url(../images/nav_arrow.gif) right -36px no-repeat; }
.gallery ul li.first {
	display:block;
	width:auto;
	color:#006699;
	text-decoration:none;
	font:1em Verdana, sans-serif;
	background:url(../images/nav_arrow.gif) right 0 no-repeat;
	padding:8px 1.3em 2px 0em;
}

.gallery ul li ul { display:none; position:absolute; top:34px; background:#fff url(../images/bg_nav.jpg) left -34px repeat-x; height:auto; border-bottom:6px solid #006699; border-left:1px solid #006699; border-right:1px solid #006699; width:95%; 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; margin:8px; padding:2px; position:relative; border:1px solid #006699; float:left; display:block; width:75px; height:50px; background-color:#fff; }
.gallery ul li ul li a:hover { background-image:none; z-index:2; }
.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; z-index:1; border:1px solid #000; }
.gallery ul li.overview { display:block; clear:both; padding:5px 10px 0 10px; color:#000; }


#gallery1 ul { z-index:22; }
#gallery2 ul { z-index:21; }
#gallery3 ul { z-index:20; }
#gallery4 ul { z-index:19; }
#gallery5 ul { z-index:18; }
#gallery6 ul { z-index:17; }
#gallery7 ul { z-index:16; }
#gallery8 ul { z-index:15; }
#gallery9 ul { z-index:14; }
#gallery10 ul { z-index:13; }
#gallery11 ul { z-index:12; }
#gallery12 ul { z-index:11; }
#gallery13 ul { z-index:10; }
#gallery14 ul { z-index:9; }
#gallery15 ul { z-index:8; }
#gallery16 ul { z-index:7; }
#gallery17 ul { z-index:6; }
#gallery18 ul { z-index:5; }
#gallery19 ul { z-index:4; }
#gallery20 ul { z-index:3; }
#gallery21 ul { z-index:2; }
#gallery22 ul { z-index:1; }