/***************************************************************************************************************************
 *  Webguide3 constant parameters
 **************************************************************************************************************************/
var activeLayerIndex    = 4;                    // the default active layer index
var ActiveLayerId 	= "Parcels";         	// the default active layer id
var hostName 		= "localhost";          // name of map service host
var serviceName 	= ""     // name of main map service
var protocol 		= "tcp"; 		// http or tcp; http is default
var port 		= 5300; 		// used by tcp only
var hasOVMap 		= true;			// Display/hide the overview map.
var ovHostName 		= "localhost";		// If main service is loaded interactively, 
                                                // overview service will use the same parameters
var ovServiceName 	= "";     // name of overview service
var ovProtocol 		= "tcp"; 		// http or tcp; http is default
var ovPort 		= 5300; 		// used by tcp only

var hasAnnoService 	= false;                // true if an annotation service was created for this site

var fadeTransition      = true;                // true if maps fade from one to another

var addScaleBar 	= true;			// Display/Hide scalebar acetate layer
var addNorthArrow 	= true;			// Display/Hide northarrow acetate layer
var addCopyRight 	= false;		// Display/Hide copyright acetate layer

var toolMode 		= 0; 			// 0=none (default); 1=zoomin; 2=zoomout; 3=pan; 4=identify; 5=select;

var scalebarUnits 	= "feet";		// Unit for the scale bar
var pixelTolerance 	= 5;			// Area around click used in identify. Helps in locating points and lines
var selectParcel        = false;                // if true selectlayer will be parcel2, else will be active layer

// 1=on,0=off.  "parcel plats documents tiesheets" 
var searchTabs                  = "1000"; // appear in search frame of map site
var txtSearchTabs               = "1000"; // appear in search frame of text site
var reloadTOC                   = true;

var ADCIMSTitle1		= "Richland County, WI"; // main title alert("top of page")
var ADCIMSTitle2		= "Land Records Search"; // sub title at to of page
var clientWebPage	 	= "http://www.co.richland.wi.us/"; // linked to by "Home" icon
var useGroupLegend	 	= true; // lvf, for dbgt toc
var useSearch 			= true; // lvf, puts the Search button on the TOCTab
var webMasterEmailAddress	= "webguide@adc4gis.com"; // lvf, webmaster email address on help page
var clientEmail 		= "webguide@adc4gis.com"; // lvf, webmaster email address on disclaimer page

/* usually do not require editing */
var ADCOnlineHelpURL = "http://www.mapping-online.com/webguide-usersguide/";  //lvf, used on help page
var packageName	     = ""; // legacy, not used
var bookmark         = ""; // not set here. used by viewer for saving bookmark

var minX = 0;  // starting extent coords
var minY = 0;
var maxX = 0;
var maxY = 0;

//var fullMinX =352884.256365835;  // full extent coords
//var fullMinY =190472.540292173;
//var fullMaxX =634557.086656451;
//var fullMaxY =398738.038700535;

var fullMinX = 0;  // full extent coords
var fullMinY = 0;
var fullMaxX = 0;
var fullMaxY = 0;

var previousminX = 0;  // starting extent coords
var previousminY = 0;
var previousmaxX = 0;
var previousmaxY = 0;
