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同步译林英语必修三新突破讲义 '; }