
var newH = 36;

var imgdir = "../images/";

var menWidth = 165;

oM=new makeCM("oM"); 
oM.resizeCheck=0; 
oM.rows=1;  
oM.onlineRoot=""
oM.offlineRoot=""
oM.pxBetween=0; 
oM.fillImg=imgdir+"clearpix.gif"; 
oM.fromTop=0; 
oM.fromLeft=0; 
oM.wait=300; 
oM.zIndex=400;
oM.useBar=0; 
oM.barWidth="0"; 
oM.barHeight="menu"; 
oM.barX=0;
oM.barY="menu"; 
oM.barClass="clB";
oM.barBorderX=0; 
oM.barBorderY=0;
db="<img src='"+imgdir+"clearpix.gif' width='3' height='1' border='0' alt='' />";

//oM.level[0]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)
oM.level[0]=new cm_makeLevel(0,0,"bordercolor","bordercolor",0,0,"clB",0,"bottom",0,0,0,0,0);
oM.level[0].filter="progid:DXImageTransform.Microsoft.Alpha(opacity=100, finishopacity=100, style=3)";
oM.level[1]=new cm_makeLevel(menWidth,29,"item_off","item_on",0,0,"clB",0,"right",0,0,imgdir+"tri.gif",5,10);
oM.level[1].roundBorder=1;
/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/

var rootdir = ""; //(window.location.href.indexOf('net.')>=0) ? "/staging/fhfcu/fhfcudocs/" : "/";

// Personal Section

// Online Services 
oM.makeMenu('menu1');
	oM.makeMenu('menu1_1','menu1','eBranch','javascript://');
	    oM.makeMenu('menu1_1_1','menu1_1','eBranch Features',sitedir+'online_ebranch.html');
		oM.makeMenu('menu1_1_2','menu1_1','Demos','javascript://');
		    oM.makeMenu('menu1_1_2_1','menu1_1_2','eBranch Demo','https://www.bayportcu.org/home.html?demo');
			oM.makeMenu('menu1_1_2_2','menu1_1_2','Bill Payment Demo','https://www.bayportcu.org/bridge/GRP/cf_flash_demo_0905/index.html');
			oM.makeMenu('menu1_1_2_3','menu1_1_2','Login Security Demo','http://www.bayportcu.org/mstinc/MFA/mfa_main_blue2.html');
		oM.makeMenu('menu1_1_3','menu1_1','Recommended Browsers',sitedir+'online_ebranch_browsers.html');
		oM.makeMenu('menu1_1_4','menu1_1','Enhanced Login Security',sitedir+'online_ebranch_secure.html');
		oM.makeMenu('menu1_1_5','menu1_1','Important Notices',sitedir+'online_ebranch_notices.html');
		oM.makeMenu('menu1_1_6','menu1_1','Online Help',sitedir+'online_ebranch_help.html');
	oM.makeMenu('menu1_2','menu1','Mobile Banking',sitedir+'online_mobile_services.html');
	oM.makeMenu('menu1_3','menu1','Bill Payment',sitedir+'online_billpayment.html');
	oM.makeMenu('menu1_4','menu1','Popmoney',sitedir+'online_popmoney.html');
	oM.makeMenu('menu1_5','menu1','FinanceWorks','https://www.bayportcu.org/site/product_financeWorks.html');
	oM.makeMenu('menu1_6','menu1','eStatement',sitedir+'online_estatement.html');
	oM.makeMenu('menu1_7','menu1','Online Credit Card Info',sitedir+'online_creditcard.html');
	oM.makeMenu('menu1_8','menu1','Check Reorder',sitedir+'online_check_reorder.html');
	oM.makeMenu('menu1_10','menu1','MyTurboTax',sitedir+'resource_center_taxcenter.html');
	oM.makeMenu('menu1_11','menu1','eDeposit Anywhere',sitedir+'online_eDeposit.html');
	

// Products &amp; Services
oM.makeMenu('menu2');
	oM.makeMenu('menu2_1','menu2','Member Relationships',sitedir+'product_member.html');
		oM.makeMenu('menu2_1_1','menu2_1','The Classic Relationship',sitedir+'product_member_classic.html');
		oM.makeMenu('menu2_1_2','menu2_1','The Preferred Relationship',sitedir+'product_member_preferred.html');
		oM.makeMenu('menu2_1_3','menu2_1','The Select Relationship',sitedir+'product_member_select.html');
		oM.makeMenu('menu2_1_4','menu2_1','The Premier Relationsship',sitedir+'product_member_premier.html');
		oM.makeMenu('menu2_1_5','menu2_1','How It Works',sitedir+'product_member_how.html');
		oM.makeMenu('menu2_1_6','menu2_1','View Benefits Chart',sitedir+'product_member_benefits.html');
		oM.makeMenu('menu2_1_7','menu2_1','View FAQs',sitedir+'product_member_faq.html');
		oM.makeMenu('menu2_1_8','menu2_1','Householding Information',sitedir+'product_member_house.html');
	oM.makeMenu('menu2_2','menu2','Checking',sitedir+'product_checking.html');
		oM.makeMenu('menu2_2_1','menu2_2','Classic Checking',sitedir+'product_checking_classic.html');
		oM.makeMenu('menu2_2_2','menu2_2','Investment Checking',sitedir+'product_checking_investment.html');
		oM.makeMenu('menu2_2_3','menu2_2','Personalized Checking',sitedir+'product_checking_personalized.html');
		oM.makeMenu('menu2_2_4','menu2_2','Rewards Checking',sitedir+'product_checking_rewards.html');
	oM.makeMenu('menu2_3','menu2','Savings',sitedir+'product_savings.html');
		oM.makeMenu('menu2_3_1','menu2_3','Share Savings Account',sitedir+'product_savings_account.html');
		oM.makeMenu('menu2_3_2','menu2_3','Share Certificates',sitedir+'product_savings_share.html');
		oM.makeMenu('menu2_3_3','menu2_3','Money Market',sitedir+'product_savings_money.html');
		oM.makeMenu('menu2_3_4','menu2_3','Christmas Club',sitedir+'product_savings_xmas.html');
		oM.makeMenu('menu2_3_5','menu2_3','Vacation Club',sitedir+'product_savings_vacation.html');
		oM.makeMenu('menu2_3_6','menu2_3','VUTMA',sitedir+'product_savings_vutma.html');
		oM.makeMenu('menu2_3_7','menu2_3','Fast Start Savings',sitedir+'product_savings_fast.html');
	oM.makeMenu('menu2_4','menu2','IRAs');
		oM.makeMenu('menu2_4_1','menu2_4','IRA Certificates',sitedir+'product_savings_ira.html');
		//oM.makeMenu('menu2_4_2','menu2_4','Learn About IRAs','https://www2.iraservicecenter.com/irasc/?OrgNbr=7294&p=learnabout');
	oM.makeMenu('menu2_5','menu2','Loans',sitedir+'product_loans.html');
		oM.makeMenu('menu2_5_1','menu2_5','Personal',sitedir+'product_loan_personal.html');
		oM.makeMenu('menu2_5_2','menu2_5','Auto',sitedir+'product_loan_auto.html');
		oM.makeMenu('menu2_5_3','menu2_5','FlexLine Line of Credit',sitedir+'product_loan_flexline.html');
		oM.makeMenu('menu2_5_4','menu2_5','PayDay Cash',sitedir+'product_loan_payday.html');
		oM.makeMenu('menu2_5_5','menu2_5','MaxTax',sitedir+'product_loan_maxtax.html');
		oM.makeMenu('menu2_5_6','menu2_5','Motorcycles',sitedir+'product_loan_motorcycle.html');
		oM.makeMenu('menu2_5_7','menu2_5','Boats',sitedir+'product_loan_boats.html');
		oM.makeMenu('menu2_5_8','menu2_5','Mobile Homes',sitedir+'product_loan_mobile.html');
		oM.makeMenu('menu2_5_9','menu2_5','Recreational Vehicles',sitedir+'product_loan_rv.html');
		oM.makeMenu('menu2_5_10','menu2_5','Student Choice Loans',sitedir+'resource_center.html');
		oM.makeMenu('menu2_5_11','menu2_5','LoanLink',sitedir+'product_loan_loanlink.html');
		oM.makeMenu('menu2_5_12','menu2_5','Loan Protection',sitedir+'product_loans_protection.html');
	oM.makeMenu('menu2_6','menu2','Auto Center',sitedir+'product_auto_center.html');
	oM.makeMenu('menu2_7','menu2','Mortgages',sitedir+'product_mortgages.html');
		oM.makeMenu('menu2_7_1','menu2_7','First Mortgages',sitedir+'product_mortgages_first.html');
		oM.makeMenu('menu2_7_2','menu2_7','CU Realty',sitedir+'product_mortgages_cu_realty.html');
		oM.makeMenu('menu2_7_3','menu2_7','Mortgage Rates',sitedir+'rates_mortgage.html');
		oM.makeMenu('menu2_7_4','menu2_7','Tools',sitedir+'product_mortgages_tools.html');
	oM.makeMenu('menu2_8','menu2','Home Equity',sitedir+'product_homeequity.html');
	    oM.makeMenu('menu2_8_1','menu2_8','Home Equity Loans',sitedir+'product_homeequity_loans.html');
		oM.makeMenu('menu2_8_2','menu2_8','Home Equity Lines of Credit',sitedir+'product_homeequity_lines.html', '', menWidth, 40);
		oM.makeMenu('menu2_8_3','menu2_9','MaxTax Loans',sitedir+'product_homeequity_maxtax.html');
	oM.makeMenu('menu2_9','menu2','Credit Cards',sitedir+'product_creditcards.html');
		oM.makeMenu('menu2_9_1','menu2_9','Visa Platinum Preferred',sitedir+'product_creditcards_platinum.html');
		oM.makeMenu('menu2_9_2','menu2_9','Visa Platinum Rewards',sitedir+'product_creditcards_rewards.html');
		oM.makeMenu('menu2_9_3','menu2_9','Visa Classic',sitedir+'product_creditcards_classicvisa.html');
		oM.makeMenu('menu2_9_4','menu2_9','MasterCard Gold',sitedir+'product_creditcards_gold.html');
		oM.makeMenu('menu2_9_5','menu2_9','MasterCard Classic',sitedir+'product_creditcards_classic.html');
		oM.makeMenu('menu2_9_6','menu2_9','Visa Secured',sitedir+'product_creditcards_securedvisa.html');
	oM.makeMenu('menu2_10','menu2','Electronic Payments',sitedir+'product_electronic.html');
	oM.makeMenu('menu2_11','menu2','Other Services',sitedir+'product_other.html');
		oM.makeMenu('menu2_11_1','menu2_11','ATM Card',sitedir+'product_other_atm_card.html');
		oM.makeMenu('menu2_11_2','menu2_11','MasterCard Debit Card',sitedir+'product_other_debit_card.html');
		oM.makeMenu('menu2_11_3','menu2_11','Shared Branching',sitedir+'locations_service.html');
		oM.makeMenu('menu2_11_4','menu2_11','Financial Counseling',sitedir+'product_other_financial.html');
		oM.makeMenu('menu2_11_5','menu2_11','Overdraft Services',sitedir+'product_other_privilege.html');
		oM.makeMenu('menu2_11_6','menu2_11','Safe Deposit Boxes',sitedir+'product_other_safe.html');
		oM.makeMenu('menu2_11_7','menu2_11','Scholarships',sitedir+'product_other_scholar.html');
		oM.makeMenu('menu2_11_8','menu2_11','STAR Audio Response',sitedir+'product_other_star.html');
		oM.makeMenu('menu2_11_9','menu2_11','Travel Products & Services',sitedir+'product_travel_center.html');
		oM.makeMenu('menu2_11_10','menu2_11','VISA Gift Cards',sitedir+'product_other_visagift.html');
	oM.makeMenu('menu2_12','menu2','Insurance',sitedir+'product_other_insurance.html');
		oM.makeMenu('menu2_12_1','menu2_12','NCUA - Deposit Insurance',sitedir+'product_other_insurance_ncua.html');
		oM.makeMenu('menu2_12_2','menu2_12','Life Savings Insurance',sitedir+'product_other_insurance_life.html');
		oM.makeMenu('menu2_12_3','menu2_12','Additional Insurance<br />Products',sitedir+'product_other_insurance_member.html', '', menWidth, 40);

// Rates
oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3','Savings Rates',sitedir+'rates_savings.html');
	oM.makeMenu('menu3_2','menu3','Share Certificates',sitedir+'rates_share_general.html');
	oM.makeMenu('menu3_4','menu3','IRA Certificates',sitedir+'rates_ira_regular.html');
	oM.makeMenu('menu3_6','menu3','Money Market',sitedir+'rates_money.html');
	oM.makeMenu('menu3_7','menu3','Loan Rates',sitedir+'rates_loan.html');
	oM.makeMenu('menu3_8','menu3','Mortgage Rates',sitedir+'rates_mortgage.html');
	oM.makeMenu('menu3_9','menu3','Credit Card Rates',sitedir+'rates_ccard.html');
    oM.makeMenu('menu3_10','menu3','Home Equity Loan Rates',sitedir+'rates_homeequity.html');
// Investments
oM.makeMenu('menu4');
	oM.makeMenu('menu4_1','menu4','About Us',sitedir+'investments_about.html');
	oM.makeMenu('menu4_2','menu4','Appointments',sitedir+'investments_appointments.html');
	oM.makeMenu('menu4_3','menu4','Life Stages',sitedir+'investments_lifestages.html');
	oM.makeMenu('menu4_4','menu4','Products and Services',sitedir+'investments_products.html');
	oM.makeMenu('menu4_5','menu4','Helpful Articles',sitedir+'investments_articles.html');
	oM.makeMenu('menu4_6','menu4','Personal Portfolio View',sitedir+'investments.html');
	oM.makeMenu('menu4_7','menu4','2011 Seminars',sitedir+'investments_seminar.html');

// Young Investors Club
oM.makeMenu('menu5');
	oM.makeMenu('menu5_1','menu5','Info for Parents',sitedir+'younginvestors.html');	
	oM.makeMenu('menu5_2','menu5','College and Career',sitedir+'younginvestors_college.html');	
	oM.makeMenu('menu5_3','menu5','High/Middle School',sitedir+'younginvestors_smart.html');
	oM.makeMenu('menu5_4','menu5','Elementary',sitedir+'younginvestors_early.html');
	oM.makeMenu('menu5_5','menu5','Pre-School',sitedir+'younginvestors_piggy.html');
	oM.makeMenu('menu5_6','menu5','BayPort Scholarships',sitedir+'product_other_scholar.html');
	oM.makeMenu('menu5_7','menu5','Resources',sitedir+'happenings_hotlinks.html');
	     oM.makeMenu('menu5_7_1','menu5_7','WhatsMyScore',sitedir+'resource_center.html');
	     oM.makeMenu('menu5_7_2','menu5_7','FastWeb',sitedir+'resource_center.html');
		 //oM.makeMenu('menu5_7_3','menu5_7','Googolplex','http://googolplex.cuna.org/index.php?sub_id=31853');
		 oM.makeMenu('menu5_7_4','menu5_7','Thrive by 5',sitedir+'resource_center.html');
	oM.makeMenu('menu5_8','menu5','Teacher Grant Program','https://www.bayportcu.org/pdf/Grant_Application.pdf');
	oM.makeMenu('menu5_9','menu5','Student Choice Loans',sitedir+'resource_center.html');

// Locations &amp; Hours
//oM.makeMenu('menu6');
	//oM.makeMenu('menu6_1','menu6','Branches',sitedir+'locations_branch.html');
	//oM.makeMenu('menu6_2','menu6','ATM Locations',sitedir+'locations_atm.html');
	//oM.makeMenu('menu6_3','menu6','Service Center Locations',sitedir+'locations_service.html');

// What's Happening
oM.makeMenu('menu7');
	oM.makeMenu('menu7_1','menu7','Latest News',sitedir+'happenings.html');
	   oM.makeMenu('menu7_1_1','menu7_1','STAR Upgrade',sitedir+'product_other_star.html');
	   oM.makeMenu('menu7_1_2','menu7_1','The Hampton Roads Show','http://www.wavy.com/subindex/hrs_channels/financial');
	   oM.makeMenu('menu7_1_3','menu7_1','Annual Meeting',sitedir+'happenings_annual.html');
	oM.makeMenu('menu7_2','menu7','Discount Tickets',sitedir+'happenings_discount.html');
	   oM.makeMenu('menu7_2_1','menu7_2','Busch Gardens',sitedir+'happenings_discount_busch.html');
	   oM.makeMenu('menu7_2_2','menu7_2','Water Country',sitedir+'happenings_discount_busch.html');
	   oM.makeMenu('menu7_2_3','menu7_2','Kings Dominion',sitedir+'happenings_discount_kings.html');
	   oM.makeMenu('menu7_2_4','menu7_2','Hampton Roads Transit',sitedir+'happenings_discount_hampton.html');
	   oM.makeMenu('menu7_2_5','menu7_2','Movie Tickets',sitedir+'happenings_discount_movie.html');
	   oM.makeMenu('menu7_2_6','menu7_2','Entertainment Books',sitedir+'happenings_discount_entertain.html');
	oM.makeMenu('menu7_3','menu7','Publications',sitedir+'happenings_publications.html');
	   oM.makeMenu('menu7_3_1','menu7_3','Rainbow Newsletter','https://www.bayportcu.org/pdf/rainbow_winter2012.pdf');
	   oM.makeMenu('menu7_3_2','menu7_3','BayPort Financial','https://www.bayportcu.org/pdf/financial_fall11.pdf');
	oM.makeMenu('menu7_4','menu7','Collectable Coins',sitedir+'happenings_coins.html');
	   oM.makeMenu('menu7_4_1','menu7_4','State Quarters',sitedir+'happenings_state.html');
	   oM.makeMenu('menu7_4_2','menu7_4','Presidential Dollars',sitedir+'happenings_dollars.html');
	   oM.makeMenu('menu7_4_3','menu7_4','Territory Quarters',sitedir+'happenings_terr.html');
	oM.makeMenu('menu7_5','menu7','Community Hotlinks',sitedir+'happenings_hotlinks.html');

// Business Section

// Business Checking
oM.makeMenu('menu8');
    oM.makeMenu('menu8_1','menu8','Overdraft Protection',sitedir+'busover_draft.html');
    oM.makeMenu('menu8_2','menu8','Select 50 Checking',sitedir+'buschecking_select50.html');
	oM.makeMenu('menu8_3','menu8','Select 150 Checking',sitedir+'buschecking_select150.html');
	oM.makeMenu('menu8_4','menu8','Premium Checking',sitedir+'buschecking_premium.html');
	oM.makeMenu('menu8_5','menu8','Non-Profit Checking',sitedir+'buschecking_nonprofit.html');
	oM.makeMenu('menu8_6','menu8','Business Debit Cards',sitedir+'busdebit_card.html');

// Business Savings
oM.makeMenu('menu9');
    oM.makeMenu('menu9_1','menu9','Savings Account',sitedir+'bussavings.html');
	oM.makeMenu('menu9_2','menu9','Share Certificates',sitedir+'buscertificates.html');
	oM.makeMenu('menu9_3','menu9','Money Market Account',sitedir+'busmoneymarket.html');

// Business Loans
oM.makeMenu('menu10');
    oM.makeMenu('menu10_1','menu10','Credit Cards',sitedir+'bus_loans_ccards.html');
	oM.makeMenu('menu10_2','menu10','Lines of Credit',sitedir+'bus_loans_lines.html');
	oM.makeMenu('menu10_3','menu10','Equity Lines',sitedir+'bus_loans_equity.html');
	oM.makeMenu('menu10_4','menu10','Installment Loans',sitedir+'bus_loans_installment.html');
	oM.makeMenu('menu10_5','menu10','Single Payment Loans',sitedir+'bus_loans_single.html');
	oM.makeMenu('menu10_6','menu10','Commercial Real Estate',sitedir+'bus_loans_commercial.html');

// Business Online Services
oM.makeMenu('menu11');
    oM.makeMenu('menu11_1','menu11','Online eBusiness',sitedir+'bus_online_ebusiness.html');
	
// Other Business Services
oM.makeMenu('menu12');
    oM.makeMenu('menu12_1','menu12','PayCycle Online',sitedir+'bus_other_paycycle.html');
	oM.makeMenu('menu12_2','menu12','Merchant Services',sitedir+'bus_other_merchant.html');
	oM.makeMenu('menu12_3','menu12','Business Investments',sitedir+'bus_other_investment.html');
	oM.makeMenu('menu12_4','menu12','Employee Eligibility',sitedir+'bus_other_eligibility.html');

// Locations &amp; Hours
//oM.makeMenu('menu13');
	//oM.makeMenu('menu13_1','menu13','Branches',localsitedir+'locations_branch.html');
	//oM.makeMenu('menu13_2','menu13','ATM Locations',localsitedir+'locations_atm.html');
	//oM.makeMenu('menu13_3','menu13','Service Center Locations',localsitedir+'locations_service.html');

// Tools & Resources
oM.makeMenu('menu14');
    oM.makeMenu('menu14_1','menu14','Helpful Tools',sitedir+'bus_tools.html');
	
// Quick Links
oM.makeMenu('menu15');
    oM.makeMenu('menu15_1','menu15','Apply Online',sitedir+'applications.html');
	oM.makeMenu('menu15_2','menu15','Buying or Selling a Home?',sitedir+'product_mortgages_cu_realty.html');
	oM.makeMenu('menu15_3','menu15','Property for Sale',sitedir+'product_property_sale.html');
	oM.makeMenu('menu15_4','menu15','Shared Branching',sitedir+'locations_service.html');
	oM.makeMenu('menu15_5','menu15','Order Checks',sitedir+'online_check_reorder.html');
	oM.makeMenu('menu15_6','menu15','Auto Center',sitedir+'product_auto_center.html');
	oM.makeMenu('menu15_7','menu15','Online Credit Card Info',sitedir+'online_creditcard.html');
	oM.makeMenu('menu15_8','menu15','ScoreCard Bonus Points',sitedir+'online_scorecard.html');
	oM.makeMenu('menu15_9','menu15','Resource Center',sitedir+'resource_center.html');
	oM.makeMenu('menu15_10','menu15','Careers',sitedir+'resource_center.html');
	oM.makeMenu('menu15_11','menu15','Financial Counselor',sitedir+'product_other_financial.html');
	oM.makeMenu('menu15_12','menu15','MoneyCoach',sitedir+'resource_center.html');
	oM.makeMenu('menu15_13','menu15','Member Referral Card','https://www.bayportcu.org/pdf/referral_card.pdf');
	oM.makeMenu('menu15_14','menu15','Disclosures',sitedir+'privacy_disclosures.html');
	oM.makeMenu('menu15_15','menu15','Travel Information',sitedir+'product_travel_center.html');

oM.menuPlacement=new Array(0);
oM.construct();

function FindPosition(image_name){
    if(!document.images[image_name]){
        return null;
    }
    this.image_name = image_name;
    this.xPos = 500;
    this.yPos = 500;
    this.ref_image = document.images[image_name];
    this.getRealLeft = getRealLeft;
    this.getRealTop = getRealTop;
    this.getRealLeft();
    this.getRealTop();
}

function getRealLeft(move) {
   if(!move){
        move = 0;
    }
   if(document.layers){
     this.xPos = this.ref_image.x + move;    
     return this.xPos;
   }
	this.xPos = this.ref_image.offsetLeft;
	tempEl = this.ref_image.offsetParent;
  	while (tempEl != null) {
  		this.xPos += tempEl.offsetLeft;
  		tempEl = tempEl.offsetParent;
  	}
    this.xPos = this.xPos + move;
	return this.xPos;
}

function getRealTop(move) {
    if(!move){
        move = 0;
    }
    if(document.layers){
     this.yPos = this.ref_image.y + move; 
     return this.yPos
   }
	this.yPos = this.ref_image.offsetTop;
	tempEl = this.ref_image.offsetParent;
	while (tempEl != null) {
  		this.yPos += tempEl.offsetTop;
  		tempEl = tempEl.offsetParent;
  	}
    this.yPos = this.yPos + move;
	return this.yPos;
}

// Personal Section
var dropmenu1 = new FindPosition("online");
var dropmenu2 = new FindPosition("products");
var dropmenu3 = new FindPosition("rates");
var dropmenu4 = new FindPosition("investments");
var dropmenu5 = new FindPosition("young");
var dropmenu6 = new FindPosition("locations");
var dropmenu7 = new FindPosition("happening");

// Business Section
var dropmenu8 = new FindPosition("buschecking");
var dropmenu9 = new FindPosition("bussavings");
var dropmenu10 = new FindPosition("busloans");
var dropmenu11 = new FindPosition("busonline");
var dropmenu12 = new FindPosition("other");
var dropmenu13 = new FindPosition("locations");
var dropmenu14 = new FindPosition("tools");

//Quick Links
var dropmenu15 = new FindPosition("quicklinks");

var xOff = 200;
var yoff = -20;

function showMenu(menu)
{
	switch(menu)
	{
		case "menu1":
		oM.m["menu1"].b.moveIt(dropmenu1.xPos+xOff,dropmenu1.yPos+yoff);
		break;
		case "menu2":
		oM.m["menu2"].b.moveIt(dropmenu2.xPos+xOff,dropmenu2.yPos+yoff);
		break;		
		case "menu3":
		oM.m["menu3"].b.moveIt(dropmenu3.xPos+xOff,dropmenu3.yPos+yoff);
		break;		
		case "menu4":
		oM.m["menu4"].b.moveIt(dropmenu4.xPos+xOff,dropmenu4.yPos+yoff);
		break;
		case "menu5":
		oM.m["menu5"].b.moveIt(dropmenu5.xPos+xOff,dropmenu5.yPos+yoff);
		break;
		case "menu6":
		oM.m["menu6"].b.moveIt(dropmenu6.xPos+xOff,dropmenu6.yPos+yoff);
		break;
		case "menu7":
		oM.m["menu7"].b.moveIt(dropmenu7.xPos+xOff,dropmenu7.yPos+yoff);
		break;
		case "menu8":
		oM.m["menu8"].b.moveIt(dropmenu8.xPos+xOff,dropmenu8.yPos+yoff);
		break;
		case "menu9":
		oM.m["menu9"].b.moveIt(dropmenu9.xPos+xOff,dropmenu9.yPos+yoff);
		break;
		case "menu10":
		oM.m["menu10"].b.moveIt(dropmenu10.xPos+xOff,dropmenu10.yPos+yoff);
		break;
		case "menu11":
		oM.m["menu11"].b.moveIt(dropmenu11.xPos+xOff,dropmenu11.yPos+yoff);
		break;
		case "menu12":
		oM.m["menu12"].b.moveIt(dropmenu12.xPos+xOff,dropmenu12.yPos+yoff);
		break;
		case "menu13":
		oM.m["menu13"].b.moveIt(dropmenu13.xPos+xOff,dropmenu13.yPos+yoff);
		break;
		case "menu14":
		oM.m["menu14"].b.moveIt(dropmenu14.xPos+xOff,dropmenu14.yPos+yoff);
		break;
		case "menu15":
		oM.m["menu15"].b.moveIt(dropmenu15.xPos+xOff,dropmenu15.yPos+yoff);
		break;
} 
	oM.showsub(menu);
}
