//============================
// JavaScript custom settings.
//============================
// Title and home page
var WebsiteTitle = "Greenville County, South Carolina";
var HomePage = "http://www.gcgis.org";
var MetadataDir = "http://www.gcgis.org/docs/metadata";

// Parcel layer id from AXL file
var ParcelLayerId = "25";

// 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;   //False easting of central meridian, map units
var FalseNorthing = 0.0;         //False northing, map units
var CentralMeridian = -81.0;     //central meridian
var Lat1stParallel = 32.5;  	   //latitude of first standard parallel (Small#)
var Lat2ndParallel = 34.833333333333343;  //latitude of second standard parallel
var LatOrigin = 31.833333333333329;  	   //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 += "Disclaimer:\n\n";
Disclaimer += "Maps available through this web site contain representations of land features compiled from aerial photography, ";
Disclaimer += "recorded deeds and plats, other public records, and public data.  Users of these maps are hereby notified that the ";
Disclaimer += "aforementioned public primary information sources should be consulted for verification of the information contained ";
Disclaimer += "in these maps.  These maps are not a LAND SURVEY.\n\n";
Disclaimer += "Neither the County of Greenville, South Carolina nor any agency, officer, elected official or employee of the County ";
Disclaimer += "of Greenville, South Carolina (collectively known as the County) warrants the accuracy, reliability, or timeliness ";
Disclaimer += "of any information on this web site and shall not be liable for any losses caused by such reliance on the accuracy, ";
Disclaimer += "reliability, or timeliness of such information, including, but not limited to, incidental and consequential damages. ";
Disclaimer += "This publication is provided as is without warranty of any kind, either expressed or implied, including, but not";
Disclaimer += "limited to, the implied warranties of merchantability, fitness for a particular purpose or non-infringement. ";
Disclaimer += "The County maintains all immunities as provided by the South Carolina Tort Claims Act.\n\n";
Disclaimer += "Portions of such information may be incorrect or not current.  Any person or entity that relies on any information ";
Disclaimer += "obtained from this web site does so at his or her own risk.  In addition, nothing contained in the web site is an ";
Disclaimer += "official record of the County and the offices of the elected officials responsible therefore.  All official records ";
Disclaimer += "of the County and the offices of countywide elected officials are on file in their respective offices and may be ";
Disclaimer += "reviewed by the public at those offices.";

//Reassessment Disclaimer.
//var AssessDisclaimer = "";
//AssessDisclaimer += "2007 PROPERTY VALUES\n\n";
//AssessDisclaimer += "It is proposed that Greenville County will implement a county-wide reassessment for the tax year 2007.\n\n";
//AssessDisclaimer += "Title 12 SC Code of Laws\n\n";
//AssessDisclaimer += "12-43-217 (A) ... Notwithstanding any other provision of law, once every fifth year each county or the state ";
//AssessDisclaimer += "shall appraise and equalize those properties under its jurisdiction ... For property taxes to be fair and uniform,";
//AssessDisclaimer += "the property values need to be updated to reflect market values for every property.  State law requires ";
//AssessDisclaimer += "reassessment every five years.\n\n";
//AssessDisclaimer += "CHANGES IN YOUR 2007 PROPERTY VALUE\n\n";
//AssessDisclaimer += "While appraising the value of property is not an exact science, the Assessor's office adopts uniform standards ";
//AssessDisclaimer += "and strives to accomplish fair and objective appraisals.  If you are viewing your 2007 value on-line you may ";
//AssessDisclaimer += "notice frequent changes.  These changes are a result of data analysis and changes in computation. ";
//AssessDisclaimer += "Please be aware this is a work in progress and is not to be considered the taxable value for 2007. ";
//AssessDisclaimer += "Upon completion of our work, assessment notices will be mailed advising of the value placed upon your ";
//AssessDisclaimer += "property for tax purposes.  In the event you are in disagreement with the value you will have ninety (90) days ";
//AssessDisclaimer += "to file a written objection.\n\n";
//AssessDisclaimer += "Thank you for your patience and understanding.";   
      
// Colors.
var MenuBackgroundColor = "#c6c6c6";
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 = "fffce9";
var MouseOutWhite = "#fffce9";
var MouseOutGray = "#669966";
var MouseOutGreen = "#c6c6c6";
var DisableGray = "silver";

// Programming constants
var MainMenuHeight = 57;      //Total height of pulldown and toolbar menus
