
.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail img{
margin: 4px 4px 4px 4px;
box-shadow:  0 0 2px 3px #fff;
-moz-box-shadow:  0 0 2px 3px #fff;
-webkit-box-shadow:  0 0 7px 3px #000;
-o-box-shadow:  0 0 7px 3px #000;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #fff;
padding: 5px;
left: -1000px;
//border: 1px dashed #c0c0c0;
box-shadow: inset 0 0 7px 3px #000;
-moz-box-shadow: inset 0 0 7px 3px #000;
-webkit-box-shadow: inset 0 0 7px 3px #000;
-o-box-shadow: inset 0 0 7px 3px #000;
visibility: hidden;
color: black;
text-decoration: none;
max-height:490px;
}

.thumbnail span img { /*CSS for enlarged image*/
border-width: 0px;
padding: 0px;
max-height:490px;
max-width:500px;
}

.thumbnail:hover span { /*CSS for enlarged image on hover*/
background-attached:fixed;
background-position: right top;
visibility: visible;
vertical-align:top;
position:fixed;
top: 85px;
left: 600px; /*position where enlarged image should offset horizontally */
max-height:500px;
box-shadow: inset 0 0 7px 3px #000;
-moz-box-shadow: inset 0 0 7px 3px #000;
-webkit-box-shadow: inset 0 0 7px 3px #000;
-o-box-shadow: inset 0 0 7px 3px #000;
z-index:999;
}
table tr td {
border:0px;
}
* html.thumbnail:hover span {
_position: absolute; 
_top:expression( (document.compatMode=="CSS1Compat"? documentElement.scrollTop + 100) + "px" : body.scrollTop+100+"px"); 
z-index:999;
/* img[src^="#dispimg"] */
}