.a, .a:visited {color:#000;}
.a, .a:visited {color:#000;}
#gcontainer {position:relative; width:545px; height:750px; background:#fff; border:1px solid #fff; margin:10px auto;}
#gcontainer b {font-weight:normal; width:500px; text-align:center; position:relative; bottom:250px; left:0; color:#eee; font-family:tahoma, geneva, "lucida sans unicode", "lucida grande",verdana, sans-serif; letter-spacing:1px; line-height:1.7em; z-index:1;}

a.gallery, a.gallery:visited {display:inline; color:#000; text-decoration:none; border:1px solid #000; width:40px; height:40px; float:left; margin:7px 21px; position:relative; cursor:default;}

a.slidea {background:url(images/thumbs/thumb1.jpg);}
a.slideb {background:url(images/thumbs/thumb2.jpg);}
a.slidec {background:url(images/thumbs/thumb3.jpg);}
a.slided {background:url(images/thumbs/thumb4.jpg);}
a.slidee {background:url(images/thumbs/thumb5.jpg);}
a.slidef {background:url(images/thumbs/thumb6.jpg);}
a.slideg {background:url(images/thumbs/thumb7.jpg);}
a.slideh {background:url(images/thumbs/thumb8.jpg);}
a.slidei {background:url(images/thumbs/thumb9.jpg);}
a.slidej {background:url(images/thumbs/thumb10.jpg);}
a.slidek {background:url(images/thumbs/thumb11.jpg);}
a.slidel {background:url(images/thumbs/thumb12.jpg);}
a.slidem {background:url(images/thumbs/thumb13.jpg);}
a.sliden {background:url(images/thumbs/thumb14.jpg);}
a.slideo {background:url(images/thumbs/thumb15.jpg);}
a.slidep {background:url(images/thumbs/thumb16.jpg);}


a.slide1 {background:url(images/thumbs/thumb1.jpg);}
a.slide2 {background:url(images/thumbs/thumb2.jpg);}
a.slide3 {background:url(images/thumbs/thumb3.jpg);}



a.gallery span {visibility:hidden; display:block; position:absolute; width:525px; height:500px; top:189px; left:9px; color:#000; background:#ccc; text-align:center; border:1px solid #00ff00; font-family:tahoma, geneva, "lucida sans unicode", "lucida grande",verdana, sans-serif; letter-spacing:1px; cursor:default;}

a.slidea span {left:-13px; top:170px;}
a.slideb span {left:-97px; top:170px;}
a.slidec span {left:-181px; top:170px;}
a.slided span {left:-265px; top:170px;}
a.slidee span {left:-349px; top:170px;}
a.slidef span {left:-433px; top:170px;}

a.slideg span {left:-13px; top:115px;}
a.slideh span {left:-97px; top:115px;}
a.slidei span {left:-181px; top:115px;}
a.slidej span {left:-265px; top:115px;}
a.slidek span {left:-349px; top:115px;}
a.slidel span {left:-433px; top:115px;}

a.slidem span {left:-13px; top:75px;}
a.sliden span {left:-97px; top:75px;}
a.slideo span {left:-181px; top:75px;}
a.slidep span {left:-265px; top:75px;}



a.slide1 span {left:-13px; top:130px;}
a.slide2 span {left:-97px; top:130px;}
a.slide3 span {left:-181px; top:130px;}




a.gallery:hover {white-space:normal; background-color:#ccc;border:1px solid #00ff00; z-index:100;}

a.gallery:hover span {visibility:visible; z-index:100;}

a.gallery:hover span img {margin:10px; border:1px solid #000; position:relative; z-index:100;}

a.gallery:active, a.gallery:focus {background-color:#333333; border:1px solid #c00; z-index:10;}

a.gallery:active span, a.gallery:focus span {visibility:visible; z-index:10;}

a.gallery:active span img, a.gallery:focus span img {border:1px solid #000; position:relative; margin:10px; z-index:10;}
