ArcGIS API for JavaScript: PZPermits/LayersForSubmitScript (MapServer)
Built using the ArcGIS API for JavaScript