#popbox {
/*    width: 500px;*/
    position: absolute;
    display: none !important;
    padding-bottom: 42px;
    z-index: 10000;
}
*html #popbox {
    padding-bottom: 30px; /* IE6 */
}
#popbox a:focus, 
#popbox a:active { 
    outline: 0; 
}
#popbox.visible {
    display: block !important;
}
#popbox div {
    background-repeat: no-repeat;
}
#popbox_overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    display: none;
    z-index: 9999;
}
#popbox_overlay.visible {
    display: block;
}

/* top */
#popbox_t div {
    height: 12px;
    line-height: 1;
    overflow: hidden;
}
#popbox_tl,
#popbox_tr {
    top: 0;
    width: 20px;
    position: absolute;
}
#popbox_tl {
    left: 0;
    background: url(img/tl.png);
}    
#popbox_tc {
    margin: 0 20px;
    background: url(img/tc.png);        
}
#popbox_tr {
    right: 0;
    background: url(img/tr.png);
}

/* mid */
#popbox_m {
    overflow: hidden;
    position: relative;
    zoom: 1;
    height: 100%;    
}
#popbox_ml,
#popbox_mr {
    height: 100%;
    width: 20px;
    position: absolute;
    top: 0;
    z-index:1;
}
#popbox_mc {
    margin: 0 20px;
    background: #fff;
    height: 100%;
}    
#popbox_ml {
    left: 0;
    background: url(img/ml.png);
}
#popbox_mr {
    right: 0;
    background: url(img/mr.png);
}    

/* bottom */
#popbox_b {
    position: relative;
    height: 30px;
}    
#popbox_b div {
    height: 30px;
}
#popbox_bl,
#popbox_br {
    top: 0;
    width: 40px;
    position: absolute;        
}
#popbox_bl {
    left: 0;
    background: url(img/bl.png);
}    
#popbox_bc {
    margin: 0 40px;
    background: url(img/bc.png);        
}
#popbox_br {
    right: 0;
    background: url(img/br.png);
}


/* nav */
#popbox_nav {
    text-align: center;
    position: relative;
}

#popbox_nav a {
    text-decoration: none;
}
#popbox_nav a.disabled {
    color: #aaa;
}
#popbox_state {
    padding: 0 10px;
}
#popbox_close {
    position: absolute;
    right: 5px;
}

.popbox_page {
    left: -10000px;
    position: absolute;
    top: 0;     
}
#popbox_content {
    position: relative;
}
#popbox_content .popbox_page {
    left: 0;
    position: static;
}

#popbox_prev_large, 
#popbox_next_large {
    width: 50%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: url(img/pixel_trans.gif); /* required to make IE capture mouse events */
    outline: none;
}
#popbox_prev_large {
    left: 0;
    top: 0;
}
#popbox_next_large {
    right: 0;
    top: 0;   
}
#popbox_prev_large:hover {
    background: url(img/prev.png) no-repeat top left;
}
#popbox_next_large:hover {
    background: url(img/next.png) no-repeat top right;
}




