// Configuration
var vertmenu = 'false';
var menuBorder = 1;
var menuLiteBgColor = '#ffffff';
var menuBorderBgColor = '';
var bgColor = '#ffffff';
var fontWeight = "";
var fontStyle = "";
var divheight = 22;
var font = "Arial, Helvetica, sans-serif";
var fontpx = 12;
var txtindent = 2;
var cellpad = 4;
var cellspace = 0;
var delay = 100;
var txtup = "#1C4881";
var txtover = "#FFFFFF";
var cellup = "#E5E3D5";
var cellover = "#B5AE87";
var valign = "middle";
var halign = "left";

// Set up the site's navigation
var sitemap = new Array();

sitemap['about'] = new Array();
sitemap['about'][0] = new Array("About Us", "about_us.html");
sitemap['about'][1] = new Array("Contact Us", "contact_us.html");
sitemap['about'][2] = new Array("Locations", "contact_us.html");

sitemap['personal'] = new Array();
sitemap['personal'][0] = new Array("Deposit Accounts", "deposit_accounts.html");
sitemap['personal'][1] = new Array("Debit Card", "debit_card.html");
sitemap['personal'][2] = new Array("Prepaid Gift Cards", "gift_card.html");
sitemap['personal'][3] = new Array("MasterCard SecureCode", "mastercard_securecode.html");
sitemap['personal'][4] = new Array("OnLine Services", "online.html");
sitemap['personal'][5] = new Array("Personal Loans", "loan.html");
sitemap['personal'][6] = new Array("Mortgage Loans", "mortgage_loan.html");
sitemap['personal'][7] = new Array("Time Deposit & IRA Specials", "rate_listings.html");
sitemap['personal'][8] = new Array("Visa", "visa.html");
sitemap['personal'][9] = new Array("Check Reorder Express", "https://www.clarkeamerican.com/index.jsp");

sitemap['business'] = new Array();
sitemap['business'][0] = new Array("Deposit Accounts", "business_deposit_accounts.html");
sitemap['business'][1] = new Array("Card Services", "business_card_services.html");
sitemap['business'][2] = new Array("Online &amp; Cash Management Tools", "business_online_services.html");
sitemap['business'][3] = new Array("Business Loan Options", "business_loans.html");
sitemap['business'][4] = new Array("Retirement Plan Options", "investments_retirement.html");
sitemap['business'][5] = new Array("Business  Insurance Options", "insurance_services.html");
sitemap['business'][6] = new Array("Investment Services", "investment_services.html");
sitemap['business'][7] = new Array("MasterCard&reg; SecureCode&trade;", "business_mastercard_securecode.html");
sitemap['business'][8] = new Array("Visa", "http://www.peoplesbancorp.com/visa.html");

sitemap['insurance'] = new Array();
sitemap['insurance'][0] = new Array("Insurance", "insurance_services.html");

sitemap['investment'] = new Array();
sitemap['investment'][0] = new Array("Investment Services", "investment_services.html");
sitemap['investment'][1] = new Array("Locate a Financial Advisor", "investments_contact.html");
sitemap['investment'][2] = new Array("Peoples Financial Advisors Directory", "investments_contact_advisor.html");
sitemap['investment'][3] = new Array("Comprehensive Financial Planning", "investments_financial_planning.html");
sitemap['investment'][4] = new Array("Educational Funding", "investments_educational_funding.html");
sitemap['investment'][5] = new Array("Estate Planning", "investments_estate.html");
sitemap['investment'][6] = new Array("Insurance Solutions", "investments_insurance_solutions.html");
sitemap['investment'][7] = new Array("Investment Glossary", "investments_glossary.html");
sitemap['investment'][8] = new Array("Investment Planning", "investments_management.html");
sitemap['investment'][9] = new Array("Retirement Planning", "investments_retirement.html");
sitemap['investment'][10] = new Array("Trust Services", "investments_trust_services.html");
sitemap['investment'][11] = new Array("Peoples Financial Advisors WebLink Login", "https://www.fi-web.com/peboweblink");
sitemap['investment'][12] = new Array("Peoples Financial Advisors Weblink FAQ's", "investments_faq.html");
sitemap['investment'][13] = new Array("Peoples Financial Advisors WebLink Enrollment", "https://www.peoplesbancorp.com/Forms/OnlineForm.cgi?onweb=true&form=investment_enrollment");
sitemap['investment'][14] = new Array("Raymond James Login", "https://wallstreet.rjf.com/investor/login.asp");

sitemap['investor'] = new Array();
sitemap['investor'][0] = new Array("News Releases", "investor_news.html");
sitemap['investor'][1] = new Array("Earnings Conference Webcast", "investor_relations.html");
sitemap['investor'][2] = new Array("Quarterly Report to Shareholders", "investor_report_shareholders.html");
sitemap['investor'][3] = new Array("Annual Report to Shareholders", "2008annualreport.pdf");
sitemap['investor'][4] = new Array("Peoples Bancorp Inc. Event Calendar", "investor_calendar.html");
sitemap['investor'][5] = new Array("Shareholder Information", "investor_shareholder_info.html");
sitemap['investor'][6] = new Array("Stock Performance", "investor_stock.html");

sitemap['rates'] = new Array();
sitemap['rates'][0] = new Array("Time Deposit & IRA Rates", "cd_rates.html");
sitemap['rates'][1] = new Array("Home Loan Rates", "home_rates.html");
sitemap['rates'][2] = new Array("Auto Loan Rates", "auto_rates.html");

sitemap['community'] = new Array();
sitemap['community'][0] = new Array("America's Promise", "community_americas_promise.html");
sitemap['community'][1] = new Array("Relay for Life", "community_relay.html");
sitemap['community'][2] = new Array("Wheelchair Basketball Game", "community_wheelchair_bball.html");
sitemap['community'][3] = new Array("Peoples Bancorp Foundation", "foundations.html");
sitemap['community'][4] = new Array("Robert E. Evans Educational Foundation", "REEvans_foundation.html");

sitemap['career'] = new Array();
sitemap['career'][0] = new Array("Current Job Postings", "https://secure.peoplesbancorp.com/jobs?kiosk=T");
sitemap['career'][1] = new Array("PEBO Perks", "pebo_perks.pdf");

sitemap['news'] = new Array();
sitemap['news'][0] = new Array("news", "news_weather.html");

sitemap['home'] = new Array();
sitemap['home'][0] = new Array("home", "https://www.peoplesbancorp.com/");

/////////////////////////////////////////////////////////////////////////
// DON'T MODIFY BELOW THIS LINE
function mmLoadMenus() {
   if (window.menuname) return;
   		var charwidth = '0';
		var divwidth = '0';
   	for (key in sitemap) {
		
		// Loop through the sitemap array 
		// and find the longest string
		for (w in sitemap[key]) {
			charwidth = sitemap[key][w][0].length;
			if ((charwidth * 7 + 5) > divwidth) {
				divwidth = (charwidth * 7 + 5);
			}
		}
		var menuname = 'mm_menu_' + key;
		var linkID = key;
		window[menuname] = new Menu("root",divwidth,divheight,font,fontpx,txtup,txtover,cellup,cellover,halign,valign,cellpad,cellspace,delay,3,1,true,true,vertmenu,0,true,false,linkID);
		
		for (value in sitemap[key]) {
			eval('mm_menu_' + key).addMenuItem(sitemap[key][value][0],'location="'+sitemap[key][value][1]+'"');
		}
		eval('mm_menu_' + key).hideOnMouseOut=true;
		eval('mm_menu_' + key).menuBorder=menuBorder;
		eval('mm_menu_' + key).menuLiteBgColor=menuLiteBgColor;
		eval('mm_menu_' + key).menuBorderBgColor=menuBorderBgColor;
		eval('mm_menu_' + key).bgColor=bgColor;
		eval('mm_menu_' + key).fontWeight=fontWeight;
   		eval('mm_menu_' + key).fontStyle=fontStyle;
		
		charwidth = '0';
		divwidth = '0';
   	}
   eval('mm_menu_' + key).writeMenus();
}