html, body {
  height: 100%;
}

div#fancy_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: none;
  z-index: 1030;
}

* html div#fancy_overlay {
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
  text-align: left;
}

div#fancy_loading {
  position: absolute;
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: none;
  overflow: hidden;
  background: transparent;
  z-index: 1000;
}

div#fancy_loading div {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 480px;
  background: transparent url('fancy_progress.png') no-repeat;
}

div#fancy_loading_overlay {
  position: absolute;
  background-color: #FFF;
  z-index: 1030;
}

div#fancy_loading_icon {
  position: absolute;
  background: url('fancy_loading.gif') no-repeat;
  z-index: 1035;
  width: 16px;
  height: 16px;
}

div#fancy_outer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1090;
  padding: 170px 20px 0px 20px;
  margin: 0;
  overflow: visible;
  background: transparent;
  display: none;
}

div#fancy_inner {
  position: relative;
  width:100%;
  height:100%;
  border: 1px solid #BBB;
  background: #FFF;
}

div#fancy_content {
  margin: 0;
  z-index: 1000;
  position: absolute;
}

div#fancy_div {
  background: #000;
  color: #FFF;
  height: 100%;
  width: 100%;
  z-index: 1000;
}

img#fancy_img {
  position: absolute;
  top: 0;
  left: 0;
  border:0;
  padding: 0;
  margin: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
}

div#fancy_close {
  position: absolute;
  
  top: -53px;
  right: 10px;
  height: 33px;
  width: 33px;
  background: url('fancy_closebox.png') top left no-repeat;
  cursor: pointer;
  z-index: 1081;
  display: none;
}

#fancy_frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
}

#fancy_ajax {
  width: 100%;
  height: 100%;
  overflow: auto;
}

/* BEGIN  */
a#fancy_left, a#fancy_right {
  position: absolute;
  /*bottom: 0px;*/
  top:-38px;
  /*height: 95%;*/
  height: 33px;
  /*width: 35%;*/
  width: 25px;
  cursor: pointer;
  z-index: 1110;
  /*display: none;*/
  visibility: visible;
  background-image: url(data:image/gif;base64,AAAA);
  outline: none;
}

#itms_product {
  position: absolute;
  top:-150px;
  left: 65px;
  height: 45px;
  width: 600px;
  z-index: 1110;
  visibility: visible;
  outline: none;
  /*background: transparent url('arm_line.png') no-repeat;*/
}

#itms_logo {
  position: absolute;
  top:-150px;
  right: 50px;
  height: 36px;
  width: 106px;
  z-index: 1110;
  visibility: visible;
  background: transparent url('logo.png') no-repeat;
  outline: none;
}

#whiteline {
  position: absolute;
  top:-90px;
  /*left: 500px;*/
  height: 1px;
  /*width: 1500px;*/
  z-index: 1110;
  visibility: visible;
  outline: none;
  background: transparent url('1x1white.gif') repeat-x;
  color: white;
  display: none;
}

a#fancy_left {
  left: 20px;
}

a#fancy_right {
  right: 50px;
}

span.fancy_ico {
  /*position: absolute;
  top: 50%;*/
  margin-top: -15px;
  width: 25px;
  height: 33px;
  z-index: 1120;
  cursor: pointer;
  display: block;
}

span#fancy_left_ico {
  left: -9999px;
  background: transparent url('fancy_left.png') no-repeat;
}

span#fancy_right_ico {
  right: -9999px;
  background: transparent url('fancy_right.png') no-repeat;
}

a#fancy_left span {
  left: 8px;
}

a#fancy_right span {
  right: 8px;
}

.fancy_bigIframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

div#fancy_bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1070;
  border: 0;
  padding: 0;
  margin: 0;
}

div.fancy_bg {
  position: absolute;
  display: block;
  z-index: 1070;
  border: 0;
  padding: 0;
  margin: 0;
}

div.fancy_bg_n {
  top: -18px;
  width: 100%;
  height: 18px;
  /*background: transparent url('fancy_shadow_n.png') repeat-x;*/
}

div.fancy_bg_ne {
  top: -18px;
  right: -13px;
  width: 13px;
  height: 18px;
  /*background: transparent url('fancy_shadow_ne.png') no-repeat;*/
}

div.fancy_bg_e {
  right: -13px;
  height: 100%;
  width: 13px;
  /*background: transparent url('fancy_shadow_e.png') repeat-y;*/
}

div.fancy_bg_se {
  bottom: -18px;
  right: -13px;
  width: 13px;
  height: 18px;
  /*background: transparent url('fancy_shadow_se.png') no-repeat;*/
}

div.fancy_bg_s {
  bottom: -18px;
  width: 100%;
  height: 19px;
  /*background:transparent url(bottom_draw.png) repeat-x scroll left bottom;*/
}

div.fancy_bg_sw {
  bottom: -18px;
  left: -13px;
  width: 13px;
  height: 18px;
  background: transparent url('fancy_shadow_sw.png') no-repeat;
}

div.fancy_bg_w {
  left: -13px;
  height: 100%;
  width: 13px;
  background: transparent url('fancy_shadow_w.png') repeat-y;
}

div.fancy_bg_nw {
  top: -18px;
  left: -13px;
  width: 13px;
  height: 18px;
  background: transparent url('fancy_shadow_nw.png') no-repeat;
}
/* BEGIN */
div#fancy_title {
  position: absolute;
  /*bottom: -30px;*/
  top:-64px;
  left: 50px;
  width: 800px;
  z-index: 1000;
  display: block;
  color: white;
  /*background: white;*/
}
div#fancy_title span.header {
  font-size: 17px;
}

div#fancy_bottom_draw {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: block;
  background: transparent url('bottom_draw.png') repeat-x;
}

div#fancy_title div {
  color: white;
  /*font: bold 12px Arial;*/
  padding-bottom: 3px;
}

div#fancy_title table {
  margin: 0;
}

div#fancy_title table td {
  padding: 0;
  vertical-align: middle;
}

td#fancy_title_left {
  height: 32px;
  width: 15px;
}

td#fancy_title_main {
  height: 32px;
}

td#fancy_title_right {
  height: 32px;
  width: 15px;
}
/* END */
