function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2010年高考物理三轮冲刺选择题专项训练 下一篇:浙江省2010届宁波市高三模拟考试 '; }