function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:浙江考生30余万人 高考首日作文不难数学难 下一篇:2010年高考吉林作文点评 '; }