#pictab {z-index:0;}

#hd_1_th span#hd_1 {display:none;}
#hd_1_th:hover span#hd_1 {display:block; position:absolute; left:25%; z-index:50; padding:20px; background-color:blue; border:5px outset red;}
#hd_1_th:hover span#hd_1 img {width:300px; height:208px;}


#hd_2_th span#hd_2 {display:none;}
#hd_2_th:hover span#hd_2 {display:block; position:absolute; left:25%; z-index:50; padding:20px; background-color:blue; border:5px outset red;}
#hd_2_th:hover span#hd_2 img {width:300px; height:302px;}


.a, .a:visited {color:#000;}
#container {position:relative; min-width:550px; height:450px; background:transparent; margin:10px auto; text-align:center;}
#container b {font-weight:normal; width:550px; text-align:center; position:absolute; bottom:250px; left:0; color:#ccc; 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:75px; height:75px; float:left; margin:7px 21px; position:relative; cursor:default;}

a.slidea {background:url(pics/sl_3_th.jpg);}
a.slideb {background:url(pics/hd_2_th.jpg);}
a.slidec {background:url(pics/vp_3_th.jpg);}
a.slided {background:url(pics/vp_2_th.jpg);}
a.slidee {background:url(pics/tf_1_th.jpg);}

a.slidef {background:url(spole/spv1.jpg);}
a.slideg {background:url(spole/spv2.jpg);}
a.slideh {background:url(spole/spv3.jpg);}
a.slidei {background:url(spole/spv4.jpg);}
a.slidej {background:url(spole/spv5.jpg);}

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

a.slidea span {left:-13px; top:89px;}
a.slideb span {left:-132px; top:89px;}
a.slidec span {left:-251px; top:89px;}
a.slided span {left:-370px; top:89px;}
a.slidee span {left:-489px; top:89px;}

a.slidef span {left:-13px; top:89px;}
a.slideg span {left:-132px; top:89px;}
a.slideh span {left:-251px; top:89px;}
a.slidei span {left:-370px; top:89px;}
a.slidej span {left:-489px; top:89px;}

a.gallery:hover {white-space:normal; border:1px solid #fff; 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 {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;}