var tempurl;
if(document.domain.indexOf("jhadev") > 0){
	tempurl = "javascript: top.window.location=('http://mvbbank.jhadev.com/";
}
else if(document.domain.indexOf("jhauat") > 0){
	tempurl = "javascript: top.window.location=('http://mvbbank.jhauat.com/";
}
else{
	tempurl = "javascript: top.window.location=('http://www.mvbbank.com/";
}


/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.41 24 December 2001	          *
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=5;			// Number of first level items
	var LowBgColor='black';			// Background color when mouse is not over
	var LowSubBgColor='black';			// Background color when mouse is not over on subs
	var HighBgColor='#FF6600';			// Background color when mouse is over
	var HighSubBgColor='FF6600';			// Background color when mouse is over on subs
	var FontLowColor='white';			// Font color when mouse is not over
	var FontSubLowColor='white';			// Font color subs when mouse is not over
	var FontHighColor='white';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	var BorderColor='black';			// Border color
	var BorderSubColor='black';			// Border color for subs
	var BorderWidth=0;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var FontFamily="arial"	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.05;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.05;			// vertical overlap child/ parent
	var StartTop=240;				// Menu offset x coordinate
	var StartLeft=10;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=0;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=0;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='header';			// Frame where first level appears
	var SecLineFrame='content';			// Frame where sub levels appear
	var DocTargetFrame='content';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("<img src='images/hp_bankbtn.gif'>","","",6,31,122);
  Menu1_1=new Array("Features",tempurl + "frameset.cfm?content=o_features.cfm');","",0,20,122);
	Menu1_2=new Array("User Guide",tempurl + "frameset.cfm?content=o_faqs.cfm');","",0);
  Menu1_3=new Array("FAQs",tempurl + "frameset.cfm?content=o_faqs.cfm');","",0);
  Menu1_4=new Array("Apply",tempurl + "apps/onlineapp1.cfm');","",0);
  Menu1_5=new Array("&nbsp;Maintenance Forms&nbsp;&nbsp;&nbsp;<img src='images/tri.gif'>","","",2);
    Menu1_5_1=new Array("NetTeller Maintenance Form",tempurl + "apps/ntmtapp1.cfm');","",0,30,122);
		Menu1_5_2=new Array("Bill Pay Maintenance Form",tempurl + "apps/bpmtapp1.cfm');","",0);
  Menu1_6=new Array("EFT Disclosure",tempurl + "frameset.cfm?content=o_disclose.cfm');","",0);
  
Menu2=new Array("<img src='images/hp_depbtn.gif'>","","",9,31,122);
  Menu2_1=new Array("Checking Accounts",tempurl + "frameset.cfm?content=d_serv.cfm');","",0,20,122);
	Menu2_2=new Array("Savings Accounts",tempurl + "frameset.cfm?content=d_serv.cfm&anchorname=d_save');","",0);
  Menu2_3=new Array("CDs",tempurl + "frameset.cfm?content=d_serv.cfm&anchorname=d_cd');","",0);
  Menu2_4=new Array("IRAs",tempurl + "frameset.cfm?content=d_serv.cfm&anchorname=d_ira');","",0);
  Menu2_5=new Array("Commercial Accounts",tempurl + "frameset.cfm?content=d_serv.cfm&anchorname=d_comm');","",0);
  Menu2_6=new Array("Other Services",tempurl + "frameset.cfm?content=d_serv.cfm&anchorname=d_other');","",0);
  Menu2_7=new Array("Fee Schedule",tempurl + "frameset.cfm?content=d_fee.cfm');","",0);
  Menu2_8=new Array("Deposit Rates",tempurl + "frameset.cfm?content=d_rates.cfm');","",0);
  Menu2_9=new Array("Account Opening Form",tempurl + "apps/depapp1.cfm');","",0);

Menu3=new Array("<img src='images/hp_loanbtn.gif'>","","",5,31,122);
	Menu3_1=new Array("Real Estate",tempurl + "frameset.cfm?content=l_serv.cfm');","",0,20,122);
	Menu3_2=new Array("Consumer",tempurl + "frameset.cfm?content=l_serv.cfm&anchorname=consumeloan');","",0);
	Menu3_3=new Array("Agriculture",tempurl + "frameset.cfm?content=l_serv.cfm&anchorname=agloan');","",0);
  Menu3_4=new Array("Commercial",tempurl + "frameset.cfm?content=l_serv.cfm&anchorname=commloan');","",0);
  Menu3_5=new Array("Apply!",tempurl + "PDFapps/frameset.cfm?content=l_apps.cfm');","",0);

Menu4=new Array("<img src='images/hp_aboutbtn.gif'>","","",9,31,122);
	Menu4_1=new Array("General Information",tempurl + "frameset.cfm?content=a_info.cfm');","",0,20,122);
	Menu4_2=new Array("FDIC Transaction Account Guarantee Program",tempurl + "frameset.cfm?content=a_info.cfm&anchorname=a_fdicTransaction')","",0,47);// new navigation link, CWR 4614329, sdavis - 05/06/10
	Menu4_3=new Array("FDIC Insurance Coverage",tempurl + "frameset.cfm?content=a_info.cfm&anchorname=a_fdicInsurance')","",0,34);// new navigation link, CWR 4614329, sdavis - 05/06/10
	Menu4_4=new Array("Mission",tempurl + "frameset.cfm?content=a_info.cfm&anchorname=a_mission');","",0);
	Menu4_5=new Array("Investor Information",tempurl + "frameset.cfm?content=a_info.cfm&anchorname=a_invest');","",0);
	Menu4_6=new Array("Bank History",tempurl + "frameset.cfm?content=a_info.cfm&anchorname=a_history');","",0);
 	Menu4_7=new Array("Hours & Locations",tempurl + "frameset.cfm?content=a_hours.cfm');","",0);
	Menu4_8=new Array("Location Map",tempurl + "frameset.cfm?content=a_map.cfm');","",0);
 	Menu4_9=new Array("Employment",tempurl + "PDFapps/frameset.cfm?content=a_employ.cfm');","",0);

Menu5=new Array("<img src='images/hp_finbtn.gif'>","","",2,31,122);
	Menu5_1=new Array("Calculators",tempurl + "frameset.cfm?content=f_calcs.cfm');","",0,20,122);
	Menu5_2=new Array("Links",tempurl + "frameset.cfm?content=f_links.cfm');","",0);
