function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:高考补品年代秀:从红糖水到DHA 下一篇:癌症女孩复读再战高考只为大学梦 '; }