//*****************************************************************
//layer-specific information for query/identify/selection
//*****************************************************************
// ************* DO NOT EDIT HERE!!!*******************************
// field name and alias storage arrays for layers in MASTER mapservice
var mapserviceID = new Array();
var SDEPrefix = new Array();
var fieldNameList = new Array();
var fieldAliasList = new Array();
var selectidFieldNameList = new Array();
var fieldTypeList = new Array(); // don't fill, CX fills automatically
var HyperLinkFields = new Array();
var HyperLinkAliases = new Array();
var HyperLinkPrefixes = new Array();
var HyperLinkSuffixes = new Array();
var customQueryFieldNameList = new Array();
var dataAllCaps = new Array();
var mailingOwnerFieldNameList = new Array();
var mailingResidentFieldNameList = new Array();
var reportHeaderFieldNameList = new Array();
var legalInfoList = new Array();
var legalCountList = new Array();  // filled by CX
var combinedFieldInfoList = new Array();
var fieldsWithDescriptions = new Array();
var fieldsWithDescr_links = new Array();
// PDF mailing labels
var mailingOwnerFieldName = new Array();		// field with owner name (for filtering duplicates)
var mailingOwnerFilterStatus = new Array();		// true or false, whether to filter for duplicate owner names
var mailingOwnerLabelLine1 = new Array();
var mailingOwnerLabelLine2 = new Array();
var mailingOwnerLabelLine3 = new Array();
var mailingOwnerLabelLine4 = new Array();
var mailingOwnerLabelLine5 = new Array();
var mailingResidentLabelLine1 = new Array();
var mailingResidentLabelLine2 = new Array();
var mailingResidentLabelLine3 = new Array();
var mailingResidentLabelLine4 = new Array();
var mailingResidentLabelLine5 = new Array();

/* list of all possible
mapserviceID[x] = ""; // the unique ID of the layer in the mapservice (use ArcMap Name if MXD)
SDEPrefix[x] = "";  // data path prefix for SDE field names (specify only for SDE layers)
fieldNameList[x] = new Array();  // actual field names, in order to be displayed (setting field names & aliases makes layer selectable and IDable)
fieldAliasList[x]  = new Array();  // corresponding field aliases, in same order as field names
selectidFieldNameList[x] = new Array(); // fields to show on select/id (use to show abbreviated list, but have longer field list for reports)
HyperLinkFields[x] = new Array();  // field to be used for hyperlink
HyperLinkAliases[x] = new Array();  // aliases for hyperlink fields (value of "use field value" will make the field display be the field value, not an alias)
HyperLinkPrefixes[x] = new Array();  // prefix (if any) to place before field value to make hyperlink url
HyperLinkSuffixes[x] = new Array();  // suffix (if any) to place after field value to make hyperlink url
customQueryFieldNameList[x] = new Array();  // field names available in custom query dialog (setting field names makes layer Queryable in custom dialog on specified fields; field names listed must also be included in field name and alias lists for ID; only works for string, numeric or date fields, not boolean or shape!)
dataAllCaps[x] = true/false;  // if true will push all user entered search strings to upper case automatically for that layer (default is false)
mailingInfoFieldNameList[x] = new Array();  // field names to be shown for mailing info display, in order to be displayed
reportHeaderFieldNameList[x] = new Array();  // field names to be used as headers on printable reports
combinedFieldInfoList[x] = new Array();  // fields to be combined as one display item; contains in order, {"Display Alias",<true/false(include in short list display)>,"field1","field2","field3"....}
legalInfoList[x] = new Array();  // 3 part array, contains in order, {"FIELD NAME PREFIX","Alias",<true/false(include in short list display)>,}
fieldsWithDescriptions[x] = new Array();  // array of field names to have web links; These fields must exist in the Name/Alias lists!
fieldsWithDescr_links[x] = new Array();  //corresponding list of the web links to use for the field names
*/
// ************* EDIT ONLY BELOW HERE!!!*******************************
//*****************************************************
//  property & land info
//*****************************************************
// parcel query
groupIndexCount = 0;
mapserviceID[groupIndexCount] = "grouped-parcels";
fieldNameList[groupIndexCount] = new Array("PIN","SITE_ADDRE","SITE_APT","PROPERTY","TAX_NAME","TAX_CO","TAX_STREET","TAX_CITY","TAX_ST","TAX_ZIP","SEV","TAXABLE","SCHOOL","HOMESTEAD","CLASS","ACREAGE","PINMAIL");
fieldAliasList[groupIndexCount]  = new Array("PIN","Parcel Address","Parcel Unit Number","Parcel City-State-Zip","Taxpayer Name","Taxpayer Name-care of","Taxpayer Address","Taxpayer City","Taxpayer State","Taxpayer Zipcode","Assessed Value","Taxable Value","School District","Homestead Pct","Land Class","Estimated Acreage","PIN");
selectidFieldNameList[groupIndexCount] = new Array("PIN","SITE_ADDRE","TAX_NAME","ACREAGE");
customQueryFieldNameList[groupIndexCount] = new Array("PIN","SITE_ADDRE","TAX_NAME","TAX_CO","SEV","TAXABLE","SCHOOL","HOMESTEAD","CLASS","ACREAGE");
mailingOwnerFieldNameList[groupIndexCount] = new Array("PIN","SITE_ADDRE","SITE_APT","PROPERTY","TAX_NAME","TAX_CO","TAX_STREET","TAX_CITY","TAX_ST","TAX_ZIP")
mailingResidentFieldNameList[groupIndexCount] = new Array("PIN","SITE_ADDRE","SITE_APT","PROPERTY","TAX_NAME","TAX_CO","TAX_STREET","TAX_CITY","TAX_ST","TAX_ZIP");
reportHeaderFieldNameList[groupIndexCount] = new Array("PIN","SITE_ADDRE","TAX_NAME");
legalInfoList[groupIndexCount] = new Array("LEGALDIST","Legal Description",true)
HyperLinkFields[groupIndexCount] = new Array("PIN");  
HyperLinkAliases[groupIndexCount] = new Array("use field value"); 
HyperLinkPrefixes[groupIndexCount] = new Array("https://is.bsasoftware.com/bsa.is/AssessingServices/ServiceAssessingSearchResults.aspx?p=");  
HyperLinkSuffixes[groupIndexCount] = new Array("&i=1&appid=0&unit=233"); 
// parcel mailing labels
mailingOwnerFieldName[groupIndexCount] = "TAX_NAME";
mailingOwnerFilterStatus[groupIndexCount] = false;
mailingOwnerLabelLine1[groupIndexCount] = new Array("PINMAIL");
mailingOwnerLabelLine2[groupIndexCount] = new Array("TAX_NAME");
mailingOwnerLabelLine3[groupIndexCount] = new Array("TAX_CO","TAX_STREET");
mailingOwnerLabelLine4[groupIndexCount] = new Array("TAX_CITY",", ","TAX_ST","TAX_ZIP");
mailingOwnerLabelLine5[groupIndexCount] = new Array();
mailingResidentLabelLine1[groupIndexCount] = new Array("PINMAIL");
mailingResidentLabelLine2[groupIndexCount] = new Array("CURRENT RESIDENT");
mailingResidentLabelLine3[groupIndexCount] = new Array("SITE_ADDRE","SITE_APT");
mailingResidentLabelLine4[groupIndexCount] = new Array("PROPERTY");
mailingResidentLabelLine5[groupIndexCount] = new Array();

// historic places
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "optional-histplace";
fieldNameList[groupIndexCount] = new Array("NAME","ADDRESS","THE_YEAR__");
fieldAliasList[groupIndexCount]  = new Array("Name","Address","Year Est. As Historic");

// mowed properties
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "optional-mow";
fieldNameList[groupIndexCount] = new Array("TYPE","LOCATION","MAP_TITLE","ACREAGE","FRQUNCY");
fieldAliasList[groupIndexCount]  = new Array("Property Type","Location","Map Title","Est. Acreage","Frequency");

// neighborhoods
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-neighborhood";
fieldNameList[groupIndexCount] = new Array("NGHBR_NAME","BLOCK_GRAN");
fieldAliasList[groupIndexCount]  = new Array("Neighborhood Name","Designated Block Grant Nghbrhd");
customQueryFieldNameList[groupIndexCount] = new Array("NGHBR_NAME","BLOCK_GRAN");

// ren zones
//groupIndexCount += 1;
//mapserviceID[groupIndexCount] = "optional-renaissance";
//fieldNameList[groupIndexCount] = new Array("");
//fieldAliasList[groupIndexCount]  = new Array("");

// rentals
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "optional-rentals";
fieldNameList[groupIndexCount] = new Array("ADDRESS","AGENT_NAME","CERTDATE","REVOKED","UNITS");
fieldAliasList[groupIndexCount]  = new Array("Address","Agent Name","Certification Date","Revoked Date","Dwelling Units");
customQueryFieldNameList[groupIndexCount] = new Array("AGENT_NAME","CERTDATE","REVOKED","UNITS");

// local historic districts
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-historic";
fieldNameList[groupIndexCount] = new Array("DISTRICT","EST_DATE");
fieldAliasList[groupIndexCount]  = new Array("District Name","Established Date");

// national historic districts
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-nathistdist";
fieldNameList[groupIndexCount] = new Array("DISTRICT","EST_YEAR","ADD_YEAR");
fieldAliasList[groupIndexCount]  = new Array("District Name","Year Established","Addition Date");

// voting precincts
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-voting";
fieldNameList[groupIndexCount] = new Array("CITYPRECIN","LOCATION","ADDRESS");
fieldAliasList[groupIndexCount]  = new Array("Precinct Number","Precinct Location","Precinct Address");

// School Property
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "optional-schprop";
fieldNameList[groupIndexCount] = new Array("NAME");
fieldAliasList[groupIndexCount]  = new Array("School Name");

// zoning districts
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-zoning";
fieldNameList[groupIndexCount] = new Array("GDS_NAME","ZONE_NAME");
fieldAliasList[groupIndexCount]  = new Array("Zone Code","Zone Name");

// emergency service zones
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-esz";
fieldNameList[groupIndexCount] = new Array("DEPT_NO","PRIMARY_ST","DEPT_ZONE","FULLZONE");
fieldAliasList[groupIndexCount]  = new Array("Dept. No.","Primary St.","Dept. Zone","Full Zone");

//*****************************************************
//  transportation
//*****************************************************
// bus stops
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "grouped-busstops";
fieldNameList[groupIndexCount] = new Array("ROUTE");
fieldAliasList[groupIndexCount]  = new Array("Route Number");

// bus routes
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "grouped-busroute";
fieldNameList[groupIndexCount] = new Array("ROUTE","NAME");
fieldAliasList[groupIndexCount]  = new Array("Route Number","Route Name");

// public parking
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "grouped-pubpark";
fieldNameList[groupIndexCount] = new Array("LOT__","SPACES", "RATE", "TYPE");
fieldAliasList[groupIndexCount]  = new Array("Lot Number","Number of Spaces", "Rate", "Type");

//*****************************************************
//  natural
//*****************************************************
// hydro
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "grouped-city-water";
fieldNameList[groupIndexCount] = new Array("TYPE","SHAPE_LEN","SHAPE_AREA");
fieldAliasList[groupIndexCount]  = new Array("Type","Estimated Perimeter","Estimated Area");

// parks
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "optional-parks";
fieldNameList[groupIndexCount] = new Array("PL_NAME","PARKLANDS","SITE_ADDRE","ACREAGE","LINK","BASKETBALL","CANOE_LAUN","DISC_GOLF","FISHING","GOLF_COURS","PLAYGROUND","RUNNING_TR","SOCCER","SOFTBALL_F","SWIMMING","TENNIS","VOLLEYBALL","NATURE_WAL","SLEDDING","DRINKING_F","ELECTRIC","GRILLS","PICNIC_TAB","TOILET");
fieldAliasList[groupIndexCount]  = new Array("Park Name","Park Type","Address","Estimated Acreage","Web Link","Basketball","Canoe Launch","Disc Golf","Fishing","Golf Course","Playground","Running Track","Soccer","Softball Field","Swimming","Tennis","Volleyball","Nature Walk/Study","Sledding","Drinking Fountain","Electric","Grills","Picnic Tables","Toilet");
customQueryFieldNameList[groupIndexCount] = new Array("PL_NAME","PARKLANDS","BASKETBALL","CANOE_LAUN","DISC_GOLF","FISHING","GOLF_COURS","PLAYGROUND","RUNNING_TR","SOCCER","SOFTBALL_F","SWIMMING","TENNIS","VOLLEYBALL","NATURE_WAL","SLEDDING","DRINKING_F","ELECTRIC","GRILLS","PICNIC_TAB","TOILET");
HyperLinkFields[groupIndexCount] = new Array("LINK");
HyperLinkAliases[groupIndexCount] = new Array("use field value");
HyperLinkPrefixes[groupIndexCount] = new Array("");
HyperLinkSuffixes[groupIndexCount] = new Array("");

// trees
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "optional-trees";
fieldNameList[groupIndexCount] = new Array("UNIQUEID","SITE","SPP","COMMON_NAM","DBH","SIZE");
fieldAliasList[groupIndexCount]  = new Array("Remote ID","Site","Species","Common Name","DBH","Space Size")

// soils
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-soils";
fieldNameList[groupIndexCount] = new Array("MUSYM","NAME");
fieldAliasList[groupIndexCount]  = new Array("Symbol","Soil Name");

// floodplains
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-fema";
fieldNameList[groupIndexCount] = new Array("FLD_ZONE");
fieldAliasList[groupIndexCount]  = new Array("Zone Name");

// NWI Wetlands
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "grouped-wetlands";
fieldNameList[groupIndexCount] = new Array("NWI_CODE","AREA","SYSTEM","SUBSYSTEM","CLASS","SUBCLASS","SEC_CLASS","SEC_SUBCLA","WATER","ACRES","SPEC_MOD");
fieldAliasList[groupIndexCount]  = new Array("NWI Code","Area (Sq. Ft.)","System","Subsystem","Class","Subclass","Secondary Class","Secondary Subclass","Water","Calculated Acres","Modifications");

//*****************************************************
//  PLSS
//*****************************************************
// Quarter Section Lines
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "optional-sections";
fieldNameList[groupIndexCount] = new Array("TWNRNGSEC","QRTSEC");
fieldAliasList[groupIndexCount]  = new Array("Twp. Range Section","Qtr. Section");

//*****************************************************
//  census
//*****************************************************
//census tracts
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-tracts";
fieldNameList[groupIndexCount] = new Array("TRACT","FIPS","POP2000","POP2001","WHITE","BLACK","AMERI_ES","ASIAN","HAWN_PI","OTHER","MULT_RACE","HISPANIC","MALES","FEMALES","AGE_UNDER5","AGE_5_17","AGE_18_21","AGE_22_29","AGE_30_39","AGE_40_49","AGE_50_64","AGE_65_UP","MED_AGE","MED_AGE_M","MED_AGE_F","HOUSEHOLDS","AVE_HH_SZ","HSEHLD_1_M","HSEHLD_1_F","MARHH_CHD","MARHH_NO_C","MHH_CHILD","FHH_CHILD","FAMILIES","AVE_FAM_SZ","HSE_UNITS","VACANT","OWNER_OCC","RENTER_OCC","POVRATE");
fieldAliasList[groupIndexCount]  = new Array("Tract","FIPS","Pop. 2000","Pop. 2001","White","Black","American Es.","Asian","Hawaiin-Pi","Other","Multi-race","Hispanic","Males","Females","Age <5","Age 5-17","Age 18-21","Age 22-29","Age 30-39","Age 40-49","Age 50-64","Age 65+","Med. Age","Med. Age M","Med. Age F","Households","Ave. Household Size","Household 1 Male","Household 1 Female","Mar HH w Ch","Mar HH No Child","Male HH w/ Child","Fem HH w/ Child","Families","Ave. Fam. Size","Hse. Units","Vacant","Owner Occ.","Renter Occ.","Pov. Rate");

//census blocks
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "overlay-blocks";
fieldNameList[groupIndexCount] = new Array("TRACT","BLOCK","POP2000","POP00_SQMI","WHITE","BLACK","AMERI_ES","ASIAN","HAWN_PI","OTHER","MULT_RACE","HISPANIC","MALES","FEMALES","AGE_UNDER5","AGE_5_17","AGE_18_21","AGE_22_29","AGE_30_39","AGE_40_49","AGE_50_64","AGE_65_UP","MED_AGE","MED_AGE_M","MED_AGE_F","HOUSEHOLDS","AVE_HH_SZ","HSEHLD_1_M","HSEHLD_1_F","MARHH_CHD","MARHH_NO_C","MHH_CHILD","FHH_CHILD","FAMILIES","AVE_FAM_SZ","HSE_UNITS","VACANT","OWNER_OCC","RENTER_OCC");
fieldAliasList[groupIndexCount]  = new Array("Tract","Block","Pop. 2000","Pop. 2000/Sq. Mi.","White","Black","American Es.","Asian","Hawaiin-Pi","Other","Multi-race","Hispanic","Males","Females","Age <5","Age 5-17","Age 18-21","Age 22-29","Age 30-39","Age 40-49","Age 50-64","Age 65+","Med. Age","Med. Age M","Med. Age F","Households","Ave. Household Size","Household 1 Male","Household 1 Female","Mar HH w Ch","Mar HH No Child","Male HH w/ Child","Fem HH w/ Child","Families","Ave. Fam. Size","Hse. Units","Vacant","Owner Occ.","Renter Occ.");

//*****************************************************
//  utilities
//*****************************************************
// storm structures
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "grouped-storm";
fieldNameList[groupIndexCount] = new Array("STORM_ID","STRUC_ID","STRUCTURE","LOCATION","MATERIAL","SECTION","CITY_TWP","DB");
fieldAliasList[groupIndexCount]  = new Array("Storm ID","Structure ID","Type","Location","Material","Section No.","Jurisdiction","Double Basin");
customQueryFieldNameList[groupIndexCount] = new Array("STORM_ID","STRUC_ID","STRUCTURE","LOCATION","MATERIAL","SECTION","CITY_TWP","DB");

// storm pipes
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "grouped-stormpipe";
fieldNameList[groupIndexCount] = new Array("ID","SIZE","SIZE_IRREG","MATERIAL","MAIN_SEG","CULVERT");
fieldAliasList[groupIndexCount]  = new Array("ID","Size","Size If Irregular","Material","Main Segment","Culvert Segment");
customQueryFieldNameList[groupIndexCount] = new Array("ID","SIZE","SIZE_IRREG","MATERIAL","MAIN_SEG","CULVERT");

// hydrants
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-hydrants";
fieldNameList[groupIndexCount] = new Array("FEATURE_ID","MAN_TEXT","HYDRANT_TY","OWNER","PRESSURE_Z","MAIN_DIA","COLLECT_DT");
fieldAliasList[groupIndexCount]  = new Array("Hydrant No.","Manufacturer","Type","Owner","Pressure Zone","Main Diameter","GPS Date")

// monitoring wells - TAA
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-twells";
fieldNameList[groupIndexCount] = new Array("WELL_ID","TAA_APP","TAA_DATE","TAA_TERM","SITE_ADD");
fieldAliasList[groupIndexCount]  = new Array("Well ID","TAA Applicant","TAA Date","TAA Term","TAA Site Address")

// monitoring wells
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-mwells";
fieldNameList[groupIndexCount] = new Array("TYPE_OF_WE","WELL_ID","PRESSURE_D","STATION_NU","ZNEXT_MAIN","TARGET_NEX","MAINT_PRIO","INSTALL_DA","DESIGN","DEPTH","ZDIAMETERS","ZLENGTH","INTERVAL","SLOT_SIZE","SCREEN_LEN","ZSETTING","PUMP_TYPE","DESIGN_CAP","SERIAL_NUM","ZPIPE_DIAM","HP","LAST_RIG_S","LAST_AUTO_","LAST_MAINT","CAPACITY","CAPACITY_M","ZAUTO_SURG","MECHANICAL","PUMP_WORK_","STEP_DRAWD","COMMENTS");
fieldAliasList[groupIndexCount]  = new Array("Well Type","Well ID","Pressure Dist.","Station","Cap. Maint. Date","Target Maint. Date","Maint. Priority","Install Date","Design","Depth","Diameter","Length","Interval","Slot Size","Screen Length","Setting","Type","Design Capacity","Serial No.","Pipe Diam.","HP","Last Rig Surge","Last Auto Surge","Last Maint.","Orig. Cap.","Recent Cap.","Proposed A/S Date","Next M/S Date","Next Work Date","Next S/D Date","Comments")

// production wells
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-pwells";
fieldNameList[groupIndexCount] = new Array("TYPE_OF_WE","WELL_ID","PRESSURE_D","STATION_NU","ZNEXT_MAIN","TARGET_NEX","MAINT_PRIO","INSTALL_DA","DESIGN","DEPTH","ZDIAMETERS","ZLENGTH","INTERVAL","SLOT_SIZE","SCREEN_LEN","ZSETTING","PUMP_TYPE","DESIGN_CAP","SERIAL_NUM","ZPIPE_DIAM","HP","LAST_RIG_S","LAST_AUTO_","LAST_MAINT","CAPACITY","CAPACITY_M","ZAUTO_SURG","MECHANICAL","PUMP_WORK_","STEP_DRAWD","COMMENTS");
fieldAliasList[groupIndexCount]  = new Array("Well Type","Well ID","Pressure Dist.","Station","Cap. Maint. Date","Target Maint. Date","Maint. Priority","Install Date","Design","Depth","Diameter","Length","Interval","Slot Size","Screen Length","Setting","Type","Design Capacity","Serial No.","Pipe Diam.","HP","Last Rig Surge","Last Auto Surge","Last Maint.","Orig. Cap.","Recent Cap.","Proposed A/S Date","Next M/S Date","Next Work Date","Next S/D Date","Comments")

// cross connections
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-conn";
fieldNameList[groupIndexCount] = new Array("HAZ_ID","SITE_ID","ADDRESS","COMPANY","ACCOUNTNUM","LOCATION","SIZE","DEVCODE","SERIALNO","MFG","MODEL","DEVSIZE","DEVTYPE","SURVEYDUE","LASTSURV","LAST_PF");
fieldAliasList[groupIndexCount]  = new Array("Unique ID","Site ID","Address","Company","Account Num","Location","Line Size","Device Code","Serial No.","Mfg","Model","Dev. Size","Dev. Type","Survey Due","Last Survey","Last Pass/Fail");
customQueryFieldNameList[groupIndexCount] = new Array("HAZ_ID","SITE_ID","COMPANY","SURVEYDUE","LASTSURV","LAST_PF","SIZE","DEVCODE","MFG","DEVTYPE");

// Rare Species - Area
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-raresppl";
fieldNameList[groupIndexCount] = new Array("FEATURE_ID","EO_ID","SNAME","SCOMNAME","ACREAGE","SURVEYSITE","DIRECTIONS","FIRSTOBS","LASTOBS","EO_DATA");
fieldAliasList[groupIndexCount]  = new Array("Feature ID","EO ID","Scientific Name","Common Name","Acreage","Survey Site","Directions","First Observation","Last Observation", "Observation Notes");

// Rare Species - Point
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-raresppt";
fieldNameList[groupIndexCount] = new Array("EO_ID","SNAME","SCOMNAME","EO_NUM","SURVEYSITE","DIRECTIONS","FIRSTOBS","LASTOBS","EODATA");
fieldAliasList[groupIndexCount]  = new Array("EO ID","Scientific Name","Common Name","Obs. Num","Survey Site","Directions","First Observation","Last Observation", "Observation Notes");

// WW Sanitary Manholes
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-sanman";
fieldNameList[groupIndexCount] = new Array("MAN_ID","MAN_MAT","MAN_TYPE","MAN_FV","COVER_MSNG","UNDR_WATER","CVR_AT_GRD","AMT_GR","MAN_LEAK","LEAK_FROM","WAT_AMT","OTHR_DESC","NOTES");
fieldAliasList[groupIndexCount]  = new Array("ID","Material","Type","Frame/Cover Type","Cover Missing","Under Water","Cover at Grade","If no, how much","Leaking","If yes, from where","If yes, how much","Desc.","Notes")

// Sanitary Manholes
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-sanman2";
fieldNameList[groupIndexCount] = new Array("ID_NUMBER","STRUCTURE","LOCATION","MATERIAL","DEP_TO_BTM","TREATMENT","COND","COND1","COND2","COND3","COND4","LEAK_LOCAT","LEAK_AMT","PIPE_SIZE","PIPES_IN","PIPE_OUT1","PHOTO_ID");
fieldAliasList[groupIndexCount]  = new Array("ID","Structure","Location","Material","Depth to Bottom","Treatment","Condition","Condition1","Condition2","Condition3","Condition4","Leak Location","Leak Amount","Pipe Size","Pipes In","Pipes Out","Photo ID")

// WW Sanitary Gravity Mains
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-sanpipes";
fieldNameList[groupIndexCount] = new Array("DIAMETER","YINSTALLED","ITERCEPTOR","DRY");
fieldAliasList[groupIndexCount]  = new Array("Diameter","Year Installed","Interceptor","Dry")

// 10-Year Capture Zones
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-10yrcap";
fieldNameList[groupIndexCount] = new Array("AREA_FEET","ACRES","ZONE","STATION");
fieldAliasList[groupIndexCount]  = new Array("Square Feet","Acres","Capture Zone","Station Num");

// 5-Year Capture Zones
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-5yrcap";
fieldNameList[groupIndexCount] = new Array("AREA_FEET","ACRES","ZONE","STATION");
fieldAliasList[groupIndexCount]  = new Array("Square Feet","Acres","Capture Zone","Station Num");

// 1-Year Capture Zones
groupIndexCount += 1;
mapserviceID[groupIndexCount] = "restricted-1yrcap";
fieldNameList[groupIndexCount] = new Array("AREA_FEET","ACRES","ZONE","STATION");
fieldAliasList[groupIndexCount]  = new Array("Square Feet","Acres","Capture Zone","Station Num");

