var v = window.location.href; var tt = v.substring(v.lastIndexOf("/") + 1); if (tt == "ManageNewsList.aspx") { setTxT("信息列表"); }