replace(/Placeholder checkbox text/g, parsed_args[2]);
            callback_fn = parsed_args[3];
        }

        // main script
        var window_w = 358;
        var window_h = 425;
        window_h = 83 + window.div_text.offsetHeight + window.btn_ok.offsetHeight;
        if (window_w < window_h + 50) {
            window_w += 50;

            window.resizeTo(window_w, window_h);
            window_h = 83 + window.div_text.offsetHeight + window.btn_ok.offsetHeight;
        }
        window.resizeTo(win