var awer_say = false; if (document.all){ awer_say = document.all['awer_saying']; }else if(document.getElementById){ awer_say = document.getElementById('awer_saying'); } if(awer_say){ awer_say.innerHTML = '最佳睡眠时间是在晚上10点-清晨6点。《健康百科》'; }