function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:河南2006-2014高考各批次录取分数线汇总 下一篇:辽宁2006-2014高考各批次录取分数线汇总 '; }