code: function find(q) {
    removeOverlays();
    if (iw) 
      iw.close();
    document.getElementById('results').innerHTML = '';
    var exact = document.getElementById('exact').checked;
    var params = {
      returnGeometry: true,
      searchText: q,
      contains: !exact,
      layerIds: [0, 2], // city, state
      searchFields: ["CITY_NAME", "NAME", "SYSTEM", "STATE_ABBR", "STATE_NAME"],
      sr: 4326
    };
    service.find(params, processFindResults);
  }
docs: find results ...