function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:高考临近,如何训练考试做题速度? 下一篇:广东省华师附中2011届高三高考备考全攻略(9科) '; }