﻿function callshowbox(id,title,content) {
    //init
    $(id).overlay({
        // custom top position     
        //top: 272,
        // some expose tweaks suitable for facebox-looking dialogs     
        expose: {
            // you might also consider a "transparent" color for the mask         
            color: '#000',
            // load mask a little faster         
            loadSpeed: 200,
            // highly transparent         
            opacity: 0.4,
            top: 200
        },
        // disable this for modal dialog-type of overlays     
        closeOnClick: false,
        // we want to use the programming API     
        api: true
    }).load();

    $(id + ' .row0 .c1').html(title);
    $(id + ' .row1').html(content);

}

function closeshowbox(id) {
    $(id).overlay().close();
}


