function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:面对压力,教师要学会心理自救 下一篇:高考资源网诚征代理商 '; }