//================================================
// Display the Page Header
//================================================
function displayPageHeader()
{
	document.write('	<div id="pgHeader" style="position:absolute; left:0px; top:0px; height:45px; background-image:url(\'images/hdr-bkgrnd.gif\'); background-repeat:repeat-x;" onMouseOver="hideAll();">');
	document.write('		<table width=100% border=0 cellspacing=0 cellpadding=0>');
	document.write('			<tr>');
	document.write('				<td height=25 align="right" valign="middle" class="whttext">');
	document.write('					<a href="index.html"><span class="whttext">Home</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('					<a href="locations.html"><span class="whttext">Locations</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('					<a href="contactus.html"><span class="whttext">Contact Us</span></a>&nbsp;&nbsp;&nbsp;');
	document.write('				</td>');
	document.write('			</tr>');
	document.write('		</table>');
	document.write('	</div>');
}


//================================================
// Display the Page Footer
//================================================
function displayPageFooter()
{
	document.write('		<div style="background:transparent;">');
	document.write('			<table border=0 cellspacing=0 cellpadding=0>');
	document.write('				<tr>');
	document.write('					<td width=10>&nbsp;</td>');
	document.write('					<td width=100%>');
	document.write('						<table width=100% cellpadding=2>');
	document.write('							<tr>');
	document.write('								<td width=35% height=17 align="left" valign="top">');
	document.write('									<a href="">Site Map</a>&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('									<a href="privacy.html">Privacy Statement</a>&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('									<a href="termsofuse.html">Terms of Use</a>');
	document.write('								</td>');
	document.write('								<td width=30% height=17 align="center" valign="middle">');
//	document.write('									<img src="images/fdic-eho.gif" alt="" width=113 height=40 border=0><br>');
	document.write('									<img src="images/FDIC-EHL.gif" alt="" width=149 height=25 border=0><br>');
	document.write('									<span class="smltext">Site design and development by<br>');
	document.write('										<a href="http://www.nextsteptechnology.com/web-development.html" onClick="alert(\'You have activated a hyperlink to a web site over whose information Morris Building & Loan has no control or influence. This link is provided only as a convenience and does not imply an endorsement, investigation, verification or monitoring by Morris Building & Loan of any information contained within the site. Morris Building & Loan will not be responsible for the quality, content, nature, reliability, or use of the site you have chosen to access.\')">Next Step Technology</a></span>');
	document.write('								</td>');
	document.write('							<td width=35% height=17 align="right" valign="top" class="copyright">');
	document.write('									&copy;2008 Morris Building & Loan - All rights reserved.');
	document.write('								</td>');
	document.write('							</tr>');

	document.write('						</table>');
	document.write('					</td>');
	document.write('					<td width=10>&nbsp;</td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</div>');
}


//================================================
// Display the Page Footer w/o FDIC logo
//================================================
function displayPageFooter2()
{
	document.write('		<div style="background:transparent;">');
	document.write('			<table border=0 cellspacing=0 cellpadding=0>');
	document.write('				<tr>');
	document.write('					<td width=10>&nbsp;</td>');
	document.write('					<td width=100%>');
	document.write('						<table width=100% cellpadding=2>');
	document.write('							<tr>');
	document.write('								<td width=40% height=17 align="left" valign="top">');
	document.write('									<a href="">Site Map</a>&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('									<a href="privacy.html">Privacy Statement</a>&nbsp;&nbsp;&nbsp;&nbsp;');
	document.write('									<a href="termsofuse.html">Terms of Use</a>');
	document.write('								</td>');
	document.write('								<td width=20% height=17 align="center" valign="middle">');
	document.write('									<span class="smltext">Site design and development by<br>');
	document.write('										<a href="http://www.nextsteptechnology.com/web-development.html" onClick="alert(\'You have activated a hyperlink to a web site over whose information Morris Building & Loan has no control or influence. This link is provided only as a convenience and does not imply an endorsement, investigation, verification or monitoring by Morris Building & Loan of any information contained within the site. Morris Building & Loan will not be responsible for the quality, content, nature, reliability, or use of the site you have chosen to access.\')">Next Step Technology</a></span>');
	document.write('								</td>');
	document.write('								<td width=40% height=17 align="right" valign="top" class="copyright">');
	document.write('									&copy;2006 Harvard Savings Bank - All rights reserved.');
	document.write('								</td>');
	document.write('							</tr>');
	document.write('						</table>');
	document.write('					</td>');
	document.write('					<td width=10>&nbsp;</td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</div>');
}




//================================================
// Display "Personal" menu
//================================================
function showPersonalMenu()
{
	//---------------------------------------------
	// turn off the other stuff
	//---------------------------------------------
	this.obj = document.getElementById('BusinessMenu');
	this.style = document.getElementById('BusinessMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('LoanMenu');
	this.style = document.getElementById('LoanMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('InvestMenu');
	this.style = document.getElementById('InvestMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('ServicesMenu');
	this.style = document.getElementById('ServicesMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('AboutMenu');
	this.style = document.getElementById('AboutMenu').style.visibility = 'hidden';
	
	//---------------------------------------------
	// turn on the menu
	//---------------------------------------------
	this.obj = document.getElementById('PersonalMenu');
	this.style = document.getElementById('PersonalMenu').style.visibility = 'visible';
}




//================================================
// Display "Business" menu
//================================================
function showBusinessMenu()
{
	//---------------------------------------------
	// turn off the other stuff
	//---------------------------------------------
	this.obj = document.getElementById('PersonalMenu');
	this.style = document.getElementById('PersonalMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('LoanMenu');
	this.style = document.getElementById('LoanMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('InvestMenu');
	this.style = document.getElementById('InvestMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('ServicesMenu');
	this.style = document.getElementById('ServicesMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('AboutMenu');
	this.style = document.getElementById('AboutMenu').style.visibility = 'hidden';
	
	//---------------------------------------------
	// turn on the menu
	//---------------------------------------------
	this.obj = document.getElementById('BusinessMenu');
	this.style = document.getElementById('BusinessMenu').style.visibility = 'visible';
}




//================================================
// Display "Loans" menu
//================================================
function showLoanMenu()
{
	//---------------------------------------------
	// turn off the other stuff

	//---------------------------------------------
	this.obj = document.getElementById('PersonalMenu');
	this.style = document.getElementById('PersonalMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('BusinessMenu');
	this.style = document.getElementById('BusinessMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('InvestMenu');
	this.style = document.getElementById('InvestMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('ServicesMenu');
	this.style = document.getElementById('ServicesMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('AboutMenu');
	this.style = document.getElementById('AboutMenu').style.visibility = 'hidden';
	
	//---------------------------------------------
	// turn on the menu
	//---------------------------------------------
	this.obj = document.getElementById('LoanMenu');
	this.style = document.getElementById('LoanMenu').style.visibility = 'visible';
}




//================================================
// Display "Services" menu
//================================================
function showInvestMenu()
{
	//---------------------------------------------
	// turn off the other stuff
	//---------------------------------------------
	this.obj = document.getElementById('PersonalMenu');
	this.style = document.getElementById('PersonalMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('BusinessMenu');
	this.style = document.getElementById('BusinessMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('LoanMenu');
	this.style = document.getElementById('LoanMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('ServicesMenu');
	this.style = document.getElementById('ServicesMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('AboutMenu');
	this.style = document.getElementById('AboutMenu').style.visibility = 'hidden';
	
	//---------------------------------------------
	// turn on the menu
	//---------------------------------------------
	this.obj = document.getElementById('InvestMenu');
	this.style = document.getElementById('InvestMenu').style.visibility = 'visible';
}




//================================================

// Display "Services" menu
//================================================
function showServicesMenu()
{
	//---------------------------------------------
	// turn off the other stuff
	//---------------------------------------------
	this.obj = document.getElementById('PersonalMenu');
	this.style = document.getElementById('PersonalMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('BusinessMenu');
	this.style = document.getElementById('BusinessMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('LoanMenu');
	this.style = document.getElementById('LoanMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('InvestMenu');
	this.style = document.getElementById('InvestMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('AboutMenu');
	this.style = document.getElementById('AboutMenu').style.visibility = 'hidden';
	
	//---------------------------------------------
	// turn on the menu
	//---------------------------------------------
	this.obj = document.getElementById('ServicesMenu');
	this.style = document.getElementById('ServicesMenu').style.visibility = 'visible';
}




//================================================
// Display "About" menu
//================================================
function showAboutMenu()
{
	//---------------------------------------------
	// turn off the other stuff
	//---------------------------------------------
	this.obj = document.getElementById('PersonalMenu');
	this.style = document.getElementById('PersonalMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('BusinessMenu');
	this.style = document.getElementById('BusinessMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('LoanMenu');
	this.style = document.getElementById('LoanMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('InvestMenu');
	this.style = document.getElementById('InvestMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('ServicesMenu');
	this.style = document.getElementById('ServicesMenu').style.visibility = 'hidden';
	
	//---------------------------------------------
	// turn on the menu
	//---------------------------------------------
	this.obj = document.getElementById('AboutMenu');
	this.style = document.getElementById('AboutMenu').style.visibility = 'visible';
}




//================================================
// Hide all menus and turn buttons off
//================================================
function hideAll()
{
	this.obj = document.getElementById('PersonalMenu');
	this.style = document.getElementById('PersonalMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('BusinessMenu');
	this.style = document.getElementById('BusinessMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('LoanMenu');
	this.style = document.getElementById('LoanMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('InvestMenu');
	this.style = document.getElementById('InvestMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('ServicesMenu');
	this.style = document.getElementById('ServicesMenu').style.visibility = 'hidden';
	
	this.obj = document.getElementById('AboutMenu');
	this.style = document.getElementById('AboutMenu').style.visibility = 'hidden';
}

