function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2010高考数学备考专题训练:导数应用 下一篇:地理:固体废弃物污染及其危害课件 '; }