function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2010届湖南六大名校高三高考模拟仿真联考 下一篇:2010保定高三二模 '; }