function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:三方位 检验一轮复习成果 下一篇:提高2009年高考作文写作的10种技巧 '; }