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高考各批次录取分数线汇总 下一篇:2015青海高考分数线公布:一本文466理400 '; }