function MM_jumpMenu(targ,selObj,restore){ //v3.0  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  if (restore) selObj.selectedIndex=0;}//dynamically change the selected state of the nav for each page	var thisURL = window.location.href				window.location.toString();				"" + window.location	var thisDomain = document.domain;	if (thisURL.match("www.") == null)	{				var relThisURL = thisURL.replace("http://"+thisDomain, "");	 } else { 		var relThisURL = thisURL.replace("http://www."+thisDomain, "");	 }	$(document).ready(function(){					$(".miniNav a").each(function (i) {								var thisLink = $(this).attr("href");				if (					(relThisURL.match("careers") == "careers") 						&& (thisLink == "/careers/")					|| (relThisURL.match("press-room") == "press-room") 						&& (thisLink == "/press-room/")					|| (relThisURL.match("contact-us") == "contact-us") 						&& (thisLink == "/contact-us")					|| (relThisURL.match("employees") == "employees") 						&& (thisLink == "/employees/")					|| (relThisURL.match("company") == "company") 						&& (thisLink == "/company/")					|| (relThisURL.match("site-map") == "site-map") 						&& (thisLink == "/site-map/")					|| (relThisURL.match("privacy") == "privacy") 						&& (thisLink == "/privacy/")					|| (relThisURL.match("terms") == "terms") 						&& (thisLink == "/terms/")					) 						{							$(this).addClass("navSelected");						}		});						$("#mainNav a").each(function (i) {								var thisLink = $(this).attr("href");				if (					(relThisURL.match("who-we-are") == "who-we-are") 					&& (thisLink == "/who-we-are/")					// Customer Center States					|| (						(relThisURL.match("customer-center") == "customer-center") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("diamond") == "diamond") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("hornsby-bend") == "hornsby-bend") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("huntington") == "huntington") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("inverness") == "inverness") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("midway") == "midway") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("monarch") == "monarch") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("morris") == "morris") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("north-county") == "north-county") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("north-shelby") == "north-shelby") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("riverview") == "riverview") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("north-mississippi") == "north-mississippi") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("suburban") == "suburban") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("water-services") == "water-services") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("windermere") == "windermere") 						&& (thisLink == "/customer-center/")						|| (relThisURL.match("monarch-ok") == "monarch-ok") 						&& (thisLink == "/customer-center/")						)					|| (relThisURL.match("working-with-us") == "working-with-us") 					&& (thisLink == "/working-with-us/")					|| (relThisURL.match("water-101") == "water-101") 					&& (thisLink == "/water-101/")					) 						{							$(this).addClass("navSelected");						}					});					$("a").each(function (i) {								var thisLink = $(this).attr("href");				if (					(thisLink == relThisURL) 					|| (thisLink == relThisURL+"#") 					|| (thisLink == relThisURL+"/")					|| (relThisURL.match("groundwater-sources") == "groundwater-sources") 						&& (thisLink == "/suburban/groundwater-sources/")					|| (relThisURL.match("fluoride") == "fluoride") 						&& (thisLink == "/suburban/fluoride/")					) 						{							$(this).addClass("navSelected");						}					});	});