

//************************************************************************
//*		parameters specific to Control website							 *
//************************************************************************

//top image
var topimage = "images/topimage.jpg"
var topimagewidth = "1600"
var topimageheight = "66"

//Webpage title - appears at the top of web pages
var webpagetitle = "Waushara County Control Survey Information"

//version - do not change
var viewerversion = "2.0"

//Township layer name - used for labeling the highlighted township, with MXD file use layer id
//var zoomtotown = "Prod.FAIRVIEW.WAUSHARA_PLSS_TOWNSHIP"
var zoomtotown = "1"
//index of the plss township layer, when using mxd files, this will be the same as zoomtotown
var zoomtotownindex = zoomtotown
//the unique field name to use for zooming, must match FULLNAME in TOWNRANGE table
var zoomtofield = "TRNAME"
//the font color to use when printing the field name; doesn't work with ArcMap Server
var zoomtofieldcolor = "0,64,128"

//Control layer name - 
var zoomtocontrol = "0"
//the field name to print on the highlighted township; doesn't work with ArcMap Server
var zoomtocontrolfield = "LOCAL1"
//the font color to use when printing the field name; doesn't work with ArcMap Server
var zoomtocontrolfieldcolor = "0,64,128"

//Control layer index
var idcontrol = 0;

//map system DMS or SP (State Plane); also set dbmapformat in dbparams.asp
var mapformat = "SP";

//Print Map Variables
//Use the arcmap generated legend, set legendUseDynamic = true,
//otherwise create a static legend and set legendUseDynamic = false
var legendUseDynamic = false;

//If using a static legend, enter its URL 
var legendStaticImage = "http://65.15.243.91/wausharanew/images/legend.gif";

//Enter any text you want put at the bottom of the map
var printformtext = "<P>For more information contact:<BR> ";
printformtext = printformtext + " <strong>Mike Moe <br>Moe Land Surveying, Inc. </strong><br>";
printformtext = printformtext + " 1100 E. Bannerman Ave., Suite 4 <br>";
printformtext = printformtext + " PO Box 378 <br>";
printformtext = printformtext + " Redgranite , WI 54970 </P>";


//HELP Page
//Enter the text that describes the controlname
var helpcontrolname = "Uses the Wisconsin Point ID which is tied to the PLSS township and section as shown below.";

//Enter the image that describes the control name
var helpcontrolgif = "images/pointid.gif";


//HOME Page
var homeparagraph1 = '<span class="largeheading">T</span>his site provides control points that have been established and are used by Waushara County. ';
homeparagraph1 = homeparagraph1 + 'Additional points have and will continue to be added by data contributors. <BR> ';
homeparagraph1 = homeparagraph1 + 'You can use the map tools to navigate to one or more points or you can use the search criteria to find specific points.<BR><BR> ';
homeparagraph1 = homeparagraph1 + 'Please contact us if you have questions about this website, or to report any errors or omissions:<br><br> ';
    
var homeparagraph2 = '<strong>Mike Moe <br> ';
homeparagraph2 = homeparagraph2 + 'Waushara County Surveyor </strong><br> ';
homeparagraph2 = homeparagraph2 + '705 W. Main Street <br> ';
homeparagraph2 = homeparagraph2 + 'Wautoma , WI 54982 <br><br> ';
homeparagraph2 = homeparagraph2 + 'Phone: (920) 787-3371 <br> ';
homeparagraph2 = homeparagraph2 + 'Fax: (920) 787-7774 <br> ';
homeparagraph2 = homeparagraph2 + '<a href="mailto:mike@moeland.com">mike@moeland.com</a> <br> ';
homeparagraph2 = homeparagraph2 + '<a href="http://www.moeland.com/" target="_blank">http://www.moeland.com</a> ';
