// Start Page/Disclaimer Page

// Suzanne Fliege
// PlanSight, LLC

// Code and content of the starting window over map

function loadCustomPages() {
	HeaderPage();
	WelcomePage();
	InfoPage();
	if (startWithEntryPage) { EntryPage(); }
	return false;
}

// *******************************************************************
//     Header Page
// *******************************************************************
function HeaderPage() {
	var theString = '';
	//theString += '<table cellpadding="5" cellspacing="0" width="100%">';
	//theString += '<tr><td align="center">Goodhue County Online GIS</td></tr>';
	//theString += '</table>';
	if (siteName.substring(0,7) == "REDWING") {
		theString += 'City of Red Wing, MN GIS Online Mapping'; //<IMG SRC="clientspecific/rw_logo_ims_header.jpg" height="60" align="middle">
	} else if (siteName.substring(0,11) == "CANNONFALLS") {
		theString += 'City of Cannon Falls, MN GIS Online Mapping'; //<IMG SRC="clientspecific/cf_logo_ims_header.jpg" height="60" align="middle">
	} else if (siteName.substring(0,6) == "KENYON") {
		theString += 'City of Kenyon, MN GIS Online Mapping'; //<IMG SRC="clientspecific/kn_logo_ims_header.jpg" height="60" align="middle">
	} else if (siteName.substring(0,9) == "WANAMINGO") {
		theString += 'City of Wanamingo, MN GIS Online Mapping';
	} else if (siteName.substring(0,11) == "GOODHUECITY") {
		theString += 'City of Goodhue, MN GIS Online Mapping'; //<IMG SRC="clientspecific/gdh_logo_ims.jpg" height="60" align="middle">
	} else if (siteName.substring(0,8) == "LAKECITY") {
		theString += 'City of Lake City, MN Online GIS'; //<IMG SRC="clientspecific/lakecity_image.gif" height="60" align="middle">
	} else if (siteName.substring(0,7) == "WABASHA") {
		theString += 'City of Lake City, MN Online GIS'; //<IMG SRC="clientspecific/lakecity_image.gif" height="60" align="middle">
	} else if (siteName.substring(0,5) == "GCCEA") {
		theString += 'GCCEA GIS Online Mapping'; //<IMG SRC="clientspecific/gccea_logo.gif" height="60" align="middle">
	} else if (siteName == "ADMINISTRATOR") {
		theString += 'Administrator Access - Goodhue County GIS Online Mapping';
	} else { // goodhue county
		theString += 'Goodhue County, MN Online GIS'; //<IMG SRC="clientspecific/gccea_logo.gif" height="60" align="middle">
	}
	updateContent("cxHeader",theString);
}

// *******************************************************************
//     Welcome Page
// *******************************************************************
function WelcomePage() {
	var theString = '';
	// custom header
	if (siteName.substring(0,7) == "REDWING") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Red Wing, MN<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/rw_logo_ims.jpg" width="150px"></td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Red Wing City Hall:</b><br>651-385-3600<br><br><b><a href="http://www.red-wing.org">City of Red Wing Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
	} else if (siteName.substring(0,11) == "CANNONFALLS") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Cannon Falls, MN<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/cf_logo_ims.jpg" width="100px"></td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Cannon Falls City Hall:</b><br>507-263-9300<br><br><b><a href="http://cfalls.net">City of Cannon Falls Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
	} else if (siteName.substring(0,6) == "KENYON") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Kenyon, MN<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/kn_logo_ims.jpg" width="150px"></td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>City of Kenyon:</b><br>507-789-6415<br><br><b><a href="http://www.cityofkenyon.com">City of Kenyon Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
	} else if (siteName.substring(0,9) == "WANAMINGO") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Wanamingo, MN<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/wanamingo_image.jpg" width="100px"></td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Wanamingo City Hall:</b><br>507-824-2477<br><br><b><a href="http://www.cityofwanamingo.com">City of Wanamingo Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
	} else if (siteName.substring(0,11) == "GOODHUECITY") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>City of Goodhue, MN<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/gdh_logo_ims.jpg" width="150px"></td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Goodhue City Hall:</b><br>651-923-4310<br><br><b><a href="http://www.cityofgoodhue.com">City of Goodhue Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
	} else if (siteName.substring(0,8) == "LAKECITY") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Lake City, MN<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/lakecity_image.gif" width="150px"></td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoSmall" align="center">Please note: The site uses information from both Goodhue and Wabasha counties.</td></tr>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Lake City City Hall:</b><br>651-345-5383<br><br><b><a href="http://www.ci.lake-city.mn.us.com">City of Lake City Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoHighlight">Wabasha County:</td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Assessor Office:</b><br>651-565-3669<br><br><b>Auditor Office:</b><br>651-565-2648<br><br><b><a href="http://www.co.wabasha.mn.us">Wabasha County Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
	} else if (siteName.substring(0,7) == "WABASHA") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Lake City, MN<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/lakecity_image.gif" width="150px"></td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoSmall" align="center">Please note: The site uses information from both Goodhue and Wabasha counties.</td></tr>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Lake City City Hall:</b><br>651-345-5383<br><br><b><a href="http://www.ci.lake-city.mn.us.com">City of Lake City Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
		theString += '<table cellpadding="2" cellspacing="0" width="100%">';
		theString += '<tr><td><hr></td></tr>';
		theString += '<tr><td class="toolInfoHighlight">Wabasha County:</td></tr>';
		theString += '<tr><td class="toolInfoSmall">';
		theString += '<b>Assessor Office:</b><br>651-565-3669<br><br><b>Auditor Office:</b><br>651-565-2648<br><br><b><a href="http://www.co.wabasha.mn.us">Wabasha County Website</a><br><br>';
		theString += '</td></tr>';
		theString += '</table>';
	} else if (siteName.substring(0,5) == "GCCEA") {
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Goodhue County Cooperative Electric Association<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/gccea_logo.gif" width="150px"></td></tr>';
		theString += '</table>';
	} else { // goodhue county
		theString += '<table cellpadding="5" cellspacing="0" width="100%">';
		theString += '<tr><td class="toolInfoHighlight" align="center">Welcome to<br>Goodhue County<br>Online GIS</td></tr>';
		theString += '<tr><td align="center"><img src="clientspecific/countylogo.png" width="100px"></td></tr>';
		theString += '</table>';
	}
	// basic quickstart help
	theString += '<table cellpadding="2" cellspacing="0" width="100%">';
	theString += '<tr><td><hr></td></tr>';
	theString += '<tr><td class="toolInfoHighlight">Goodhue County:</td></tr>';
	theString += '<tr><td class="toolInfoSmall">';
	theString += '<b>Assessor Office:</b><br>651-385-3006<br><br><b>Auditor/Treasurer Office:</b><br>651-385-3032<br><br><b>Main Goodhue County PhoneLine:</b><br>651-385-3000<br><br><b>GIS Department <a href="mailto:sarah.schrader@co.goodhue.mn.us">email</a></b><br>or 651-385-3193<br><br><b><a href="http://www.co.goodhue.mn.us">Goodhue County Website</a><br><br>';
	theString += '</td></tr>';
	theString += '<tr><td><hr></td></tr>';
	theString += '<tr><td class="toolInfoBold" align="center">How to Use this Site:</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">The toolbar at the bottom of the map allows you to navigate the map, as well as identify/select features.</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">You can find parcels or other features by navigating and selecting on the map or using the queries under the FIND menu at the top of the map.</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">Once a parcel or feature is found, attributes will be displayed for it under "Current Selection" in this sidebar.  There may also be reports, analyses and/or links to additional information from other websites.  These will appear as links or icons.</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">Buffering selection is available in the SELECT menu as "Select By Location".  You may also "Clear All Selections" from this menu.</td></tr>';
	theString += '<tr><td><hr></td></tr>';
	theString += '<tr><td class="toolInfoBold" align="center">Help:</td></tr>';
	// theString += '<tr><td class="toolInfoNormal" align="center">Help popups are available for all tools.  If these are not currently turned on, you may do so under the SETTINGS menu at the top of the map, and clicking "Turn On Help Notes".</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">Hover the mouse over a tool, menu or map area to get information on its functionality.</td></tr>';
	// theString += '<tr><td class="toolInfoBold" align="center">Viewing aerial photographs, parcels and other map layers:</td></tr>';
	// theString += '<tr><td class="toolInfoNormal" align="center">Layers that you may turn on/off are listed under the "Map Layers" section of this sidebar.  Simply check the box in front of layer(s) you want displayed.  If the layer is part of a group, the group must also be turned on.</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">Some layers may be "scaled" and are only visible when you are zoomed in on the map!</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">Not all layers will be selectable.  Some are for viewing on the map only.</td></tr>';
	// theString += '<tr><td class="toolInfoNormal" align="center">Only one layer from the "Images and Overlays" list is visible at a time.  This is because these layers block out other layers of the same kind and cannot be viewed simultaneously.</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">The easiest way to see a list of the currently visible layers on the map is to "Show Legend", from the SETTINGS menu.</td></tr>';
	theString += '<tr><td><hr></td></tr>';
	theString += '</table>';
	updateContent("cxSidebar0",theString);
}
// *******************************************************************
//     "About This Website" Info Page (disclaimer and sources)
// *******************************************************************
function InfoPage() {
	var theString = '';
	// custom header
	theString += '<table cellpadding="5" cellspacing="0" width="100%">';
	if (siteName.substring(0,7) == "REDWING") {
		theString += '<tr><td align="center"><img src="clientspecific/rw_logo_ims.jpg" width="150px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; Red Wing, MN.</td></tr>';
	} else if (siteName.substring(0,11) == "CANNONFALLS") {
		theString += '<tr><td align="center"><img src="clientspecific/cf_logo_ims.jpg" width="100px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; Cannon Falls, MN.</td></tr>';
	} else if (siteName.substring(0,6) == "KENYON") {
		theString += '<tr><td align="center"><img src="clientspecific/kn_logo_ims.jpg" width="150px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; Kenyon, MN.</td></tr>';
	} else if (siteName.substring(0,9) == "WANAMINGO") {
		theString += '<tr><td align="center"><img src="clientspecific/wanamingo_image.jpg" width="100px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; Wanamingo, MN.</td></tr>';
	} else if (siteName.substring(0,11) == "GOODHUECITY") {
		theString += '<tr><td align="center"><img src="clientspecific/gdh_logo_ims.jpg" width="150px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; Goodhue, MN.</td></tr>';
	} else if (siteName.substring(0,8) == "LAKECITY") {
		theString += '<tr><td align="center"><img src="clientspecific/lakecity_image.gif" width="150px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; Wabasha County, MN; Lake City, MN.</td></tr>';
	} else if (siteName.substring(0,7) == "WABASHA") {
		theString += '<tr><td align="center"><img src="clientspecific/lakecity_image.gif" width="150px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; Wabasha County, MN; Lake City, MN.</td></tr>';
	} else if (siteName.substring(0,5) == "GCCEA") {
		theString += '<tr><td align="center"><img src="clientspecific/gccea_logo.gif" width="150px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN; GCCEA.</td></tr>';
	} else { // goodhue county
		theString += '<tr><td align="center"><img src="clientspecific/countylogo.png" width="100px"></td></tr>';
		theString += '<tr><td class="toolInfoSmall" align="center">Data provided by Goodhue County, MN.</td></tr>';
	}
	theString += '<tr><td><hr></td></tr>';
	theString += '<tr><td class="toolInfoBold" align="center">Metadata:';
	theString += '<tr><td class="toolInfoSmall" align="center">Information about the data (metadata) shown in this application is available under the "Settings" tab.  Click "Show Metadata".</td></tr>';
	theString += '<tr><td><hr></td></tr>';
	theString += '<tr><td class="toolInfoBold" align="center">System Information:</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">This web service is optimized for more recent versions of Microsoft Internet Explorer (Version 7.0 and newer) and Mozilla Firefox, a 56K Internet connection (or faster) and a screen resolution of 1024 x 728. You must have JavaScript enabled in your web browser! This application contains content that may not be viewable in other browsers and/or display settings.</td></tr>';
	theString += '<tr><td><hr></td></tr>';
	// generic disclaimer
	theString += '<tr><td class="toolInfoBold" align="center">DISCLAIMER:</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">This map is neither a legally recorded map nor a survey and is not intended to be used as such.  Neither Goodhue County nor any of the Users Group participating agencies guarantee the accuracy, current status, or completeness of the material contained herein and are not responsible for any misuse or misrepresentation of this information or its derivatives. In no event shall Goodhue County or any of the Users Group participating agencies be liable to users of this data for any loss arising from the use or misuse of these datasets or maps.</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">The tax parcel data is compiled from official records, including survey plats and deeds, but only contains the information required for Goodhue County business. Original recorded source documents available in the county Government Center should be used for legal or survey purposes.</td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">The County shall remain the exclusive owner of all rights, title, and interest in all specifically copyrighted information on this website.</td></tr>';
	theString += '</td></tr>';
	theString += '<tr><td><hr></td></tr>';
	theString += '<tr><td class="toolInfoSmall" align="center">Winter 2010 for County Parcel Data; Aerial Imagery as noted</td></tr>';
	// CX5/company logos
	//theString += '<tr><td class="toolInfoHighlight" align="center">CivXplorer 5</td></tr>';
	theString += '<tr><td align="center"><img src="images/CX5-small.gif"></td></tr>';
	//theString += '<tr><td class="toolInfoBold" align="center">Created By:</td></tr>';
	//theString += '<tr><td align="center"><img src="images/RedHorseLogo.gif"></td></tr>';
	theString += '</table>';
	updateContent("cxSidebar4",theString);
}

// *******************************************************************
//      Entry Page (can be query, disclaimer, login)
// *******************************************************************
function EntryPage() {
	var theString = '';
	// display width
	if (winWidth > 650) {
		var tableWidth = 650;
	} else {
		tableWidth = winWidth - 50;
	}
	//  header based on site name
	theString += '<div align="center"><table width="' + tableWidth + '" cellspacing="0" cellpadding="0">';
	if (siteName.substring(0,7) == "REDWING") { 
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to City of Red Wing On-Line Mapping!<br>powered by Goodhue County GIS<br><br></td></tr>';
	} else if (siteName.substring(0,11) == "CANNONFALLS") {
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to City of Cannon Falls On-Line Mapping!<br>powered by Goodhue County GIS<br><br></td></tr>';
	} else if (siteName.substring(0,6) == "KENYON") {
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to City of Kenyon On-Line Mapping!<br>powered by Goodhue County GIS<br><br></td></tr>';
	} else if (siteName.substring(0,9) == "WANAMINGO") {
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to City of Wanamingo On-Line Mapping!<br>powered by Goodhue County GIS<br><br></td></tr>';	
	} else if (siteName.substring(0,11) == "GOODHUECITY") {
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to City of Goodhue On-Line Mapping!<br>powered by Goodhue County GIS<br><br></td></tr>';	
	} else if (siteName.substring(0,8) == "LAKECITY") {
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to Lake City On-Line Mapping!<br>powered by Goodhue County GIS<br><br></td></tr>';	
	} else if (siteName.substring(0,7) == "WABASHA") {
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to Lake City On-Line Mapping!<br>powered by Goodhue County GIS<br><br></td></tr>';	
	} else if (siteName.substring(0,5) == "GCCEA") {
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to Goodhue County Cooperative Electric Association<br>On-Line Mapping!<br><br></td></tr>';
	} else { // goodhue county
		theString += '<tr><td align="center" class="toolInfoHighlight">Welcome to Goodhue County GIS<br>On-Line Mapping!<br><br></td></tr>';
	}
	// login if not a public site
	if (siteName.indexOf("PUBLIC") == -1) {
		theString += '<tr><td align="center"><table cellpadding="4">';
		theString += '<tr><td class="toolInfoBold" align="right">User Name: <input type="Text" name="UserString" size="25" maxlength="50" tabindex="1"></td></tr>';
		theString += '<tr><td class="toolInfoBold" align="right">Password: <input type="Password" name="PassString" size="25" maxlength="50" tabindex="2"></td></tr>';
		theString += '</table></td></tr>';
		theString += '<tr><td align="center"><input type="button" class="toolButtonNormal" style="font-size: 14pt;" value="I agree to the Terms of Use\nLog Me In!" tabindex="3" onmouseover="this.className=\'toolButtonHighlight\';" onmouseout="this.className=\'toolButtonNormal\';" onclick="JavaScript:checkUserLogin();"><br><br></td></tr>';
	} else { // no login, just acceptance button
		theString += '<tr><td align="center"><input type="button" onclick="JavaScript:closeEntryPageDisplay();" class="toolButtonNormal" style="font-size: 14pt;" value="I agree to the Terms of Use" tabindex="3" onmouseover="this.className=\'toolButtonHighlight\';" onmouseout="this.className=\'toolButtonNormal\';" onclick="JavaScript:closeEntryPageDisplay();"><br><br></td></tr>';	
	}
	// disclaimer body
	theString += '<tr valign="top"><td class="toolInfoSmall" align="center"><br><br>';
	theString += '<span>This service will enable you to search our <b>County-wide</b> mapping system for a particular property or any other location. You have the option of ';
	theString += 'viewing Goodhue County in detail based on a particular address, property identification number (PIN) or by zooming in to an area of interest. ';
	theString += 'This is a Geographic Information Systems (GIS) application brought to you by <a href="http://www.co.goodhue.mn.us/">Goodhue County, MN</a>.</span>';
	theString += '<br><br>';
	theString += '<span>This web service is optimized for Microsoft Internet Explorer (Version 7.0 and newer) or Mozilla Firefox. ';
	theString += 'A minimum 56K internet connection and a screen resolution of 1024 x 728 are recommended. No guarantee is made that content may be viewable in other browsers and/or display settings.';
	theString += 'For questions regarding this service, please contact the County\’s GIS Specialist at (651) 385-3193 or <a href="mailto:sarah.schrader@co.goodhue.mn.us">email</a>.';
	theString += '</span><br><br>';
	theString += '</td></tr>';
	theString += '<tr><td class="toolInfoHighlight" align="center">This site uses Pop-ups! If you are using a Pop-Up Blocker, you will need to turn it off.<br><br></td></tr>';
	theString += '<tr valign="top"><td align="center" class="toolInfoBold">Important Information - Please Read......</td></tr>';
	theString += '<tr valign="top"><td align="center"><table width="' + (tableWidth - 100) + '">';
	theString += '<tr><td class="toolInfoBold">Map Disclaimer:</td></tr>';
	theString += '<tr><td class="toolInfoSmall">';
	theString += 'This map is neither a legally recorded map nor a survey and is not intended to be used as such.  Goodhue County does not guarantee the accuracy, current status, or completeness of the material contained herein and is not responsible for any misuse or misrepresentation of this information or its derivatives.  In no event shall Goodhue County become liable to users of this data for any loss arising from the use or misuse of these maps.';
	theString += '<br><br>The tax parcel data is compiled from official records, including survey plats and deeds, but only contains the information required for Goodhue County business.  Original recorded source documents located in the county courthouse should be used for legal or survey purposes.';
	theString += '<br><br>The County shall remain the exclusive owner of all rights, title, and interest in all specifically copyrighted information on this website.';
	theString += '</td></tr>';
	theString += '</table></td></tr>';

	// development logos
	//theString += '<tr><td class="header1" align="center">Mapping application designed by Red Horse Geographics</td></tr>';
	theString += '<tr><td align="center"><a href="http://www.redhorsegeographics.com"><img border="0" src="images/CX5-small.gif"></a></td></tr>';
	theString += '</table></form></div>';
	updateContent("cxEntryPage",theString);
	document.getElementById('cxEntryPage').style.display = "inline";	
	return false;
}

            