function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:河南名校地理一轮复习试题免费打包 下一篇:2010历史一轮复习全版测试(必修1) '; }