function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:备战2007应考作文如何立意出众 下一篇:高考作文备考忌:走出8大误区是关键 '; }