//============================
// 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 += "Digital spatial files of the Preliminary Flood Hazard Information for Des Moines County, IA will be released upon your concurrence to the following conditions: ";
Disclaimer += "This flood hazard information is preliminary and for outreach, advisory and review purposes only.  ";
Disclaimer += "This flood hazard information is preliminary and subject to revision. ";
Disclaimer += "This flood hazard information should not be used for regulation, enforcement or insurance rating purposes.  ";
Disclaimer += "This flood hazard information should not be distributed.  ";
Disclaimer += "The flood hazard information should not be used for mandatory flood insurance requirement purposes.  ";


// 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
