//============================
// JavaScript custom settings.
//============================
// Title and home page
var WebsiteTitle = "Fond du Lac Reservation, Minnesota";
//var HomePage = "http://www.co.CustomerName.StateCode.us";
var HomePage = "http://www.fdlrez.com";
var MetadataDir = "http://127.0.0.1/FDLGISdata/Metadata";

// Parcel layer id from AXL file
var ParcelLayerId = "0";

// Toggle icons, map refresh
var ToggleTools = false;
var AutoRefresh = true;

// 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 = 4;

// Search tolerance in pixels (radius)
var SearchTolerance = 4;

// Default circle radius
var CircleRadius = 1000;

// From ArcMap->Properties->Source 
var CentralMeridianEasting = 500000;   //False easting of central meridian, map units
var FalseNorthing = 0.0;         //False northing, map units
var CentralMeridian = -93;     //central meridian
var Lat1stParallel = 20;  	   //latitude of first standard parallel (Small#)
var Lat2ndParallel = 80;  //latitude of second standard parallel
var LatOrigin = 0.0;  	   //latitude of origin

// Misc.
var MapUnits = "Meters";
var ScreenDPI = 96;
var CoordFeet = true; // Toggle for feet or lat/lon readout
var LockTimeout = 10;  // Unlock website time

// Pop-up disclaimer.
var Disclaimer = "";
Disclaimer += "Disclaimer: Fond du Lac Reservation makes no representations about the ";
Disclaimer += "suitability of this map for any purpose.  The map is provided 'as  ";
Disclaimer += "is' without expressed or implied warranties, including warranties of ";
Disclaimer += "merchantability, and fitness for a particular purpose or noninfringement. ";
      
// 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

