ArcGIS API for JavaScript: FGP/MSDI_Dynamic_Current_Layer (MapServer)
Built using the ArcGIS API for JavaScript