function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:宁夏中卫市沙坡头区2009届高三一模 下一篇:09届高三化学各地月考有机推断精练 '; }