function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:山西省介休十中2011届高三下学期模拟考试 下一篇:2011届备战高考十天攻克高考英语词汇 '; }