html, body {
    height: 100%;
}

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

* 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: 100100;
}

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: 10030;
}

div#fancy_loading_icon {
    position: absolute;
    background: url('fancy_loading.gif') no-repeat;
    z-index: 10035;
    width: 16px;
    height: 16px;
}
div#fancy_outer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10090;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}
div#fancy_inner {
    position: relative;
    width:100%;
    height:100%;
    background-color:#ffffff;
}

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

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

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

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

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

#fancy_ajax {
    padding: 0px 10px;
    width: 95%;
    height: 100%;
    overflow: auto;
    font: normal 11px verdana; 
}

a#fancy_left, a#fancy_right {
    position: absolute; 
    bottom: 0px; 
    cursor: pointer;
    z-index: 100111; 
    display: none;
    background-image: url(data:image/gif;base64,AAAA);
    outline: none;
}
span.fancy_ico {
    position: absolute; 
    width: 30px;
    height: 30px;
    z-index: 100112; 
    cursor: pointer;
    display: block;
}

span#fancy_left_ico {
    background: transparent url('fancy_left.gif') no-repeat;
}

span#fancy_right_ico {
    background: transparent url('fancy_right.gif') no-repeat;
}

a#fancy_left:hover {
  visibility: visible;
}

a#fancy_right:hover {
  visibility: visible;
}

.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: 10070;
    border: 0;
    padding: 0;
    margin: 0;
}
div#fancy_title {
    position: absolute;
    bottom: -33px;
    left: 0;
    width: 100%;
    z-index: 100100;
    display: none;
}

div#fancy_title div {
    color: #FFF;
    font: normal 11px Verdana;
    padding-top: 5px;
    padding-bottom: 3px;
}

div#fancy_title table {
    margin: 0 auto;
}

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

td#fancy_title_main {
    height: 32px;
}
