//============================
// JavaScript custom settings.
//============================
// Title and home page
var WebsiteTitle = "Guilford County GIS Data Viewer";
var HomePage = "http://gcms0004.co.guilford.nc.us/";
var MetadataDir = "http://127.0.0.1/WebsiteData/Guilford/Metadata";

// Parcel layer id from AXL file
var ParcelLayerId = "20";

// 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 = 2000000.002616666; //False easting of central meridian, map units
var FalseNorthing = 0.0;                  //False northing, map units
var CentralMeridian = -79.0;              //central meridian
var Lat1stParallel = 34.333333333333343;  //latitude of first standard parallel (Small#)
var Lat2ndParallel = 36.166666666666657;  //latitude of second standard parallel
var LatOrigin = 33.75;  	               //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 += "This map is prepared for the inventory of real property found within this ";
Disclaimer += "jurisdiction, and is compiled from recorded deeds, plats and other public ";
Disclaimer += "records and data. Users of this map are hereby notified that the aforementioned ";
Disclaimer += "public primary information sources should be consulted for verification of ";
Disclaimer += "the information contained on this map. The County assumes no legal ";
Disclaimer += "responsibility for the information contained on this map.";

// 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
