function showInsertImageDialog(iframeSrc) {
    var arrayHtml = new Array();
    arrayHtml[0] = '<div id="ifr-dialog" >';
    arrayHtml[1] = '<iframe frameborder="0" scrolling="no" id="ifr-dialog-container" frameborder="0" src="' + iframeSrc + '" class="box-iframe"></iframe>';
    arrayHtml[2] = '</div>';
    $.modal(
        arrayHtml.join(""),
        {
            opacity: 30,
            close: true,
            closeHTML: '<a id="qyptClose" title="关闭" style="right:-36px;"></a>',
            overlayClose: false,
            "containerId": "ifr-dialog-content",
            containerCss:
            {
                width: "466px",
                height: "150px",
                "background-color": "#ffffff",
                padding: "0px"
            }
        }
    );
}

function gaituCommonDialog(GtdptTwoHtml, tempObj) {
    tempObj = $.extend({
        appendTo: 'body',
        focus: true,
        opacity: 50,
        overlayId: 'simplemodal-overlay',
        overlayCss: {},
        containerId: 'simplemodal-container',
        containerCss: {},
        dataId: 'simplemodal-data',
        dataCss: {},
        minHeight: null,
        minWidth: null,
        maxHeight: null,
        maxWidth: null,
        autoResize: false,
        autoPosition: true,
        zIndex: 1000,
        close: true,
        closeHTML: '<a class="modalCloseImg" title="Close"></a>',
        closeClass: 'simplemodal-close',
        escClose: true,
        overlayClose: false,
        fixed: true,
        position: null,
        persist: false,
        modal: true,
        onOpen: null,
        onShow: null,
        onClose: null
    }, tempObj);
    $.modal(GtdptTwoHtml, tempObj);
}