var tparentPath;
	if (tparentPath == null) {
		tparentPath="";
	}
var rootPath = "";
var subRootPath = "";
var subsubRootPath="";

if (docPath=="site.html" || parentPath=="root") {
	var rootPath = "serv/";
	var subRootPath = "serv/";
	var subsubRootPath="serv/";
}
	
if (parentPath=="admin" || parentPath=="build" || parentPath=="comdev" || parentPath=="finance" || parentPath=="cip" || parentPath=="nresourc" || parentPath=="pworks" || parentPath=="engineer" || parentPath=="pw") {
	rootPath = "../";
	subRootPath = "../";
	subsubRootPath = "";
}
if (parentPath=="codeinfo" || parentPath=="codeforc") {
	rootPath = "../../";
	subRootPath = "../../";
	subsubRootPath = "../";
}
document.write("&nbsp;<a href='" + rootPath + "admin.html' class='innerLink'>")
if (docPath=="admin.html") {
	document.write ("<strong>Administration</strong></a>")
} else {
	document.write ("Administration</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "build.html' class='innerLink'>")
if (docPath=="build.html") {
	document.write ("<strong>Building</strong></a>")
} else {
	document.write ("Building</a>")
}	
if (parentPath=="build" || docPath=="build.html" || docPath=="site.html") {
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "build/bldgpermits.html' class='innerLink'>")
	if (docPath=="bldgpermits.html" || docPath=="ecode.html") {
		document.write ("<strong>Building Permits</strong></a>")
	} else {
		document.write ("Building Permits</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "build/epermits.html' class='innerLink'>")
	if (docPath=="epermits.html") {
		document.write ("<strong>Electrical Permits</strong></a>")
	} else {
		document.write ("Electrical Permits</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "build/firepermits.html' class='innerLink'>")
	if (docPath=="firepermits.html") {
		document.write ("<strong>Fire Permits</strong></a>")
	} else {
		document.write ("Fire Permits</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "build/hvac.html' class='innerLink'>")
	if (docPath=="hvac.html") {
		document.write ("<strong>HVAC Permits</strong></a>")
	} else {
		document.write ("HVAC Permits</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "build/ists.html' class='innerLink'>")
	if (docPath=="ists.html") {
		document.write ("<strong>ISTS Permits</strong></a>")
	} else {
		document.write ("ISTS Permits</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "build/plumbing.html' class='innerLink'>")
	if (docPath=="plumbing.html") {
		document.write ("<strong>Plumbing Permits</strong></a>")
	} else {
		document.write ("Plumbing Permits</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "build/rental.html' class='innerLink'>")
	if (docPath=="rental.html") {
		document.write ("<strong>Rental Licensing</strong></a>")
	} else {
		document.write ("Rental Licensing</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "comdev/codeinfo/signs.html' class='innerLink'>")
	if (docPath=="signs.html") {
		document.write ("<strong>Sign Permits</strong></a>")
	} else {
		document.write ("Sign Permits</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "comdev.html' class='innerLink'>")
if (docPath=="comdev.html") {
	document.write ("<strong>Community Dev.</strong></a>")
} else {
	document.write ("Community Dev.</a>")
}	
if (tparentPath=="comdev" || parentPath=="comdev" || docPath=="comdev.html" || docPath=="site.html") {
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "comdev/lrange.html' class='innerLink'>")
	if (docPath=="lrange.html") {
		document.write ("<strong>Long Range Plans</strong></a>")
	} else {
		document.write ("Long Range Plans</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "comdev/curplan.html' class='innerLink'>")
	if (docPath=="curplan.html" || docPath=="subdiv.html" || docPath=="curplan.html#devfees" || docPath=="curplan.html#deadline") {
		document.write ("<strong>Current Plans</strong></a>")
	} else {
		document.write ("Current Plans</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "maps.html' class='innerLink'>")
	if (docPath=="maps.html") {
		document.write ("<strong>Maps</strong></a>")
	} else {
		document.write ("Maps</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "http://www.co.carver.mn.us/departments/admin/IS/gis.asp' class='innerLink'>")
	if (docPath=="http://www.co.carver.mn.us/departments/admin/IS/gis.asp") {
		document.write ("<strong>Property Information</strong></a>")
	} else {
		document.write ("Property Information</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "comdev/codeinfo.html' class='innerLink'>")
	if (docPath=="codeinfo.html") {
		document.write ("<strong>Zoning Code Info</strong></a>")
	} else {
		document.write ("Zoning Code Info</a>")
	}
	if ((tparentPath=="comdev" || parentPath=="codeinfo") || docPath=="codeinfo.html" || docPath=="site.html") {
	document.write("<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" + subsubRootPath + "comdev/codeinfo/access.html' class='innerLink'>")
		if (docPath=="access.html") {
			document.write ("<strong>Accessory Struct.</strong></a>")
		} else {
			document.write ("Accessory Struct.</a>")
		}
		document.write("<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" + subsubRootPath + "comdev/codeinfo/fences.html' class='innerLink'>")
		if (docPath=="fences.html") {
			document.write ("<strong>Fences</strong></a>")
		} else {
			document.write ("Fences</a>")
		}
		document.write("<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" + subsubRootPath + "comdev/codeinfo/homeocc.html' class='innerLink'>")
		if (docPath=="homeocc.html") {
			document.write ("<strong>Home Occupation</strong></a>")
		} else {
			document.write ("Home Occupation</a>")
		}
		document.write("<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" + subsubRootPath + "comdev/codeinfo/setback.html' class='innerLink'>")
		if (docPath=="setback.html") {
			document.write ("<strong>Setback Info</strong></a>")
		} else {
			document.write ("Setback Info</a>")
		}
		document.write("<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" + subsubRootPath + "comdev/codeinfo/signs.html' class='innerLink'>")
		if (docPath=="signs.html") {
			document.write ("<strong>Signs</strong></a>")
		} else {
			document.write ("Signs</a>")
		}
		document.write("<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" + subsubRootPath + "comdev/codeinfo/variance.html' class='innerLink'>")
		if (docPath=="variance.html") {
			document.write ("<strong>Variances</strong></a>")
		} else {
			document.write ("Variances</a>")
		}
		document.write("<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" + subsubRootPath + "comdev/codeinfo/zoneuse.html' class='innerLink'>")
		if (docPath=="zoneuse.html") {
			document.write ("<strong>District Uses</strong></a>")
		} else {
			document.write ("District Uses</a>")
		}
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "comdev/codeforc.html' class='innerLink'>")
	if (docPath=="codeforc.html" || docPath=="codevio.html") {
		document.write ("<strong>Zoning Enforcement</strong></a>")
	} else {
		document.write ("Zoning Enforcement</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "engineer.html' class='innerLink'>")
if (docPath=="engineer.html") {
	document.write ("<strong>Engineering</strong></a>")
} else {
	document.write ("Engineering</a>")
}	
if (parentPath=="engineer" || docPath=="engineer.html" || docPath=="site.html") {
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/rates.html' class='innerLink'>")
	if (docPath=="rates.html") {
		document.write ("<strong>Utility & SWMP Fees</strong></a>")
	} else {
		document.write ("Utility & SWMP Fees</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/efees.html' class='innerLink'>")
	if (docPath=="efees.html") {
		document.write ("<strong>Fees</strong></a>")
	} else {
		document.write ("Fees</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/gopher.html' class='innerLink'>")
	if (docPath=="gopher.html") {
		document.write ("<strong>Gopher State</strong></a>")
	} else {
		document.write ("Gopher State</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "maps.html' class='innerLink'>")
	if (docPath=="maps.html") {
		document.write ("<strong>Maps</strong></a>")
	} else {
		document.write ("Maps</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/pavement.html' class='innerLink'>")
	if (docPath=="pavement.html") {
		document.write ("<strong>Pavement Mgmt</strong></a>")
	} else {
		document.write ("Pavement Mgmt</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/engpermits.html' class='innerLink'>")
	if (docPath=="permits.html") {
		document.write ("<strong>Engineering Permits</strong></a>")
	} else {
		document.write ("Engineering Permits</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "http://www.co.carver.mn.us/departments/admin/IS/gis.asp' class='innerLink'>")
	if (docPath=="permits.html") {
		document.write ("<strong>Property Information</strong></a>")
	} else {
		document.write ("Property Information</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/roadwt.html' class='innerLink'>")
	if (docPath=="roadwt.html") {
		document.write ("<strong>Road Wt.Restrictions</strong></a>")
	} else {
		document.write ("Road Wt.Restrictions</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/specplates2010.html' class='innerLink'>")
	if (docPath=="specplates2010.html") {
		document.write ("<strong>Spec.& Detail Plates</strong></a>")
	} else {
		document.write ("Spec.& Detail Plates</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/trafsign.html' class='innerLink'>")
	if (docPath=="trafsign.html") {
		document.write ("<strong>Traffic Signage</strong></a>")
	} else {
		document.write ("Traffic Signage</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "engineer/waterres.html' class='innerLink'>")
	if (docPath=="waterres.html") {
		document.write ("<strong>Water Restrictions</strong></a>")
	} else {
		document.write ("Water Restrictions.</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "finance.html' class='innerLink'>")
if (docPath=="finance.html") {
	document.write ("<b>Finance</b></a>")
} else {
	document.write ("Finance</a>")
}	
document.write("<br>&nbsp;<a href='../" + rootPath + "comm/library.html' class='innerLink'>")
	document.write ("Library</a>")
	

document.write("<br>&nbsp;<a href='" + rootPath + "maps.html' class='innerLink'>")
if (docPath=="maps.html") {
	document.write ("<strong>Maps</strong></a>")
} else {
	document.write ("Maps</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "nresourc.html' class='innerLink'>")
if (docPath=="nresourc.html") {
	document.write ("<strong>Natural Resources</strong></a>")
} else {
	document.write ("Natural Resources</a>")
}	
if (parentPath=="nresourc" || docPath=="nresourc.html" || docPath=="site.html") {
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/arbor.html' class='innerLink'>")
	if (docPath=="arbor.html") {
		document.write ("<strong>Arbor Day</strong></a>")
	} else {
		document.write ("Arbor Day</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/cgarden.html' class='innerLink'>")
	if (docPath=="cgarden.html") {
		document.write ("<strong>Community Garden</strong></a>")
	} else {
		document.write ("Community Garden</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/eaward.html' class='innerLink'>")
	if (docPath=="eaward.html") {
		document.write ("<strong>Environment Award</strong></a>")
	} else {
		document.write ("Environment Award</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/forestry.html' class='innerLink'>")
	if (docPath=="forestry.html" || docPath=="forestry.html#coupon" || docPath=="forestry.html#blvd") {
		document.write ("<strong>Forestry</strong></a>")
	} else {
		document.write ("Forestry</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/lakeatlas.html' class='innerLink'>")
	if (docPath=="lakeatlas.html") {
		document.write ("<strong>Lake Atlas</strong></a>")
	} else {
		document.write ("Lake Atlas</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/recyc.html' class='innerLink'>")
	if (docPath=="recyc.html"|| docPath=="fdreams.html") {
		document.write ("<strong>Recycling</strong></a>")
	} else {
		document.write ("Recycling</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/waterwise.html' class='innerLink'>")
	if (docPath=="waterwise.html") {
		document.write ("<strong>Water Wise Program</strong></a>")
	} else {
		document.write ("Water Wise Program</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "nresourc/wetlands.html' class='innerLink'>")
	if (docPath=="wetlands.html") {
		document.write ("<strong>Wetlands</strong></a>")
	} else {
		document.write ("Wetlands</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "permits.html' class='innerLink'>")
if (docPath=="permits.html") {
	document.write ("<strong>Permits & Licenses</strong></a>")
} else {
	document.write ("Permits & Licenses</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "projects.html' class='innerLink'>")
if (docPath=="projects.html") {
	document.write ("<strong>Projects</strong></a>")
} else {
	document.write ("Projects</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "http://www.co.carver.mn.us/departments/admin/IS/gis.asp' class='innerLink'>")
if (docPath=="hearings.html") {
	document.write ("<strong>Property Information</strong></a>")
} else {
	document.write ("Property Information</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "hearings.html' class='innerLink'>")
if (docPath=="hearings.html") {
	document.write ("<strong>Public Hearings</strong></a>")
} else {
	document.write ("Public Hearings</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "pworks.html' class='innerLink'>")
if (docPath=="pworks.html") {
	document.write ("<strong>Public Works</strong></a>")
} else {
	document.write ("Public Works</a>")
}	
if (parentPath=="pw" || docPath=="pworks.html" || docPath=="site.html") {
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/maintain.html' class='innerLink'>")
	if (docPath=="maintain.html") {
		document.write ("<strong>Street Maintenance</strong></a>")
	} else {
		document.write ("Street Maintenance</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/wparking.html' class='innerLink'>")
	if (docPath=="wparking.html") {
		document.write ("<strong>Winter Parking</strong></a>")
	} else {
		document.write ("Winter Parking</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/snowrem.html' class='innerLink'>")
	if (docPath=="snowrem.html" || docPath=="snowpol.html") {
		document.write ("<strong>Snow Removal</strong></a>")
	} else {
		document.write ("Snow Removal</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/hydrant.html' class='innerLink'>")
	if (docPath=="hydrant.html") {
		document.write ("<strong>Hydrant Flushing</strong></a>")
	} else {
		document.write ("Hydrant Flushing</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/meter.html' class='innerLink'>")
	if (docPath=="meter.html") {
		document.write ("<strong>Meter Replacement</strong></a>")
	} else {
		document.write ("Meter Replacement</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/swemer.html' class='innerLink'>")
	if (docPath=="swemer.html") {
		document.write ("<strong>Water Emergencies</strong></a>")
	} else {
		document.write ("Water Emergencies</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/facts.html' class='innerLink'>")
	if (docPath=="facts.html") {
		document.write ("<strong>Water Facts</strong></a>")
	} else {
		document.write ("Water Facts</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/wquality08.pdf' class='innerLink'>")
	if (docPath=="wquality08.pdf") {
		document.write ("<strong>Water Quality Report</strong></a>")
	} else {
		document.write ("Water Quality Report</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "pw/wtreatment.html' class='innerLink'>")
	if (docPath=="wtreatment.html") {
		document.write ("<strong>Water Treatment</strong></a>")
	} else {
		document.write ("Water Treatment</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "../parks/senior.html' class='innerLink'>")
	document.write("Senior Center</a>")
document.write("<br>&nbsp;<a href='" + rootPath + "staffdir.html' class='innerLink'>")
if (docPath=="staffdir.html") {
	document.write ("<strong>Staff Directory</strong></a>")
} else {
	document.write ("Staff Directory</a>")
}
document.write("<br>&nbsp;<a href='" + rootPath + "utility.html' class='innerLink'>")
if (docPath=="utility.html") {
	document.write ("<strong>Utility Billing</strong></a>")
} else {
	document.write ("Utility Billing</a>")
}