function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:高考作文小技巧:巧妙点化,一例多用 下一篇:2006年高考作文(上海卷)评析 '; }