(function(j){j.fn.weatherfeed=function(s,h,v){h=j.extend({unit:"c",image:!0,country:!1,highlow:!0,wind:!0,humidity:!1,visibility:!1,sunrise:!1,sunset:!1,forecast:!1,link:!0,showerror:!0,linktarget:"_self",woeid:!1},h);var p="odd";return this.each(function(q,t){var l=j(t);l.hasClass("weatherFeed")||l.addClass("weatherFeed");if(!j.isArray(s))return!1;var m=s.length;10
Weather request failed
")}});var w=function(f,c,e){f=j(f);if("Yahoo! Weather Error"!=c.description){var a=c.wind.direction;348.75<=a&&360>=a&&(a="N");0<=a&&11.25>a&&(a="N");11.25<=a&&33.75>a&&(a="NNE");33.75<=a&&56.25>a&&(a="NE");56.25<=a&&78.75>a&&(a="ENE");78.75<=a&&101.25>a&&(a="E");101.25<=a&&123.75>a&&(a="ESE");123.75<=a&&146.25>a&&(a="SE");146.25<=a&&168.75>a&&(a="SSE");168.75<=a&&191.25>a&&(a="S");191.25<=a&&213.75>a&&(a="SSW");213.75<=a&&236.25>a&&(a="SW");236.25<=a&&258.75> a&&(a="WSW");258.75<=a&&281.25>a&&(a="W");281.25<=a&&303.75>a&&(a="WNW");303.75<=a&&326.25>a&&(a="NW");326.25<=a&&348.75>a&&(a="NNW");var g=c.item.forecast[0];wpd=c.item.pubDate;n=wpd.indexOf(":");tpb=u(wpd.substr(n-2,8));tsr=u(c.astronomy.sunrise);tss=u(c.astronomy.sunset);daynight=tpb>tsr&&tpb