var outlook={Test:"Test",SynChronous:"SynChronous",GetUserEmail:"GetUserEmail",ContactFolders:"ContactFolders",Contacts:"Contacts",Inbox_Qry:"InboxQry",Inbox_Add:"InboxAdd",Inbox_Upd:"InboxUpd",Inbox_Del:"InboxDel",Calendar_Qry:"CalendarQry",Calendar_Add:"CalendarAdd",Calendar_Upd:"CalendarUpd",Calendar_Del:"CalendarDel",CalendarInfo:"CalendarInfo"},outlookAPI=function(n,t,i,r){if(parent.top.SysSet.OutlookRun!=="Y"&&"CalendarAdd,CalendarUpd,CalendarDel".indexOf(n)>-1)return showMsg(i18next.t("message.CheckToOpenOutlookRun")),!1;$.ajax({type:"POST",url:"/Login/"+n+(r?"":"Async"),data:{data:JSON.stringify(t||{})},success:function(n){typeof i=="function"&&i(n)},error:function(){}})};