function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2015高一语文同步学案:11《包身工》(人教版必修1) 下一篇:2015高一语文同步练习:11《包身工》(人教版必修1) '; }