function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2011上海高中化学计算方法总结 下一篇:2011新课标高考数学(理)一轮复习定时检测 '; }