public string GetNoticeBylan(string lan)
        {
            if (Session[Util.ProjectConfig.ADMINUSER] == null)
            {
                return("");
            }

            if (Session["window"] == null)
            {
                Session["window"] = "0";
            }
            IList <Notice> notices = noticeManager.GetNoticeBylan(lan);

            foreach (Notice info in notices)
            {
                if (Session["window"] == "0")
                {
                    if (info.Windowagent == "1" || info.Windowuser == "1")
                    {
                        Session["window"] = "1";
                    }
                }
            }

            string aa = "{\"data1\":";

            aa += ObjectToJson.ObjectListToJson <Model.Notice>(noticeManager.GetNoticeBylan(lan));
            aa += ",\"data2\":[{\"window\":\"" + Session["window"].ToString() + "\"}]}";

            return(aa);
        }