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高考化学一轮复习大全 '; }