var AdminConfiguration={Environment:{ElemAssembly:{enType:0},DataAssembly:{Post:{enType:""}},initHtmlElem:function(){this.ElemAssembly.enType=$("input[type='radio'][name='enType']")},getHtmlElem:function(a){return this.ElemAssembly[a]},Format:{enType:function(b){var a=AdminConfiguration.Environment.ElemAssembly.enType;if(a.eq(0).attr("checked")==false&&a.eq(1).attr("checked")==false){Global.Object.htmlElemFocus(a.eq(0));Global.CallBack.false_3(b,"请选择环境！",a)}else Global.CallBack.true_1(b,a.eq(0).attr("checked")?"0":"1")}},postAjax:function(b){var a="Admin-Configuration-Environment";Global.Boxy.wait(a,null);Global.AjaxServer.Post.json("/Configuration/Environment/",b,function(b){if(b.result)Global.Boxy.success(a,{newTitle:"环境配置成功",dtHtml:"您已成功更改环境配置！",dtStyle:"",clickEvent:{oK:function(){}},boxyOptions:{beforeHide:function(){location.reload()}}});else Global.Boxy.failure(a,{newTitle:"环境配置失败",dtHtml:"环境配置失败",newMessage:b.info,clickEvent:{cancel:function(){}}})})},submit:function(){Global.MsgBox.submit(this,["enType"])}}}