#gallery {
  width: 535px;
}

#content {
  position: static;
  /*
    'relative' doesnt work with paginator on ajax gallery 
    'relative' on #content is used to place rounded edges
  */
}

#imageBoxContainer {
  clear: both;
}

#galleryNavigation {
  position: relative;
  width: 535px;
  padding: 0;
  margin: 0 0 0 1px;
  overflow: hidden;
  white-space: nowrap;
}

#galleryPaginator {
  position: relative;
  z-index: 1;
  left: 0;
}

#galleryNavigation #doPrev {
  position: absolute;
  width: 25px;
  height: 78px;
  background: #000 url('../GFX/gallery/doPrev.gif') no-repeat 50% 50%;
  opacity: .7;
  filter: alpha(opacity=70);
  -moz-opacity:.70;
  left: 0;
  top: 0;
  cursor: pointer;
  z-index: 10;
}

#galleryNavigation #doNext {
  position: absolute;
  width: 25px;
  height: 78px;
  background: #000 url('../GFX/gallery/doNext.gif') no-repeat 50% 50%;
  opacity: .7;
  filter: alpha(opacity=70);
  -moz-opacity:.70;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 10;
}

#galleryNavigation #doNext span,
#galleryNavigation #doPrev span {
  display: none;
}

#galleryPaginator li {
  display: inline;
  margin-right: 4px;
}

#galleryPaginator li#lastImage, #galleryPaginator li#doNext {
  margin-right: 0;
}

#galleryPaginator li a {
  display: inline;
  margin: 0;
  padding: 0;
}

#galleryPaginator li a img {
  display: inline;
}

#mainImage img {
  margin: 0 auto 20px;
}