div#fancy_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 98;
}

div#fancy_loading {
  position: absolute;
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: none;
  overflow: hidden;
  background: transparent;
  z-index: 100;
}

div#fancy_loading div {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 480px;
  background: transparent url('fancy_progress.png') no-repeat;
}

div#fancy_outer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  padding: 0px 0px 20px 0px;
  margin: 0;
  background: transparent;
  display: none;
}

div#fancy_inner {
  position: relative;
  width:100%;
  height:100%;
  background: transparent;
}

div#fancy_content {
  margin: 0;
  z-index: 100;
  position: absolute;
}

div#fancy_div {
  background: #000;
  color: #FFF;
  height: 100%;
  width: 100%;
  z-index: 100;
}

img#fancy_img {
  position: absolute;
  top: 0;
  left: 0;
  border:0; 
  padding: 0; 
  margin: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
}

/*
div#fancy_close {
  position: absolute;
  top: -21px;
  right: 2px;
  width: 17px;
  height: 17px;
  background: url('fancy_closebox.gif') top left no-repeat;
  cursor: pointer;
  z-index: 181;
  display: none;
}
*/

div#fancy_close {
  position: absolute;
  top: -23px;
  right: 2px;
  width: 61px;
  height: 19px;
  background: url('fancy_closebox.gif') top left no-repeat;
  cursor: pointer;
  z-index: 181;
  display: none;
}

#fancy_frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
}

#fancy_ajax {
  width: 100%;
  height: 100%;
  overflow: auto;
}

a#fancy_left, a#fancy_right {
  position: absolute; 
  bottom: 0px; 
  height: 100%; 
  width: 35%;
  margin:0;
  padding:0;
  cursor: pointer;
  z-index: 111; 
  display: none;
  background-image: url("data:image/gif;base64,AAAA");
  outline: none;
  overflow: hidden;
}

a#fancy_left {
  left: 0px; 
}

a#fancy_right {
  right: 0px; 
}

span.fancy_ico {
  position: absolute; 
  top: 50%;
  margin-top: -15px;
  width: 35px;
  height: 35px;
  z-index: 112; 
  cursor: pointer;
  display: block;
}

/*
span#fancy_left_ico {
  left: -9999px;
  left: 20px;
  background: transparent url('fancy_left.png') no-repeat;
}

span#fancy_right_ico {
  right: -9999px;
  right: 20px;
  background: transparent url('fancy_right.png') no-repeat;
}
*/

span#fancy_left_ico {
  left: 0px;
  background-image: url('fancy_left.gif');
  background-position: 0 0;
}

span#fancy_right_ico {
  right: 0px;
  background-image: url('fancy_right.gif');
  background-position: 0 0;
}

a#fancy_left:hover span#fancy_left_ico {
  background-position: 0 -35px;
}

a#fancy_right:hover span#fancy_right_ico {
  background-position: 0 -35px;
}

a#fancy_left:hover, a#fancy_right:hover {
  visibility: visible;
  background-color: transparent;
}

#fancy_bigIframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

div#fancy_title {
  position: absolute;
  z-index: 100;
  display: none;
}

div#fancy_title div {
  color: #FFF;
  font: bold 12px Arial;
  padding-bottom: 3px;
  white-space: nowrap;
}

div#fancy_title table {
  margin: 0 auto;
}

div#fancy_title table td {
  padding: 0;
  vertical-align: middle;
}

td#fancy_title_left {
  height: 32px;
  width: 15px;
  background: transparent url('fancy_title_left.png') repeat-x;
}

td#fancy_title_main {
  height: 32px;
  background: transparent url('fancy_title_main.png') repeat-x;
}

td#fancy_title_right {
  height: 32px;
  width: 15px;
  background: transparent url('fancy_title_right.png') repeat-x;
}

