function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:09年北京各区一模(海淀、西城、东城) 下一篇:浙江省宁波市2009届高三十校联考 '; }