function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:福建省福州市2010届高三上学期期末质量检查 下一篇:物理寒假作业限时训练 '; }