//-----------------------------------------------------------------------------
// Script for all web pages for header, left navigation, and footer scripts
//-----------------------------------------------------------------------------

function pageHeader(pageType)
{
	//-------------------------------------------	
	// The following code creates the header
	//-------------------------------------------	
	document.write("<table width=100% border=0 cellspacing=0 cellpadding=0 background=../images/nav/nav_bar.gif>");
	document.write("	<tr height=132>");
	document.write("		<td width=204 valign=top><img src=../images/HoranLogo-red.jpg height=129></td>");
	document.write("		<td width=10 valign=bottom>");
	document.write("			<table border=0 cellpadding=0 cellspacing=0>");
	document.write("				<tr>");
	document.write("					<td>&nbsp;</td>");
	document.write("				</tr>");
	document.write("			</table>");
	document.write("		</td>");
	
	if (pageType == "Home")
	{	document.write("	<td width=40 valign=bottom><a href=index.htm><img name=btn_home border=0 src=../images/nav/nav_home.jpg height=44></a></td>");
	}
	else
	{	document.write("  	<td width=40 valign=bottom><a href=../index.htm><img name=btn_home border=0 src=../images/nav/nav_home.jpg height=44></a></td>");
	}
	
	if (pageType == "Commercial")
	{	document.write("		<td width=115 valign=bottom><a href=index.htm><img name=btn_commercial border=0 src=../images/nav/nav_commercial.jpg height=44></a></td>");
	}
	else
	{
		if (pageType == "Home")
		{	document.write("		<td width=115 valign=bottom><a href=Commercial/index.htm><img name=btn_commercial border=0 src=../images/nav/nav_commercial.jpg height=44></a></td>");
		}
		else
		{	document.write("		<td width=115 valign=bottom><a href=../Commercial/index.htm><img name=btn_commercial border=0 src=../images/nav/nav_commercial.jpg height=44></a></td>");
		}
	}
	
	if (pageType == "Residential")
	{	document.write("		<td width=115 valign=bottom><a href=index.html><img name=btn_residential border=0 src=../images/nav/nav_residential.jpg height=44></a></td>");
	}
	else
	{
		if (pageType == "Home")
		{	document.write("		<td width=115 valign=bottom><a href=Residential/index.html><img name=btn_residential border=0 src=../images/nav/nav_residential.jpg height=44></a></td>");
		}
		else
		{	document.write("		<td width=115 valign=bottom><a href=../Residential/index.html><img name=btn_residential border=0 src=../images/nav/nav_residential.jpg height=44></a></td>");
		}
	}
	
	if (pageType == "Services")
	{	document.write("		<td width=115 valign=bottom><a href=index.html><img name=btn_services border=0 src=../images/nav/nav_services.jpg height=44></a></td>");
	}
	else
	{
		if (pageType == "Home")
		{	document.write("		<td width=115 valign=bottom><a href=Services/index.html><img name=btn_services border=0 src=../images/nav/nav_services.jpg height=44></a></td>");
		}
		else
		{	document.write("		<td width=115 valign=bottom><a href=../Services/index.html><img name=btn_services border=0 src=../images/nav/nav_services.jpg height=44></a></td>");
		}
	}
	
	if (pageType == "Home")
	{	document.write("		<td width=83 valign=bottom><a href=Projects.html><img name=btn_projects border=0 src=../images/nav/nav_projects.jpg height=44></a></td>");
	}
	else
	{	document.write("		<td width=83 valign=bottom><a href=../Projects.html><img name=btn_projects border=0 src=../images/nav/nav_projects.jpg height=44></a></td>");
	}
	
	if (pageType == "AboutUs")
	{	document.write("		<td width=115 valign=bottom><a href=CompanyHistory.html><img name=btn_aboutus border=0 src=../images/nav/nav_aboutus.jpg height=44></a></td>");
	}
	else
	{
		if (pageType == "Home")
		{	document.write("		<td width=115 valign=bottom><a href=Employees/CompanyHistory.html><img name=btn_aboutus border=0 src=../images/nav/nav_aboutus.jpg height=44></a></td>");
		}
		else
		{	document.write("		<td width=115 valign=bottom><a href=../Employees/CompanyHistory.html><img name=btn_aboutus border=0 src=../images/nav/nav_aboutus.jpg height=44></a></td>");
		}
	}
	
	if (pageType == "Home")
	{	document.write("		<td width=224 valign=bottom><a href=ContactUs.html><img name=btn_contactus border=0 src=../images/nav/nav_contactus.jpg height=44></a></td>");
	}
	else
	{	document.write("		<td width=224 valign=bottom><a href=../ContactUs.html><img name=btn_contactus border=0 src=../images/nav/nav_contactus.jpg height=44></a></td>");
	}
	
	document.write("	</tr>");
	document.write("</table>");
}

function leftNav(pageTitle, pageType)
{
	//-------------------------------------------	
	// The following code creates the leftNav 
	//-------------------------------------------
	
	document.write("<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>");
	document.write("	<TR>");
	document.write("		<TD CLASS=typeHeader>");
	document.write("			<BR>");
		
	if (pageType == "Commercial")
	{	document.write("&nbsp;&nbsp;COMMERCIAL<BR>");
	}
	else if (pageType == "Residential")
	{	document.write("&nbsp;&nbsp;RESIDENTIAL<BR>");
	}
	else if (pageType == "Subcontractor")
	{	document.write("&nbsp;&nbsp;SUBCONTRACTOR<BR>");
	}
	else if (pageType == "Customer")
	{	document.write("&nbsp;&nbsp;CUSTOMER<BR>");
	}
	else if (pageType == "Admin")
	{	document.write("&nbsp;&nbsp;ADMIN SITE<BR>");
	}
	else if (pageType == "History")
	{	document.write("&nbsp;&nbsp;MEET OUR CREW...<BR><BR>");
	}
	else if (pageType == "ProjectList")
	{	document.write("&nbsp;&nbsp;PROJECTS<BR><BR>");
	}
	
	
	document.write("		</TD>");
	document.write("	</TR>");
	document.write("	<TR>");
	document.write("		<TD CLASS=navListings>");
	
	if (pageType == "Commercial")
	{
		//<!-- ------- Design / Build --------- -->
		document.write("<a href=DesignBuild.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "DesignBuild")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Design/Build&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Build For Lease --------- -->
		document.write("<a href=BuildForLease.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "BuildForLease")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Build For Lease&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Projects --------- -->
		document.write("<a href=Projects.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Projects" || pageTitle == "PL-DesignBuild" || pageTitle == "PL-Office" || pageTitle == "PL-Medical" || pageTitle == "PL-Educational" || pageTitle == "PL-Retail" || pageTitle == "PL-Restaurant")
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;Projects&nbsp;");
			document.write("</a>");
			
			if (pageTitle == "PL-DesignBuild")
			{	// ------- Page is ProjectListing-DesignBuild.html ---------------
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-DesignBuild.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-Design/Build</font>");
				document.write("</a>");
			}
			else
			{
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-DesignBuild.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Design/Build</font>");
				document.write("</a>");
			}
			
			if (pageTitle == "PL-Office")
			{	// ------- Page is ProjectListing-Office.html ---------------			
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Office.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-Office</font>");
				document.write("</a>");
			}
			else
			{
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Office.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Office</font>");
				document.write("</a>");
			}
			
			if (pageTitle == "PL-Medical")
			{	// ------- Page is ProjectListing-Medical.html ---------------	
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Medical.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-Medical</font>");
				document.write("</a>");
			}
			else
			{				
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Medical.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Medical</font>");
				document.write("</a>");
			}
			
			if (pageTitle == "PL-Educational")
			{	// ------- Page is ProjectListing-Educational.html ---------------
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Educational.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-Educational</font>");
				document.write("</a>");
			}
			else
			{				
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Educational.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Educational</font>");
				document.write("</a>");
			}
			
			if (pageTitle == "PL-Retail")
			{	// ------- Page is ProjectListing-Retail.html ---------------
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Retail.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-Retail</font>");
				document.write("</a>");
			}
			else
			{				
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Retail.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Retail</font>");
				document.write("</a>");
			}
				
			if (pageTitle == "PL-Restaurant")
			{	// ------- Page is ProjectListing-Restaurant.html ---------------
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Restaurant.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-Restaurant</font>");
				document.write("</a>");
			}
			else
			{
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=ProjectListing-Restaurant.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Restaurant</font>");
				document.write("</a>");
			}
						
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("&nbsp;Projects&nbsp;");	
			document.write("</a>");	
		}
		
		document.write("<BR>");
		
		
		//<!-- ------- References --------- -->
		document.write("<a href=References.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "References")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;References&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- For Sale/Lease --------- -->
		document.write("<a href=ForSaleLease.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "ForSaleLease")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;For Sale/Lease&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Estimating --------- -->
		document.write("<a href=Estimating.html decoration=none>");
		if (pageTitle == "Estimating" || pageTitle == "GetEstimate" || pageTitle == "NewSubs" || pageTitle == "BidSchedule")
		{	document.write("&nbsp;&nbsp;&nbsp;<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;Estimating&nbsp;");
			document.write("</a>");
			
			if (pageTitle == "GetEstimate")
			{
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=GetEstimate.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-Get an estimate</font>");
				document.write("</a>");
				
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=NewSubs.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-New Subcontractors<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& Vendors</font>");
				document.write("</a>");
			}
			else if (pageTitle == "NewSubs")
			{
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=GetEstimate.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Get an estimate</font>");
				document.write("</a>");
				
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=NewSubs.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2 color=red>-New Subcontractors<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& Vendors</font>");
				document.write("</a>");
			}
			else if (pageTitle == "BidSchedule")
			{
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=GetEstimate.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Get an estimate</font>");
				document.write("</a>");
				
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=NewSubs.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-New Subcontractors<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& Vendors</font>");
				document.write("</a>");		
			}
			else
			{
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=GetEstimate.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-Get an estimate</font>");
				document.write("</a>");
				
				document.write("<BR>&nbsp;&nbsp;&nbsp;");
				document.write("<a href=NewSubs.html decoration=none>");
				document.write("&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>-New Subcontractors<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& Vendors</font>");
				document.write("</a>");
			}
		} 
		else
		{	document.write("&nbsp;&nbsp;&nbsp;<font size=3 color=red>&#9632;</font>");
			document.write("&nbsp;Estimating&nbsp;");
			document.write("</a>");
		}
		document.write("<BR>");
		
		//<!-- ------- For Sale/Lease --------- -->
		document.write("<a href=SignIn.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "SignIn")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Sign-In&nbsp;");
		document.write("</a>");
		document.write("<BR>");
				
		document.write("<BR><BR><BR><BR><BR>");
		
		//<!-- ------- Tell Us About Your Project --------- -->
		document.write("		</TD>");
		document.write("		</TR>");
		document.write("		<TR>");
		document.write("		<TD align=center>");
		//<!-- ------- Tell Us About Your Project --------- -->
		document.write("			<font size=1>");
		document.write("			<a href=YourProject.html decoration=none>");
		document.write("			<img src=../images/btn-IWantThis2.gif border=0>");
		//document.write("			&nbsp;&nbsp;<i><b>I WANT THIS...</b></i>&nbsp;");
		document.write("			</a></font>");
		document.write("			<BR>");	
		document.write("		</TD>");
		document.write("		</TR>");
		document.write("		<TR>");
		document.write("		<TD>");
		document.write("			&nbsp;<BR><BR>&nbsp;<BR><BR>&nbsp;");
	}	
	else if (pageType == "Residential")
	{
		//<!-- ------- Design / Build --------- -->
		document.write("<a href=DesignBuild.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "DesignBuild")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Design/Build&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Special Incentive --------- -->
		document.write("<a href=SpecialIncentive.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "SpecialIncentive")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Special Incentive&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Projects --------- -->
		document.write("<a href=Projects.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Projects")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Projects&nbsp;");
		document.write("</a>");
		document.write("<BR>");
	
		//------------------------------------------------------------------------------------------------------------- -->
		//   COMMENTED OUT UNTIL WE CREATE THE REFERENCE PAGE FOR THE RESIDENTIAL SECTION OF THE WEBSITE
		//------------------------------------------------------------------------------------------------------------- -->
		/*
		//<!-- ------- References --------- -->
		document.write("<a href=References.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "References")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;References&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		*/
	
		//<!-- ------- For Sale/Lease --------- -->
		document.write("<a href=ForSaleLease.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "ForSaleLease")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;For Sale/Lease&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- I Want This --------- -->
		document.write("<a href=IWantThis.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "IWantThis")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;I Want This!&nbsp;");
		document.write("</a>");
		document.write("<BR>");
	}
	else if (pageType == "Admin")
	{
		//<!-- ------- Projects --------- -->
		document.write("<a href=Admin/Projects.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Projects")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Projects&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Bid List --------- -->
		document.write("<a href=Admin/BidList.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "BidList")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Bid List&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Send Bid Notification --------- -->
		document.write("<a href=Admin/SendBidNotification.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "SendBidNotification")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Send Bid Notification&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Available Property --------- -->
		document.write("<a href=Admin/AvailableProperty.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "AvailableProperty")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Available Property&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- View Interests --------- -->
		document.write("<a href=Admin/ViewInterests.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "ViewInterests")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;View Interests&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Subcontractors --------- -->
		document.write("<a href=Admin/Subcontractors.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Subcontractors")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Subcontractors&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Change Password --------- -->
		document.write("<a href=Admin/ChangePassword.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "ChangePassword")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Change Password&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Add User --------- -->
		document.write("<a href=Admin/AddUser.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "AddUser")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Add User&nbsp;");
		document.write("</a>");
		document.write("<BR>");
	}	
	else if (pageType == "Subcontractor")
	{
		//<!-- ------- Upcoming Bids --------- -->
		document.write("<a href=UpcomingBids.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "UpcomingBids")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Upcoming Bids&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Inquire About A Bid --------- -->
		document.write("<a href=Subcontractors/BidInquiry.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "BidInquiry")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Inquire About A Bid&nbsp;");
		document.write("</a>");
		document.write("<BR>");
	
		//<!-- ------- Update Information --------- -->
		document.write("<a href=Subcontractors/UpdateInfo.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "UpdateInfo")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Update Info&nbsp;");
		document.write("</a>");
		document.write("<BR>");
		
		//<!-- ------- Change Password--------- -->
		document.write("<a href=Subcontractors/ChangePassword.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "ChangePassword")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Change Password&nbsp;");
		document.write("</a>");
		document.write("<BR>");	
	}
	else if (pageType == "Customer")
	{
		//<!-- ------- Project Status --------- -->
		document.write("<a href=ProjectStatus.asp decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "ProjectStatus")
		{	document.write("<font size=3 color=black>&#9632;</font>");
		} else
		{	document.write("<font size=3 color=red>&#9632;</font>");
		}
		document.write("&nbsp;Project Status&nbsp;");
		document.write("</a>");
		document.write("<BR>");
	}
	else if (pageType == "History")
	{
		//<!-- ------- Employee listings --------- -->
		
		document.write("&nbsp;&nbsp;<font size=2><i>Driving the Office...</i></font>");
		document.write("<BR>");
		
		//<!-- -------- OFFICE LISTINGS ---------- -->
		
		//<!-- ------- Sue Arnholt --------- -->
		document.write("<a href=Sue.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Sue")
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>Sue Arnholt</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>President</font></i>");
			document.write("</font>");
		
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>Sue Arnholt</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>President</font></i>");
		
		}
		document.write("</a>");
		document.write("<BR>");
		
		
		<!-- ------- Katie Kim --------- -->
		document.write("<a href=Katie.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Katie")
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>Katie Arnholt Kim</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Vice President</font></i>");
			document.write("</font>");
		
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>Katie Arnholt Kim</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Vice President</font></i>");
		}
		document.write("</a>");
		document.write("<BR>");


		//<!-- ------- Gary Atkins --------- -->
		document.write("<a href=Gary.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Gary")
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>Gary Atkins</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Estimator</font></i>");
			document.write("</font>");
		
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>Gary Atkins</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Estimator</font></i>");
		}
		document.write("</a>");
		document.write("<BR>");
	
			
		<!-- ------- Charles Kim --------- -->
		document.write("<a href=Charles.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Charles")
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>Charles Kim</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Project Manager</font></i>");
			document.write("</font>");
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>Charles Kim</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Project Manager</font></i>");
		}
		document.write("</a>");
		document.write("<BR>");
	
	/*
		<!-- ------- Pamela Dildine --------- -->
		document.write("<a href=Pam.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Pam")
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>Pam Dildine</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Comptroller</font></i>");
			document.write("</font>");
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>Pam Dildine</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Comptroller</font></i>");
		}
		document.write("</a>");
		document.write("<BR>");
	*/	
		
		//<!-- ---------------------------------- -->
		//<!-- -------- FIELD LISTINGS ---------- -->
		//<!-- ---------------------------------- -->
		
		document.write("<br>&nbsp;&nbsp;<font size=2><i>Leading the Field...</i></font>");
		document.write("<BR>");
				
		//<!-- ------- Wayne Palmer --------- -->
		document.write("<a href=Wayne.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Wayne")
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>Wayne Palmer</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Vice President</font></i>");
			document.write("</font>");
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>Wayne Palmer</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Vice President</font></i>");
		}
		document.write("</a>");
		document.write("<BR>");
		
		
		//<!-- ------- John Arnholt --------- -->
		document.write("<a href=John.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "John")
		{	
			document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>John Arnholt Jr.</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Superintendent</font></i>");
			document.write("</font>");
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>John Arnholt Jr.</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Superintendent</font></i>");
		}
		document.write("</a>");
		document.write("<BR>");
		
	/*	
		<!-- ------- Tim Horan --------- -->
		document.write("<a href=Tim.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Tim")
		{	document.write("<font size=3 color=red>&#9632;</font>");
			document.write("<font color=red>&nbsp;<B>Tim Horan</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Superintendent</font></i>");
			document.write("</font>");
		} else
		{	document.write("<font size=3 color=black>&#9632;</font>");
			document.write("&nbsp;<B>Tim Horan</B>&nbsp;");
			document.write("<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><font size=2>Superintendent</font></i>");
		}
		document.write("</a>");
		document.write("<BR>");
				

	*/
	
		//<!-- ------ COMPANY RESUME ---------- -->
		document.write("<BR><BR><BR>");
		document.write("<a href=CompanyResume.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "CompanyResume")
		{	document.write("<font class=typeHeader color=red>Company Resume</font>");
		}
		else
		{	document.write("<font class=typeHeader color=black>Company Resume</font>");
		}
		document.write("</a>");
		document.write("<BR>");
		
				
		//<!-- ------- CUSTOMER COMMENTS --------- -->
		document.write("<BR>");
		document.write("<a href=CompanyTestimonials.html decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "Testimonials")
		{	document.write("<font class=typeHeader color=red>Customer Testimonials</font>");
		} else
		{	document.write("<font class=typeHeader color=black>Customer Testimonials</font>");
		}
		document.write("</a>");
		document.write("<BR><BR><BR>");
		
	}
	else if (pageType == "Projects")
	{	//<!-- ------- Project Status --------- -->
		document.write("<a href=index.htm decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "TeamHome" || "Home")
		{	document.write("<font size=3 color=red>&#9632;&nbsp;Project Home</font>");
		} else
		{	document.write("<font size=3 color=black>&#9632;&nbsp;Project Home</font>");
		}
		document.write("</a>");
		document.write("<BR><BR>");
		
		//<!-- ------- Project Bid Documents --------- -->
		document.write("<a href=BidDocuments.htm decoration=none>&nbsp;&nbsp;&nbsp;");
		if (pageTitle == "BidDocs")
		{	document.write("<font size=3 color=red>&#9632;&nbsp;Bid Documents</font>");
		} else
		{	document.write("<font size=3 color=black>&#9632;&nbsp;Bid Documents</font>");
		}
		document.write("</a>");
		document.write("<BR><BR>");
		
		if (pageTitle == "TeamHome" || "TeamContactInfo")
		{
			//<!-- ------- Project Team Contact Info --------- -->
			document.write("<a href=TeamContactInfo.htm decoration=none>&nbsp;&nbsp;&nbsp;");
			if (pageTitle == "TeamContactInfo")
			{	document.write("<font size=3 color=red>&#9632;&nbsp;Team Contact Info</font>");
			} else
			{	document.write("<font size=3 color=black>&#9632;&nbsp;Team Contact Info</font>");
			}
			document.write("</a>");
			document.write("<BR><BR>");
		}
		
		
		//<!-- ------ Emergency Number ---------- -->
		document.write("<BR><BR><BR>");
		document.write("<font class=typeHeader color=black>&nbsp;&nbsp;&nbsp;24 hour Emergency #:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(309) 208-5055<br></font>");
		document.write("<BR><BR><BR><BR>");
	}
	else if (pageType == "ProjectList")
	{
		//<!-- ------ COMPANY RESUME ---------- -->
		document.write("<a href=Employees/CompanyResume.html decoration=none>&nbsp;&nbsp;&nbsp;");
		document.write("<font size=2 color=black>&#9632&nbsp;Company Resume</font>");
		document.write("</a>");
		document.write("<BR>");
								
		//<!-- ------- CUSTOMER COMMENTS --------- -->
		document.write("<BR>");
		document.write("<a href=Employees/CompanyTestimonials.html decoration=none>&nbsp;&nbsp;&nbsp;");
		document.write("<font size=2 color=black>&#9632&nbsp;Customer Testimonials</font>");
		document.write("</a>");
		document.write("<BR>");
			
		//<!-- ------- RECENTLY COMPLETED PROJECTS --------- -->
		document.write("<BR>");
		document.write("<a href=#Recently_Completed Projects decoration=none>&nbsp;&nbsp;&nbsp;");
		document.write("<font size=2 color=black>&#9632&nbsp;Recently Completed <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Projects</font>");
		document.write("</a>");
		document.write("<BR><BR><BR>");		
	}
	else
	{
		document.write("&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;<br>");
	}

	
	document.write("</TD>");
	document.write("</TR>");
	document.write("</TABLE>");
}

function pageFooter(pageType)
{
	//-------------------------------------------	
	// The following code creates the footer 
	//-------------------------------------------	
	document.write("<table width=100% border=0 cellspacing=0 cellpadding=0>");
	document.write("	<tr>");
	document.write("		<td width=100%>");
	document.write("			<table border=0 cellpadding=5 cellspacing=0 width=100% background=../images/nav/nav.gif>");
	document.write("				<tr>");
	document.write("					<td align=left valign=bottom>");
	document.write("						<font face='Arial Rounded MT Bold' size=1>");
	document.write("						1720 W. Chanute <br>");
	document.write("						Peoria, IL 61615<br>");
	document.write("						(309) 691-3133");
	document.write("						</font>");
	document.write("					</td>");
	document.write("					<td align=right valign=bottom>");
	document.write("						<font face='Arial Rounded MT Bold' size=1>");
	document.write("						Fax: (309) 691-1841<br>");
	document.write("						<a href=mailto:katie@horanconstruction.com>askus@horanconstruction.com</a>");
	document.write("						</font>");
	document.write("					</td>");
	document.write("				</tr>");
	document.write("			</table>");
	document.write("		</td>");
	document.write("	</tr>");
	//---------------------------------------------------------------------------------------------------------
	//  Commenting out the images on each page - the section below was puts the images on each page
	//---------------------------------------------------------------------------------------------------------
	/*
	document.write("	<tr>");
	document.write("		<td width=100%>");
	document.write("			<br>");
	document.write("			<p align=center>");
	document.write("				<img border=0 src=../images/icon-Jack.jpg width=124 height=71>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("				<img border=0 src=../images/icon-BBB.gif width=130 height=64>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("				<img border=0 src=../images/icon-PeoriaAreaChamber.gif width=133 height=75>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("				<img border=0 src=../images/icon-carpenters_union.jpg width=84 height=75>");
	document.write("			</p>");
	document.write("		</td>");
	document.write("	</tr>");
	*/
	document.write("</table>");	
		
}