function weather() { //
      dojo.xhrGet( { //
        // The following URL must match that used to test the server.
        url: "/images/data/weather.php",
        handleAs: "text",

        timeout: 5000, // Time in milliseconds

        // The LOAD function will be called on a successful response.
        load: function(response, ioArgs) { //
          dojo.byId("weather").innerHTML = response; //
          return response; //
        },

        // The ERROR function will be called in an error case.
        error: function(response, ioArgs) { //
          console.error("HTTP status code: ", ioArgs.xhr.status); //
          return response; //
          }
        });
      }