


jQuery.noConflict();

jQuery(document).ready(function() {

jQuery.ajax({
        type: "GET",
	    url: '/weather.aspx',
	    dataType: "xml",
	    error: function(xml)
	    {
	        jQuery("#weatherDate").hide();
	    },
	    success: function(xml) 
	                {
	                    jQuery(xml).find('current_conditions').each(function() {

	                    var conditions = jQuery(this).find('condition').attr('data');
	                    var temperature = jQuery(this).find('temp_c').attr('data');

	                    jQuery("#weatherDate").show();
	                    jQuery("#weather-info").html(conditions);
	                    jQuery("#temp").html(temperature + "°C");
                             
                         }); 
                     }

    });

});

