ArcGIS API for JavaScript: download_average_Map_Image (MapServer)
Built using the ArcGIS API for JavaScript