function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:浙江省2012年高考数学备考研讨会资料 下一篇:133所高校成为第二批卓越计划高校 '; }