#facebox .b
{
    background: url(../source/b.png);
}

#facebox .tl
{
    background: url(../source/tl.png);
}

#facebox .tr
{
    background: url(../source/tr.png);
}

#facebox .bl
{
    background: url(../source/bl.png);
}

#facebox .br
{
    background: url(../source/br.png);
}

#facebox
{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: left;
}

#facebox .popup
{
    position: relative;
}

#facebox table
{
    border-collapse: collapse;
}

#facebox td
{
    border-bottom: 0;
    padding: 0;
}

#facebox .body
{
    padding: 10px;
    background: #fff;
    width: auto;
}

#facebox .loading
{
    text-align: center;
    background-image: url(../source/loading.gif);
    background-position: center;
    background-repeat: no-repeat;
}

#facebox .image
{
    text-align: center;
}

#facebox img
{
    border: 0;
    margin: 0;
}

#facebox .footer
{
    border-top: 1px solid #DDDDDD;
    padding-top: 5px;
    margin-top: 10px;
    text-align: right;
}

.functionbutton
{
    display: inline-block;
    float: right;
    background-position: center;
    background-repeat: no-repeat;
}

.closespan
{
    display: inline-block;
    width: 16px;
    height: 16px;
    cursor: hand;
    background-position: center;
    background-repeat: no-repeat;
}

.submitspan
{
    display: inline-block;
    width: 16px;
    height: 16px;
    cursor: hand;
    background-position: center;
    background-repeat: no-repeat;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br
{
    height: 10px;
    width: 10px;
    overflow: hidden;
    padding: 0;
}

#facebox_overlay
{
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

.facebox_hide
{
    z-index: -100;
}

.facebox_overlayBG
{
    background-color: #000;
    z-index: 999;
}

* html #facebox_overlay
{
    /* ie6 hack */
    position: absolute;
    height: expression(document.body.scrollHeight>document.body.offsetHeight ? document.body.scrollheight: document.body.offsetHeight + 'px');
}