function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:《高考调研》2018高考物理大一轮复习课件 下一篇:2018年高考英语一轮复习课件 '; }