if(document.layers){
	document.write('<style>.clS,.clSover{border: 0px;}</style>');
}

oM=new makeCM("oM"); 
oM.resizeCheck=1; 
oM.rows=1;  
oM.onlineRoot=""
oM.offlineRoot=""
oM.pxBetween=0; 
oM.fillImg=imgdir+"cm_fill.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='<span class="bullet">&#149; </span>';

//oM.level[0]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)<img src="../images/menu_arrow.gif" width="14" height="10" alt="" border="0">
oM.level[0]=new cm_makeLevel(0,0,"clS","clS",0,0,"clB",0,"bottom",0,0,0,0,0);
oM.level[0].filter="PROGID:DXImageTransform.Microsoft.Alpha(opacity=97, finishopacity=87, style=1)"; 
oM.level[0].roundBorder=1;
oM.level[1]=new cm_makeLevel(190,25,"clS","clSover",0,0,"clB",0,"right",0,0,imgdir+"tri.gif",8,9);


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oM.makeMenu('menu1');
	oM.makeMenu('menu1_1','menu1','Learn More',sitedir+'personal.html');
	oM.makeMenu('menu1_2','menu1','Checking',sitedir+'personal_checking.html');
		oM.makeMenu('menu1_2_1','menu1_2','Regular Checking Account',sitedir+'personal_regularchecking.html');
		oM.makeMenu('menu1_2_2','menu1_2','NOW Checking Account',sitedir+'personal_nowchecking.html');
		oM.makeMenu('menu1_2_3','menu1_2','Economy Checking Account',sitedir+'personal_economychecking.html');
		oM.makeMenu('menu1_2_4','menu1_2','Community Checking Account',sitedir+'personal_community.html');
		oM.makeMenu('menu1_2_5','menu1_2','Premium NOW Checking',sitedir+'personal_premium_nowchecking.html');
		oM.makeMenu('menu1_2_6','menu1_2','Money Market Account',sitedir+'personal_moneymarket.html');
	oM.makeMenu('menu1_3','menu1','Savings',sitedir+'personal_savings.html');
		oM.makeMenu('menu1_3_1','menu1_3','Statement Savings Account',sitedir+'personal_savings_statement.html');
		oM.makeMenu('menu1_3_2','menu1_3','Community Statement Savings Account',sitedir+'personal_savings_community.html');
		oM.makeMenu('menu1_3_3','menu1_3','High Yield Savings Account',sitedir+'personal_savings_premium.html');
		oM.makeMenu('menu1_3_4','menu1_3','Health Savings Account',sitedir+'personal_savings_health.html');
	oM.makeMenu('menu1_4','menu1','CD\'s',sitedir+'personal_cd.html');
	oM.makeMenu('menu1_5','menu1','IRA\'s',sitedir+'personal_ira.html');
	oM.makeMenu('menu1_6','menu1','Consumer Loans',sitedir+'personal_loans.html');
	oM.makeMenu('menu1_7','menu1','Online Banking',sitedir+'personal_onlinebanking.html');
		
	
	
oM.makeMenu('menu2');
	oM.makeMenu('menu2_1','menu2','Learn More',sitedir+'business.html');
	oM.makeMenu('menu2_2','menu2','Commercial Loans',sitedir+'commercialloans.html');
	oM.makeMenu('menu2_3','menu2','Online Business Banking',sitedir+'business_onlinebusiness.html');
	oM.makeMenu('menu2_4','menu2','Cash Management Products',sitedir+'business_cashmanagement.html');
	oM.makeMenu('menu2_5','menu2','Business Checking Accounts',sitedir+'business_checking.html');
	oM.makeMenu('menu2_6','menu2','Business Savings Accounts',sitedir+'business_savings.html');
	oM.makeMenu('menu2_7','menu2','Other Business Services',sitedir+'business_other.html');
		
		
	
oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3','Personal Deposit Products',sitedir+'rates_personal.html');
	oM.makeMenu('menu3_2','menu3','Business Deposit Products',sitedir+'rates_business.html');
	oM.makeMenu('menu3_3','menu3','Consumer Loans',sitedir+'rates_loans.html');

	
oM.makeMenu('menu4');
	oM.makeMenu('menu4_1','menu4','Asheville - Main Office',sitedir+'loc_asheville.html');
	oM.makeMenu('menu4_2','menu4','Boone',sitedir+'loc_boone.html');
	oM.makeMenu('menu4_3','menu4','Brevard',sitedir+'loc_brevard.html');
	oM.makeMenu('menu4_4','menu4','Fletcher',sitedir+'loc_fletcher.html');
	oM.makeMenu('menu4_5','menu4','Greer, SC',sitedir+'loc_greer.html');
	oM.makeMenu('menu4_6','menu4','Hendersonville',sitedir+'loc_hendersonville.html');
	oM.makeMenu('menu4_7','menu4','Maggie Valley',sitedir+'loc_maggie.html');
	oM.makeMenu('menu4_8','menu4','West Asheville',sitedir+'loc_west.html');

oM.makeMenu('menu5');
	oM.makeMenu('menu5_1','menu5','Location Map','javascript:newWindow()');
	oM.makeMenu('menu5_2','menu5','Address Change Form','javascript:open_apps(\'address_change_app\')');
	oM.makeMenu('menu5_3','menu5','Guestbook','javascript:open_apps(\'guestbook_app\')');
	
oM.makeMenu('menu6');
	oM.makeMenu('menu6_1','menu6','1<sup><font size="2">st</font></sup> LINE 24 Hour Telephone Banking',sitedir+'convenience.html#first');
	oM.makeMenu('menu6_2','menu6','Address Change Form','javascript:open_apps(\'address_change_app\')');
	oM.makeMenu('menu6_3','menu6','ATM Locations',sitedir+'convenience.html#atm');
	oM.makeMenu('menu6_4','menu6','Checking',sitedir+'prodserv_checking.html');
	oM.makeMenu('menu6_5','menu6','Calculators',sitedir+'calculators.html');
	oM.makeMenu('menu6_6','menu6','Check Reorder Form','javascript:open_apps(\'check_reorder_app\')');
	oM.makeMenu('menu6_7','menu6','Contact Us',sitedir+'contactus.html');
	oM.makeMenu('menu6_8','menu6','Disclosures',sitedir+'prodserv_disclosures.html');
	oM.makeMenu('menu6_9','menu6','IRAs',sitedir+'prodserv_ira.html');
	oM.makeMenu('menu6_10','menu6','Loans',sitedir+'prodserv_loans.html');
	oM.makeMenu('menu6_11','menu6','Map','javascript:newWindow()');
	oM.makeMenu('menu6_12','menu6','Online Banking','https://www.firstbankbaldwin.com/onlineserv/HB');
	oM.makeMenu('menu6_13','menu6','Privacy Policy',sitedir+'privacy.html');
	oM.makeMenu('menu6_14','menu6','Rates',sitedir+'rates.html');
	oM.makeMenu('menu6_15','menu6','Savings',sitedir+'prodserv_savings.html');

oM.makeMenu('menu7');
	oM.makeMenu('menu7_1','menu7','Item 1','javascript:void(\'0\');');
	oM.makeMenu('menu7_2','menu7','Item 2','javascript:void(\'0\');');
	oM.makeMenu('menu7_3','menu7','Item 3','javascript:void(\'0\');');
	oM.makeMenu('menu7_4','menu7','Item 4','javascript:void(\'0\');');	
	
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;
}

var dropmenu1 = new  FindPosition("personal");
var dropmenu2 = new  FindPosition("business");
var dropmenu3 = new  FindPosition("rates");


function showMenu(menu){
	switch(menu){
		case "menu1":
		oM.m["menu1"].b.moveIt(dropmenu1.xPos,dropmenu1.yPos+26);
		break;
		case "menu2":
		oM.m["menu2"].b.moveIt(dropmenu2.xPos,dropmenu2.yPos+26);
		break;
		case "menu3":
		oM.m["menu3"].b.moveIt(dropmenu3.xPos,dropmenu3.yPos+26);
		break;
		case "menu4":
		oM.m["menu4"].b.moveIt(dropmenu4.xPos,dropmenu4.yPos);
		break;
		case "menu5":
		oM.m["menu5"].b.moveIt(dropmenu5.xPos,dropmenu5.yPos);
		break;
		case "menu6":
		oM.m["menu6"].b.moveIt(dropmenu6.xPos,dropmenu6.yPos);
		break;
		case "menu7":
		oM.m["menu7"].b.moveIt(dropmenu7.xPos,dropmenu7.yPos);
		break;

	}
	oM.showsub(menu);
	
}



//end of file