//This is the code used to create the gallery
function createBasemapGallery() {
var basemapGallery = esri.dijit.BasemapGallery({
id: "bmg",
showArcGISBasemaps: true,
map: map
}, "basemapGallery");
basemapGallery.startup();
}
[HTML]