function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:山东日照莒县09生物高考预测 下一篇:宁夏中卫市沙坡头区2009届高三一模 '; }