function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:【KS5U联考】湖北省历届高三联考数学 下一篇:【创新设计】2015届高三政治高考一轮复习 '; }