//============================
// JavaScript custom settings.
//============================
// Title and home page
var WebsiteTitle = "Peoria County Assessment FrontDesk Application"; //the whole website
var HomePage = "http://gis.peoriacounty.org/website/external/";
var MetadataDir = "http://gis.peoriacounty.org/Metadata";

// Parcel layer id from AXL file
var ParcelLayerId = "20";

// 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 = 2;

// Search tolerance in pixels (radius)
var SearchTolerance = 4;

// Default circle radius
var CircleRadius = 1000;

// From ArcMap->Properties->Source 
var CentralMeridianEasting = 2296583.333333333; //False easting of central meridian, map units
var FalseNorthing = 0.0;                  //False northing, map units
var CentralMeridian = -90.166666666666671;              //central meridian
var Lat1stParallel = 37.77;  //latitude of first standard parallel (Small#)
var Lat2ndParallel = 40.65;  //latitude of second standard parallel
var LatOrigin = 36.666666666666657;  	               //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 WEBSITE has been provided as a tool for county employees and ';
Disclaimer += 'the general public use. The Data is provided "as is" without warranty or any ';
Disclaimer += 'representation of accuracy, timeliness or completeness. The burden for ';
Disclaimer += 'determining accuracy, completeness, timeliness, merchantability and ';
Disclaimer += 'fitness or appropriateness for use, rests solely on the requester. Peoria ';
Disclaimer += 'County makes no warranties, express or implied, as to the use of the Data. ';
Disclaimer += 'There are no implied warranties of merchantability or fitness for a particular ';
Disclaimer += 'purpose. The requester acknowledges and accepts the limitations of the ';
Disclaimer += 'data, including the fact that the data is dynamic and is in a constant state of ';
Disclaimer += 'maintenance, correction and update. The color orthophotography is as of ';
Disclaimer += '03-2008. Parcel lines layer reflects deeds recorded in 2010. For real estate ';
Disclaimer += 'sales, year pre-2010. Zoning is a draft version only. This is not the official ';
Disclaimer += 'zoning map, which is available in the Planning & Zoning office.';

      
// 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
