function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:高考物理专题精练:功能关系、机械能守恒定律 下一篇:广东省2010年普通高考考生考试注意事项 '; }