function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:生物高考一轮专题必修3课时作业汇总 下一篇:浙江省台州中学2011届高三上学期期中考试 '; }