function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:上海高考综合考“幸福感”提问耐人寻味 下一篇:2011高考英语山东卷阅读理解深度解析 '; }