var ACTION_NAME = "index"; var MODULE_NAME = "Index"; console.log(MODULE_NAME); var title = ''; var old_tilte = "易胜博|下载"; var obj = new Object(); obj.highschool = '高中'; obj.middleschool = '初中'; obj.primaryschool = '小学'; obj.course = '易胜博'; obj.teacher = '名师'; obj.student = '学员'; obj.resources = '资源库'; obj.question = '自助答疑'; obj.Contact = '校区查询'; obj.News = '资讯'; obj.Index = '首页'; obj.search = '搜索'; obj.t_info = ''; obj.info = ''; obj.proinfo = ''; obj.newsinfo = ''; obj.sitemap = '站点导航'; obj.res_info = ''; obj.Feed = '在线报名'; if(ACTION_NAME=='index'){ title = eval("obj."+MODULE_NAME+""); }else{ title = eval("obj."+ACTION_NAME+""); } document.title=title+'-'+old_tilte; var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?4c13f9c20166f1dd42ff6c2db9097364"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();