﻿#facebox .b { background: url(../images/b.png); }

#facebox .tl { background: url(../images/tl.png); }

#facebox .tr { background: url(../images/tr.png); }

#facebox .bl { background: url(../images/bl.png); }

#facebox .br { background: url(../images/br.png); }

#facebox {
    left: 0;
    position: absolute;
    text-align: left;
    top: 0;
    z-index: 100;
}

#facebox .popup { position: relative; }

#facebox table { border-collapse: collapse; }

#facebox td {
    border-bottom: 0;
    padding: 0;
}

#facebox .body {
    background: #fff;
    padding: 10px;
    width: 596px;
    /*height: 420px;*/
}

#facebox .faceloading { text-align: center; }

#facebox .image { text-align: center; }

#facebox img {
    border: 0;
    margin: 0;
}

#facebox .footer {
    border-top: 1px solid #DDDDDD;
    clear: both;
    margin-top: 30px;
    padding-top: 5px;
    text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
    height: 10px;
    overflow: hidden;
    padding: 0;
    width: 10px;
}

#facebox_overlay {
    height: 100%;
    left: 0px;
    position: fixed;
    top: 0px;
    width: 100%;
}

#facebox div.content {
    max-height: 700px;
    max-width: 900px;
    min-width: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    /*overflow:auto;*/
}

#faceboxImage { max-width: 600px; }

.facebox_hide { z-index: -100; }

.facebox_overlayBG {
    background-color: #000;
    z-index: 99;
}

* html #facebox_overlay {
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
    /* ie6 hack */
    position: absolute;
}