#gallery-container {
  position: relative;
  float: left;
  width: 620px;
  height: 500px;
  margin: 0 10px;
  padding: 1px 0 0;
  font-size: 0;
  text-align: center;
}

#gallery-photo {
  z-index: 5;
}

#loading {
  height: 25%;
  width: 100%;
  position: absolute;
  top: 40%;
  left: 0%;
  text-align: center;
  z-index: 0;
  line-height: 0;
}

#gallery-links {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  /* filter:alpha(opacity:80); /* Specify opacity for IE */
}

#gallery-links a {
  outline: 0;
}

#gallery-back-link,
#gallery-next-link {
  display: block;
  width: 49%;
  height: 100%;
  background: transparent url(../images/c.gif) no-repeat; /* Trick IE into showing hover */
  cursor: pointer;
}

#gallery-back-link span,
#gallery-next-link span {
  display: none;
}

#gallery-back-link {
  left: 0;
  float: left;
}

#gallery-next-link {
  right: 0;
  float: right;
}

#gallery-back-link:hover,
#gallery-back-link:visited:hover {
  background: url(../images/back.png) 5% 90% no-repeat;
}

#gallery-next-link:hover,
#gallery-next-link:visited:hover {
  background: url(../images/next.png) 95% 95% no-repeat;
}

#gallery-thumbnails {
  float: left;
  width: 140px;
  height: 500px0px;
  margin: 0 10px 0 20px;
}

#gallery-thumbnails table {
  margin-left: 20px;
  border-collapse: collapse;
}

#gallery-thumbnails img {
  border: 0;
}

#gallery-thumbnails .thumbnail {
  filter:alpha(opacity=50);
  -moz-opacity: .5;
  opacity: .5;
}

#gallery-thumbnails .thumbnail-selected,  
#gallery-thumbnails .thumbnail-highlight {  
  filter:alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
}
