function lightboxShow(divID, focusID) {
    var lightboxBg, contentHeight, lightboxHeight, windowHeight;
    document.getElementById(divID).style.display = 'block';
    lightboxBg = document.createElement('div');
    contentHeight = document.getElementById('big_container').offsetHeight;
    lightboxHeight = document.getElementById(divID).offsetHeight;
    lightboxBg.setAttribute('id', 'lightbox_bg');
    document.body.appendChild(lightboxBg);
    if (window.innerHeight) {
        windowHeight = window.innerHeight; // not IE
    } else {
        windowHeight = document.documentElement.clientHeight; // IE 6+ standards mode
    }
    if (contentHeight > lightboxHeight) {
        if (contentHeight > windowHeight) {
            document.getElementById('lightbox_bg').style.height = contentHeight + 'px';
        } else {
            document.getElementById('lightbox_bg').style.height = windowHeight + 'px';
        }
    } else {
        if (lightboxHeight > windowHeight) {
            document.getElementById('lightbox_bg').style.height = lightboxHeight + 'px';
        } else {
            document.getElementById('lightbox_bg').style.height = windowHeight + 'px';
        }
    }
    if (focusID) {
        document.getElementById(focusID).focus();
    }
    
    document.body.lbcontentdiv="Test";
}
function lightboxHide(divID) {
    document.getElementById(divID).style.display = 'none';
    document.body.removeChild(document.getElementById('lightbox_bg'));
}


