Namespace.register("U.MD.D.A"); //桌面提示框

//#region 用户协议

/*
* 用户协议
*
* @param  {element} 用户协议内容元素
*/
U.MD.D.A.agreement = function (_el) {
    return new U.UF.UI.form("<div class='U_MD_F_S_TI'>安全协议</div>",
                    U.selectEl(_el).parentElement().css("display", "block")[0],
                   {
                       "id": "U_MD_UI_UP_O",
                       "style": {
                           "width": "600px",
                           "height": "452px"
                       }
                   },
                   {
                       isnarrow: false,
                       isenlarge: false
                   }).form;
}

//#endregion

//#region 关于我们

/*
* 打开关于我们窗体
*
*/
U.MD.D.A.aboutUs = function () {
    var _el = U.selectEl("#U_MD_D_A_OT");
    _el.css("display", "block");

    new U.UF.UI.form("<div class='U_MD_F_S_TI'>关于我们</div>", _el[0],
                   {
                       "id": "U_MD_D_A_OT_A",
                       "style": {
                           "width": "920px",
                           "height": "600px"
                       }
                   },
                   {
                       isnarrow: false,
                       isenlarge: false
                   });
}

//#endregion

/*
* 浏览器更新窗体
*
*/
U.MD.D.A.browserCompatibleForm = function () {
    new U.UF.UI.form("<div class='U_MD_F_S_TI'>浏览器更新</div>",
                   U.selectEl("#U_MD_D_A")[0],
                   {
                       "id": "U_MD_D_A_A",
                       "style": {
                           "width": "970px",
                           "height": "605px"
                       }
                   },
                   {
                       isnarrow: false,
                       isenlarge: false
                   });
}


//#endregion