var rootPath = "";
var subRootPath = "";

if (docPath=="site.html" || parentPath=="root") {
	var rootPath = "parks/";
	var subRootPath = "parks/";
	var subsubRootPath="parks/";
}

if (parentPath=="compark" || parentPath=="recctr" || parentPath=="senior") {
	rootPath = "../";
	subRootPath = "../";
}
if (parentPath=="parks") {
	rootPath = "../parks/";
	subRootPath = "../parks/";
}
document.write("&nbsp;<a href='" + rootPath + "parks.html' class='innerLink'>")
if (docPath=="parks.html") {
	document.write ("<strong>Parks</strong></a>")
} else {
	document.write("Parks</a>")
}
if (parentPath=="compark" || docPath=="parks.html" || docPath=="site.html") {
	document.write ("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "compark/bandimere.html' class='innerLink'>")
	if (docPath=="bandimere.html") {
		document.write ("<strong>Bandimere Park</strong></a>")
	} else {
		document.write ("Bandimere Park</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "compark/cityctr.html' class='innerLink'>")
	if (docPath=="cityctr.html") {
		document.write ("<strong>City Center Park</strong></a>")
	} else {
		document.write ("City Center Park</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "compark/lakeann.html' class='innerLink'>")
	if (docPath=="lakeann.html" || docPath=="laequip.html") {
		document.write ("<strong>Lake Ann Park</strong></a>")
	} else {
		document.write ("Lake Ann Park</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "compark/lakesue.html' class='innerLink'>")
	if (docPath=="lakesue.html") {
		document.write ("<strong>Lake Susan Park</strong></a>")
	} else {
		document.write ("Lake Susan Park</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "compark/preserve.html' class='innerLink'>")
	if (docPath=="preserve.html") {
		document.write ("<strong>Nature Preserves</strong></a>")
	} else {
		document.write ("Nature Preserves</a>")
	}
	document.write("<br>&nbsp;&nbsp;<a href='" + subRootPath + "compark/nparks.html' class='innerLink'>")
	if (docPath=="nparks.html") {
		document.write ("<strong>Neighborhood Parks</strong></a>")
	} else {
		document.write ("Neighborhood Parks</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "trail.html' class='innerLink'>")
if (docPath=="trail.html") {
	document.write ("<strong>Trails</strong></a>")
} else {
	document.write ("Trails</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "recctr.html' class='innerLink'>")
if (docPath=="recctr.html") {
	document.write ("<strong>Recreation Center</strong></a>")
} else {
	document.write ("Recreation Center</a>")
}	
if (parentPath=="recctr" || docPath=="recctr.html" || docPath=="site.html") {
	document.write ("<br>&nbsp;&nbsp;&nbsp;<a href='" + rootPath + "program.html' class='innerLink'>")
	if (docPath=="rcprogrm.html") {
		document.write ("<strong>Programs</strong></a>")
	} else {
		document.write ("Programs</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "recctr/pfitness.html' class='innerLink'>")
	if (docPath=="pfitness.html") {
		document.write ("<strong>Personal Fitness</strong></a>")
	} else {
		document.write ("Personal Fitness</a>")
		
		}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "recctr/gymschedule.html' class='innerLink'>")
	if (docPath=="gymschedule.html") {
		document.write ("<strong>Gym Schedule</strong></a>")
	} else {
		document.write ("Gym Schedule</a>")
				
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "recctr/aerobics.html' class='innerLink'>")
	if (docPath=="aerobics.html") {
		document.write ("<strong>Aerobics</strong></a>")
	} else {
		document.write ("Aerobics</a>")
		
}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "recctr/dance.html' class='innerLink'>")
	if (docPath=="dance.html") {
		document.write ("<strong>Dance for Fun</strong></a>")
	} else {
		document.write ("Dance for Fun</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "recctr/rcrental.html' class='innerLink'>")
	if (docPath=="rcrental.html") {
		document.write ("<strong>Rental Facilities</strong></a>")
	} else {
		document.write ("Rental Facilities</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "recctr/artist.html' class='innerLink'>")
	if (docPath=="artist.html") {
		document.write ("<strong>Artists Wanted</strong></a>")
	} else {
		document.write ("Artists Wanted</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "recctr/birthday.html' class='innerLink'>")
	if (docPath=="birthday.html") {
		document.write ("<strong>Birthday Parties</strong></a>")
	} else {
		document.write ("Birthday Parties</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "senior.html' class='innerLink'>")
if (docPath=="senior.html") {
	document.write ("<strong>Senior Center</strong></a>")
} else {
	document.write ("Senior Center</a>")
}	
if (parentPath=="senior" || docPath=="senior.html" || docPath=="site.html") {
	document.write ("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "senior/club.html' class='innerLink'>")
	if (docPath=="club.html") {
		document.write ("<strong>Clubs & Programs</strong></a>")
	} else {
		document.write ("Clubs & Programs</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "senior/foot.html' class='innerLink'>")
	if (docPath=="foot.html") {
		document.write ("<strong>Foot Clinic</strong></a>")
	} else {
		document.write ("Foot Clinic</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "senior/meals.html' class='innerLink'>")
	if (docPath=="meals.html") {
		document.write ("<strong>Meals on Wheels</strong></a>")
	} else {
		document.write ("Meals on Wheels</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "senior/dining.html' class='innerLink'>")
	if (docPath=="dining.html") {
		document.write ("<strong>Congregate Dining</strong></a>")
	} else {
		document.write ("Congregate Dining</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "senior/advisorybd.html' class='innerLink'>")
	if (docPath=="dining.html") {
		document.write ("<strong>Advisory Board</strong></a>")
	} else {
		document.write ("Advisory Board</a>")
	}
}
document.write("<br>&nbsp;<a href='" + rootPath + "event.html' class='innerLink'>")
if (docPath=="event.html" || docPath=="july4.html") {
	document.write ("<strong>Community Events</strong></a>")
} else {
	document.write ("Community Events</a>")
}
document.write("<br>&nbsp;<a href='" + rootPath + "program.html' class='innerLink'>")
if (docPath=="program.html") {
	document.write ("<strong>Recreation Programs</strong></a>")
} else {
	document.write ("Recreation Programs</a>")
}		
document.write("<br>&nbsp;<a href='" + rootPath + "youth.html' class='innerLink'>")
if (docPath=="youth.html") {
	document.write ("<strong>Youth Associations</strong></a>")
} else {
	document.write ("Youth Associations</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "skate.html' class='innerLink'>")
if (docPath=="skate.html" || docPath=="skate.html") {
	document.write ("<strong>Skate Park</strong></a>")
} else {
	document.write ("Skate Park</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "iceskate.html' class='innerLink'>")
if (docPath=="iceskate.html" || docPath=="iceskate.html") {
	document.write ("<strong>Ice Skating Rinks</strong></a>")
} else {
	document.write ("Ice Skating Rinks</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "adult.html' class='innerLink'>")
if (docPath=="adult.html") {
	document.write ("<strong>Adult Sports</strong></a>")
} else {
	document.write ("Adult Sports</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "picnic.html' class='innerLink'>")
if (docPath=="picnic.html") {
	document.write ("<strong>Picnic Reservations</strong></a>")
} else {
	document.write ("Picnic Reservations</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "fieldres.html' class='innerLink'>")
if (docPath=="fieldres.html") {
	document.write ("<strong>Field Reservations</strong></a>")
} else {
	document.write ("Field Reservations</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "memorial.html' class='innerLink'>")
if (docPath=="memorial.html") {
	document.write ("<strong>Memorial Giving Policy</strong></a>")
} else {
	document.write ("Memorial Giving Policy</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "beach.html' class='innerLink'>")
if (docPath=="beach.html") {
	document.write ("<strong>Beaches</strong></a>")
} else {
	document.write ("Beaches</a>")
}	
document.write("<br>&nbsp;<a href='" + rootPath + "../serv/permits/canoerack.pdf' class='innerLink'>")
if (docPath=="../serv/permits/canoerack.pdf") {
	document.write ("<strong>Canoe Rack Permit</strong></a>")
} else {
	document.write ("Canoe Rack Permit</a>")
}
document.write("<br>&nbsp;<a href='" + rootPath + "local.html' class='innerLink'>")
if (docPath=="local.html") {
	document.write ("<strong>Local Entertainment</strong></a>")
} else {
	document.write ("Local Entertainment</a>")
}	
if (parentPath=="comm" || docPath=="local.html" || docPath=="site.html") {
	document.write ("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "../comm/restaur.html' class='innerLink'>")
	if (docPath=="restaur.html") {
		document.write ("<strong>Restaurants</strong></a>")
	} else {
		document.write ("Restaurants</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "../comm/hotel.html' class='innerLink'>")
	if (docPath=="hotel.html") {
		document.write ("<strong>Hotels</strong></a>")
	} else {
		document.write ("Hotels</a>")
	}
	document.write("<br>&nbsp;&nbsp;&nbsp;<a href='" + subRootPath + "../comm/church.html' class='innerLink'>")
	if (docPath=="church.html") {
		document.write ("<strong>Churches</strong></a>")
	} else {
		document.write ("Churches</a>")
	}
}