//<!--

var isLteIE6, isGteIE7,myrules,myrules2,isGecko,isOpera,isApple,isKonqueror;


var meetingButtons = [{"name" :"Meetings","url":""},{"name":"Master Calendar","url":"href=\"#\" onclick=\"javascript:popWindow(\'../aboutDSRSD/calpop.php\', \'DSRSDcal\', \'width=270,height=440,left=0,top=0,scrollbars=no,resizable=yes\');\""},{"name" :"Board Meetings<br> Schedules, Agendas &amp; Minutes","url":"href=\"../aboutDSRSD/schedule_and_minutes.php\""},{"name" :"Board Committee Meetings<br> Schedules, Agendas &amp; Minutes","url":"href=\"../aboutDSRSD/committee_schedule_and_minutes.php\""},{"name" :"JPA &amp; Liaison Meetings<br> With Other Agencies","url":"href=\"../aboutDSRSD/Liaison_schedule_and_minutes.php\""}];


var aboutDSRSDButtons = [{"name" :"About DSRSD","url":""},{"name" :"Mission / Vision / Core Values","url":"href=\"../aboutDSRSD/missionstmt.html\""},{"name" :"District at a Glance","url":"href=\"../aboutDSRSD/facts.html\""},{"name" :"Board of Directors","url":"href=\"../aboutDSRSD/bod.html\""},{"name" :"Board Committees &amp; JPA","url":"href=\"../aboutDSRSD/bodschedules.html\""},{"name" :"Code of Ethics","url":"href=\"../aboutDSRSD/Code_of_Ethics.html\""},{"name":"District Management","url":"href=\"../aboutDSRSD/DistrictManagement.html\""},{"name" :"Organization Chart","url":"href=\"../employment/organizationchart.html\""},{"name" :"Green Business","url":""},{"name" :"District Certified Green","url":"href=\"../aboutDSRSD/greenbusiness.html\""},{"name" :"Plant Saves Energy","url":"href=\"#\" onclick=\"javascript:popWindow(\'../aboutDSRSD/plant_saves_energy.pdf\', \'Plant\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\');\""},{"name" :"Green Initiatives","url":"href=\"#\" onclick=\"javascript:popWindow(\'../img/img_greenbusiness/Greening The Plant Dublin O0309.pdf\', \'GreeningPlant\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\');\""},{"name" :"Relationships with Other Entities","url":"href=\"../aboutDSRSD/relationships.html\""},{"name" :"Awards","url":"href=\"../aboutDSRSD/awards.html\""},{"name" :"History","url":"href=\"../aboutDSRSD/history.html\""},{"name" :"Finance","url":""},{"name" :"Comprehensive Annual Financial Report","url":"href=\"../news_and_event/FY2009CAFR.html\""},{"name" :"Operating Budget","url":"href=\"#\" onclick=\"javascript:popWindow(\'../news_and_event/Final Budget Document2010.pdf#pagemode=thumbs\', \'Operating_Budget\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""},{"name" :"Where Your Dollars Go","url":"href=\"../your_water_services/whereyourdollargoes.html\""},{"name" :"Finances in Brief","url":"href=\"#\" onclick=\"javascript:popWindow(\'../news_and_event/fall2009_newsletter.pdf\', \'Budget_Brief\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""},{"name" :"Strategic Plan","url":" href=\"#\" onclick=\"javascript:popWindow(\'../aboutDSRSD/Strategic Plan.pdf\', \'strategicplan\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/aboutDSRSD/strategic_plan\');\""},{"name" :"District Code","url":"href=\"../aboutDSRSD/districtcodes.html\""}];
																																																																																																																																																																																																																																		
																																																																																																																																																																																																																																		var servicesButtons = [{"name" :"Services","url":""},{"name" :"Service Area Map","url":"href=\"../wwrw/fees.html\""},{"name" :"Water Services","url":""},{"name" :"Water Quality","url":"href=\"../wwrw/water_quality.html\""},{"name" :"Water Services FAQ","url":"href=\"../wwrw/waterservicesfaq.html\""},{"name" :"Flushing Hydrants","url":"href=\"../wwrw/hydrantflush.html\""},{"name" :"Wastewater Services","url":""},{"name" :"Wastewater Disposal (LAVWMA)","url":"href=\"../wwrw/lavwmawatermanagementsystem.html\""},{"name" :"Odor Control Hotline","url":"href=\"../wwrw/odorhotline.html\""},{"name" :"Wastewater Services FAQ","url":"href=\"../wwrw/wastewaterservicesfaq.html\""},{"name" :"Industrial Waste Charges","url":"href=\"../wwrw/industrialwaste.html\""},{"name" :"Wastewater System Diagram","url":"href=\"#\" onclick=\"urchinTracker(\'/img/img_wwrw/wastewater_diagram\');popWindow(\'../img/img_wwrw/wastewater_diagram.pdf\', \'form\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""},{"name" :"Wastewater Disposal System Map","url":"href=\"#\" onclick=\"urchinTracker(\'/img/img_wwrw/lavwma_system_map\');popWindow(\'../img/img_wwrw/lavwma_system_map.pdf\', \'form\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""},{"name" :"Recycled Water Services","url":""},{"name" :"Self-Monitoring Report","url":"href=\"#\" onclick=\"urchinTracker(\'/img/img_wwrw/self_monitoring_report\');popWindow(\'../img/img_wwrw/self_monitoring_report.pdf\', \'form\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""},{"name" :"Recycled Water FAQ","url":"href=\"../wwrw/recycledwaterfaq.html\""},{"name" :"DERWA (Recycled Water Project)","url":"href=\"../wwrw/derwa.html\""},{"name" :"Recycled Water System Diagram","url":"href=\"#\" onclick=\"urchinTracker(\'/img/img_wwrw/recycled_water_diagram\');popWindow(\'../img/img_wwrw/recycled_water_diagram.pdf\', \'form\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""},{"name" :"Recycled Water Hydrants Map","url":"href=\"#\" onclick=\"urchinTracker(\'/img/img_wwrw/recycled_water_hydrant_map\');popWindow(\'../img/img_wwrw/recycled_water_hydrant_map.pdf\', \'hydmap\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""},{"name" :"The Recycled Water Cycle","url":"href=\"#\" onclick=\"urchinTracker(\'/img/img_wwrw/recycled_water_cycle\');popWindow(\'../img/img_wwrw/Recycled Water Cycle as of 12_08.pdf\', \'hydmap\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""}];
																																																																																																																																																																																																																																		
																																																																																																																																																																																																																																		var employmentButtons = [{"name" :"Employment","url":""},{"name" :"Current Openings &amp; Applications","url":"href=\"#\" onclick=\"popWindow(\'http://agency.governmentjobs.com/dsrsd/\',\'openingsandapp\',\'left=0,top=0,width=768,height=550,scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,location=yes\');urchinTracker(\'employment/currentopenings\');\""},{"name" :"Career Training","url":"href=\"../employment/careertraining.html\""},{"name" :"Job Descriptions","url":"href=\"#\" onclick=\"popWindow(\'http://agency.governmentjobs.com/dsrsd/default.cfm?action=agencyspecs\',\'jobdescr\',\'left=0,top=0,width=768,height=550,scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,location=yes\');urchinTracker(\'employment/jobdescr\');\""},{"name" :"Salary Schedule","url":"href=\"../employment/salaryschedule.php\""},{"name" :"Benefits","url":"href=\"#\" onclick=\"popWindow(\'../img/img_employment/Benefits.pdf\',\'Benefitbook\',\'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\');urchinTracker(\'img/img_employment/BenefitsBooklet\');\""},{"name" :"Memorandums of Understanding","url":""},{"name" :"Stationary Engineers Local 39","url":"href=\"#\" onclick=\"popWindow(\'../employment/Local 39 Final MOU.pdf\',\'memo\',\'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/employment/Local%2039%202006%20Final%20MOU\');\""},{"name" :"Confidential Employees Bargaining Unit","url":"href=\"#\" onclick=\"popWindow(\'../employment/CEBU%20MOU%20Final.pdf\',\'memo\',\'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/employment/CEBU%20MOU%20Final\');\""},{"name" :"Professional Employees Bargaining Unit","url":"href=\"#\" onclick=\"popWindow(\'../employment/2007%20Final%20PEBU%20MOU.pdf\',\'memo\',\'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/employment/2007%20Final%20PEBU%20MOU\');\""},{"name" :"Mid Management Employees Bargaining Unit","url":"href=\"#\" onclick=\"popWindow(\'../employment/MEBU%20MOU%20Final.pdf\',\'memo\',\'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/employment/MEBU%20MOU%20Final\');\""},{"name" :"Organizational Chart","url":"href=\"../employment/organizationchart.html\""}];


var newsButtons = [{"name" : "News, Media<br>&amp; Publications","url":""},{"name" :"News Releases","url":"href=\"../news_and_event/news.php\""},{"name" :"Publications","url":"href=\"../news_and_event/publications.html\""},{"name" :"Media","url":"href=\"../news_and_event/media.html\""}];
			

var educationButtons = [{"name" :"Education<br>Resources","url":""},{"name" :"Games","url":"href=\"../Education/games.html\""},{"name" :"Tour Request","url":"href=\"#\" onclick=\"popWindow(\'../img/img_WWTP_tour_form/WWTP_Tour_Form.pdf\', \'tour_request\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/img/img_WWTP_tour_form/WWTP_Tour_Form\');\""},{"name" :"For Teachers","url":""},{"name" :"Lesson Plans, K-5","url":"href=\"../Education/lessonplans.html\""},{"name" :"Useful Links","url":"href=\"../Education/usefullinks.html\""},{"name" :"Science and Career Fairs","url":"href=\"../Education/sciencecareerfairs.html\""},{"name" :"For Students","url":""},{"name" :"Water Conservation","url":"href=\"../Education/for_kids.html\""},{"name" :"Our Water","url":"href=\"#\" onclick=\"urchinTracker(\'/Education/OurWater_poster_color\');popWindow(\'../img/img_kids/OurWater_poster_color.pdf\', \'ourwater\', \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\""}];


var linkButtons = {"name" : "Links","url":"href=\"../link/link.html\""};


var siteMapButtons = {"name" : "Site Map","url":"href=\"../site_map/sitemap.html\""};


var contactUsButtons = {"name" : "Contact Us","url":"href=\"../contact_DSRSD/contact_dsrsd.html\""};




var customerServiceButtons = [{"name" :"Customer Service /<br>Billing Information","url":""},{"name" :"Understanding Your Bill","url":"href=\"../img/img_understandingyourbill/understandingyourbill.pdf\""},{"name" :"Payment Options","url":""},{"name" :"eCheck Automatic Payment","url":"href=\"../billing_information/automaticpayment.html\""},{"name" :"Sign Up for Paperless Billing","url":"href=\"../billing_information/paperless_billing.html\""},{"name" :"Cash or Credit Card","url":"href=\"../billing_information/pay_by_cash_credit_card.html\""}, {"name" :"Your Account","url":""},{"name" :"Online Access","url":"href=\"#\"  onclick=\"popWindow(\'http://209.172.76.55/\',\'Account_Summary\',\'height=550,width=760,resizable=yes,scrollbars=yes,left=0,top=0\');urchinTracker(\'/billing_information/account_summary_ECS\');\""},{"name" :"Phone Access","url":"href=\"../billing_information/24response.html\""},{"name" :"Rates &amp; Charges","url":""},{"name" :"Water","url":"href=\"../your_water_services/water_ratescharges.html\""},{"name" :"Compare Your Rates","url":"href=\"../your_water_services/calculate_compare.html\""},{"name" :"Where Your Water Dollars Go","url":"href=\"../your_water_services/whereyourdollargoes.html\""},{"name" :"Water Theft Affects Your Rates","url":"href=\"../your_water_services/watertheftrates.html\""},{"name" :"New Account Application","url":"href=\"#\" onclick=\"popWindow(\'../img/img_application/newservice_form.pdf\', \'application\',  \'width=750,height=550,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/img/img_application/newservice_form\');\""}];
																																																																																																																																						  
var investingFutureButtons = [{"name" :"Investing in the Future","url":""},{"name" :"Construction","url":"href=\"../investing_in_the_future/capital_improv_proj.html\""},{"name" :"Reducing Costs / Increasing Efficiencies","url":"href=\"../investing_in_the_future/reducecostincreaseefficiency.html\""}];
																																																																																																																																						  
var protectingHealthButtons = [{"name" :"Protecting Health &amp;<br>the Environment","url":""},{"name" :"Overview","url":"href=\"../pollprev/overview.html\""},{"name" :"Businesses","url":""},{"name" :"Targeted Businesses","url":"href=\"../pollprev/targetbusiness.html\""},{"name" :"Vehicle Service Program, <br>Best Management Practices","url":"href=\"../pollprev/vehicleserviceprogram.html\""},{"name" :"Pollutants","url":""},{"name" :"Pollutants of Concern","url":"href=\"../pollprev/pollutantsofconcern.html\""},{"name" :"Plumbing Design Modification<br>to Reduce Copper Corrosion","url":"href=\"../pollprev/plumbingdesign.html\""},{"name" :"Household Hazardous Waste &amp; Meds","url":"href=\"../pollprev/hazardouswaste.html\""},{"name" :"Gardens","url":"href=\"../pollprev/gardens.html\""},{"name" :"Public Education and Outreach","url":"href=\"../pollprev/publiceduoutreach.html\""}];
							
							
var usingWaterWiselyButtons = [{"name" :"Using Water Wisely","url":""},{"name" :"How Are We Doing?","url":"href=\"../waterconservation/howarewedoing.html\""},{"name" :"Ways to Save Water","url":"href=\"../waterconservation/watersavingtips.html\""},{"name" :"Rebates","url":"href=\"../waterconservation/rebates.html\""},{"name" :"Free Water Saving Devices","url":"href=\"../waterconservation/watersavingdevices.html\""},{"name" :"Water Wise  Gardening","url":"href=\"#\" onclick=\"popWindow(\'http://www.zone7.watersavingplants.com/zone7.php\',\'zone7wsp\',\'height=684,width=844,left=0,top=0,scrollbars=yes,resizable=yes\')\;urchinTracker(\'/waterconservation/zone7watersavingplants\');\""},{"name" :"Residential Irrigation","url":"href=\"../waterconservation/irrigation.html\""},{"name" :"More Conservation Resources","url":"href=\"../waterconservation																																																																																																																																																	/conservationresources.html\""}];


var doingBusinessButtons = [{"name" : "Doing Business With Us Specs, Permits &amp; Fees","url":""},{"name" :"Backflow / Cross Connection Control","url":"href=\"../doing_business_with_dsrsd/approveddevices.html\""},{"name" :"Forms","url":"href=\"../doing_business_with_dsrsd/forms.html\""},{"name" :"Requirements","url":""},{"name" :"Recycled Water Use Guidelines","url":"href=\"../doing_business_with_dsrsd/recycled_water_usage.html\""},{"name" :"Standard Procedures, Specifications and Drawings","url":"href=\"../doing_business_with_dsrsd/standards_specs.html\""},{"name" :"Private Property Improvements Master Checklist","url":"href=\"../doing_business_with_dsrsd/pripropchecklist.html\""},{"name" :"Residential/Commericial Developers\' Improvements Master Checklist","url":"href=\"../doing_business_with_dsrsd/devchecklist.html\""},{"name" :"General Terms and Conditions for Construction Permits","url":"href=\"../doing_business_with_dsrsd/termsandconditions.html\""},{"name" :"Typical Construction Notes for On-Site Recycled Water Irrigation Plans","url":"href=\"../doing_business_with_dsrsd/irrigationplan.html\""},{"name" :"Improvement Plans Submittal Requirements","url":"href=\"../doing_business_with_dsrsd/submittalreq.html\""},{"name" :"Insurance Cancellation Notice Requirement","url":"href=\"../doing_business_with_dsrsd/insurnoticereq.html\""},{"name" :"Connection Fees","url":"href=\"../wwrw/fees.html\""},{"name" :"Rent a Sludge Thickener","url":"href=\"../doing_business_with_dsrsd/GBT_sludge_thickener.html\""}];



/*
*
* The Init function will run after page
* is completed loading the dom and
* stylesheets (when onload event
* handler is fired)
*
*/


function Init(){
	
	setBrowserVars();

	if (isLteIE6){
	
		startNav(pageName);
		
	}

}


function neIE6Init(pageName){

	setBrowserVars();

	if(isLteIE6 == false){
		
		startNav(pageName);
		
	}

}


function startNav(pageName) {

	setBrowserVars();

	setMyrules();

	if((isApple || isOpera) && (!isChrome)){
		
		safariOperaFix();
		
	}
	
	if(isKonqueror){

		konquerorFix();
		
	}
	
	if(isLteIE6){
		
		lteIE6Fix(pageName);
		
	}
	
	if(isGteIE7){
	
		gteIE7Fix();
	
	}
	
	if(!isLteIE6){
		
		neIE6Fix();
		
	}

	printNavigation(pageName);

}
















function setBrowserVars(){

	var thesubstring,thesubstring2,thesubstring3;
	
	//Detect IE version
	if(window.navigator.userAgent.indexOf("MSIE") != -1){
		
		thesubstring = window.navigator.userAgent.substring(window.navigator.userAgent.indexOf("MSIE ")+5,window.navigator.userAgent.indexOf("MSIE ")+7);
		
		isLteIE6 = ((thesubstring+0) <= 6) ? true : false;
		isGteIE7 = ((thesubstring+0) >= 7) ? true : false;
		isIE8 = ((thesubstring+0) == 8) ? true : false;
	}
	else{
	
		isLteIE6 = false;
		isGteIE7 = false;
	
	}
	
	//Detect Gecko RE
	thesubstring2 = window.navigator.userAgent.indexOf("Gecko");
	
	thesubstring3 = window.navigator.userAgent.indexOf("Chrome");
	
	isGecko = (thesubstring2 != -1) ? ((window.navigator.userAgent.indexOf("like Gecko") == -1) ? true : false) : false;
	
	isChrome = (thesubstring3 != -1) ? true: false;
	
	//Detect Apple Web Kit/Safari
	isApple = (window.navigator.userAgent.indexOf("Safari") != -1 || window.navigator.userAgent.indexOf("AppleWebKit") != -1) ? true : false;
	
	isOpera = (window.navigator.userAgent.indexOf("Opera") != -1) ? true : false;	
	
	isKonqueror = (window.navigator.userAgent.indexOf("Konqueror") != -1) ? true : false;	


}














function setMyrules(){
	
	var currentStyleIndex;
	
	for(currentStyleIndex = 0; currentStyleIndex < document.styleSheets.length; currentStyleIndex++){
		
		var temp = document.styleSheets.item(currentStyleIndex).href+"";
		if(temp.indexOf("css/nav.css") != -1){

			myrules = document.styleSheets.item(currentStyleIndex);
			myrules2 = document.styleSheets.item(currentStyleIndex).rules; //for second loop
			break;
			
		}
		
	}			

}

















function gteIE7Fix(){

	myrules.addRule("span.rightarrow","top:0px;",myrules2.length);
	myrules.addRule("a.NewsSubMenuLevel1.top","margin-top:1px;height:27px;",myrules2.length);	
	myrules.addRule("a.EducationSubMenuLevel1.top","margin-top:-1px;height:29px;",myrules2.length);
//	myrules.addRule("a.EducationSubMenuLevel1.top div","padding-bottom:1px;",myrules2.length);	
	myrules.addRule("a.AboutDSRSDSubMenuLevel2.flyout","line-height:24px;height:24px;position:relative;cursor:pointer;clear:both;vertical-align:middle;",myrules2.length);	
	myrules.addRule("a.AboutDSRSDSubMenuLevel2.flyout div","position:relative;cursor:pointer;vertical-align:middle;line-height:24px;height:24px;clear:both;display:inline-block;margin-bottom:4px;",myrules2.length);

	if(!isIE8){
		
		myrules.addRule("a.AboutDSRSDSubMenuLevel2.Top","margin-top:-1px;",myrules2.length);	
		
	}
}


















function neIE6Fix(){
	
	var targetrule, targetrule2, myrules3;
	try{
	
	if(isGteIE7){
		
		myrules3 = myrules.rules;

	}
	else{
		
		myrules3 = myrules.cssRules;
		
	}
	var j,temp1,temp2;
	for (j = 0; j < myrules3.length; j++){
		
		temp1 = myrules3.item(j).selectorText+"";
		
		if(temp1 == "#TopSubMenu"){ 
			targetrule = myrules3[j];	
			targetrule.style.width = "750px";
	
		}
		
		temp2 = myrules3.item(j).selectorText+"";
		
		if(temp2 == "#BottomSubMenu"){		
			targetrule2 = myrules3[j];
			targetrule2.style.width = "750px";
		}
				
/*		if(!isGteIE7){

			if(temp2 == "a.DoingBusinessSubMenuLevel1"){
			
				targetrule2 = myrules3[j];
				targetrules2.style.width = "142px";
			
			}
			
			if(temp2 == "a.DoingBusinessSubMenuLevel2"){
			
				targetrule2 = myrules3[j];
				targetrules2.style.marginLeft = "-2px";
			
			}
		
		}*/
	}
	}catch(e){
		
		//Escape security error in test version
		
	}
	
	if(!isApple && !isOpera && !isChrome && !isGteIE7){
		try{
			
		
		myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right.edu ul.left a.Top","margin-top:1px;",myrules3.length);	
		myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right ul.right a.Top","margin-top:1px;",myrules3.length);		
		myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.left a.top","margin-top:-1px;",myrules3.length);	
		myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.right a.top","margin-top:-1px;",myrules3.length);	
/*		myrules.addRule("#BottomSubMenu ul ul.right ul.left a.UsingWaterWiselySubMenuLevel2","margin-right:-1px;",myrules3.length);	
*/		}catch(e){
			
			//escape security error for localhost testing
			
		}
		
	}else if(isGteIE7){
		
		myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right table td a.DoingBusinessSubMenuLevel1.top","width:149px",0);		
	
		myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right.edu ul.left a.Top","margin-top:1px;",myrules3.length);	
		myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right ul.right a.Top","margin-top:1px;",myrules3.length);		
		myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.left a.top","margin-top:0px;",myrules3.length);	
		myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.right a.top","margin-top:-1px;",myrules3.length);	
/*		myrules.addRule("#BottomSubMenu ul ul.right ul.left a.UsingWaterWiselySubMenuLevel2","margin-right:-1px;",myrules3.length);	
*/
	}
	else{
		
		try{
			
			myrules.insertRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right.edu ul.left a.Top{margin-top:1px;}",myrules3.length);	
			myrules.insertRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right ul.right a.Top{margin-top:1px;}",myrules3.length);		
			myrules.insertRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.left a.top{margin-top:0px;}",myrules3.length);	
			myrules.insertRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.right a.top{margin-top:-1px;}",myrules3.length);			
/*			myrules.insertRule("#BottomSubMenu ul ul.right ul.left a.UsingWaterWiselySubMenuLevel2{margin-right:-1px;}",myrules3.length);	
*/			
		}catch(e){
			
			//escape security error for localhost testing
			
		}
	
	}
	
	
/*	if(isGteIE7){
		
		myrules.addRule("#BottomSubMenu ul ul.right ul.right ul.right a","border-top:1px #fff solid;",0);
		myrules.addRule("#BottomSubMenu ul ul.right ul.right ul.left a","border-left:1px #fff solid;",0);
		
	}
	else{
		
	myrules.insertRule("#BottomSubMenu ul ul.right ul.right ul.right a{border-top:1px #fff solid;}",myrules.length);
	myrules.insertRule("#BottomSubMenu ul ul.right ul.right ul.left a{border-right:1px #fff solid;}",myrules.length);
		
	}*/
		
}















function lteIE6Fix(pageName){
	
			myrules.addRule("span.rightarrow","top:0px;",myrules2.length);		

			myrules.addRule("span.leftarrow","padding-left:5px;",myrules2.length);		

			myrules.addRule("#TopSubMenu ul.topNavigationMenu li.top a","display:inline; display:inline-block;",myrules2.length);
	
			myrules.addRule("#TopSubMenu table","margin-top:-1px;",myrules2.length);

			myrules.addRule("#TopSubMenu table td a","margin:0px;margin-bottom:-2px;padding:0px;",myrules2.length);
						
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.left ul.left table td a","margin-bottom:0px;",myrules2.length);	
			
			myrules.addRule("#TopSubMenu ul.topNavigationMenu li.top ul.right ul.right ul.right table td a","margin-bottom:0px;",myrules2.length);	

/*			myrules.addRule("#TopSubMenu ul ul.right table td","margin-bottom:3px;",myrules2.length);	
			
			myrules.addRule("#TopSubMenu ul ul.right table td a","height:100%;",myrules2.length);	
			
			myrules.addRule("#TopSubMenu ul ul.right a.MeetingsSubMenuLevel1","margin-bottom:6px;",myrules2.length);	*/
			
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right a.flyout","line-height:24px;margin-top:-2px;margin-bottom:-3px;vertical-align:middle;",myrules2.length);	
			
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right a.flyout div","vertical-align:middle;",myrules2.length);				
			
			myrules.addRule("#TopSubMenu li a.top:hover","position:relative;",myrules2.length);
	
			myrules.addRule("#TopSubMenu li a.top","float:left;display:inline;display:inline-block;",myrules2.length);
	
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right a.Top","margin-top:2px;",myrules2.length);				

			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right a.TOP","margin-top:3px;",myrules2.length);	
			
/*			myrules.addRule("#TopSubMenu ul ul.right ul.right ul.right a.Top","margin:0px;padding:0px;margin-top:7px;",myrules2.length);				
*/
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right ul.left a.Top","margin-top:7px;",myrules2.length);										
			
			myrules.addRule("a.MeetingsSubMenuLevel1 div","line-height:24px;padding:0px;cursor:pointer;",myrules2.length);
			
			myrules.addRule("a.MeetingsSubMenuLevel1","position:relative;",myrules2.length);
			
			myrules.addRule("a.AboutDSRSDSubMenuLevel1 div","line-height:23px;",myrules2.length);
			
			myrules.addRule("a.EmploymentSubMenuLevel1 div","line-height:23px;",myrules2.length);
						
			myrules.addRule("a.ServicesSubMenuLevel1 div","line-height:23px;",myrules2.length);
			
			myrules.addRule("a.ServicesSubMenuLevel1","position:relative;",myrules2.length);			
			
			myrules.addRule("a.LinksSubMenuLevel1 div","line-height:25px;",myrules2.length);
			
			myrules.addRule("a.SiteMapSubMenuLevel1 div","line-height:25px;",myrules2.length);
			
			myrules.addRule("a.ContactUsSubMenuLevel1 div","line-height:25px;",myrules2.length);	
			
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right a.ServicesSubMenuLevel2","width:170px;",myrules2.length);

			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right a.MeetingsSubMenuLevel2","width:213px;",myrules2.length);					
			
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right a.MeetingsSubMenuLevel2 div","position:relative;display:block;width:.1en;padding-top:7px;padding-bottom:7px;line-height:14px;",myrules2.length);			
			
			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right ul.right a","position:relative;top:-1px;",myrules2.length);

			myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right ul.left a","position:relative;top:-6px;",myrules2.length);

			myrules.addRule("#BottomSubMenu","position:absolute;left:0px;",myrules2.length);		
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu li.top a","display:inline; display:inline-block;",myrules2.length);

			myrules.addRule("#BottomSubMenu table","border-collapse:collapse; margin:0px;padding:0px;",myrules2.length);
			
			myrules.addRule("#BottomSubMenu table td","border-collapse:collapse; margin:0px;padding:0px;",myrules2.length);	

			myrules.addRule("#BottomSubMenu table td a","border-collapse:collapse; margin:0px;margin-bottom:-3px;padding:0px;",myrules2.length);	
		
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a","border-color:#fff;border-width:0px;border-style:solid;border-top:1px;border-left:1px;border-collapse:collapse;",myrules2.length);			

			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.left a","border-color:#fff;border-width:0px;border-style:solid;border-top:1px;border-right:1px;border-collapse:collapse;",myrules2.length);	
					
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a div","margin:0px;padding:0px;height:42px;line-height:15px;whitespace:normal;top:0px;cursor:pointer;",myrules2.length);			

			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.flyout","height:21px;line-height:21px;",myrules2.length);				

			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.right a.top","margin-top:3px;",myrules2.length);										
			

			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.left a.top","margin-top:4px;",myrules2.length);										


			myrules.addRule("#BottomSubMenu li.top a.top:hover","position:relative;",myrules2.length);
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a","border-right:1px #fff solid;border-left:1px #fff solid;",myrules2.length);				
						
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu li ul.right a div","display:block;margin-bottom:13px;",myrules2.length);						
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.Top","margin-top:14px;",myrules2.length);						
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.left a.Top","margin-top:14px;",myrules2.length);				
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.ProtectingHealthSubMenuLevel1 div","height:10px;line-height:13px;",myrules2.length);		
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.ProtectingHealthSubMenuLevel1 div","display:block;margin-bottom:15px;height:15%;",myrules2.length);			
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.UsingWaterWiselySubMenuLevel1 div","height:10px;line-height:13px;bottom:3px;",myrules2.length);				
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.DoingBusinessSubMenuLevel1 div","height:10px;line-height:13px;",myrules2.length);
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.CustomerServiceSubMenuLevel1","height:42px;",myrules2.length);	
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.bottom","border-bottom:1px #fff solid;line-height:15px;bottom:2px;",myrules2.length);			
	
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.bottom div","padding:0px;margin:0px;",myrules2.length);	
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.ProtectingHealthSubMenuLevel1","height:42px;",myrules2.length);							
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.UsingWaterWiselySubMenuLevel1","height:42px;line-height:13px;",myrules2.length);				
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.UsingWaterWiselySubMenuLevel1 div","display:block;margin-bottom:28px;height:15%",myrules2.length);
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.DoingBusinessSubMenuLevel1","height:42px;",myrules2.length);							
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.DoingBusinessSubMenuLevel1 div","display:block;margin-bottom:15px;height:15%;",myrules2.length);			
			

			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.CustomerServiceSubMenuLevel1 div","height:10px;line-height:13px;margin-bottom:15px;",myrules2.length);
			
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.InvestingFutureSubMenuLevel1","height:42px;line-height:13px;",myrules2.length);				
			
		/*	myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.InvestingFutureSubMenuLevel1 div","top:14px;line-height:15px;padding:0px;margin:0px;",myrules2.length);*/
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.InvestingFutureSubMenuLevel1 div","display:block;margin-bottom:26px;height:15%;",myrules2.length);
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.UsingWaterWiselySubMenuLevel1 div","display:block;margin-bottom:26px;height:15%;line-height:15px;",myrules2.length);			
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.CustomerServiceSubMenuLevel2","border-right:1px #fff solid;",myrules2.length);
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu li.top ul.right ul.right a.InvestingFutureSubMenuLevel2.Top","margin-top:1px;",myrules2.length);						
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu li.top ul.right ul.left a.UsingWaterWiselySubMenuLevel2.Top","margin-top:1px;",myrules2.length);		
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu li.top ul.right ul.left a.UsingWaterWiselySubMenuLevel2","margin-right:-2px;",myrules2.length);									
			

			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.InvestingFutureSubMenuLevel2","width:149px;position:relative;left:-1px;",myrules2.length);


			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.DoingBusinessSubMenuLevel2 div","margin:0px;padding:0px;height:42px;line-height:15px;whitespace:normal;top:0px;position:relative;cursor:pointer;text-align:right;margin-right:5px;",myrules2.length);						
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right a.DoingBusinessSubMenuLevel2","position:relative;right:2px;width:149px;",myrules2.length);							
	
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right table td a.ProtectingHealthSubMenuLevel3","height:22px;margin:0px;padding:0px;margin-left:2px;",myrules2.length);		

			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.right ul.left a.DoingBusinessSubMenuLevel3","margin-right:0px;z-index:50;",myrules2.length);		
			
			myrules.addRule("a.UsingWaterWiselySubMenuLevel3.top","margin-top:0px;",myrules2.length);								
			
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.left table td ul.left a.UsingWaterWiselySubMenuLevel3","position:static;",myrules2.length);		
			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right ul.left table td ul.left a.UsingWaterWiselySubMenuLevel3 div","padding:0px;padding-top:4px;height:auto;position:static;line-height:0px;",myrules2.length);		
			
			//myrules.addRule("a.UsingWaterWiselySubMenuLevel3 div","margin:0px;padding:0px;height:auto;position:static;",myrules2.length);			
			
			myrules.addRule("a.EducationSubMenuLevel1 div","top:none;position:static;",myrules2.length);			
			
/*			myrules.addRule("#BottomSubMenu ul.bottomNavigationMenu ul.right a.DoingBusinessSubMenuLevel1","width:148px;",myrules2.length);	
*/

			/*
			 * Below is a fix for the bottom navigation
			 * buttons which are not repainted when the
			 * window is resized.
			 */

			var thisWindow = self;
			
			if(window.navigator.userAgent.indexOf("MSIE 5") != -1){
				
				window.attachEvent("onresize",printNavigation);
				
			}
			else{
							
							thisWindow.attachEvent("onresize",function(){printNavigation(pageName);});	
				
			}
/*			window.alert("Got into ie6Fix() and myrules tail is the following: \n"+myrules.rules.item(myrules2.length-1).selectorText + "{background-color:"+myrules.rules.item(myrules2.length-1).style.backgroundColor+"}");
*/						
/*			myrules.addRule("#BottomSubMenu li a.top","float:left;display:inline;display:inline-block;");
*/			
}
















function safariOperaFix()
{
	var targetrule,j;

	for (j = 0; j < myrules.cssRules.length; j++){
		
		var temp1 = myrules.cssRules.item(j).selectorText+"";
		
		if(temp1.toLowerCase() == "span.rightarrow"){ 
		
			targetrule = myrules.cssRules.item(j);
			targetrule.style.top = "0px";
			targetrule.style.position = "absolute";
			break;	
		}
	}	

	
	if(isOpera){
		

		var i,temp2;
		for (i = 0; i < myrules.cssRules.length; i++){
			
			temp2 = myrules.cssRules.item(i).selectorText+"";
			
			if(temp2 == "#BottomSubMenu ul.bottomNavigationMenu ul.right, #BottomSubMenu ul.bottomNavigationMenu ul.left"){ 
			
				targetrule = myrules.cssRules.item(i);
				targetrule.style.position = "static";
	
			}
			if(temp2 == "#BottomSubMenu ul.bottomNavigationMenu"){ 
			
				targetrule = myrules.cssRules.item(i);
				targetrule.style.position = "static";
			}
			
			if(temp2 == "#BottomSubMenu ul.bottomNavigationMenu li.top"){ 
			
				targetrule = myrules.cssRules.item(i);
				targetrule.style.position = "static";
			}			
			
			
		}
	}
/*	myrules.insertRule("#BottomSubMenu ul ul.right, #BottomSubMenu ul ul.left{position:static;}",null);
	myrules.insertRule("#BottomSubMenu ul{position:static;}",null);
*/
}















function konquerorFix(){

	var targetrule,j;

	for (j = 0; j < myrules.cssRules.length; j++){
		
		var temp1 = myrules.cssRules.item(j).selectorText+"";
		
		if(temp1.toLowerCase() == "span.rightarrow"){ 
		
			targetrule = myrules.cssRules.item(j);
			targetrule.style.top = "0px";

		}
		
		if(temp1.toLowerCase() == "a.doingbusinesssubmenulevel3"){ 
		
			targetrule = myrules.cssRules.item(j);
			targetrule.style.right = "-2px";

		}		
		
	}
/*
	myrules.addRule("#TopSubMenu ul table td a","margin-bottom:-2px;",null);
	myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.edu ul.left a.Top","margin-top:-2px;",myrules2.length);	
	myrules.addRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right ul.right a.Top","margin-top:-2px;",myrules2.length);		
	myrules.addRule("#BottomSubMenu ul ul.right ul.right ul.left a.top","margin-top:-1px;",myrules2.length);	
*/
	//myrules.insertRule("#TopSubMenu ul.topNavigationMenu ul.right ul.right.edu ul.left a.Top{margin-bottom:-1px;}",null);	
	
//	myrules.addRule("span.rightarrow","top:0px;",0);
//	myrules.insertRule("span.rightarrow{top:25px;}",null);
			

}














function createNavigationWrapper(){

	var linkElements,navigationWrapper;
	
	navigationWrapper = document.createElement("div");
	
	navigationWrapper.setAttribute("style","margin:0px;padding:0px;position:absolute;top:0px;left:0px;z-index:30;");

	navigationWrapper.setAttribute("id","navigation");
	
	navigationWrapper.setAttribute("width","750");	
	
	navigationWrapper.innerHTML = " ";

	linkElements = document.getElementsByTagName("link");

	
	if(isGecko || isKonqueror || isOpera){
	
		document.body.insertBefore(navigationWrapper,null);		
	
	}else{
		var isSuccess;
//		isSuccess = document.body.insertBefore(navigationWrapper);
		document.body.insertBefore(navigationWrapper);
		
//		window.alert("The document.body.insertBefore object method call is complete -- result is :\n"+isSuccess);
	}

}














	
function printNavigation(pageName){
	
	var navigation_heredoc;
	
	//window.alert("pageName is: "+pageName); debug
	
	navigation_heredoc = '<div id=\"TopSubMenu\">';
	navigation_heredoc += ' <ul class=\"topNavigationMenu\">';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '<ul class=\"right\">';

	/* Meetings*/

	if ((pageName == "nav_mastercalendar") || (pageName == "nav_meetingsbmsam") || (pageName == "nav_meetingsbcmsam") || (pageName == "nav_meetingsliaison")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"MeetingsSubMenuLevel1 TopSubMenuLevel1Over top "><div>'+meetingButtons[0].name+'</div>';
	
	}
	else{
		
		navigation_heredoc += '        <li><a href=\"#\" class=\"MeetingsSubMenuLevel1 top\"><div>'+meetingButtons[0].name+'</div>';		
		
	}
	
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
	
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Master Calendar */	
	
	if ((pageName == "nav_mastercalendar")) {	
	
		navigation_heredoc += '            <li><a '+meetingButtons[1].url+' class=\"MeetingsSubMenuLevel2 TopSubMenuLevel2Over Top\">'+meetingButtons[1].name+'</a></li>';

	}
	else{
		
		navigation_heredoc += '            <li><a '+meetingButtons[1].url+' class=\"MeetingsSubMenuLevel2 Top\">'+meetingButtons[1].name+'</a></li>';

		
	}

	/* Board Meetings Schedules Agendas and Minutes */	
	
	if ((pageName == "nav_meetingsbmsam")) {
	
		navigation_heredoc += '            <li><a '+meetingButtons[2].url+' class=\"MeetingsSubMenuLevel2 TopSubMenuLevel2Over\" style=\"height:auto;\">';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+meetingButtons[2].url+' class=\"MeetingsSubMenuLevel2\" style=\"height:auto;\">';
	
	}
	navigation_heredoc += '<div>'+meetingButtons[2].name+'</div>';
	navigation_heredoc += '</a></li>';
	
	/* Board Committee Meetings Schedules Agendas and Minutes */		
	
	if ((pageName == "nav_meetingsbcmsam")) {
	
		navigation_heredoc += '<li><a '+meetingButtons[3].url+'\" class=\"MeetingsSubMenuLevel2 TopSubMenuLevel2Over\">';
		
	}
	else{
	
		navigation_heredoc += '<li><a '+meetingButtons[3].url+' class=\"MeetingsSubMenuLevel2\">';
	
	}
	
	navigation_heredoc += '<div>'+meetingButtons[3].name+'</div>';
	navigation_heredoc += '</a></li>';

	/* Liaison Meetings Schedules Agendas and Minutes */		

	if((pageName == "nav_meetingsliaison")){	
	
		navigation_heredoc += '<li><a '+meetingButtons[4].url+' class=\"MeetingsSubMenuLevel2 TopSubMenuLevel2Over\">';
		
	}
	else{
		
		navigation_heredoc += '<li><a '+meetingButtons[4].url+' class=\"MeetingsSubMenuLevel2\">';
		
	}
	
	navigation_heredoc += '<div>'+meetingButtons[4].name+'</div></a></li>';
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
	
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '</li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '<ul class=\"right\">';

	/* About DSRSD */		

	if ((pageName == "nav_mission_statement") || (pageName == "nav_quick_facts") || (pageName == "nav_greenbusiness") || (pageName == "nav_board_schedules") || (pageName == "nav_board_directors") || (pageName == "nav_bodcommittees") || (pageName == "nav_district_code") || (pageName == "nav_district_management") || (pageName == "nav_organizational_chart") || (pageName == "nav_relationship_entities") || (pageName == "nav_awards") || (pageName == "nav_history") || (pageName == "nav_where_dollar") || (pageName == "nav_agenda_minutes") || (pageName == "nav_whats_current")) {

		navigation_heredoc += '        <li><a href=\"#\" class=\"AboutDSRSDSubMenuLevel1 TopSubMenuLevel1Over top\"><div>'+aboutDSRSDButtons[0].name+'</div>';
	
	}
	else{
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"AboutDSRSDSubMenuLevel1 top\"><div>'+aboutDSRSDButtons[0].name+'</div>';
	
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';

	}
	navigation_heredoc += '<ul class=\"right\">';


	/* What's Current*/		

	if ((pageName == "nav_whats_current")) {
	
		navigation_heredoc += '            <li><a href=\"../aboutDSRSD/whatscurrent.html\" class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over Top\">'+"What's Current</a></li>";

	}
	else{
	
		navigation_heredoc += '            <li><a href=\"../aboutDSRSD/whatscurrent.html\" class=\"AboutDSRSDSubMenuLevel2 Top\">'+"What's Current</a></li>";		
	
	}


	/* Mission  / Vision / Core Values */		

	if ((pageName == "nav_mission_statement")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[1].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[1].name+'</a></li>';

	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[1].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[1].name+'</a></li>';		
	
	}

	/* District at a Glance */		

	if ((pageName == "nav_quick_facts")) {	
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[2].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[2].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[2].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[2].name+'</a></li>';	
	
	}

	/* Board of Directors */		

	if ((pageName == "nav_board_directors")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[3].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[3].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[3].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[3].name+'</a></li>';
		
	}

	/* Board Committees & JPA */		

	if ((pageName == "nav_board_schedules")) {
		
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[4].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[4].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[4].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[4].name+'</a></li>';	
	
	}
	
	/* Code of Ethics */		
	
	if ((pageName == "nav_code_ethics")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[5].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[5].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[5].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[5].name+'</a></li>';	
	
	}

	/* District Management */		

	if ((pageName == "nav_district_management")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[6].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[6].name+'</a></li>';
		
	}
	else{
		
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[6].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[6].name+'</a></li>';	
	
	}

	/* Organization Chart */		

	if ((pageName == "nav_organizational_chart")) {	
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[7].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[7].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[7].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[7].name+'</a></li>';
		
	}

	/* Green Business */		

	if ((pageName == "nav_greenbusiness")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over flyout\">'+aboutDSRSDButtons[8].name+' <span class=\"rightarrow\">&raquo;</span>';

	}
	else{
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"AboutDSRSDSubMenuLevel2 flyout\">'+aboutDSRSDButtons[8].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}
	
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){

		navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* District Certified Green */			
	
	if ((pageName == "nav_greenbusiness")) {
	
		navigation_heredoc += '                <li><a '+aboutDSRSDButtons[9].url+' class=\"AboutDSRSDSubMenuLevel3 TopSubMenuLevel3Over Top\">'+aboutDSRSDButtons[9].name+'</a></li>';
		
	}
	else{
		
		navigation_heredoc += '                <li><a '+aboutDSRSDButtons[9].url+' class=\"AboutDSRSDSubMenuLevel3 Top\">'+aboutDSRSDButtons[9].name+'</a></li>';		
		
	}
	
	/* Plant Saves Energy */			
	
	navigation_heredoc += '                <li><a '+aboutDSRSDButtons[10].url+' class=\"AboutDSRSDSubMenuLevel3\">'+aboutDSRSDButtons[10].name+'</a></li>';
	
	/* Green Initiatives */			
	
	navigation_heredoc += '                <li><a '+aboutDSRSDButtons[11].url+' class=\"AboutDSRSDSubMenuLevel3\">'+aboutDSRSDButtons[11].name+'</a></li>';
	navigation_heredoc += '              </ul>';
	if(isLteIE6){

		navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '            </li>';
	
	/* Relationships with Other Entities */			
	
	if ((pageName == "nav_relationship_entities")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[12].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[12].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[12].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[12].name+'</a></li>';	
	
	}
	
	/* Awards */				
	
	if ((pageName == "nav_awards")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[13].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[13].name+'</a></li>';
	
	}
	else{
		
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[13].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[13].name+'</a></li>';		
		
	}

	/* History */				
	
	if ((pageName == "nav_history")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[14].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[14].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[14].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[14].name+'</a></li>';	
	
	}
	
	/* Finance */					

	if ((pageName == "nav_where_dollar") || (pageName == "nav_financial_report")) {
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over flyout\">'+aboutDSRSDButtons[15].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"AboutDSRSDSubMenuLevel2 flyout\">'+aboutDSRSDButtons[15].name+' <span class=\"rightarrow\">&raquo;</span>';	
	
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
	
	}
	navigation_heredoc += '<ul class=\"right\">';

	/* Comprehensive Annual Financial Report */					

	if ((pageName == "nav_financial_report")) {	
	
		navigation_heredoc += '                <li><a '+aboutDSRSDButtons[16].url+' class=\"AboutDSRSDSubMenuLevel3 TopSubMenuLevel3Over Top\">'+aboutDSRSDButtons[16].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '                <li><a '+aboutDSRSDButtons[16].url+' class=\"AboutDSRSDSubMenuLevel3 Top\">'+aboutDSRSDButtons[16].name+'</a></li>';
		
	}
	
	/* Operating Budget */					
	
	navigation_heredoc += '                <li><a '+aboutDSRSDButtons[17].url+' class=\"AboutDSRSDSubMenuLevel3\">'+aboutDSRSDButtons[17].name+'</a></li>';
	
	
	/* Where you dollars go */					
	
	if ((pageName == "nav_where_dollar")) {

		navigation_heredoc += '                <li><a '+aboutDSRSDButtons[18].url+' class=\"AboutDSRSDSubMenuLevel3 TopSubMenuLevel3Over\">'+aboutDSRSDButtons[18].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '                <li><a '+aboutDSRSDButtons[18].url+' class=\"AboutDSRSDSubMenuLevel3\">'+aboutDSRSDButtons[18].name+'</a></li>';	
	
	}
	
	/* Finances in Brief */						
	
	navigation_heredoc += '                <li><a '+aboutDSRSDButtons[19].url+' class=\"AboutDSRSDSubMenuLevel3\">'+aboutDSRSDButtons[19].name+'</a></li>';
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '            </li>';

	/* Strategic Plan */						
	
	navigation_heredoc += '            <li><a '+aboutDSRSDButtons[20].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[20].name+'</a></li>';
	
	/* District Code */							
	
	if ((pageName == "nav_district_code")) {
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[21].url+' class=\"AboutDSRSDSubMenuLevel2 TopSubMenuLevel2Over\">'+aboutDSRSDButtons[21].name+'</a></li>';
		
	}
	else{
	
		navigation_heredoc += '            <li><a '+aboutDSRSDButtons[21].url+' class=\"AboutDSRSDSubMenuLevel2\">'+aboutDSRSDButtons[21].name+'</a></li>';
		
	}
	
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
		navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';

	/* Services */							

	if ((pageName == "nav_water_services_faq") || (pageName == "nav_wastewater_services_faq") || (pageName == "nav_lavwm_system") || (pageName == "nav_recycled_water_faq") || (pageName == "") || (pageName == "nav_derwa") || (pageName == "nav_water_quality") || (pageName == "nav_your_wtr_serv_faq") || (pageName == "nav_odor_hotline") || (pageName == "nav_industrial_waste")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"ServicesSubMenuLevel1  TopSubMenuLevel1Over top\"><div>'+servicesButtons[0].name+'</div>';
		
	}
	else {
		
		navigation_heredoc += '        <li><a href=\"#\" class=\"ServicesSubMenuLevel1 top\"><div>'+servicesButtons[0].name+'</div>';		
		
	}
		
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';

	/* Service Area Map */							

	if ((pageName == "nav_service_are_map")) {

		navigation_heredoc += '            <li><a '+servicesButtons[1].url+' class=\"ServicesSubMenuLevel2 TopSubMenuLevel2Over TOP\">'+servicesButtons[1].name+'</a></li>';
		
	} else {
		
		navigation_heredoc += '            <li><a '+servicesButtons[1].url+' class=\"ServicesSubMenuLevel2 TOP\">'+servicesButtons[1].name+'</a></li>';
		
	}

	/* Water Services */							

	if ((pageName == "nav_water_services_faq") || (pageName == "nav_water_quality") || (pageName == "")  || (pageName == "nav_hydrant_flush")) {

		navigation_heredoc += '            <li><a href=\"#\" class=\"ServicesSubMenuLevel2 TopSubMenuLevel2Over flyout\">'+servicesButtons[2].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	} else {

		navigation_heredoc += '            <li><a href=\"#\" class=\"ServicesSubMenuLevel2 flyout\">'+servicesButtons[2].name+' <span class=\"rightarrow\">&raquo;</span>';

	}
		
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Water Quality */								
	
	if ((pageName == "nav_water_quality")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[3].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over Top\">'+servicesButtons[3].name+'</a></li>';
		
	}else
	{
		navigation_heredoc += '                <li><a '+servicesButtons[3].url+' class=\"ServicesSubMenuLevel3 Top\">'+servicesButtons[3].name+'</a></li>';
		
	}
	
	/* Water Services FAQ */									
	
	if ((pageName == "nav_water_services_faq")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[4].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[4].name+'</a></li>';
	
	}else{
		
		navigation_heredoc += '                <li><a '+servicesButtons[4].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[4].name+'</a></li>';
		
	}

	/* Flushing Hydrants */									

	if ((pageName == "nav_hydrant_flush")) {	
	
		navigation_heredoc += '                <li><a '+servicesButtons[5].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[5].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+servicesButtons[5].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[5].name+'</a></li>';
				
	}
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';

	}
	
	/* Wastewater Services */									
	
	navigation_heredoc += '            </li>';
	if ((pageName == "nav_lavwm_system") || (pageName == "nav_wastewater_services_faq") || (pageName == "") || (pageName == "nav_industrial_waste") || (pageName == "nav_odor_hotline")) {	
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"ServicesSubMenuLevel2 TopSubMenuLevel2Over flyout\">'+servicesButtons[6].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	} else {
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"ServicesSubMenuLevel2 flyout\">'+servicesButtons[6].name+' <span class=\"rightarrow\">&raquo;</span>';

	}
		
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';

	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Wastewater Disposal (LAVWMA) */	
	
	if ((pageName == "nav_lavwm_system")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[7].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over Top\">'+servicesButtons[7].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+servicesButtons[7].url+' class=\"ServicesSubMenuLevel3 Top\">'+servicesButtons[7].name+'</a></li>';
		
	}
	
	/* Odor Control Hotline */		
	
	if ((pageName == "nav_odor_hotline")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[8].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[8].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[8].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[8].name+'</a></li>';	
	
	}
	
	/* Wastewater Services FAQ */			
	
	if ((pageName == "nav_wastewater_services_faq")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[9].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[9].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+servicesButtons[9].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[9].name+'</a></li>';		
		
	}

	/* Industrial Waste Charges */			

	if ((pageName == "nav_industrial_waste")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[10].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[10].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[10].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[10].name+'</a></li>';	
	
	}

	/* Wastewater System Diagram */			

	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[11].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[11].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[11].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[11].name+'</a></li>';
		
	}

	/* Wastewater Disposal System Diagram */			
	
	if ((pageName == "")) {

		navigation_heredoc += '                <li><a '+servicesButtons[12].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[12].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[12].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[12].name+'</a></li>';	
	
	}
	
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';

		
	}
	navigation_heredoc += '            </li>';

	/* Recycled Water Services */			

	if ((pageName == "nav_recycled_water_faq") || (pageName == "nav_derwa") || (pageName == "")) {

	
		navigation_heredoc += '            <li><a href=\"#\" class=\"ServicesSubMenuLevel2 TopSubMenuLevel2Over flyout\">'+servicesButtons[13].name+' <span class=\"rightarrow\">&raquo;</span>';
	
	} else {
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"ServicesSubMenuLevel2 flyout\">'+servicesButtons[13].name+' <span class=\"rightarrow\">&raquo;</span>';


	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';

	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Self-Monitoring Report */				
	
	if ((pageName == "")) {
		
		navigation_heredoc += '                <li><a '+servicesButtons[14].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over Top\">'+servicesButtons[14].name+'</a></li>';
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[14].url+' class=\"ServicesSubMenuLevel3 Top\">'+servicesButtons[14].name+'</a></li>';

	}

	/* Recycled Water FAQ */				

	if ((pageName == "nav_recycled_water_faq")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[15].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[15].name+'</a></li>';
	
	}else{

		navigation_heredoc += '                <li><a '+servicesButtons[15].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[15].name+'</a></li>';
	
	}
	
	/* DERWA (Recycled Water Project) */					
	
	if ((pageName == "nav_derwa")) {	
	
		navigation_heredoc += '                <li><a '+servicesButtons[16].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[16].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[16].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[16].name+'</a></li>';
		
	}
	
	/* Recycled Water System Diagram */						
	
	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[17].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[17].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[17].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[17].name+'</a></li>';
	
	}

	/* Recycled Water Hydrants Map */						

	if ((pageName == "")) {

		navigation_heredoc += '                <li><a '+servicesButtons[18].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[18].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[18].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[18].name+'</a></li>';
			
	}

	/* The Recycled Water Cycle */						

	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+servicesButtons[19].url+' class=\"ServicesSubMenuLevel3 TopSubMenuLevel3Over\">'+servicesButtons[19].name+'</a></li>';
	}else{
	
		navigation_heredoc += '                <li><a '+servicesButtons[19].url+' class=\"ServicesSubMenuLevel3\">'+servicesButtons[19].name+'</a></li>';
	
	}
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';		
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';

	/* Employment */						

	if ((pageName == "nav_openings_applications") || (pageName == "nav_reg_occup_program") || (pageName == "nav_job_descriptions") || (pageName == "nav_salary_schedule") || (pageName == "nav_stat_eng_local39") || (pageName == "nav_mid_man_confidential") || (pageName == "nav_senior_management") || (pageName == "")  || (pageName == "nav_org_chart")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"EmploymentSubMenuLevel1 TopSubMenuLevel1Over top\"><div>'+employmentButtons[0].name+'</div>';
		
	}else{
		
		navigation_heredoc += '        <li><a href=\"#\" class=\"EmploymentSubMenuLevel1 top\"><div>'+employmentButtons[0].name+'</div>';		
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';

	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Current Openings & Applications */							
	
	if ((pageName == "nav_openings_applications")) {
	
		navigation_heredoc += '            <li><a '+employmentButtons[1].url+' class=\"EmploymentSubMenuLevel2 TopSubMenuLevel2Over TOP\">'+employmentButtons[1].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+employmentButtons[1].url+' class=\"EmploymentSubMenuLevel2 TOP\">'+employmentButtons[1].name+'</a></li>';	
	
	}

	/* Career Training */							

	if ((pageName == "nav_reg_occup_program")) {
	
		navigation_heredoc += '            <li><a '+employmentButtons[2].url+' class=\"EmploymentSubMenuLevel2 TopSubMenuLevel2Over\">'+employmentButtons[2].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+employmentButtons[2].url+' class=\"EmploymentSubMenuLevel2\">'+employmentButtons[2].name+'</a></li>';	
	
	}

	/* Job Descriptions */							

	if((pageName == "")){
		
		navigation_heredoc += '            <li><a '+employmentButtons[3].url+' class=\"EmploymentSubMenuLevel2 TopSubMenuLevel2Over\">'+employmentButtons[3].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+employmentButtons[3].url+' class=\"EmploymentSubMenuLevel2\">'+employmentButtons[3].name+'</a></li>';
		
	}

	/* Salary Schedule */							

	if ((pageName == "nav_salary_schedule")) {

		navigation_heredoc += '            <li><a '+employmentButtons[4].url+' class=\"EmploymentSubMenuLevel2 TopSubMenuLevel2Over\">'+employmentButtons[4].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+employmentButtons[4].url+' class=\"EmploymentSubMenuLevel2\">'+employmentButtons[4].name+'</a></li>';
		
	}

	/* Benefits */							

	if((pageName == "")){
	
		navigation_heredoc += '            <li><a '+employmentButtons[5].url+' class=\"EmploymentSubMenuLevel2 TopSubMenuLevel2Over\">'+employmentButtons[5].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+employmentButtons[5].url+' class=\"EmploymentSubMenuLevel2\">'+employmentButtons[5].name+'</a></li>';	
	
	}
	
	/* Memorandums of Understanding */								
	
	if ((pageName == "nav_mou_cebu") || (pageName == "nav_mou_pebu") || (pageName == "nav_mou_l39") || (pageName == "nav_mou_midmgmt")) {	
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"EmploymentSubMenuLevel2 TopSubMenuLevel2Over flyout\">'+employmentButtons[6].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}else{
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"EmploymentSubMenuLevel2 flyout\">'+employmentButtons[6].name+' <span class=\"rightarrow\">&raquo;</span>';		
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
		navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Stationary Engineers Local 39 */									
	
	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+employmentButtons[7].url+' class=\"EmploymentSubMenuLevel3 TopSubMenuLevel3Over Top\">'+employmentButtons[7].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+employmentButtons[7].url+' class=\"EmploymentSubMenuLevel3 Top\">'+employmentButtons[7].name+'</a></li>';

	}
	
	/* Confidential Employees Bargaining Unit */										
	
	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+employmentButtons[8].url+' class=\"EmploymentSubMenuLevel3 TopSubMenuLevel3Over\">'+employmentButtons[8].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+employmentButtons[8].url+' class=\"EmploymentSubMenuLevel3\">'+employmentButtons[8].name+'</a></li>';	
	
	}
	
	/* Professional Employees Bargaining Unit */											
	
	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+employmentButtons[9].url+' class=\"EmploymentSubMenuLevel3 TopSubMenuLevel3Over\">'+employmentButtons[9].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+employmentButtons[9].url+' class=\"EmploymentSubMenuLevel3\">'+employmentButtons[9].name+'</a></li>';		
		
	}
	
	/* Mid Management Employees Bargaining Unit */												
	
	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+employmentButtons[10].url+' class=\"EmploymentSubMenuLevel3 TopSubMenuLevel3Over\">'+employmentButtons[10].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+employmentButtons[10].url+' class=\"EmploymentSubMenuLevel3\">'+employmentButtons[10].name+'</a></li>';		
		
	}
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';

	}
	navigation_heredoc += '</li>';
	
	/* Organization Chart */													
	
	if ((pageName == "nav_org_chart")) {
	
		navigation_heredoc += '            <li><a '+employmentButtons[11].url+' class=\"EmploymentSubMenuLevel2 TopSubMenuLevel2Over\">'+employmentButtons[11].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+employmentButtons[11].url+' class=\"EmploymentSubMenuLevel2\">'+employmentButtons[11].name+'</a></li>';
		
	}
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';
	
	/* New, Media & Publications */														
	
	if ((pageName == "nav_news_releases") || (pageName == "nav_publications") || (pageName == "nav_media")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"NewsSubMenuLevel1 TopSubMenuLevel1Over\"><div>'+newsButtons[0].name+'</div>';
		
	}else{
		
		navigation_heredoc += '        <li><a href=\"#\" class=\"NewsSubMenuLevel1\"><div>'+newsButtons[0].name+'</div>';		
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* New Releases */															
	
	if ((pageName == "nav_news_releases")) {
	
		navigation_heredoc += '            <li><a '+newsButtons[1].url+' class=\"NewsSubMenuLevel2 TopSubMenuLevel2Over Top\">'+newsButtons[1].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+newsButtons[1].url+' class=\"NewsSubMenuLevel2 Top\">'+newsButtons[1].name+'</a></li>';		
		
	}

	/* Publications */															
	
	if ((pageName == "nav_publications")) {
	
		navigation_heredoc += '            <li><a '+newsButtons[2].url+' class=\"NewsSubMenuLevel2 TopSubMenuLevel2Over\">'+newsButtons[2].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+newsButtons[2].url+'\" class=\"NewsSubMenuLevel2\">'+newsButtons[2].name+'</a></li>';		
		
	}
	
	/* Media */																
	
	if ((pageName == "nav_media")) {	
	
		navigation_heredoc += '            <li><a '+newsButtons[3].url+' class=\"NewsSubMenuLevel2 TopSubMenuLevel2Over\">'+newsButtons[3].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+newsButtons[3].url+' class=\"NewsSubMenuLevel2\">'+newsButtons[3].name+'</a></li>';	
	
	}
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';

	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';
	
	/* Education Resources */																	
	
	if ((pageName == "nav_games") || (pageName == "nav_contests") || (pageName == "nav_educationalmaterial") || (pageName == "nav_sciencecareerfairs") || (pageName == "nav_usefulllinks") || (pageName == "nav_for_students")) {

		navigation_heredoc += '        <li><a href=\"#\" class=\"EducationSubMenuLevel1 TopSubMenuLevel1Over top\"><div>'+educationButtons[0].name+'</div>';
		
	}else{
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"EducationSubMenuLevel1 top\"><div>'+educationButtons[0].name+'</div>';
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';	
		
	}
	navigation_heredoc += '<ul class=\"right edu\">';
	
	/* Games */																	
	
	if ((pageName == "nav_games")) {
	
		navigation_heredoc += '            <li><a '+educationButtons[1].url+' class=\"EducationSubMenuLevel2 TopSubMenuLevel2Over Top\">'+educationButtons[1].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+educationButtons[1].url+' class=\"EducationSubMenuLevel2 Top\">'+educationButtons[1].name+'</a></li>';		
		
	}
	
	/* Tour Request */																		
	
	if ((pageName == "nav_tour_request")) {
	
		navigation_heredoc += '            <li><a '+educationButtons[2].url+' class=\"EducationSubMenuLevel2 TopSubMenuLevel2Over\">'+educationButtons[2].name+'</a></li>';

	}else{
		
		navigation_heredoc += '            <li><a '+educationButtons[2].url+' class=\"EducationSubMenuLevel2\">'+educationButtons[2].name+'</a></li>';		
		
	}
	
	/* For Teachers */																			
	
	if ((pageName == "nav_lesson_plans")  || (pageName == "nav_sciencecareerfairs") || (pageName == "nav_projectwet") || (pageName == "nav_sewerscience") || (pageName == "nav_usefulllinks") || (pageName == "nav_presentations")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"EducationSubMenuLevel2 TopSubMenuLevel2Over flyout\"><span class=\"leftarrow\" style=\"margin-left:-7px;\">&laquo;</span> '+educationButtons[3].name;
		
	}
	else{
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"EducationSubMenuLevel2 flyout\"><span class=\"leftarrow\" style=\"margin-left:-7px;\">&laquo;</span> '+educationButtons[3].name;
				
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"left\">';
	
	/* Lesson Plans, K-5 */																				
	
	if ((pageName == "nav_lesson_plans")) {
	
		navigation_heredoc += '                <li><a '+educationButtons[4].url+' class=\"EducationSubMenuLevel3 TopSubMenuLevel3Over Top\">'+educationButtons[4].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+educationButtons[4].url+' class=\"EducationSubMenuLevel3 Top\">'+educationButtons[4].name+'</a></li>';
		
	}
	
	/* Useful Links */																				
	
	if ((pageName == "nav_usefulllinks")) {
	
		navigation_heredoc += '                <li><a '+educationButtons[5].url+' class=\"EducationSubMenuLevel3 TopSubMenuLevel3Over\">'+educationButtons[5].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+educationButtons[5].url+' class=\"EducationSubMenuLevel3\">'+educationButtons[5].name+'</a></li>';
	
	}
	
	/* Science and Career Fairs */																							
	
	if ((pageName == "nav_sciencecareerfairs")) {
	
		navigation_heredoc += '                <li><a '+educationButtons[6].url+' class=\"EducationSubMenuLevel3 TopSubMenuLevel3Over\">'+educationButtons[6].name+'</a></li>';
	
	}else{
	
		navigation_heredoc += '                <li><a '+educationButtons[6].url+' class=\"EducationSubMenuLevel3\">'+educationButtons[6].name+'</a></li>';	
	
	}
	
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	
	/* For Students */																					
	
	if((pageName == "nav_for_students")||(pageName == ""))
	{	
		navigation_heredoc += '            <li><a href=\"#\" class=\"EducationSubMenuLevel2 TopSubMenuLevel2Over flyout\"><span class=\"leftarrow\" style=\"margin-left:-7px;\">&laquo;</span> '+educationButtons[7].name;
		
	}else{
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"EducationSubMenuLevel2 flyout\"><span class=\"leftarrow\" style=\"margin-left:-7px;\">&laquo;</span> '+educationButtons[7].name;
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"left\">';
	
	/* Water Conservation */																							
	
	if ((pageName == "nav_for_students")) {
	
		navigation_heredoc += '                <li><a '+educationButtons[8].url+' class=\"EducationSubMenuLevel3 TopSubMenuLevel3Over Top\">'+educationButtons[8].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+educationButtons[8].url+' class=\"EducationSubMenuLevel3 Top\">'+educationButtons[8].name+'</a></li>';	
	
	}
	
	/* Our Water */																									
	
	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+educationButtons[9].url+' class=\"EducationSubMenuLevel3 TopSubMenuLevel3Over\">'+educationButtons[9].name+'</a></li>';
		
	}else{

		navigation_heredoc += '                <li><a '+educationButtons[9].url+' class=\"EducationSubMenuLevel3\">'+educationButtons[9].name+'</a></li>';
	
	}
	
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '</li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Links */																									
	
	if ((pageName == "nav_links")) {
	
		navigation_heredoc += '        <li><a '+linkButtons.url+' class=\"LinksSubMenuLevel1 TopSubMenuLevel1Over top\"><div>'+linkButtons.name+'</div></a></li>';
		
	}else{
	
		navigation_heredoc += '        <li><a '+linkButtons.url+' class=\"LinksSubMenuLevel1 top\"><div>'+linkButtons.name+'</div></a></li>';

	}
	
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '</li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Site Map */																										
	
	if ((pageName == "nav_sitemap")) {
	
		navigation_heredoc += '        <li><a '+siteMapButtons.url+' class=\"SiteMapSubMenuLevel1 TopSubMenuLevel1Over top\"><div>'+siteMapButtons.name+'</div></a></li>';
	
	}else{
	
		navigation_heredoc += '        <li><a '+siteMapButtons.url+' class=\"SiteMapSubMenuLevel1 top\"><div>'+siteMapButtons.name+'</div></a></li>';	
	
	}
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '</li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';

	/* Contact Us */																										

	if ((pageName == "nav_contact")) {
	
		navigation_heredoc += '        <li><a '+contactUsButtons.url+' class=\"ContactUsSubMenuLevel1 TopSubMenuLevel1Over top\"><div>'+contactUsButtons.name+'</div></a></li>';
	
	}else{
		
		navigation_heredoc += '        <li><a '+contactUsButtons.url+' class=\"ContactUsSubMenuLevel1 top\"><div>'+contactUsButtons.name+'</div></a></li>';		
		
	}
	
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '</li>';
	navigation_heredoc += '  </ul>';
	navigation_heredoc += '</div>';
	navigation_heredoc += '<div id=\"BottomSubMenu\">';
	navigation_heredoc += '<ul class=\"bottomNavigationMenu\">';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Customer Service / Billing Information */																											
	
	if ((pageName == "nav_rates_fees") || (pageName == "nav_water_theft") || (pageName == "nav_your_wtr_serv_dollar") || (pageName == "nav_rate_comparator") || (pageName == "nav_automaticpayment") || (pageName == "nav_paperless_billing") || (pageName == "nav_credit_card_payment") || (pageName == "nav_ebilling") || (pageName == "nav_24_hr_voice_response") || (pageName == "nav_new_rates" || (pageName == "nav_proposed_rates") || (pageName =="nav_wastewater_ratescharges") || (pageName == "nav_water_ratescharges") || (pageName == "nav_online_access"))) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel1 BottomSubMenuLevel1Over top\"><div>'+customerServiceButtons[0].name+'</div>';
		
	}else{
		
		navigation_heredoc += '        <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel1 top\"><div>'+customerServiceButtons[0].name+'</div>';		
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Understanding Your Bill */																												
	
	if ((pageName == "nav_understandingyourbill")) {
	
		navigation_heredoc += '            <li><a '+customerServiceButtons[1].url+' class=\"CustomerServiceSubMenuLevel2 BottomSubMenuLevel2Over Top\">'+customerServiceButtons[1].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+customerServiceButtons[1].url+' class=\"CustomerServiceSubMenuLevel2 Top\">'+customerServiceButtons[1].name+'</a></li>';	
	
	}
	
	/* Payment Options */																													
	
	if ((pageName == "nav_paperless_billing") || (pageName == "nav_credit_card_payment") || (pageName == "nav_ebilling") || (pageName == "nav_automaticpayment")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel2 BottomSubMenuLevel2Over flyout\">'+customerServiceButtons[2].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}else{

		navigation_heredoc += '            <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel2 flyout\">'+customerServiceButtons[2].name+' <span class=\"rightarrow\">&raquo;</span>';

		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';

	/* eCheck Automatic Payment */																													

	if ((pageName == "nav_automaticpayment")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[3].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over top\">'+customerServiceButtons[3].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[3].url+' class=\"CustomerServiceSubMenuLevel3 top\">'+customerServiceButtons[3].name+'</a></li>';	
	
	}
	
	/* Sign Up for Paperless Billing */																														
	
	if ((pageName == "nav_paperless_billing")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[4].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over\">'+customerServiceButtons[4].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+customerServiceButtons[4].url+' class=\"CustomerServiceSubMenuLevel3\">'+customerServiceButtons[4].name+'</a></li>';		
		
	}
	
	/* Cash or Credit Card */																															
	
	if ((pageName == "nav_credit_card_payment")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[5].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over bottom\">'+customerServiceButtons[5].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[5].url+' class=\"CustomerServiceSubMenuLevel3 bottom\">'+customerServiceButtons[5].name+'</a></li>';	
	
	}
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';

	/* Your Account */																															

	if ((pageName == "nav_account_summary") || (pageName == "nav_24_hr_voice_response")||(pageName == "nav_online_access")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel2 BottomSubMenuLevel2Over flyout\">'+customerServiceButtons[6].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}else{
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel2 flyout\">'+customerServiceButtons[6].name+' <span class=\"rightarrow\">&raquo;</span>';	
	
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';


	/* Signup for Online Access */																													

	if ((pageName == "nav_online_access")) {
	
		navigation_heredoc += '                <li><a href=\"../billing_information/onlineaccess.html\" class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over top\">Signup for Online Access</a></li>';
	
	}else{
	
		navigation_heredoc += '                <li><a href=\"../billing_information/onlineaccess.html\" class=\"CustomerServiceSubMenuLevel3 top\">Signup for Online Access</a></li>';	
	
	}


	/* Online Access */																															

	if ((pageName == "nav_account_summary")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[7].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over\">'+customerServiceButtons[7].name+'</a></li>';
	
	}else{
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[7].url+' class=\"CustomerServiceSubMenuLevel3\">'+customerServiceButtons[7].name+'</a></li>';	
	
	}


	/* Phone Access */																																
	
	if ((pageName == "nav_24_hr_voice_response")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[8].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over bottom\">'+customerServiceButtons[8].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[8].url+' class=\"CustomerServiceSubMenuLevel3 bottom\">'+customerServiceButtons[8].name+'</a></li>';	
	
	}
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';

	/* Rates */																																

	if ((pageName == "nav_rates_fees") || (pageName == "nav_water_theft") || (pageName == "nav_rate_comparator") || (pageName == "nav_new_rates") || (pageName == "nav_your_wtr_serv_dollar") || (pageName == "nav_proposed_rates") || (pageName =="nav_wastewater_ratescharges") || (pageName == "nav_water_ratescharges")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel2 BottomSubMenuLevel2Over flyout\">'+customerServiceButtons[9].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}else{
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"CustomerServiceSubMenuLevel2 flyout\">'+customerServiceButtons[9].name+' <span class=\"rightarrow\">&raquo;</span>';	
	
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';

	/* Water */																																

	if ((pageName == "nav_water_ratescharges")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[10].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over top\">'+customerServiceButtons[10].name+'</a></li>';
		
	}else{

		navigation_heredoc += '                <li><a '+customerServiceButtons[10].url+' class=\"CustomerServiceSubMenuLevel3 top\">'+customerServiceButtons[10].name+'</a></li>';
	
	}
	
	/* Wastewater */																																

	if ((pageName == "nav_wastewater_ratescharges")) {
	
		navigation_heredoc += '                <li><a '+"href='../your_water_services/wastewater_ratescharges.html'"+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over\">'+"Wastewater"+'</a></li>';
		
	}else{

		navigation_heredoc += '                <li><a '+"href='../your_water_services/wastewater_ratescharges.html'"+' class=\"CustomerServiceSubMenuLevel3\">'+"Wastewater"+'</a></li>';
	
	}


/* 2011 Rates & Charges	*/																										

	if ((pageName == "nav_proposed_rates")) {
	
		navigation_heredoc += '                <li><a href=\"../your_water_services/proposedrates.html\" class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over\">'+"2011 Rates &amp; Charges"+'</a></li>';
		
	}else{

		navigation_heredoc += '                <li><a href=\"../your_water_services/proposedrates.html\" class=\"CustomerServiceSubMenuLevel3\">'+"2011 Rates &amp; Charges"+'</a></li>';
	
	}

	
	
	/* Compare Your Rates */																																
	
	if ((pageName == "nav_rate_comparator")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[11].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over top\">'+customerServiceButtons[11].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[11].url+' class=\"CustomerServiceSubMenuLevel3\">'+customerServiceButtons[11].name+'</a></li>';	
	
	}

	/* Where your water dollars go */																																

	if ((pageName == "nav_your_wtr_serv_dollar")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[12].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over\">'+customerServiceButtons[12].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[12].url+' class=\"CustomerServiceSubMenuLevel3\">'+customerServiceButtons[12].name+'</a></li>';	
	
	}
	
	/* Water theft affects your rates */																																	
	
	if ((pageName == "nav_water_theft")) {
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[13].url+' class=\"CustomerServiceSubMenuLevel3 BottomSubMenuLevel3Over bottom\">'+customerServiceButtons[13].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+customerServiceButtons[13].url+' class=\"CustomerServiceSubMenuLevel3 bottom\">'+customerServiceButtons[13].name+'</a></li>';	
	
	}
	navigation_heredoc += '              </ul> ';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	
	/* New Account Application */																																		
	
	if ((pageName == "nav_application")) {
	
		navigation_heredoc += '            <li><a '+customerServiceButtons[14].url+' class=\"CustomerServiceSubMenuLevel2 BottomSubMenuLevel2Over bottom\">'+customerServiceButtons[14].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+customerServiceButtons[14].url+' class=\"CustomerServiceSubMenuLevel2 bottom\">'+customerServiceButtons[14].name+'</a></li>';
		
	}
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';
	
	/* Investing in the future */																																		
	
	if ((pageName == "nav_reduce_cost_increase_efficiency") || (pageName == "nav_construction") || (pageName == "nav_capital_improv")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"InvestingFutureSubMenuLevel1 BottomSubMenuLevel1Over top\"><div>'+investingFutureButtons[0].name+'</div>';
		
	}else{
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"InvestingFutureSubMenuLevel1 top\"><div>'+investingFutureButtons[0].name+'</div>';	
	
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	/* Construction */																																			
	
	if((pageName == "nav_capital_improv")){
	
		navigation_heredoc += '            <li><a '+investingFutureButtons[1].url+' class=\"InvestingFutureSubMenuLevel2 BottomSubMenuLevel2Over Top\">'+investingFutureButtons[1].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+investingFutureButtons[1].url+' class=\"InvestingFutureSubMenuLevel2 Top\">'+investingFutureButtons[1].name+'</a></li>';	
	
	}
	
	/* Reducing Costs Increasing Efficiencies */																																				
	
	if((pageName == "nav_reduce_cost_increase_efficiency")){
	
		navigation_heredoc += '            <li><a '+investingFutureButtons[2].url+' class=\"InvestingFutureSubMenuLevel2 BottomSubMenuLevel2Over bottom\">';
		
	}else{
	
		navigation_heredoc += '            <li><a '+investingFutureButtons[2].url+' class=\"InvestingFutureSubMenuLevel2 bottom\">';	
	
	}
	navigation_heredoc += '<div>'+investingFutureButtons[2].name+'</div>';
	navigation_heredoc += '</a></li>';
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';
	
   /* Protecting Health and The Environment */																																				
	
	if ((pageName == "nav_ppp_overview") || (pageName == "nav_homes_hazardous_waste") || (pageName == "nav_vehicle_serv_prog") || (pageName == "nav_targeted_businesses") || (pageName == "nav_pollutants_concern") || (pageName == "nav_plumbing_design_mod") || (pageName == "nav_public_education_and_outreach")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"ProtectingHealthSubMenuLevel1 BottomSubMenuLevel1Over top\">';
	
	}else{
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"ProtectingHealthSubMenuLevel1 top\">';	
	
	}
	
	navigation_heredoc += '<div>'+protectingHealthButtons[0].name+'</div>';
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
	
   /* Overview */																																					
	
	if ((pageName == "nav_ppp_overview")) {
	
		navigation_heredoc += '            <li><a '+protectingHealthButtons[1].url+' class=\"ProtectingHealthSubMenuLevel2 BottomSubMenuLevel2Over Top\">'+protectingHealthButtons[1].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+protectingHealthButtons[1].url+' class=\"ProtectingHealthSubMenuLevel2 Top\">'+protectingHealthButtons[1].name+'</a></li>';		
	
	}

   /* Businesses */																																					

	if ((pageName == "nav_vehicle_serv_prog") || (pageName == "nav_targeted_businesses")) {

		navigation_heredoc += '            <li><a href=\"#\" class=\"ProtectingHealthSubMenuLevel2 BottomSubMenuLevel2Over flyout\">'+protectingHealthButtons[2].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}else{
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"ProtectingHealthSubMenuLevel2 flyout\">'+protectingHealthButtons[2].name+' <span class=\"rightarrow\">&raquo;</span>';		
		
	}
	
	
	
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
   /* Targeted Businesses */																																						
	
	if ((pageName == "nav_targeted_businesses")) {
	
		navigation_heredoc += '                <li><a '+protectingHealthButtons[3].url+' class=\"ProtectingHealthSubMenuLevel3 BottomSubMenuLevel3Over top\">'+protectingHealthButtons[3].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '                <li><a '+protectingHealthButtons[3].url+' class=\"ProtectingHealthSubMenuLevel3 top\">'+protectingHealthButtons[3].name+'</a></li>';	
	
	}
	
   /* Vehicle Service Program, Best Management Practices */																																							
	
	if ((pageName == "nav_vehicle_serv_prog")) {
	
		navigation_heredoc += '                <li><a '+protectingHealthButtons[4].url+' class=\"ProtectingHealthSubMenuLevel3 BottomSubMenuLevel3Over bottom\">';
		
	}else{
	
		navigation_heredoc += '                <li><a '+protectingHealthButtons[4].url+' class=\"ProtectingHealthSubMenuLevel3 bottom\">';	
	
	}
	navigation_heredoc += '<div>'+protectingHealthButtons[4].name+'</div>';
	navigation_heredoc += '</a></li>';
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '            </li>';
	
   /* Pollutants of concern */																																								
	
	if ((pageName == "nav_pollutants_concern") || (pageName == "nav_plumbing_design_mod")){
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"ProtectingHealthSubMenuLevel2 BottomSubMenuLevel2Over flyout\">'+protectingHealthButtons[5].name+' <span class=\"rightarrow\">&raquo;</span>';
		
	}else{
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"ProtectingHealthSubMenuLevel2 flyout\">'+protectingHealthButtons[5].name+' <span class=\"rightarrow\">&raquo;</span>';	
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';
	
   /* Pollutants of Concern */																																								
	
	if ((pageName == "nav_pollutants_concern")) {
	
		navigation_heredoc += '                <li><a '+protectingHealthButtons[6].url+' class=\"ProtectingHealthSubMenuLevel3 BottomSubMenuLevel3Over top\">'+protectingHealthButtons[6].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+protectingHealthButtons[6].url+' class=\"ProtectingHealthSubMenuLevel3 top\">'+protectingHealthButtons[6].name+'</a></li>';		
		
	}
	
   /* Plumbing Design Modification to Reduce Copper Corrosion*/																																									
	
	if ((pageName == "nav_plumbing_design_mod")) {
	
		navigation_heredoc += '                <li><a '+protectingHealthButtons[7].url+' class=\"ProtectingHealthSubMenuLevel3 BottomSubMenuLevel3Over bottom\">';
		
	}else{
		
		navigation_heredoc += '                <li><a '+protectingHealthButtons[7].url+' class=\"ProtectingHealthSubMenuLevel3 bottom\">';		
		
	}
	navigation_heredoc += '                  <div>'+protectingHealthButtons[7].name+'</div>';
	navigation_heredoc += '                  </a></li>';
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '            </li>';
	
   /* Household Hazardous Waste & Meds */																																										
	
	if (pageName == "nav_homes_hazardous_waste") {
	
		navigation_heredoc += '            <li><a '+protectingHealthButtons[8].url+' class=\"ProtectingHealthSubMenuLevel2 BottomSubMenuLevel2Over\">'+protectingHealthButtons[8].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+protectingHealthButtons[8].url+' class=\"ProtectingHealthSubMenuLevel2\">'+protectingHealthButtons[8].name+'</a></li>';		
		
	}
	
   /* Gardens */																																											
	
	if (pageName == "nav_gardens") {
	
		navigation_heredoc += '            <li><a '+protectingHealthButtons[9].url+' class=\"ProtectingHealthSubMenuLevel2 BottomSubMenuLevel2Over\">'+protectingHealthButtons[9].name+'</a></li>';
		
	}else{
	
		navigation_heredoc += '            <li><a '+protectingHealthButtons[9].url+' class=\"ProtectingHealthSubMenuLevel2\">'+protectingHealthButtons[9].name+'</a></li>';	
	
	}
	
   /* Public Education and Outreach */																																											
	
	if (pageName == "nav_pub_edu_outreach") {
	
		navigation_heredoc += '            <li><a '+protectingHealthButtons[10].url+' class=\"ProtectingHealthSubMenuLevel2 BottomSubMenuLevel2Over bottom\">'+protectingHealthButtons[10].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+protectingHealthButtons[10].url+' class=\"ProtectingHealthSubMenuLevel2 bottom\">'+protectingHealthButtons[10].name+'</a></li>';		
		
	}
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';

   /* Using Water Wisely */																																											
	
	if ((pageName == "nav_current_condition") || (pageName == "nav_wtr_conserv_garden") || (pageName == "nav_conserv_tips") || (pageName == "nav_water_conserv_resources") || (pageName == "nav_residential_landscaping") || (pageName == "nav_rebates") ||(pageName == "nav_water_shortage")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"UsingWaterWiselySubMenuLevel1 BottomSubMenuLevel1Over top\">';
		
	}else{

		navigation_heredoc += '        <li><a href=\"#\" class=\"UsingWaterWiselySubMenuLevel1 top\">';
		
	}
	navigation_heredoc += '<div>'+usingWaterWiselyButtons[0].name+'</div>';
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"uww left\">';
	
   /* How are we doing? */																																												
	
	if ((pageName == "nav_how_doing")) {
	
		navigation_heredoc += '            <li><a '+usingWaterWiselyButtons[1].url+' class=\"UsingWaterWiselySubMenuLevel2 BottomSubMenuLevel2Over Top\">'+usingWaterWiselyButtons[1].name+'</a></li>';
		
	}else{

		navigation_heredoc += '            <li><a '+usingWaterWiselyButtons[1].url+' class=\"UsingWaterWiselySubMenuLevel2 Top\">'+usingWaterWiselyButtons[1].name+'</a></li>';
		
	}

   /* Water Shortage Stages */																																													
	
	if((pageName == "nav_water_shortage")){
	
		navigation_heredoc += '            <li><a href=\"../waterconservation/stageoneshortage.html\" class=\"UsingWaterWiselySubMenuLevel2 BottomSubMenuLevel2Over\">Shortage Stages</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a href=\"../waterconservation/stageoneshortage.html\" class=\"UsingWaterWiselySubMenuLevel2\">Shortage Stages</a></li>';		
		
	}



   /* Ways to save water */																																													


	if ((pageName == "nav_conserv_tips") || (pageName == "nav_water_save_device") || (pageName == "nav_water_conserv_resources")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"UsingWaterWiselySubMenuLevel2 BottomSubMenuLevel2Over flyout\"><span class=\"leftarrow\">&laquo;</span> '+usingWaterWiselyButtons[2].name;
		
	}else{
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"UsingWaterWiselySubMenuLevel2 flyout\"><span class=\"leftarrow\">&laquo;</span> '+usingWaterWiselyButtons[2].name;		
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"left\">';
	
   /* Five Top Ways */																																																						
	
	if ((pageName == "nav_conserv_tips")) {
	
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[2].url+' class=\"UsingWaterWiselySubMenuLevel3 BottomSubMenuLevel3Over top\" style=\"border-top:1px #fff solid;\">';
		
	}else{
		
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[2].url+' class=\"UsingWaterWiselySubMenuLevel3 top\" style=\"border-top:1px #fff solid;\">';		
		
	}
	navigation_heredoc += '<div>Five Top Ways</div>';
	navigation_heredoc += '</a></li>';	
	
   /* Free Water Saving Devices */																																																							
	
	if ((pageName == "nav_water_save_device")) {
	
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[4].url+' class=\"UsingWaterWiselySubMenuLevel3 BottomSubMenuLevel3Over\">';
		
	}else{
		
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[4].url+' class=\"UsingWaterWiselySubMenuLevel3\">';		
		
	}
	navigation_heredoc += '<div>'+usingWaterWiselyButtons[4].name+'</div>';
	navigation_heredoc += '</a></li>';	
	
	
   /* More Conservation Resources */																																																							

	if ((pageName == "nav_water_conserv_resources")) {
	
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[7].url+' class=\"UsingWaterWiselySubMenuLevel3 BottomSubMenuLevel3Over\">';
		
	}else{

		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[7].url+' class=\"UsingWaterWiselySubMenuLevel3\">';
		
	}
	navigation_heredoc += '<div>'+usingWaterWiselyButtons[7].name+'</div>';
	navigation_heredoc += '</a></li>';		
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';




   /* Outdoor Conservation */																																													


	if ((pageName == "") || (pageName == "nav_residential_landscaping")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"UsingWaterWiselySubMenuLevel2 BottomSubMenuLevel2Over flyout\"><span class=\"leftarrow\">&laquo;</span> Outdoor Conservation';
		
	}else{
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"UsingWaterWiselySubMenuLevel2 flyout\"><span class=\"leftarrow\">&laquo;</span> Outdoor Conservation';		
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"left\">';
	
   /* Water Wise Gardening */																																																						
	
	if ((pageName == "")) {
	
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[5].url+' class=\"UsingWaterWiselySubMenuLevel3 BottomSubMenuLevel3Over top\" style=\"border-top:1px #fff solid;\">';
		
	}else{
		
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[5].url+' class=\"UsingWaterWiselySubMenuLevel3 top\" style=\"border-top:1px #fff solid;\">';		
		
	}
	navigation_heredoc += '<div>'+usingWaterWiselyButtons[5].name+'</div>';
	navigation_heredoc += '</a></li>';		
	
	
   /* Residential Irrigation */																																																							
	
	if ((pageName == "nav_residential_landscaping")) {
	
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[6].url+' class=\"UsingWaterWiselySubMenuLevel3 BottomSubMenuLevel3Over\">';
		
	}else{
		
		navigation_heredoc += '                <li><a '+usingWaterWiselyButtons[6].url+' class=\"UsingWaterWiselySubMenuLevel3\">';		
		
	}
	navigation_heredoc += '<div>'+usingWaterWiselyButtons[6].name+'</div>';
	navigation_heredoc += '</a></li>';		
	
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';


	
   /* Rebates */																																														
	
	if ((pageName == "nav_rebates")) {
	
		navigation_heredoc += '            <li><a '+usingWaterWiselyButtons[3].url+' class=\"UsingWaterWiselySubMenuLevel2 BottomSubMenuLevel2Over\">'+usingWaterWiselyButtons[3].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+usingWaterWiselyButtons[3].url+' class=\"UsingWaterWiselySubMenuLevel2\">'+usingWaterWiselyButtons[3].name+'</a></li>';		
		
	}
	
	
	
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '        </li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '    <li class=\"top\">';
	navigation_heredoc += '      <ul class=\"right\">';
	
   /* Doing Business With Us / Specs, Permits & Fees*/																																																		
	
	if ((pageName == "nav_list_approve_device") || (pageName == "nav_tester_req") || (pageName == "nav_forms") || (pageName == "nav_ppi_master_checklist") || (pageName == "nav_rcdi_master_checklist") || (pageName == "nav_gtcc_permits") || (pageName == "nav_tcnorwi_plans") || (pageName == "nav_improv_plan_subreq") || (pageName == "nav_insur_cancel_notreq") || (pageName == "nav_fees")||(pageName == "nav_standards_specs")||(pageName == "nav_sludge_thickener_rental")||(pageName == "nav_service_are_map")|| (pageName == "nav_recycled_water_use")) {
	
		navigation_heredoc += '        <li><a href=\"#\" class=\"DoingBusinessSubMenuLevel1 BottomSubMenuLevel1Over top\">';
		
	}else{
		
		navigation_heredoc += '        <li><a href=\"#\" class=\"DoingBusinessSubMenuLevel1 top\">';			
		
	}
	navigation_heredoc += '<div>'+doingBusinessButtons[0].name+'</div>';
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"right\">';	
	
   /* Backflow Cross Connection Control*/																																																			
	
	if ((pageName == "nav_list_approve_device")) {
	
		navigation_heredoc += '            <li><a '+doingBusinessButtons[1].url+' class=\"DoingBusinessSubMenuLevel2 BottomSubMenuLevel2Over Top\" style=\"height:auto;text-align:right;\">';
		
	}else{
		
		navigation_heredoc += '            <li><a '+doingBusinessButtons[1].url+' class=\"DoingBusinessSubMenuLevel2 Top\" style=\"height:auto;text-align:right;\">';		
		
	}
	navigation_heredoc += '<div style=\"text-align:right;\">'+doingBusinessButtons[1].name+'</div>';
	navigation_heredoc += '</a></li>';
	
   /* Forms */																																																				
	
	if ((pageName == "nav_forms")) {
	
		navigation_heredoc += '            <li><a '+doingBusinessButtons[2].url+' class=\"DoingBusinessSubMenuLevel2 BottomSubMenuLevel2Over\">'+doingBusinessButtons[2].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+doingBusinessButtons[2].url+' class=\"DoingBusinessSubMenuLevel2\">'+doingBusinessButtons[2].name+'</a></li>';		
		
	}
	
   /* Requirements */																																																					
	
	if ((pageName == "nav_ppi_master_checklist") || (pageName == "nav_rcdi_master_checklist") || (pageName == "nav_gtcc_permits") || (pageName == "nav_tcnorwi_plans"	) || (pageName == "nav_improv_plan_subreq") || (pageName == "nav_insur_cancel_notreq")||(pageName == "nav_standards_specs") || (pageName == "nav_recycled_water_use")) {
	
		navigation_heredoc += '            <li><a href=\"#\" class=\"DoingBusinessSubMenuLevel2 BottomSubMenuLevel2Over flyout\"><span class=\"leftarrow\">&laquo;</span> '+doingBusinessButtons[3].name;
		
	}else{
		
		navigation_heredoc += '            <li><a href=\"#\" class=\"DoingBusinessSubMenuLevel2 flyout\"><span class=\"leftarrow\">&laquo;</span> '+doingBusinessButtons[3].name;		
		
	}
	if(!isLteIE6){
		
		navigation_heredoc += '</a>';
		
	}
	if(isLteIE6){
		
	navigation_heredoc += '<table><tr><td>';
		
	}
	navigation_heredoc += '<ul class=\"left dbwu\">';
	
   /* Recycled Water Use Guidelines */																																																						
	
	if ((pageName == "nav_recycled_water_use")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[4].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over top\" style=\"border-top:1px #fff solid;\">'+doingBusinessButtons[4].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+doingBusinessButtons[4].url+' class=\"DoingBusinessSubMenuLevel3 top\" style=\"border-top:1px #fff solid;\">'+doingBusinessButtons[4].name+'</a></li>';		
		
	}
	
   /* Standards, Procedures, Specifications and Drawings */																																																							
	
	if ((pageName == "nav_standards_specs")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[5].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over\">'+doingBusinessButtons[5].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+doingBusinessButtons[5].url+' class=\"DoingBusinessSubMenuLevel3\">'+doingBusinessButtons[5].name+'</a></li>';		
		
	}

   /* Private Property Improvements Master Checklist */																																																							

	if ((pageName == "nav_ppi_master_checklist")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[6].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over\">'+doingBusinessButtons[6].name+'</a></li>';
		
	}else{

		navigation_heredoc += '                <li><a '+doingBusinessButtons[6].url+' class=\"DoingBusinessSubMenuLevel3\">'+doingBusinessButtons[6].name+'</a></li>';
		
	}
	
   /* Residential/Commericial Developers Master Checklist */																																																								
	
	if ((pageName == "nav_rcdi_master_checklist")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[7].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over\">'+doingBusinessButtons[7].name+'</a></li>';
		
	}else{

		navigation_heredoc += '                <li><a '+doingBusinessButtons[7].url+' class=\"DoingBusinessSubMenuLevel3\">'+doingBusinessButtons[7].name+'</a></li>';

	}
	
   /* General Terms and Conditions for Construction Permits */																																																									
	
	if ((pageName == "nav_gtcc_permits")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[8].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over\">'+doingBusinessButtons[8].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+doingBusinessButtons[8].url+' class=\"DoingBusinessSubMenuLevel3\">'+doingBusinessButtons[8].name+'</a></li>';		
		
	}

   /* Typical Construction Notes for On-site Recycled Water Irrigation Plans */																																																									

	if ((pageName == "nav_tcnorwi_plans")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[9].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over\">'+doingBusinessButtons[9].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+doingBusinessButtons[9].url+' class=\"DoingBusinessSubMenuLevel3\">'+doingBusinessButtons[9].name+'</a></li>';		
		
	}
	
   /* Improvement Plans Submittal Requirements */																																																										
	
	if ((pageName == "nav_improv_plan_subreq")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[10].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over\">'+doingBusinessButtons[10].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+doingBusinessButtons[10].url+' class=\"DoingBusinessSubMenuLevel3\">'+doingBusinessButtons[10].name+'</a></li>';		
		
	}
	
   /* Insurance Cancellation Notice Requirementss */																																																											
	
	if ((pageName == "nav_insur_cancel_notreq")) {
	
		navigation_heredoc += '                <li><a '+doingBusinessButtons[11].url+' class=\"DoingBusinessSubMenuLevel3 BottomSubMenuLevel3Over bottom\">'+doingBusinessButtons[11].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '                <li><a '+doingBusinessButtons[11].url+' class=\"DoingBusinessSubMenuLevel3 bottom\">'+doingBusinessButtons[11].name+'</a></li>';		
		
	}
	navigation_heredoc += '              </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';

   /* Fees */																																																											

	if ((pageName == "nav_service_are_map")) {
	
		navigation_heredoc += '            <li><a '+doingBusinessButtons[12].url+' class=\"DoingBusinessSubMenuLevel2 BottomSubMenuLevel2Over\">'+doingBusinessButtons[12].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+doingBusinessButtons[12].url+' class=\"DoingBusinessSubMenuLevel2\">'+doingBusinessButtons[12].name+'</a></li>';		
		
	}
	
   /* Rent a Sludge Thickener */																																																												
	
	if ((pageName == "nav_sludge_thickener_rental")) {
		
		navigation_heredoc += '            <li><a '+doingBusinessButtons[13].url+' class=\"DoingBusinessSubMenuLevel2 BottomSubMenuLevel2Over bottom\">'+doingBusinessButtons[13].name+'</a></li>';
		
	}else{
		
		navigation_heredoc += '            <li><a '+doingBusinessButtons[13].url+' class=\"DoingBusinessSubMenuLevel2 bottom\">'+doingBusinessButtons[13].name+'</a></li>';		
		
	}
	navigation_heredoc += '          </ul>';
	if(isLteIE6){
		
	navigation_heredoc += '</td></tr></table></a>';
		
	}
	navigation_heredoc += '</li>';
	navigation_heredoc += '      </ul>';
	navigation_heredoc += '    </li>';
	navigation_heredoc += '  </ul>';
	navigation_heredoc += '</div>';

	createNavigationWrapper();
	
	document.getElementById("navigation").innerHTML = navigation_heredoc;
}
//document.writeln(navigation_heredoc);

neIE6Init(pageName);

//-->


