function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:备战2014年高考物理母题大题狂做(第03期) 下一篇:【KS5U发布2014烟台市一模】山东省烟台市2014届高三3月模拟 '; }