var mo; function calC() { if (document.getElementById('aw_celsius')!=null) { document.getElementById('aw_celsius').innerHTML = '27.1°C'; } mo = setTimeout("calC()", 1000); } setTimeout('calC()',1000);