//============================
// JavaScript custom settings.
//============================
// Title and home page
var WebsiteTitle = "Des Moines County GIS";
var HomePage = "http://www.dmcgis.com";
var MetadataDir = "http://www.dmcgis.com/WebsiteData/DesMoines/Metadata";

// Parcel layer id from AXL file
var ParcelLayerId = "100";

// Toggle icons, map refresh
var ToggleTools = false;
var AutoRefresh = false;

// Max allowed number select
var MaxSelectedFeatures = 2000;
var MaxBufferFeatures = 500;

// Pan-Zoom scale factor
var ZoomFactor = 3;
var PanFactor = 0.5;

// Number of decimals to show in xy coordinate readout in status bar
var NumXYDecimals = 2;

// Search tolerance in pixels (radius)
var SearchTolerance = 4;

// Default circle radius
var CircleRadius = 1000;

// From ArcMap->Properties->Source 
var CentralMeridianEasting = 1640416.666667;   //False easting of central meridian, map units
var FalseNorthing = 0.0;         //False northing, map units
var CentralMeridian = -93.5;     //central meridian
var Lat1stParallel = 40.61;  	   //latitude of first standard parallel (Small#)39
var Lat2ndParallel = 41.78;  //latitude of second standard parallel 42
var LatOrigin = 40;  	   //latitude of origin

// Misc.
var MapUnits = "Feet";
var ScreenDPI = 96;
var CoordFeet = false; // Toggle for feet or lat/lon readout
var LockTimeout = 10;  // Unlock website time

// Pop-up disclaimer.
var Disclaimer = "";
Disclaimer += "The data provided on this site is prepared for the inventory of real property found within Des Moines County, IA and is compilied from recorded plats, deeds, and other public records and data.  ";
Disclaimer += "This data is for informational purposes only and should not be substituted for a ture title search, property appraisal, survey, or for zoning verification.  ";
Disclaimer += "This flood hazard information is preliminary and subject to revision. ";
Disclaimer += "Des Moines County, IA assumes no legal responsibility for the information contained in this data.  ";
Disclaimer += "Map data is based on the Iowa state plane coordinate system, NAD83.  "


// Colors.
var MenuBackgroundColor = "rgb(236,233,216)";
var MenuBorderColor = "Gray";

var PullDownBackgroundColor = "rgb(252,252,249)";
var PullDownBorderColor = "Gray";

var HoverBackgroundColor = "rgb(203,220,248)";
var HoverBorderColor = "#0066FF";

var HighlightBackgroundColor = "rgb(255,255,220)";
var HighlightBorderColor = "Red";

var DataFrameBackgroundColor = "white";
var MouseOutWhite = "white";
var MouseOutGray = "rgb(243,240,240)";
var MouseOutGreen = "rgb(220,230,255)"; // C!

var DisableGray = "silver";

// Programming constants
var MainMenuHeight = 57;      //Total height of pulldown and toolbar menus

