function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:浙江省衢州市仲尼中学高一地理教案 下一篇:生物人教版《遗传与进化》课后训练 '; }