function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:浙江省温州中学2010届高三上学期期中考试 下一篇:新人教版地理必修一第四章教学课件集 '; }