var rootPath = "";
var subRootPath = "";

if (parentPath=="inside" || parentPath=="comm" || parentPath=="parks") {
	rootPath = "../";
	subRootPath = "../";
}
if (parentPath=="safety" || parentPath=="season" || parentPath=="serv") {
	rootPath = "../";
	subRootPath = "../";
}
if (parentPath=="council" || parentPath=="commiss" || parentPath=="vote") {
	rootPath = "../../";
	subRootPath = "../../";
}
if (parentPath=="about" || parentPath=="res") {
	rootPath = "../../";
	subRootPath = "../../";
}
if (parentPath=="compark" || parentPath=="recctr" || parentPath=="senior") {
	rootPath = "../../";
	subRootPath = "../../";
}
if (parentPath=="law" || parentPath=="fire") {
	rootPath = "../../";
	subRootPath = "../../";
}
if (parentPath=="comdev" || parentPath=="nresourc" || parentPath=="cip" || parentPath=="engineer" || parentPath=="build" || parentPath=="pw") {
	rootPath = "../../";
	subRootPath = "../../";
}
if (parentPath=="history" || parentPath=="codeinfo") {
	rootPath = "../../../";
	subRootPath = "../../../";
}
document.write ("<option value='" + "http://67.63.229.140/weblink'>Agendas & Minutes</option>");
document.write ("<option value='" + rootPath + "safety/animalcontrol.html'>Animal Control</option>");
document.write ("<option value='" + rootPath + "comm/res/animal.html'>Animal Licenses</option>");
document.write ("<option value='" + rootPath + "safety/programs.html#helmet'>Bike Helmets</option>");
document.write ("<option value='" + rootPath + "serv/nresourc/buckthorn.pdf'>Buckthorn Removal</option>");
document.write ("<option value='" + rootPath + "comm/about/bus.html'>Bus Service</option>");
document.write ("<option value='" + rootPath + "inside/cable.html'>Cable Channel 8</option>");
document.write ("<option value='" + rootPath + "inside/code.html'>City Code</option>");
document.write ("<option value='" + rootPath + "inside/council.html'>City Council</option>");
document.write ("<option value='" + rootPath + "inside/commiss.html'>Commissions</option>");
document.write ("<option value='" + rootPath + "comm/links.html'>Community Links</option>");
document.write ("<option value='" + rootPath + "serv/comdev/lrange.html'>Comprehensive Plan</option>");
document.write ("<option value='" + rootPath + "safety/law/calert.html'>Crime Alerts</option>");
document.write ("<option value='" + rootPath + "safety/crimepre.html'>Crime Prevention</option>");
document.write ("<option value='" + rootPath + "inside/vote1.html'>Elections & Voting</option>");
document.write ("<option value='" +  "http://projects.dot.state.mn.us/zrc/212/index.html'>Highway 212</option>");
document.write ("<option value='" + rootPath + "serv/pw/hydrant.html'>Hydrant Flushing</option>");
document.write ("<option value='" + rootPath + "parks/iceskate.html'>Ice Skating Rinks</option>");
document.write ("<option value='" + rootPath + "comm/hotel.html'>Lodging</option>");
document.write ("<option value='" + rootPath + "safety/lostanimals.html'>Lost Animals</option>");
document.write ("<option value='" + rootPath + "serv/maps.html'>Maps</option>");
document.write ("<option value='" + rootPath + "parks/memorial.html'>Memorial Giving Policy</option>");
document.write ("<option value='" + rootPath + "comm/res.html'>New Resident Information</option>");
document.write ("<option value='" + rootPath + "serv/permits.html'>Permits</option>");
document.write ("<option value='" + rootPath + "parks/picnic.html'>Picnics</option>");
document.write ("<option value='" + rootPath + "serv/projects.html'>Projects</option>");
document.write ("<option value='" +  "http://www.co.carver.mn.us/departments/admin/IS/gis.asp'>Property Information</option>");
document.write ("<option value='" + rootPath + "serv/hearings.html'>Public Hearings</option>");
document.write ("<option value='" +  "http://chanhassen.recware.com'>Rec Registration Online</option>");
document.write ("<option value='" + rootPath + "serv/nresourc/recyc.html'>Recycling</option>");
document.write ("<option value='" + rootPath + "serv/build/rental.html'>Rental Housing</option>");
document.write ("<option value='" + rootPath + "comm/res/residentguide.pdf'>Resident Guide</option>");
document.write ("<option value='" + rootPath + "serv/engineer/roadwt.html'>Road Restrictions</option>");
document.write ("<option value='" + rootPath + "comm/res/schools.html'>Schools</option>");
document.write ("<option value='" + rootPath + "parks/senior.html'>Senior Center</option>");
document.write ("<option value='" + rootPath + "parks/skate.html'>Skate Park</option>");
document.write ("<option value='" + rootPath + "serv/pw/snowrem.html'>Snow Removal</option>");
document.write ("<option value='" + rootPath + "serv/engineer/specplates2010.html'>Specs & Details</option>");
document.write ("<option value='" + rootPath + "serv/engineer/waterres.html'>Sprinkling Rules</option>");
document.write ("<option value='" + rootPath + "serv/finance.html#tax'>Taxes</option>");
document.write ("<option value='" + rootPath + "parks/trail.html'>Trails</option>");
document.write ("<option value='" +  "https://chanhassen.merchanttransact.com/'>Utility Bill Pay Online</option>");
document.write ("<option value='" + rootPath + "comm/visitor.html'>Visitor Information</option>");
document.write ("<option value='" + rootPath + "inside/vote1.html'>Voting</option>");
document.write ("<option value='" + rootPath + "serv/nresourc/waterwise.html'>Water Wise Program</option>");
document.write ("<option value='" + rootPath + "weatherhotlines.html'>Weather Hotlines</option>");
document.write ("<option value='" + rootPath + "serv/pw/wparking.html'>Winter Parking Rules</option>");

