function writeNav(whichactive) {
	document.write("<!-- ************************************************************************************************* -->");
	document.write("<!-- Begin JS Navigation Include -->");
	document.write("<!-- ************************************************************************************************* -->");
	document.write("<table width='900' height='41' border='0' cellspacing='0' cellpadding='0' align='center' bgcolor='#EB7022'>");
	document.write("	<TR>");
	document.write("		<TD bgcolor='#eb7022' height='12'></TD>");
	document.write("		<TD bgcolor='#ffffff' height='12'></TD>");
	document.write("	</TR>");
	document.write("	<TR>");
	document.write("		<TD bgcolor='#eb7022' width='585' height='24'>");
	document.write("			<table width='585' height='24' border='0' cellspacing='0' cellpadding='0'>");
	document.write("				<TR>");
	document.write("					<TD width='37'><img src='images/spacer.gif' alt='' width='37' height='1' border='0'></TD>");
	if (whichactive == "home"){
		document.write("					<TD width='36'><a href='index.html'><img src='images/nav/nav_home_on.gif' name='homenav' id='homenav' alt='HOME' width='43' height='24' border='0'></a></TD>");
	} else {
		document.write("					<TD width='36' onmouseover='homenav.src=" + '"' + "images/nav/nav_home_on.gif" + '"' + ";' onmouseout='homenav.src=" + '"' + "images/nav/nav_home_off.gif" + '"' + ";'><a href='index.html'><img src='images/nav/nav_home_off.gif' name='homenav' id='homenav' alt='HOME' width='43' height='24' border='0'></a></TD>");
	}
	document.write("					<TD width='37'><img src='images/spacer.gif' alt='' width='37' height='1' border='0'></TD>");
	if (whichactive == "about"){
		document.write("					<TD width='73' onmouseover='aboutnav.src=" + '"' + "images/nav/nav_about_us_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "aboutlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='aboutnav.src=" + '"' + "images/nav/nav_about_us_on_nobar.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "aboutlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='about_us.html'><img src='images/nav/nav_about_us_on_nobar.gif' alt='ABOUT US' name='aboutnav' id='aboutnav' width='73' height='24' border='0'></a><div class='section' id='aboutlayer' style='position: absolute; top: 13px;' >");
	} else {
		document.write("					<TD width='73' onmouseover='aboutnav.src=" + '"' + "images/nav/nav_about_us_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "aboutlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='aboutnav.src=" + '"' + "images/nav/nav_about_us_off.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "aboutlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='about_us.html'><img src='images/nav/nav_about_us_off.gif' alt='ABOUT US' name='aboutnav' id='aboutnav' width='73' height='24' border='0'></a><div class='section' id='aboutlayer' style='position: absolute; top: 13px;' >");
	}
	document.write("							<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("								<TR>");
	document.write("									<TD valign='top' bgcolor='#003C7A'><img src='images/spacer.gif' height='2' width='3' border='0'></TD>");
	document.write("									<TD>");
	document.write("										<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("											<TR><TD colspan='3'><a href='about_us.html'><img src='images/spacer.gif' height='5' width='66' border='0'></a></TD></TR>");
	document.write("											<TR><TD colspan='3' class='subnav'><img src='images/spacer.gif' height='5' width='1' border='0'></TD></TR>");
	document.write("											<TR>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("												<TD>");
	document.write("													<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("														<TR><TD><a class='subnavlink' href='about_us_history.html'>History/Culture/Community</a></TD></TR>");
	document.write("													</TABLE>");
	document.write("												</TD>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("											</TR>");
	document.write("										</table>");
	document.write("									</TD>");
	document.write("								</TR>");
	document.write("							</table>");
	document.write("						</div>");
	document.write("					</td>");
	document.write("					<TD width='37'><img src='images/spacer.gif' alt='' width='37' height='1' border='0'></TD>");
	if (whichactive == "clients"){
		document.write("					<TD width='54' onmouseover='clientnav.src=" + '"' + "images/nav/nav_clients_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "clientlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='clientnav.src=" + '"' + "images/nav/nav_clients_on_nobar.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "clientlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='clients.html'><img src='images/nav/nav_clients_on_nobar.gif' alt='CLIENTS' name='clientnav' id='clientnav' width='61' height='24' border='0'></a><div class='section' id='clientlayer' style='position: absolute; top: 13px;' >");
	} else {
		document.write("					<TD width='54' onmouseover='clientnav.src=" + '"' + "images/nav/nav_clients_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "clientlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='clientnav.src=" + '"' + "images/nav/nav_clients_off.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "clientlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='clients.html'><img src='images/nav/nav_clients_off.gif' alt='CLIENTS' name='clientnav' id='clientnav' width='61' height='24' border='0'></a><div class='section' id='clientlayer' style='position: absolute; top: 13px;' >");
	}
	document.write("							<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("								<TR>");
	document.write("									<TD valign='top' bgcolor='#003C7A'><img src='images/spacer.gif' height='2' width='3' border='0'></TD>");
	document.write("									<TD>");
	document.write("										<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("											<TR><TD colspan='3'><a href='clients.html'><img src='images/spacer.gif' height='5' width='54' border='0'></a></TD></TR>");
	document.write("											<TR><TD colspan='3' class='subnav'><img src='images/spacer.gif' height='5' width='1' border='0'></TD></TR>");
	document.write("											<TR>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("												<TD>");
	document.write("													<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_federal_government.html'>Federal Government</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_state_government.html'>State Government</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_regional_government.html'>Regional Government</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_local_government.html'>Local Government</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_service_organizations.html'>Service Industries</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_utilities.html'>Utilities</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_developers_contractors.html'>Developers/Contractors</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_healthcare.html'>Health Care</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='clients_tribal_nations.html'>Tribal Nations</a></TD></TR>");
	document.write("													</TABLE>");
	document.write("												</TD>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("											</TR>");
	document.write("										</table>");
	document.write("									</TD>");
	document.write("								</TR>");
	document.write("							</table>");
	document.write("						</div>");
	document.write("					</td>");
	document.write("					<TD width='37'><img src='images/spacer.gif' alt='' width='37' height='1' border='0'></TD>");
	if (whichactive == "services"){
		document.write("					<TD width='62' onmouseover='servicesnav.src=" + '"' + "images/nav/nav_services_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "serviceslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='servicesnav.src=" + '"' + "images/nav/nav_services_on_nobar.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "serviceslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='services.html'><img src='images/nav/nav_services_on_nobar.gif' alt='SERVICES' name='servicesnav' id='servicesnav' width='69' height='24' border='0'></a><div class='section' id='serviceslayer' style='position: absolute; top: 13px;'>");
	} else {
		document.write("					<TD width='62' onmouseover='servicesnav.src=" + '"' + "images/nav/nav_services_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "serviceslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='servicesnav.src=" + '"' + "images/nav/nav_services_off.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "serviceslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='services.html'><img src='images/nav/nav_services_off.gif' alt='SERVICES' name='servicesnav' id='servicesnav' width='69' height='24' border='0'></a><div class='section' id='serviceslayer' style='position: absolute; top: 13px;'>");
	}
	document.write("							<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("								<TR>");
	document.write("									<TD valign='top' bgcolor='#003C7A'><img src='images/spacer.gif' height='2' width='3' border='0'></TD>");
	document.write("									<TD>");
	document.write("										<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("											<TR><TD colspan='3'><a href='services.html'><img src='images/spacer.gif' height='5' width='62' border='0'></a></TD></TR>");
	document.write("											<TR><TD colspan='3' class='subnav'><img src='images/spacer.gif' height='5' width='1' border='0'></TD></TR>");
	document.write("											<TR>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("												<TD>");
	document.write("													<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("														<TR><TD><a class='subnavlink' href='services_architecture.html'>Architecture</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_energy_corridors.html'>Energy Corridors</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_environmental.html'>Environmental</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_general_civil.html'>General Civil</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_mapping_gis.html'>Geospatial</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_structural_design_inspection.html'>Structural Design/Inspection</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_survey.html'>Survey</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_traffic_engineering.html'>Traffic Engineering</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_transportation_engineering.html'>Transportation Engineering</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='services_water_resources.html'>Water Resources</a></TD></TR>");
	document.write("													</TABLE>");
	document.write("												</TD>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("											</TR>");
	document.write("										</table>");
	document.write("									</TD>");
	document.write("								</TR>");
	document.write("							</table>");
	document.write("						</div>");
	document.write("					</td>");
	document.write("					<TD width='37'><img src='images/spacer.gif' alt='' width='37' height='1' border='0'></TD>");
	if (whichactive == "news"){
		document.write("					<TD width='102' onmouseover='newsnav.src=" + '"' + "images/nav/nav_news_events_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "newslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='newsnav.src=" + '"' + "images/nav/nav_news_events_on_nobar.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "newslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='news_events.html'><img src='images/nav/nav_news_events_on_nobar.gif' alt='NEWS & EVENTS' name='newsnav' id='newsnav' width='109' height='24' border='0'></a><div class='section' id='newslayer' style='position: absolute; top: 13px;' >");
	} else {
		document.write("					<TD width='102' onmouseover='newsnav.src=" + '"' + "images/nav/nav_news_events_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "newslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='newsnav.src=" + '"' + "images/nav/nav_news_events_off.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "newslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='news_events.html'><img src='images/nav/nav_news_events_off.gif' alt='NEWS & EVENTS' name='newsnav' id='newsnav' width='109' height='24' border='0'></a><div class='section' id='newslayer' style='position: absolute; top: 13px;' >");
	}
	document.write("							<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("								<TR>");
	document.write("									<TD valign='top' bgcolor='#003C7A'><img src='images/spacer.gif' height='2' width='3' border='0'></TD>");
	document.write("									<TD>");
	document.write("										<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("											<TR><TD colspan='3'><a href='news_events.html'><img src='images/spacer.gif' height='5' width='102' border='0'></a></TD></TR>");
	document.write("											<TR><TD colspan='3' class='subnav'><img src='images/spacer.gif' height='5' width='1' border='0'></TD></TR>");
	document.write("											<TR>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("												<TD>");
	document.write("													<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("														<TR><TD><a class='subnavlink' href='news_events_articles_corporate.html'>Corporate</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='news_events_articles_southeast.html'>Southeast Region</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='news_events_articles_southwest.html'>West Region</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlink' href='news_events_articles_northcentral.html'>Midwest Region</a></TD></TR>");
	document.write("													</TABLE>");
	document.write("												</TD>");
	document.write("												<TD class='subnav'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("											</TR>");
	document.write("										</table>");
	document.write("									</TD>");
	document.write("								</TR>");
	document.write("							</table>");
	document.write("						</div>");
	document.write("					</td>");
	document.write("					<TD width='37'><img src='images/spacer.gif' alt='' width='45' height='1' border='0'></TD>");
	document.write("				</TR>");
	document.write("			</table>");
	document.write("		</TD>");
	document.write("		<TD bgcolor='#ffffff' width='315' height='24'>");
	document.write("			<table width='315' height='24' border='0' cellspacing='0' cellpadding='0'>");
	document.write("				<TR>");
	document.write("					<TD><img src='images/spacer.gif' width='1' height='1' alt=''></TD>");
	if (whichactive == "careers"){
		document.write("					<TD width='62' onmouseover='careersnav.src=" + '"' + "images/nav/nav_careers_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "careerslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='careersnav.src=" + '"' + "images/nav/nav_careers_on_nobar.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "careerslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='careers.html'><img src='images/nav/nav_careers_on_nobar.gif' alt='CAREERS' name='careersnav' id='careersnav' width='62' height='24' border='0'></a><div class='section' id='careerslayer' style='position: absolute; top: 13px;' >");
	} else {
		document.write("					<TD width='62' onmouseover='careersnav.src=" + '"' + "images/nav/nav_careers_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "careerslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='careersnav.src=" + '"' + "images/nav/nav_careers_off.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "careerslayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='careers.html'><img src='images/nav/nav_careers_off.gif' alt='CAREERS' name='careersnav' id='careersnav' width='62' height='24' border='0'></a><div class='section' id='careerslayer' style='position: absolute; top: 13px;' >");
	}
	document.write("							<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("								<TR>");
	document.write("									<TD valign='top' bgcolor='#003C7A'><img src='images/spacer.gif' height='2' width='3' border='0'></TD>");
	document.write("									<TD>");
	document.write("										<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("											<TR><TD colspan='3'><a href='careers.html'><img src='images/spacer.gif' height='5' width='55' border='0'></a></TD></TR>");
	document.write("											<TR><TD colspan='3' class='subnavWhite'><img src='images/spacer.gif' height='5' width='1' border='0'></TD></TR>");
	document.write("											<TR>");
	document.write("												<TD class='subnavWhite'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("												<TD>");
	document.write("													<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("														<TR><TD><a class='subnavlinkWhite' href='careers_jobs.html'>Career Opportunities</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlinkWhite' href='careers_summer_jobs.html'>Summer Opportunities</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlinkWhite' href='careers_benefits.html'>Benefits</a></TD></TR>");
	document.write("													</TABLE>");
	document.write("												</TD>");
	document.write("												<TD class='subnavWhite'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("											</TR>");
	document.write("										</table>");
	document.write("									</TD>");
	document.write("								</TR>");
	document.write("							</table>");
	document.write("						</div>");
	document.write("					</td>");
	document.write("					<TD><img src='images/spacer.gif' width='1' height='1' alt=''></TD>");
	if (whichactive == "contact"){
		document.write("					<TD width='64'><a href='contact.html'><img src='images/nav/nav_contact_on.gif' alt='CONTACT' name='contactnav' id='contactnav' width='64' height='24' border='0'></a></td>");
	} else {
		document.write("					<TD width='64' onmouseover='contactnav.src=" + '"' + "images/nav/nav_contact_on.gif" + '"' + ";' onmouseout='contactnav.src=" + '"' + "images/nav/nav_contact_off.gif" + '"' + "; '><a href='contact.html'><img src='images/nav/nav_contact_off.gif' alt='CONTACT' name='contactnav' id='contactnav' width='64' height='24' border='0'></a></td>");
	}
	document.write("					<TD><img src='images/spacer.gif' width='1' height='1' alt=''></TD>");	
if (whichactive == "extranet"){
		document.write("					<TD width='70' onmouseover='extranetnav.src=" + '"' + "images/nav/nav_extranet_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "extranetlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='extranetnav.src=" + '"' + "images/nav/nav_extranet_on_nobar.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "extranetlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='extranet.html'><img src='images/nav/nav_extranet_on_nobar.gif' alt='EXTRANET' name='extranetnav' id='extranetnav' width='70' height='24' border='0'></a><div class='section' id='extranetlayer' style='position: absolute; top: 13px;' >");
	} else {
		document.write("					<TD width='70' onmouseover='extranetnav.src=" + '"' + "images/nav/nav_extranet_on.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "extranetlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "show" + '"' + ");' onmouseout='extranetnav.src=" + '"' + "images/nav/nav_extranet_off.gif" + '"' + "; Ayres_showHideLayers(" + '"' + "extranetlayer" + '"' + "," + '"' + "" + '"' + "," + '"' + "hide" + '"' + ");'><a href='extranet.html'><img src='images/nav/nav_extranet_off.gif' alt='EXTRANET' name='extranetnav' id='extranetnav' width='70' height='24' border='0'></a><div class='section' id='extranetlayer' style='position: absolute; top: 13px;' >");
	}
	document.write("							<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("								<TR>");
	document.write("									<TD valign='top' bgcolor='#003C7A'><img src='images/spacer.gif' height='2' width='3' border='0'></TD>");
	document.write("									<TD>");
	document.write("										<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("											<TR><TD colspan='3'><a href='extranet.html'><img src='images/spacer.gif' height='5' width='55' border='0'></a></TD></TR>");
	document.write("											<TR><TD colspan='3' class='subnavWhite'><img src='images/spacer.gif' height='5' width='1' border='0'></TD></TR>");
	document.write("											<TR>");
	document.write("												<TD class='subnavWhite'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("												<TD>");
	document.write("													<table border='0' cellspacing='0' cellpadding='0'>");
	document.write("														<TR><TD><a class='subnavlinkWhite' href='http://www.ayresbidinfo.com'>Bidding</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlinkWhite' href='extranet_projects.html'>Projects</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlinkWhite' href='extranet_links.html'>Links</a></TD></TR>");
	document.write("														<TR><TD><a class='subnavlinkWhite' href='https://mail.ayresassociates.com'>Employee Email</a></TD></TR>");
	document.write("													</TABLE>");
	document.write("												</TD>");
	document.write("												<TD class='subnavWhite'><img src='images/spacer.gif' height='1' width='5' border='0'></TD>");
	document.write("											</TR>");
	document.write("										</table>");
	document.write("									</TD>");
	document.write("								</TR>");
	document.write("							</table>");
	document.write("						</div>");
	document.write("					</td>");
	document.write("					<TD><img src='images/spacer.gif' width='1' height='1' alt=''></TD>");
	document.write("				</TR>");
	document.write("			</table>");
	document.write("		</TD>");
	document.write("	</TR>");
	document.write("	<TR>");
	document.write("		<TD colspan='2' bgcolor='#ffffff' height='5'></TD>");
	document.write("	</TR>");
	document.write("</table>");
	document.write("<!-- ************************************************************************************************* -->");
	document.write("<!-- End Navigation Include -->");
	document.write("<!-- ************************************************************************************************* -->");
} 

function Is() {
    var agent   = navigator.userAgent.toLowerCase();
	this.agent = agent
    this.major  = parseInt(navigator.appVersion);
    this.minor  = parseFloat(navigator.appVersion);
    this.ns     = ((agent.indexOf('mozilla')   != -1) &&
                  (agent.indexOf('spoofer')    == -1) &&
                  (agent.indexOf('compatible') == -1) &&
                  (agent.indexOf('opera')      == -1) &&
                  (agent.indexOf('webtv')      == -1));
    this.ns4    = (this.ns && (this.major      ==  4));
    this.ns6    = (this.ns && (this.major      >=  5));
    this.ie     = (agent.indexOf("msie")       != -1);
    this.ie3    = (this.ie && (this.major      <   4));
    this.ie4  	= (this.ie && (this.major >= 4));
    this.ie5    = (this.ie && (this.major      ==  4) &&
                  (agent.indexOf("msie 5.0")   != -1));
    this.ie6    = (this.ie && (this.major      ==  4) &&
                  (agent.indexOf("msie 6.0")   != -1));
    this.ieX    = (this.ie && !this.ie3 && !this.ie4);
}

var is = new Is();


function setSubNavLeft() {
	var leftoffset = 3
	var topoffset = 36
	layerObject('aboutlayer',((DL_GetElementLeft(document.getElementById('aboutnav')))+leftoffset),topoffset)
	layerObject('clientlayer',((DL_GetElementLeft(document.getElementById('clientnav')))+leftoffset),topoffset)
	layerObject('serviceslayer',((DL_GetElementLeft(document.getElementById('servicesnav')))+leftoffset),topoffset)
	layerObject('newslayer',((DL_GetElementLeft(document.getElementById('newsnav')))+leftoffset),topoffset)
	layerObject('careerslayer',((DL_GetElementLeft(document.getElementById('careersnav')))+leftoffset),topoffset)
	layerObject('extranetlayer',((DL_GetElementLeft(document.getElementById('extranetnav')))+leftoffset),topoffset)
}

function DL_GetElementLeft(eElement)
{
    var nLeftPos = eElement.offsetLeft;          
    var eParElement = eElement.offsetParent;     
    while (eParElement != null)
    {                                            
        nLeftPos += eParElement.offsetLeft;      
        eParElement = eParElement.offsetParent;  
    }
    return nLeftPos;                             
}

function layerObject(id,left,top) {
		if (is.ie5||is.ns6){
		this.obj = document.getElementById(id).style;
		this.obj.left = left + "px";
		this.obj.top = top + "px";
		return this.obj;
		} else if(is.ie4) {
		this.obj = document.all[id].style;
		this.obj.left = left + "px";
		this.obj.top = top + "px";
		return this.obj;
		} else if(is.ns) {
		this.obj = document.layers[id];
		this.obj.left = left + "px";
		this.obj.top = top + "px";
		return this.obj;
		}  
}

self.setTimeout("setSubNavLeft();", 500 )

function Ayres_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=Ayres_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function Ayres_showHideLayers() {
  var i,p,v,obj,args=Ayres_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=Ayres_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}