function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:【2014.3.20】ks5u智能组卷系统 测试上线 欢迎访问 下一篇:备战2014年高考物理母题大题狂做(第02期) '; }