
		$(function() {
			$.simpleWeather({
				location: 'chamonix, france',
				unit: 'c',
				success: function(weather) {
                                        html = '<p id="temperature">'+weather.temp+'&deg;'+weather.units.temp+' </p>';
					html += '<p id="weatherimg"><img src="'+weather.thumbnail+'" alt="'+weather.currently+'"/></p>';
					html += '<p id="current">'+weather.currently+'</p>';
					html += '<h2 id="city">Chamonix</h2>';
					$("#weather").html(html);
				},
				error: function(error) {
					$("#weather").html('<p class="error">Please refresh page for weather...</p>');
				}
			});
		});
