ArcGIS API for JavaScript: GravityDrainage/Laterals (MapServer)
Built using the ArcGIS API for JavaScript