function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2010一轮简约版教案历史27套 下一篇:KS5U2010届高三物理一轮复习全套课件 '; }