function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2020届高考历史查漏补缺专练 下一篇:2020届高考历史查漏补缺之选择题型专练 '; }