
#gallery {width:620px; padding:10px; background: #fff; position:relative; margin-bottom:20px;}
#gallery b.default {position:absolute; left:10px; top:10px; width:627px; height:2400px; text-align:center;}
#gallery b.default img {display:block; margin:0 auto 10px auto; border:1px solid #eee; border-color:#555 #ddd #eee #333;}
#gallery b.default span {display:block; color:#000; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}

#gallery ul {list-style:none; padding:250px 0 0 0; margin:0; width:627px; position:relative;}
#gallery ul li {display:inline; width:55px; height:55px; float:left;}
#gallery ul li a {display:block; padding:2px; width:52px; height:52px; text-decoration:none;}
#gallery ul li a span {display:none;}
#gallery ul li a img {display:block; width:50px; height:50px; border:1px solid #000; border-color:#ccc #555 #333 #ccc;}
#gallery ul li a:hover {white-space:normal; background:#fff url(../images/arrow.gif) no-repeat center center;}
#gallery ul li a:hover b {position:absolute; left:0; top:0; width:620px; height:240px; text-align:center; background:#fff; z-index:20;}
#gallery ul li a:hover span {display:block; color:#000; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}
#gallery ul li a:hover img {margin:0 auto 10px auto; width:auto; height:auto;}

#gallery ul li a:active, #gallery ul li a:focus {white-space:normal; background:#fff url(arrow.gif) no-repeat center center; outline:0;}
#gallery ul li a:active b, #gallery ul li a:focus b {position:absolute; left:0; top:0; width:620px; height:240px; text-align:center; background:#fff; z-index:10;}
#gallery ul li a:active span, #gallery ul li a:focus span {display:block; color:#000; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}
#gallery ul li a:active img, #gallery ul li a:focus img {margin:0 auto 10px auto; width:auto; height:auto;}

