var dropmenu = [];
function showMenu(menu){
                    
                    switch(menu){
                    
        case "personal":
        dropmenu["nav_personal"] = new FindPosition("nav_personal");
        oM.m["personal"].b.moveIt($JQ("#nav_personal").position()['left'] + -19,$JQ("#nav_personal").position()['top'] + 19);
        break;
    
        case "business":
        dropmenu["nav_business"] = new FindPosition("nav_business");
        oM.m["business"].b.moveIt($JQ("#nav_business").position()['left'] + -19,$JQ("#nav_business").position()['top'] + 19);
        break;
    
        case "loan":
        dropmenu["nav_loan"] = new FindPosition("nav_loan");
        oM.m["loan"].b.moveIt($JQ("#nav_loan").position()['left'] + -19,$JQ("#nav_loan").position()['top'] + 19);
        break;
    
        case "trust":
        dropmenu["nav_trust"] = new FindPosition("nav_trust");
        oM.m["trust"].b.moveIt($JQ("#nav_trust").position()['left'] + -19,$JQ("#nav_trust").position()['top'] + 19);
        break;
    
        case "investor":
        dropmenu["nav_investor"] = new FindPosition("nav_investor");
        oM.m["investor"].b.moveIt($JQ("#nav_investor").position()['left'] + -19,$JQ("#nav_investor").position()['top'] + 19);
        break;
    
                    }
                    oM.showsub(menu);
                    }
                    
            oM.makeMenu('personal');
			
            oM.makeMenu('personal_checking',"personal","Checking Accounts","https://www.oceanfirstonline.com/wcnewsite/personal.checking");
			
            oM.makeMenu('personal_savings',"personal","Savings Accounts","https://www.oceanfirstonline.com/wcnewsite/personal.savings");
			
            oM.makeMenu('personal_online',"personal","Online Banking","https://www.oceanfirstonline.com/wcnewsite/personal.online");
			
            oM.makeMenu('personal_online_signon',"personal_online","Sign-on","https://www.oceanfirstonline.com/wcnewsite/home");
			
            oM.makeMenu('personal_online_olbreg',"personal_online","OLB and Bill Pay Registration","https://www.oceanfirstonline.com/onlineserv/HB/STDReg.cgi");
			
            oM.makeMenu('personal_online_demo',"personal_online","Demo","https://www.oceanfirstonline.com/wcnewsite/home?demo");
			
            oM.makeMenu('personal_online_olbfeatures',"personal_online","OLB and Bill Pay Features","https://www.oceanfirstonline.com/wcnewsite/personal.online.olbfeatures");
			
            oM.makeMenu('personal_online_test',"personal_online","Test Your Browser","javascript:target_blank('https://www.oceanfirstonline.com/onlineserv/HB/BrowserTest.cgi');");
			
            oM.makeMenu('personal_mortgages',"personal","Mortgages","http://oceanfirst.mortgagewebcenter.com/Default.asp?bhcp=1");
			
            oM.makeMenu('personal_heloans',"personal","Home Equity","https://www.oceanfirstonline.com/wcnewsite/loan.home");
			
            oM.makeMenu('personal_cd',"personal","Certificate of Deposit","https://www.oceanfirstonline.com/wcnewsite/personal.cd");
			
            oM.makeMenu('personal_iras',"personal","IRAs","https://www.oceanfirstonline.com/wcnewsite/personal.iras");
			
            oM.makeMenu('personal_investment',"personal","Investment Services","https://www.oceanfirstonline.com/wcnewsite/trust.invservices");
			
            oM.makeMenu('personal_trust',"personal","Trust Services","https://www.oceanfirstonline.com/wcnewsite/trust");
			
            oM.makeMenu('personal_switchkitlandingpage',"personal","Checking Switch Kit","https://www.oceanfirstonline.com/wcnewsite/personal.switchkitlandingpage");
			
            oM.makeMenu('personal_answer',"personal","Answers to Your Financial Questions","http://www.moneyfitness.com/ofb/home.php?b=24547959");
			
            oM.makeMenu('business');
			
            oM.makeMenu('business_checking',"business","Deposit Accounts","https://www.oceanfirstonline.com/wcnewsite/business.checking");
			
            oM.makeMenu('business_loans',"business","Loans Up to $250,000","https://www.oceanfirstonline.com/wcnewsite/business.loans");
			
            oM.makeMenu('business_commercial',"business","Commercial Financing Over $250,000","https://www.oceanfirstonline.com/wcnewsite/business.commercial");
			
            oM.makeMenu('business_cashman',"business","Cash Management","https://www.oceanfirstonline.com/wcnewsite/business.cashman");
			
            oM.makeMenu('business_online',"business","Online Banking","https://www.oceanfirstonline.com/wcnewsite/business.online");
			
            oM.makeMenu('business_merchant',"business","Merchant Services","https://www.oceanfirstonline.com/wcnewsite/business.merchant");
			
            oM.makeMenu('business_answers',"business","Answers to Your Financial Questions","http://www.moneyfitness.com/ofb/home.php?b=24547959");
			
            oM.makeMenu('loan');
			
            oM.makeMenu('loan_mortgages',"loan","Mortgages","http://oceanfirst.mortgagewebcenter.com/Default.asp?bhcp=1");
			
            oM.makeMenu('loan_home',"loan","Home Equity Loans","https://www.oceanfirstonline.com/wcnewsite/loan.home");
			
            oM.makeMenu('loan_reverse',"loan","Reverse Mortgages","https://www.oceanfirstonline.com/wcnewsite/loan.reverse");
			
            oM.makeMenu('loan_business',"loan","Business Loans Up to $250,000","https://www.oceanfirstonline.com/wcnewsite/business.loans");
			
            oM.makeMenu('loan_commercial',"loan","Commercial Financing Over $250,000","https://www.oceanfirstonline.com/wcnewsite/business.commercial");
			
            oM.makeMenu('loan_answers',"loan","Answers to Your Financial Questions","http://www.moneyfitness.com/ofb/home.php?b=24547959");
			
            oM.makeMenu('trust');
			
            oM.makeMenu('trust_trust',"trust","Trust Services","https://www.oceanfirstonline.com/wcnewsite/trust.trust");
			
            oM.makeMenu('trust_investment',"trust","Investment Management Account","https://www.oceanfirstonline.com/wcnewsite/trust.investment");
			
            oM.makeMenu('trust_employee',"trust","Employee Benefit Plans","https://www.oceanfirstonline.com/wcnewsite/trust.employee");
			
            oM.makeMenu('trust_invservices',"trust","Investment Services","https://www.oceanfirstonline.com/wcnewsite/trust.invservices");
			
            oM.makeMenu('trust_invservices_invbasics',"trust_invservices","Investing Basics","http://www.moneyfitness.com/ofb/topic.php?b=24547959-0&amp;c=374");
			
            oM.makeMenu('trust_invservices_saving',"trust_invservices","Saving for Retirement","http://www.moneyfitness.com/ofb/topic.php?b=24547959-0&amp;c=564");
			
            oM.makeMenu('trust_invservices_iras',"trust_invservices","IRAs","http://www.moneyfitness.com/ofb/topic.php?b=24547959-0&amp;c=394");
			
            oM.makeMenu('trust_invservices_preparing',"trust_invservices","Preparing to Retire","http://www.moneyfitness.com/ofb/topic.php?b=24547959-0&amp;c=469");
			
            oM.makeMenu('trust_answers',"trust","Answers to Your Financial Questions","http://www.moneyfitness.com/ofb/home.php?b=24547959");
			
            oM.makeMenu('investor');
			
            oM.makeMenu('investor_events',"investor","Events and Webcast","https://www.oceanfirstonline.com/wcnewsite/investor.events");
			
            oM.makeMenu('investor_events_investorpresentation',"investor_events","Investor Presentation","https://www.oceanfirstonline.com/wcnewsite/investor.events.investorpresentation");
			
            oM.makeMenu('investor_events_earning',"investor_events","Earning Conference Call","javascript:showWarning('http://www.vcall.com/IC/index.asp');");
			
            oM.makeMenu('investor_news',"investor","News","https://www.oceanfirstonline.com/wcnewsite/investor.news");
			
            oM.makeMenu('investor_news_press',"investor_news","Press Releases","https://www.oceanfirstonline.com/wcnewsite/investor.news.press");
			
            oM.makeMenu('investor_news_quarterly',"investor_news","Quarterly Earnings Release","https://www.oceanfirstonline.com/wcnewsite/investor.news.quarterly");
			
            oM.makeMenu('investor_overview',"investor","Overview","https://www.oceanfirstonline.com/wcnewsite/investor.overview");
			
            oM.makeMenu('investor_overview_oceanfirst',"investor_overview","OceanFirst Financial Corp.","https://www.oceanfirstonline.com/wcnewsite/investor.overview.oceanfirst");
			
            oM.makeMenu('investor_overview_faq',"investor_overview","Frequently Asked Questions","https://www.oceanfirstonline.com/wcnewsite/investor.overview.faq");
			
            oM.makeMenu('investor_overview_contact',"investor_overview","Contact Investor Relations","https://www.oceanfirstonline.com/wcnewsite/contact");
			
            oM.makeMenu('investor_overview_request',"investor_overview","Request an Investment Package","https://www.oceanfirstonline.com/wcnewsite/investor.overview.request");
			
            oM.makeMenu('investor_financial',"investor","Financial Information","https://www.oceanfirstonline.com/wcnewsite/investor.financial");
			
            oM.makeMenu('investor_financial_downloads',"investor_financial","Financial Downloads","https://www.oceanfirstonline.com/wcnewsite/investor.financial.downloads");
			
            oM.makeMenu('investor_financial_dividend',"investor_financial","Dividend History and Details","https://www.oceanfirstonline.com/wcnewsite/investor.financial.dividend");
			
            oM.makeMenu('investor_financial_insider',"investor_financial","Insider Ownership (Section 16 Filings)","javascript:target_blank('http://www.sec.gov/cgi-bin/browse-edgar?company=&amp;CIK=0001004702&amp;owner=only&amp;action=getcompany')");
			
            oM.makeMenu('investor_financial_stock',"investor_financial","Stock Quote","javascript:target_blank('http://quotes.nasdaq.com/quote.dll?mode=stock&amp;page=multi&amp;symbol=OCFC&amp;selected=OCFC&amp;rpage=quotes&amp;')");
			
                    oM.menuPlacement=new Array(0); 
                    oM.construct(); 

                    function showLocations(){
                    
                    dropmenu["nav_locations"] = new FindPosition("nav_locations");
                    sM.m["locations"].b.moveIt($JQ("#nav_locations").position()['left'] + 1 ,$JQ("#nav_locations").position()['top'] + 17);

                    sM.showsub("locations");
                    }

                    sM.makeMenu('locations');
                    
                    //level 1 (type)
                    sM.makeMenu('locations_atm',"locations","ATM","javascript://");
                    sM.makeMenu('locations_branches',"locations","Branches","javascript://");
                    sM.makeMenu('locations_loan',"locations","Loan Centers","javascript://");
                    sM.makeMenu('locations_trust',"locations","Trust","javascript://");
                    
                    //level 2 atm
                    sM.makeMenu('locations_atm_ocean_barnegat',"locations_atm","Barnegat","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_barnegat");
                    sM.makeMenu('locations_atm_ocean_bayville',"locations_atm","Bayville","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_bayville");
                    sM.makeMenu('locations_atm_ocean_brick',"locations_atm","Brick","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_brick");
                    sM.makeMenu('locations_atm_middlesex_cranbury',"locations_atm","Cranbury","https://www.oceanfirstonline.com/wcnewsite/locations.atm_middlesex_cranbury");
                    sM.makeMenu('locations_atm_monmouth_freehold',"locations_atm","Freehold","https://www.oceanfirstonline.com/wcnewsite/locations.atm_monmouth_freehold");
                    sM.makeMenu('locations_atm_ocean_forkedriver',"locations_atm","Forked River","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_forkedriver");
                    sM.makeMenu('locations_atm_ocean_jackson',"locations_atm","Jackson","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_jackson");
                    sM.makeMenu('locations_atm_ocean_littleegg',"locations_atm","Little Egg Harbor","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_littleegg");
                    sM.makeMenu('locations_atm_ocean_manahawkin',"locations_atm","Manahawkin","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_manahawkin");
                    sM.makeMenu('locations_atm_ocean_manchester',"locations_atm","Manchester","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_manchester");
                    sM.makeMenu('locations_atm_ocean_pointpleasant',"locations_atm","Point Pleasant","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_pointpleasant");
                    sM.makeMenu('locations_atm_monmouth_springlake',"locations_atm","Spring Lake Heights","https://www.oceanfirstonline.com/wcnewsite/locations.atm_monmouth_springlake");
                    sM.makeMenu('locations_atm_ocean_tomsriver',"locations_atm","Toms River","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_tomsriver");
                    sM.makeMenu('locations_atm_monmouth_wall',"locations_atm","Wall","https://www.oceanfirstonline.com/wcnewsite/locations.atm_monmouth_wall");
                    sM.makeMenu('locations_atm_ocean_waretown',"locations_atm","Waretown","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_waretown");
                    sM.makeMenu('locations_atm_ocean_whiting',"locations_atm","Whiting","https://www.oceanfirstonline.com/wcnewsite/locations.atm_ocean_whiting");
                                        
                    //level 2 branches
                    sM.makeMenu('locations_branches_ocean_barnegat',"locations_branches","Barnegat","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_barnegat");
                    sM.makeMenu('locations_branches_ocean_bayville',"locations_branches","Bayville","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_bayville");
                    sM.makeMenu('locations_branches_ocean_brick',"locations_branches","Brick","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_brick");
                    sM.makeMenu('locations_branches_middlesex_cranbury',"locations_branches","Cranbury","https://www.oceanfirstonline.com/wcnewsite/locations.branches_middlesex_cranbury");
                    sM.makeMenu('locations_branches_ocean_forkedriver',"locations_branches","Forked River","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_forkedriver");
                    sM.makeMenu('locations_branches_monmouth_freehold',"locations_branches","Freehold","https://www.oceanfirstonline.com/wcnewsite/locations.branches_monmouth_freehold");
                    sM.makeMenu('locations_branches_ocean_jackson',"locations_branches","Jackson","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_jackson");
                    sM.makeMenu('locations_branches_ocean_littleegg',"locations_branches","Little Egg Harbor","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_littleegg");
                    sM.makeMenu('locations_branches_ocean_manahawkin',"locations_branches","Manahawkin","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_manahawkin");
                    sM.makeMenu('locations_branches_ocean_pointpleasant',"locations_branches","Point Pleasant","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_pointpleasant");
                    sM.makeMenu('locations_branches_monmouth_springlake',"locations_branches","Spring Lake Heights","https://www.oceanfirstonline.com/wcnewsite/locations.branches_monmouth_springlake");
                    sM.makeMenu('locations_branches_ocean_tomsriver',"locations_branches","Toms River","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_tomsriver");
                    sM.makeMenu('locations_branches_monmouth_wall',"locations_branches","Wall","https://www.oceanfirstonline.com/wcnewsite/locations.branches_monmouth_wall");
                    sM.makeMenu('locations_branches_ocean_waretown',"locations_branches","Waretown","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_waretown");
                    sM.makeMenu('locations_branches_ocean_whiting',"locations_branches","Whiting","https://www.oceanfirstonline.com/wcnewsite/locations.branches_ocean_whiting");
                    
                    //level 2 loan
                    sM.makeMenu('locations_loan_ocean_brick',"locations_loan","Brick","https://www.oceanfirstonline.com/wcnewsite/locations.loan_ocean_brick");
                    sM.makeMenu('locations_loan_union_kenilworth',"locations_loan","Kenilworth","https://www.oceanfirstonline.com/wcnewsite/locations.loan_union_kenilworth");
                    sM.makeMenu('locations_loan_ocean_tomsriver',"locations_loan","Toms River","https://www.oceanfirstonline.com/wcnewsite/locations.loan_ocean_tomsriver");
                    
                    //level 2 trust
                    sM.makeMenu('locations_trust_ocean_manchester',"locations_trust","Manchester","https://www.oceanfirstonline.com/wcnewsite/locations.trust_ocean_manchester");

                    sM.menuPlacement=new Array(0); 
                    sM.construct();