#gallery {display:block; height:32px; margin-left: 250px; border-left:1px solid #FFF; padding-top: 9px;}
#gallery ul {margin:0; padding:0; list-style-type:none;}
#gallery li {float:left; display:block; width:36px; border-right:1px solid #FFF;}
#gallery li.list1 {background:transparent url(images/1.jpg);}
#gallery li.list2 {background:transparent url(images/2.jpg);}
#gallery li.list3 {background:transparent url(images/3.jpg);}
#gallery li.list4 {background:transparent url(images/4.jpg);}
#gallery li.list5 {background:transparent url(images/5.jpg);}
#gallery li.list6 {background:transparent url(images/6.jpg);}
#gallery li.list7 {background:transparent url(images/7.jpg);}
#gallery li.list8 {background:transparent url(images/8.jpg);}
#gallery li.list9 {background:transparent url(images/9.jpg);}
#gallery li.list10 {background:transparent url(images/10.jpg);}
#gallery li.list11 {background:transparent url(images/11.jpg);}
#gallery li.list12 {background:transparent url(images/12.jpg);}
#gallery li.list13 {background:transparent url(images/13.jpg);}
#gallery li.list14 {background:transparent url(images/14.jpg);}
#gallery li.list15 {background:transparent url(images/15.jpg);}
#gallery li.list16 {background:transparent url(images/16.jpg);}
#gallery a {display:block; width:36px; padding-top:32px; height:0; color:#000; text-decoration:none; overflow:hidden;}
* html #gallery a:link, * html #gallery a:visited {height:32px; he\ight:0;}
 
#gallery a#item1 {background:transparent url(images/1a.jpg) -36px -32px no-repeat;}
#gallery a#item2 {background:transparent url(images/2a.jpg) -36px -32px no-repeat;}
#gallery a#item3 {background:transparent url(images/3a.jpg) -36px -32px no-repeat;}
#gallery a#item4 {background:transparent url(images/4a.jpg) -36px -32px no-repeat;}
#gallery a#item5 {background:transparent url(images/5a.jpg) -36px -32px no-repeat;}
#gallery a#item6 {background:transparent url(images/6a.jpg) -36px -32px no-repeat;}
#gallery a#item7 {background:transparent url(images/7a.jpg) -36px -32px no-repeat;}
#gallery a#item8 {background:transparent url(images/8a.jpg) -36px -32px no-repeat;}
#gallery a#item9 {background:transparent url(images/9a.jpg) -36px -32px no-repeat;}
#gallery a#item10 {background:transparent url(images/10a.jpg) -36px -32px no-repeat;}
#gallery a#item11 {background:transparent url(images/11a.jpg) -36px -32px no-repeat;}
#gallery a#item12 {background:transparent url(images/12a.jpg) -36px -32px no-repeat;}
#gallery a#item13 {background:transparent url(images/13a.jpg) -36px -32px no-repeat;}
#gallery a#item14 {background:transparent url(images/14a.jpg) -36px -32px no-repeat;}
#gallery a#item15 {background:transparent url(images/15a.jpg) -36px -32px no-repeat;}
#gallery a#item16 {background:transparent url(images/16a.jpg) -36px -32px no-repeat;}
 
#gallery a#item1:hover {background-position:top right; z-index:50;}
#gallery a#item2:hover {background-position:top right; z-index:50;}
#gallery a#item3:hover {background-position:top right; z-index:50;}
#gallery a#item4:hover {background-position:top right; z-index:50;}
#gallery a#item5:hover {background-position:top right; z-index:50;}
#gallery a#item6:hover {background-position:top right; z-index:50;}
#gallery a#item7:hover {background-position:top right; z-index:50;}
#gallery a#item8:hover {background-position:top right; z-index:50;}
#gallery a#item9:hover {background-position:top right; z-index:50;}
#gallery a#item10:hover {background-position:top right; z-index:50;}
#gallery a#item11:hover {background-position:top right; z-index:50;}
#gallery a#item12:hover {background-position:top right; z-index:50;}
#gallery a#item13:hover {background-position:top right; z-index:50;}
#gallery a#item14:hover {background-position:top right; z-index:50;}
#gallery a#item15:hover {background-position:top right; z-index:50;}
#gallery a#item16:hover {background-position:top right; z-index:50;}
 
* html #gallery a:hover {height:32px; he\ight:0;}