#gallery {width:778px; height:350px; position:relative; border:1px solid #ddd;}
#gallery ul {list-style:none; padding:5px; margin:0; width:180px; float:right; height:160px; overflow:auto;}
#gallery ul li {display:inline; width:50px; height:50px; float:left; margin:0 4px 4px 0; border:1px solid #444; cursor:pointer;}
#gallery ul li img {display:block; width:50px; height:50px;}
#gallery ul li span {
	display:none;
	position:absolute;
	left:518px;
	top:2px;
	width:200px;
	font-family:verdana, arial, sans-serif;
	color:#06a;
	font-size:11px;
	line-height:15px;
	text-align:justify;
}
#gallery ul li span b {color:#444;}

/* required for IE5.x and IE6 to display the start image size correctly */
#gallery ul li.click i img.default {margin:5px auto 0 auto; width:320px; height:240px; border:1px solid #fff;}

#gallery ul li.off {display:none;}

#gallery ul li.click {border-color:#fc0; background:#f8f8f8; cursor:default;}

#gallery ul li.click i {
	position:absolute;
	left:-1px;
	top:4px;
	width:555px;
	height:361px;
}

#gallery ul li.click i img {margin:5px auto 0 auto; width:auto; height:auto; border:1px solid #fff;}

#gallery ul li.click span {display:block;}
