//*****************************************************************
//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 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();

/* 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
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","field1","field2","field3"....}
legalInfoList[x] = new Array(); // 2 part array, contains in order, {"FIELD NAME PREFIX","Alias"}
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!!!*******************************

// parcel query
mapserviceID[0] = "optional-parcels";
fieldNameList[0] = new Array("PIN","ENGHOUS","ENGUNIT","STREET","CITYNAME","ZIP","ENPN1","ENPN2","ENPADD1","ENPADD2","ENHN1","ENHN2","ENHADD1","ENHADD2","EDACRESN","EDSQ","FRONACT","TAXDESC","EDPLAT","RECORDED","ABSTRACT_D","TORRENS_D","LUCDESC","EVCDSC","ETEVLA2011","ETEVBL2011","ETEVTL2011","ETTXTL2011","ETEVLA2010","ETEVBL2010","ETEVTL2010","ETTXTL2010","ETEVLA2009","ETEVBL2009","ETEVTL2009","ETTXTL2009","LASTSALE","SALEPRICE","HSDESC","LIV","YR","SFLAN","XWALLDESC","STYLEDESC","STORIESN","RM","BED","STRDESC","TOPODESC","UTILDESC","SDISTDESC","EDWSHD");
fieldAliasList[0] = new Array("Parcel ID","Street Number","Unit","Street","City","ZIP","Owner Name 1","Owner Name 2","Owner Street Address","Owner City/State/Zip","Homesteader Name 1","Homesteader Name 2","Homesteader Street Address","Homesteader City/State/Zip","Deeded Acres","Deeded Area (sq.ft.)","Approximate Lot Frontage (ft)","Tax Description","Plat Name","Date Plat Recorded","Abstract ID", "Torrens ID","County Land Use Code (CAMA)","County Land Use Code (PR&R)","Market Value Land 2011","Market Value Bldg 2011","Market Value Total 2011","Total Tax Payable 2011","Market Value Land 2010","Market Value Bldg 2010","Market Value Total 2010","Total Tax Payable 2010","Market Value Land 2009","Market Value Bldg 2009","Market Value Total 2009","Total Tax Payable 2009","Date of Last Sale","Sale Price","Homestead Description","Number of Residential Units","Year Built","Total Residential Living Area"," Residence Exterior","Residence Style","Residence Number of Stories","Residence Number of Rooms","Residence Number of Bedrooms","Commercial Structure Type","Topography","Utilities","School District","Watershed District");
customQueryFieldNameList[0] = new Array("PIN","ENGHOUS","STREET","CITYNAME","ZIP","EDSQ","FRONACT","LUCDESC","EVCDSC","HSDESC","ETEVLA2011","ETEVBL2011","ETEVTL2011","ETTXTL2011","ETEVLA2010","ETEVBL2010","ETEVTL2010","ETTXTL2010","ETEVLA2009","ETEVBL2009","ETEVTL2009","ETTXTL2009","LASTSALE","SALEPRICE","EDPLAT","LIV","YR","SFLAN","XWALLDESC","STYLEDESC","STORIESN","RM","BED","STRDESC","SDISTDESC");
mailingOwnerFieldNameList[0] = new Array("PIN","ENPN1","ENPN2","ENPADD1","ENPADD2");
mailingResidentFieldNameList[0] = new Array("ENGHOUS","STREET","ENGUNIT","CITYNAME","ZIP");
reportHeaderFieldNameList[0] = new Array("PIN","ENGHOUS","STREET","CITYNAME","ENPN1")
// point query
mapserviceID[1] = "optional-parcelpts";
fieldNameList[1] = new Array("PIN","ENGHOUS","ENGUNIT","STREET","CITYNAME","ZIP","ENPN1","ENPN2","ENPADD1","ENPADD2","ENHN1","ENHN2","ENHADD1","ENHADD2","EDACRESN","EDSQ","FRONACT","TAXDESC","EDPLAT","RECORDED","ABSTRACT_D","TORRENS_D","LUCDESC","EVCDSC","ETEVLA2011","ETEVBL2011","ETEVTL2011","ETTXTL2011","ETEVLA2010","ETEVBL2010","ETEVTL2010","ETTXTL2010","ETEVLA2009","ETEVBL2009","ETEVTL2009","ETTXTL2009","SALEPRICE","HSDESC","LIV","YR","SFLAN","XWALLDESC","STYLEDESC","STORIESN","RM","BED","STRDESC","TOPODESC","UTILDESC","SDISTDESC","EDWSHD");
fieldAliasList[1] = new Array("Parcel ID","Street Number","Unit","Street","City","ZIP","Owner Name 1","Owner Name 2","Owner Street Address","Owner City/State/Zip","Homesteader Name 1","Homesteader Name 2","Homesteader Street Address","Homesteader City/State/Zip","Deeded Acres","Deeded Area (sq.ft.)","Approximate Lot Frontage (ft)","Tax Description","Plat Name","Date Plat Recorded","Abstract ID", "Torrens ID","County Land Use Code (CAMA)","County Land Use Code (PR&R)","Market Value Land 2011","Market Value Bldg 2011","Market Value Total 2011","Total Tax Payable 2011","Market Value Land 2010","Market Value Bldg 2010","Market Value Total 2010","Total Tax Payable 2010","Market Value Land 2009","Market Value Bldg 2009","Market Value Total 2009","Total Tax Payable 2009","Date of Last Sale","Sale Price","Homestead Description","Number of Residential Units","Year Built","Total Residential Living Area"," Residence Exterior","Residence Style","Residence Number of Stories","Residence Number of Rooms","Residence Number of Bedrooms","Commercial Structure Type","Topography","Utilities","School District","Watershed District");
customQueryFieldNameList[1] = new Array("PIN","ENGHOUS","STREET","CITYNAME","ZIP","EDSQ","FRONACT","LUCDESC","EVCDSC","HSDESC","ETEVLA2011","ETEVBL2011","ETEVTL2011","ETTXTL2011","ETEVLA2010","ETEVBL2010","ETEVTL2010","ETTXTL2010","ETEVLA2009","ETEVBL2009","ETEVTL2009","ETTXTL2009","LASTSALE","SALEPRICE","EDPLAT","LIV","YR","SFLAN","XWALLDESC","STYLEDESC","STORIESN","RM","BED","STRDESC","SDISTDESC");
mailingOwnerFieldNameList[1] = new Array("PIN","ENPN1","ENPN2","ENPADD1","ENPADD2");
mailingResidentFieldNameList[0] = new Array("ENGHOUS","STREET","ENGUNIT","CITYNAME","ZIP");
reportHeaderFieldNameList[1] = new Array("PIN","ENGHOUS","STREET","CITYNAME","ENPN1")
// cities
mapserviceID[2] = "base-citylimits"; 
fieldNameList[2] = new Array("CITY","ACRES"); 
fieldAliasList[2] = new Array("Municipality Name","Area in acres");
customQueryFieldNameList[2] = new Array("CITY","ACRES");
// street centerlines
mapserviceID[12] = "optional-streets"; 
fieldNameList[12] = new Array("STREETNAME","LYR","DISTANCE");
fieldAliasList[12] = new Array("Street Name","Street Classification","Length of Street Segment (feet)");
customQueryFieldNameList[12] = new Array("STREETNAME","LYR");
// water
mapserviceID[16] = "optional-water";
fieldNameList[16] = new Array("AREA","PERIMETER");
fieldAliasList[16] = new Array("Estimated Area-sq.ft.","Estimated Perimeter-ft");
// buildings
mapserviceID[17] = "optional-buildings";
fieldNameList[17] = new Array("AREA");
fieldAliasList[17] = new Array("Building Footprint Area-sq.ft.");
customQueryFieldNameList[17] = new Array("AREA");
//GENERALIZED EXISTING LAND USE 2000
mapserviceID[35] = "overlay-landuse2000";
fieldNameList[35] = new Array("CLASS","ACRES");
fieldAliasList[35] = new Array("Generalized Existing Land Use Classification (2000)", "Area in acres");
customQueryFieldNameList[35] = new Array("CLASS","ACRES");
fieldsWithDescriptions[35] = new Array("CLASS");
fieldsWithDescr_links[35] = new Array("http://www.datafinder.org/metadata/landuse_2000.htm");
//PLANNED LAND USE
mapserviceID[34] = "overlay-plannedlanduse";
fieldNameList[34] = new Array("MCD_NAME","DESC","PLUSE","PLU_DESC","HSG_DEN","HSGDEN_RNG","ACRES");
fieldAliasList[34] = new Array("Municipality", "Planned Land Use Regional Level 1 Description","Planned Land Use Unique Community Description","Planned Land Use Regional Level 2 Description","Housing Density - units per acre","Housing Density Description","Area in acres");
customQueryFieldNameList[34] = new Array("MCD_NAME","DESC","PLUSE","PLU_DESC","HSG_DEN","HSGDEN_RNG","ACRES");
fieldsWithDescriptions[34] = new Array("DESC");
fieldsWithDescr_links[34] = new Array("http://www.datafinder.org/metadata/landuse_planned.htm");
//WETLANDS
mapserviceID[31] = "overlay-wetlands";
fieldNameList[31] = new Array("NOTE","ACRES");
fieldAliasList[31] = new Array("Wetland Type", "Area in acres");
customQueryFieldNameList[31] = new Array("NOTE","ACRES");
//WET-NWI88
mapserviceID[30] = "overlay-nwi";
fieldNameList[30] = new Array("NOTE_NWI","ACRES_NWI");
fieldAliasList[30] = new Array("NWI Wetland Type", "Area in acres");
customQueryFieldNameList[30] = new Array("NOTE_NWI", "ACRES_NWI");
//GEO-SOILS
mapserviceID[23] = "overlay-soils";
fieldNameList[23] = new Array("NAME_SL","ACRES_SL","NOTE_SL");
fieldAliasList[23] = new Array("Generalized Soil Type","Area in acres","Soil Type Details");
customQueryFieldNameList[23] = new Array("NAME_SL", "ACRES_SL");
//GEO-GLACIAL
mapserviceID[22] = "overlay-glacial";
fieldNameList[22] = new Array("NOTES_GG","ACRES_GG");
fieldAliasList[22] = new Array("Glacial Soil Type","Area in acres");
//CONTOURS
mapserviceID[8] = "optional-contours";
fieldNameList[8] = new Array("CONTOUR");
fieldAliasList[8] = new Array("2 foot Contour Value");
customQueryFieldNameList[8] = new Array("CONTOUR");
fieldsWithDescriptions[8] = new Array("CONTOUR");
fieldsWithDescr_links[8] = new Array("http://maps.metro-inet.us/ramseycogiscontours/Contours_Metadata.htm");
//DEPTHTOWT
mapserviceID[7] = "optional-depthtowater";
fieldNameList[7] = new Array("ELEVATION");
fieldAliasList[7] = new Array("Depth");
customQueryFieldNameList[7] = new Array("ELEVATION");
//FEMA
mapserviceID[21] = "overlay-fema";
fieldNameList[21] = new Array("ZONE_","FIRM_PANEL","AREA");
fieldAliasList[21] = new Array("FEMA Zone", "FEMA Panel", "Area (sq.ft.)");
customQueryFieldNameList[21] = new Array("ZONE_","FIRM_PANEL");
//ZIP CODE
mapserviceID[20] = "overlay-zip";
fieldNameList[20] = new Array("ZIP");
fieldAliasList[20] = new Array("ZIP Code");
customQueryFieldNameList[20] = new Array("ZIP");
//PARLINES
mapserviceID[19] = "optional-lotlines";
fieldNameList[19] = new Array("LYR");
fieldAliasList[19] = new Array("Lot Line Type: where 'C' suffix = computed line otherwise digitized line");
customQueryFieldNameList[19] = new Array("LYR");
fieldsWithDescriptions[19] = new Array("LYR");
fieldsWithDescr_links[19] = new Array("http://www.datafinder.org/metadata/rams_parcel_lines.htm");
//COMMISSIONER DISTRICT
mapserviceID[29] = "overlay-commissionerdist";
fieldNameList[29] = new Array("DISTRICT","COMMISSION");
fieldAliasList[29] = new Array("District", "County Commissioner");
customQueryFieldNameList[29] = new Array("DISTRICT","COMMISSION");
HyperLinkFields[29] = new Array("DISTRICT");
HyperLinkAliases[29] = new Array("use field value");
HyperLinkPrefixes[29] = new Array("http://www.co.ramsey.mn.us/cb/district");
HyperLinkSuffixes[29] = new Array("/index.asp");
fieldsWithDescriptions[29] = new Array("DISTRICT");
fieldsWithDescr_links[29] = new Array("http://www.co.ramsey.mn.us/cb/index.asp");
//SCHOOL-ATTENDANCE-BDY-HIGH
mapserviceID[27] = "overlay-schoolbdyhigh";
fieldNameList[27] = new Array("HIGH","FIRST_SDNA");
fieldAliasList[27] = new Array("High School Name", "School District Name");
customQueryFieldNameList[27] = new Array("HIGH","FIRST_SDNA");
fieldsWithDescriptions[27] = new Array("HIGH");
fieldsWithDescr_links[27] = new Array("http://www.lmic.state.mn.us/chouse/metadata/sdatt03.html");
//SCHOOL-ATTENDANCE-BDY-MIDDLE
mapserviceID[26] = "overlay-schoolbdymiddle";
fieldNameList[26] = new Array("MIDD","FIRST_SDNA");
fieldAliasList[26] = new Array("Middle School Name", "School District Name");
customQueryFieldNameList[26] = new Array("MIDD","FIRST_SDNA");
fieldsWithDescriptions[26] = new Array("MIDD");
fieldsWithDescr_links[26] = new Array("http://www.lmic.state.mn.us/chouse/metadata/sdatt03.html");
//SCHOOL-ATTENDANCE-BDY-ELEM
mapserviceID[25] = "overlay-schoolbdyelem";
fieldNameList[25] = new Array("ELEM","FIRST_SDNA");
fieldAliasList[25] = new Array("Elementary School Name", "School District Name");
customQueryFieldNameList[25] = new Array("ELEM","FIRST_SDNA");
fieldsWithDescriptions[25] = new Array("ELEM");
fieldsWithDescr_links[25] = new Array("http://www.lmic.state.mn.us/chouse/metadata/sdatt03.html");
//PARKS-REVISED
mapserviceID[24] = "overlay-parks";
fieldNameList[24] = new Array("TYPE","PROPERTY_N","ACRES");
fieldAliasList[24] = new Array("Park Classification", "Park Name", "Area in acres");
customQueryFieldNameList[24] = new Array("TYPE","PROPERTY_N","ACRES");
//TRAILS
mapserviceID[11] = "optional-trails";
fieldNameList[11] = new Array("NAME","SHAPE_LENG","TYPE","CATEGORY","PUSE");
fieldAliasList[11] = new Array("Trail Name", "Trail Length", "Trail Type","Trail Category","Primary Use");
customQueryFieldNameList[11] = new Array("NAME","TYPE","CATEGORY","PUSE");
//MnDOT cameras
mapserviceID[10] = "optional-cameras";
fieldNameList[10] = new Array("CAMERA");
fieldAliasList[10] = new Array("Minnesota Department of Transportation");
HyperLinkFields[10] = new Array("CAMERA");
HyperLinkAliases[10] = new Array("use field value");
HyperLinkPrefixes[10] = new Array("http://www.dot.state.mn.us/tmc/trafficinfo/metrocams/cameras/");
HyperLinkSuffixes[10] = new Array(".html");
fieldsWithDescriptions[10] = new Array("CAMERA");
fieldsWithDescr_links[10] = new Array("http://www.dot.state.mn.us");
// CENSUS 2000
mapserviceID[6] = "optional-census2000";
fieldNameList[6] = new
 Array("BLK00","STATE","CO","TRACT","BLOCK","P001001","P012002","P012026","P013001","P013002","P013003","PM1864","P012003","P012004","P012005","PM1519","PM2024","P012011","P012012","P012013","P012014","P012015","P012016","P012017","PM6064","PM6569","P012022","P012023","P012024","P012025","PF1864","P012027","P012028","P012029","PF1519","PF2024","P012035","P012036","P012037","P012038","P012039","P012040","P012041","PF6064","PF6569","P012046","P012047","P012048","P012049","P015001","P016001","P017001","H012002","H012003","P031001","P032001","P033001","H001001","H003002","H003003","H004002","H004003");
fieldAliasList[6] = new Array("Census Block Number","State Code","County Code","Tract ID","Block ID","Total Population","Population of Males","Population of Females","Median Age of Both Sexes","Median Age of Males","Median Age of Females","Population of Working Age Males 18-64 years","Population of Males Under 5 Years","Population of Males 5 to 9 Years","Population of Males 10 to 14 Years","Population of Males 15 to 19 Years","Population of Males 20 to 24 Years","Population of Males 25 to 29 Years","Population of Males 30 to 34 Years","Population of Males 35 to 39 Years","Population of Males 40 to 44 Years","Population of Males 45 to 49 Years","Population of Males 50 to 54 Years","Population of Males 55 to 59 Years","Population of Males 60 to 64 Years","Population of Males 65 to 69 Years","Population of Males 70 to 74 Years","Population of Males 75 to 79 Years","Population of Males 80 to 84 Years","Population of Males 85 Years and Over","Population of Working Age Females 18-64 years","Population of Females Under 5 Years","Population of Females 5 to 9 Years","Population of Females 10 to 14 Years","Population of Females 15 to 19 Years","Population of Females 20 to 24 Years","Population of Females 25 to 29 Years","Population of Females 30 to 34 Years","Population of Females 35 to 39 Years","Population of Females 40 to 44 Years","Population of Females 45 to 49 Years","Population of Females 50 to 54 Years","Population of Females 55 to 59 Years","Population of Females 60 to 64 Years","Population of Females 65 to 69 Years","Population of Females 70 to 74 Years","Population of Females 75 to 79 Years","Population of Females 80 to 84 Years","Population of Females 85 Years and Over","Total Households","Population in Households","Average Household Size","Average Household Size-Owner Occupied","Average Household Size-Renter Occupied","Number of Families","Population in Families","Average Family Size","Number of Housing Units","Number of Occupied Housing Units","Number of Vacant Housing Units","Number of Owner Occupied Housing Units","Number of Renter Occupied Housing Units");
customQueryFieldNameList[6] = new
 Array("BLK00","STATE","CO","TRACT","BLOCK","P001001","P012002","P012026","P013001","P013002","P013003","PM1864","P012003","P012004","P012005","PM1519","PM2024","P012011","P012012","P012013","P012014","P012015","P012016","P012017","PM6064","PM6569","P012022","P012023","P012024","P012025","PM1864","P012027","P012028","P012029","PF1519","PF2024","P012035","P012036","P012037","P012038","P012039","P012040","P012041","PF6064","PF6569","P012046","P012047","P012048","P012049","P015001","P016001","P017001","H012002","H012003","P031001","P032001","P033001","H001001","H003002","H003003","H004002","H004003");
fieldsWithDescriptions[6] = new Array("BLK00");
fieldsWithDescr_links[6] = new Array("http://www.census.gov");
//PUBSCH04-PUBLIC SCHOOLS
mapserviceID[5] = "optional-pubschl";
fieldNameList[5] = new Array("SDNUM","DIST_NAME","SCHNAME","ADDRESS","CITY","GRADE","CLASS");
fieldAliasList[5] = new Array("School District #", "School District Name", "School Name", "School Mailing Address","City","Range of Grades","School Type");
customQueryFieldNameList[5] = new Array("SDNUM","DIST_NAME","SCHNAME","GRADE","CLASS");
fieldsWithDescriptions[5] = new Array("DIST_NAME");
fieldsWithDescr_links[5] = new Array("http://www.lmic.state.mn.us/chouse/metadata/pubsch04.html");
//OTH02CC-OTHER SCHOOLS
mapserviceID[4] = "optional-otherschl";
fieldNameList[4] = new Array("UNI_MAJ","UNI_NAM","MLG_ADD_LN","MLG_CTY");
fieldAliasList[4] = new Array("School District #", "Other School Name", "School Mailing Address","City");
customQueryFieldNameList[4] = new Array("UNI_MAJ","UNI_NAM","MLG_CTY");


