function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:广东省广州市2011届高三高考考前保温精练 下一篇:语文:语文版必修2素材 '; }