function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:英语:2010新课标+大纲名校听力专题训练 下一篇:陕西省西安铁一中2010届高三上学期九月月考 '; }