function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:福建省莆田一中2012-2013学年高一上学期期末考试题 下一篇:新高三学习规划之如何构建知识网络? '; }