     document.getElementById('dialog-box-body').innerHTML += '<br><input id="prompt_value1">';
            document.getElementById('dialog-box-foot').innerHTML = '<button onclick="Prompt.ok(\'' + func + '\')">OK</button> <button onclick="Prompt.cancel(' + "'" + func + "'" + ')">Cancel</button>';
        }
        this.cancel = function (func) {
          window[func](null);
            this.hide();
        }
        this.ok = function (func) {
            var prompt_value1 = document.getElementById('prompt_