//Appel procédure breves
function lesbreves(brevescommunaute) 
{ 
  dojo.xhrGet( { 
    // The following URL must match that used to test the server.
    url: "/general/default/index/lesbreves/brevescommunaute/"+brevescommunaute, 
    handleAs: "text",
    sync:true,
    load: function(response, ioArgs) { 
      document.getElementById("breves").innerHTML = response;
    
      //return response; 
    },
    // The ERROR function will be called in an error case.
    error: function(response, ioArgs) { 
      console.error("HTTP status errcode: ", ioArgs.xhr.status); 
      return response; 
      }
    });
}
