tnow = parseInt(xmlTEMP); if (tnow>=0){tnow='+'+tnow+' °C';}else{tnow='-'+tnow+' °C';}; createCookie('mbcurrtemp', encodeURIComponent(tnow), 0.5); var a=getCookie('mbcurrtemp'); if(a) {tnow=decodeURIComponent(a);alert(tnow);}