(function(){if(typeof window.spWeather.translators.Yahoo==="undefined"){window.spWeather.translators.Yahoo=(function(){return{translate:function(d){var b=new spWeather.CityWeather(d.location.woeid,d.location.city);b.api="daily";for(var c=0;c<d.forecasts.length;c++){var a={date:moment(d.forecasts[c].date*1000),label:d.forecasts[c].text,description:d.forecasts[c].text,icon:spWeather.iconBaseUrl+"meteo_"+d.forecasts[c].code+".png",temperature:{min:d.forecasts[c].low,max:d.forecasts[c].high,unit:"Celcius"},pressure:"NA",humidity:"NA"};b.forecasts.push(a)}return b}}})()}})();