function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2019-2020同步译林英语必修二新突破讲义 下一篇:2019-2020同步译林英语必修四新突破讲义 '; }