ArcGIS API for JavaScript: GTX/GISViewerUtilities (MapServer)

Built using the ArcGIS API for JavaScript