function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:浙江省绍兴一中2010届高三上学期期末调研 下一篇:《生活智慧与时代精神》新课教案+复习教案 '; }