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='<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)
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(150,25,"item_off","item_on",1,1,"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) 
*************************************/



oM.makeMenu('menu1');
oM.makeMenu('menu1_1','menu1','Who We Are',sitedir+'meet_who_we_are.html');
oM.makeMenu('menu1_2','menu1','Founders & Directors',sitedir+'meet_founders_directors.html');
oM.makeMenu('menu1_3','menu1','Management',sitedir+'meet_management.html');
oM.makeMenu('menu1_4','menu1','Meet Our Staff',sitedir+'meet_meet_our_staff.html');
oM.makeMenu('menu1_5','menu1','Location & Hours',sitedir+'meet_locations_hours.html');
oM.makeMenu('menu1_6','menu1','Financial Information',sitedir+'meet_financial_information.html');
oM.makeMenu('menu1_7','menu1','Employment',sitedir+'meet_employment.html');
oM.makeMenu('menu1_8','menu1','Press Releases',sitedir+'meet_press_releases.html');
oM.makeMenu('menu1_9','menu1','Customer Testimonials',sitedir+'meet_customer_testimonials.html');

oM.makeMenu('menu2');
oM.makeMenu('menu2_1','menu2','Personal',sitedir+'deposit_personal.html');
oM.makeMenu('menu2_1_1','menu2_1','Checking Accounts',sitedir+'deposit_personal.html#1');
oM.makeMenu('menu2_1_2','menu2_1','Savings',sitedir+'deposit_personal.html#2');
oM.makeMenu('menu2_1_3','menu2_1','Credit Card',sitedir+'deposit_personal.html#3');
oM.makeMenu('menu2_2','menu2','Business',sitedir+'deposit_business.html');
oM.makeMenu('menu2_2_1','menu2_2','Checking Accounts',sitedir+'deposit_business.html#1');
oM.makeMenu('menu2_2_2','menu2_2','Savings',sitedir+'deposit_business.html#2');
oM.makeMenu('menu2_2_3','menu2_2','Credit Card',sitedir+'deposit_business.html#3');

oM.makeMenu('menu3');
oM.makeMenu('menu3_1','menu3','Personal',sitedir+'lending_personal.html'); 
oM.makeMenu('menu3_1_1','menu3_1','Residential Mortgages',sitedir+'lending_personal.html#1'); 
oM.makeMenu('menu3_1_2','menu3_1','Investment Properties',sitedir+'lending_personal.html#2'); 
oM.makeMenu('menu3_2','menu3','Business',sitedir+'lending_business.html'); 
oM.makeMenu('menu3_2_1','menu3_2','Permanent Expansion Capital',sitedir+'lending_business.html#1'); 
oM.makeMenu('menu3_2_2','menu3_2','Working Capital',sitedir+'lending_business.html#2'); 
oM.makeMenu('menu3_2_3','menu3_2','Equipment Loans',sitedir+'lending_business.html#3'); 
oM.makeMenu('menu3_2_4','menu3_2','Small Business Administration Loans',sitedir+'lending_business.html#4'); 
oM.makeMenu('menu3_2_5','menu3_2','Commercial Real Estate',sitedir+'lending_business.html#5'); 
oM.makeMenu('menu3_2_6','menu3_2','Letter of Credit',sitedir+'lending_business.html#6'); 

oM.makeMenu('menu4');
oM.makeMenu('menu4_1','menu4','Online Cash Management',sitedir+'other.html#1'); 
oM.makeMenu('menu4_2','menu4','Online Banking',sitedir+'other.html#2'); 
oM.makeMenu('menu4_3','menu4','Online Bill Payments',sitedir+'other.html#3'); 
oM.makeMenu('menu4_4','menu4','Lockbox Accounts',sitedir+'other.html#4'); 
oM.makeMenu('menu4_5','menu4','Courier Services',sitedir+'other.html#5'); 
oM.makeMenu('menu4_6','menu4','Remote Deposit Capture',sitedir+'other.html#6'); 
oM.makeMenu('menu4_7','menu4','Notary Services',sitedir+'other.html#7'); 
oM.makeMenu('menu4_8','menu4','Safe Deposit Boxes',sitedir+'other.html#8'); 
oM.makeMenu('menu4_9','menu4','ATM Locations',sitedir+'other.html#9'); 

oM.makeMenu('menu5');
oM.makeMenu('menu5_1','menu5','Loan Calculator',sitedir+'calculators_loan_calculator.html'); 
oM.makeMenu('menu5_2','menu5','Loan Comparison Calculator',sitedir+'calculators_loan_comparison_calculator.html'); 
oM.makeMenu('menu5_3','menu5','Mortgage Calculator',sitedir+'calculators_mortgage_calculator.html'); 
oM.makeMenu('menu5_4','menu5','Savings Calculator',sitedir+'calculators_savings_calculator.html'); 
oM.makeMenu('menu5_5','menu5','Kids Calculator',sitedir+'calculators_kids_calculator.html'); 

oM.makeMenu('menu6');
oM.makeMenu('menu6_1','menu6','Press Releases',sitedir+'whats_new_press_releases.html'); 
oM.makeMenu('menu6_2','menu6','Promotional Offers',sitedir+'whats_new_promotional_offers.html'); 
oM.makeMenu('menu6_3','menu6','Customer Testimonials',sitedir+'whats_new_customer_testimonials.html'); 

oM.makeMenu('menu7');
oM.makeMenu('menu7_1','menu7','Press',sitedir+'whats_new_press_releases.html'); 
oM.makeMenu('menu7_2','menu7','Promotional Offers',sitedir+'whats_new_promotional_offers.html'); 
oM.makeMenu('menu7_3','menu7','Customer Testimonials',sitedir+'whats_new_customer_testimonials.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;
}

var dropmenu1 = new  FindPosition("services");
var dropmenu2 = new  FindPosition("products");
var dropmenu3 = new  FindPosition("rates");
var dropmenu4 = new  FindPosition("calculators");
var dropmenu5 = new  FindPosition("about");
var dropmenu6 = new  FindPosition("contact");
var dropmenu7 = new  FindPosition("help");


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





