JavaScript closeDialog Sample

From LongJump Support Wiki
function closeDialog()
{
    if ( $.browser.msie ) 
    { 
        top.lj_closeDialog()
        top.lj_refreshCurrentTab();
    }
    else
    {
        top.getActiveTabWindow().lj_refreshTab();
        top.lj_closeDialog();
    }
}