var msgs, iCuryIndex = 0, iTipsCount = 0, online_Users = [], Ann = { div: $('div.notice-box'), ul: $('div.notice-box').find('ul'), li_class: 'li-list', active: 'li-active', fadeOut: 500, timer: null }, AnnList = [], /**上線登陸註冊信息 * @param {String} islogin 是否登入 */ fnRegister = function (islogin) { var orgid = UserInfo.OrgID, userid = UserInfo.MemberID, username = UserInfo.MemberName; //上線 msgs.server.register(orgid, userid, username, islogin); }, /** * 查看公告明細 * @param {String} id 公告guid * @param {String} flag 是否包含關閉按鈕 */ fnOpenAnn = function (id, flag) { getHtmlTmp('/Page/Pop/AnnounceInfo.html').done(function (html) { var oAnnInfo = Enumerable.From(AnnList).Where(function (item) { return item.AnnouncementID === id; }).First(); oAnnInfo.CategoryName = i18next.t('common.Announcement');// ╠common.Announcement⇒公 告╣ oAnnInfo.CreateDate = newDate(oAnnInfo.CreateDate, 'date'); var sHtml = $('