img {
	border: none;
}

.gallery ul {
	list-style: none;
}
.gallery li {
	margin: 10px 10px 10px 0px;
	padding: 0;
	float: left;
	position: relative;
	width: 170px;
	height: 135px;
	text-align: center;
}
.gallery a {
	line-height: 25px;
}
.gallery img {
	background: #fff;
	border: 1px solid #999999;
	padding: 2px 2px 2px 2px;
	width: 170px;
	height: 135px;
}
.gallery span {
	width: 36px;
	height: 35px;
	display: block;
	position: absolute;
	top: 5px;
	right: 0px;
}
.gallery .TOP {
	background: url(../images/TOP.png) no-repeat;
}

.gallery a:hover img  {
	border-color: #666;
}
.gallery a:hover span {
	background-position: left -35px;
}