	var url = self.location.href;
if (url.indexOf("#")!=-1)
	self.location.href=url.substring(url.indexOf('#'),url.length);


var newH = 36;
if(document.layers){
	document.write('<style type="text/css">.clS,.clSover{border: 0px; }</style>');
	newH += 1;}


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=600; 
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(180,25,"item_off","item_on",0,0,"clB",0,"right",0,0,imgdir+"tri.gif",10,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','Checking',sitedir+'personal_checking.html');
		oM.makeMenu('menu1_1_1','menu1_1','Regular Checking',sitedir+'personal_checking.html#regular');
		oM.makeMenu('menu1_1_2','menu1_1','Interest Checking',sitedir+'personal_checking.html#interest');
		oM.makeMenu('menu1_1_3','menu1_1','Proof Positive Investment Checking',sitedir+'personal_checking.html#proof');
		oM.makeMenu('menu1_1_4','menu1_1','Non-Profit Checking',sitedir+'personal_checking.html#nonprofit');						
	oM.makeMenu('menu1_2','menu1','24/7 Online, ATM &amp; Telephone<br />Banking',sitedir+'personal_checking.html#247','','',newH);
	oM.makeMenu('menu1_3','menu1','Proof Positive Investment Checking',sitedir+'personal_proof.html');
	oM.makeMenu('menu1_4','menu1','Passcard &amp; Statement Savings',sitedir+'personal_checking.html#savings');
		oM.makeMenu('menu1_4_1','menu1_4','Passcard Savings',sitedir+'personal_checking.html#passbook');
		oM.makeMenu('menu1_4_2','menu1_4','Statement Savings',sitedir+'personal_checking.html#statement');
		oM.makeMenu('menu1_4_3','menu1_4','Holiday Club Savings',sitedir+'personal_checking.html#holiday');
	oM.makeMenu('menu1_5','menu1','Traditional CDs &amp; Money Markets',sitedir+'personal_cds.html');
		oM.makeMenu('menu1_5_1','menu1_5','Certificates of Deposit',sitedir+'personal_cds.html');
		oM.makeMenu('menu1_5_2','menu1_5','Premier Money Market',sitedir+'personal_cds.html#money');
	oM.makeMenu('menu1_6','menu1','The Index Powered CD',sitedir+'personal_cds.html#index');		
	oM.makeMenu('menu1_7','menu1','CDARS',sitedir+'personal_cds.html#cdars');
	oM.makeMenu('menu1_8','menu1','IRAs',sitedir+'personal_iras.html');
		oM.makeMenu('menu1_8_1','menu1_8','IRAs',sitedir+'personal_iras.html');
		oM.makeMenu('menu1_8_2','menu1_8','Roth IRAs',sitedir+'personal_iras.html#roth');
		oM.makeMenu('menu1_8_3','menu1_8','Education IRAs',sitedir+'personal_iras.html#education');		
	    oM.makeMenu('menu1_8_4','menu1_8','SEP IRAs',sitedir+'personal_iras.html#sep');
	oM.makeMenu('menu1_9','menu1','Non-FDIC Insured Investment<br />'+'Options',sitedir+'personal_nonfdic.html','','',newH);
		oM.makeMenu('menu1_9_1','menu1_9','Brentwood Advisors',sitedir+'personal_nonfdic.html#advisors');
		oM.makeMenu('menu1_9_2','menu1_9','Mutual Funds &amp; Brokerage<br />'+'Accounts',sitedir+'personal_nonfdic.html#brokerage','','',newH);
		oM.makeMenu('menu1_9_3','menu1_9','Retirement &amp; Estate Planning',sitedir+'personal_nonfdic.html#retirement');
		oM.makeMenu('menu1_9_4','menu1_9','Annuities',sitedir+'personal_nonfdic.html#annuities');
		oM.makeMenu('menu1_9_5','menu1_9','529 College Plans',sitedir+'personal_nonfdic.html#college');
		oM.makeMenu('menu1_9_6','menu1_9','Life Insurance &amp; Long Term Care',sitedir+'personal_nonfdic.html#insurance');
		oM.makeMenu('menu1_9_7','menu1_9','Disability Income Insurance',sitedir+'personal_nonfdic.html#disability');
		oM.makeMenu('menu1_9_8','menu1_9','Managed Investment Accounts',sitedir+'personal_nonfdic.html#managed');	
		
oM.makeMenu('menu2');
	oM.makeMenu('menu2_1','menu2','Residential Mortgage Loans',sitedir+'loans_personal.html');		
	oM.makeMenu('menu2_2','menu2','Home Equity Loans',sitedir+'loans_personal.html#heloan');
	oM.makeMenu('menu2_3','menu2','Personal Signature Loans',sitedir+'loans_personal.html#consumer');
	oM.makeMenu('menu2_4','menu2','Home Equity Line of Credit',sitedir+'loans_personal.html#heline');
	oM.makeMenu('menu2_5','menu2','Residential Construction Loans',sitedir+'loans_personal.html#construction');
	oM.makeMenu('menu2_6','menu2','Swing &amp; Bridge Loans',sitedir+'loans_personal.html#swing');
	oM.makeMenu('menu2_7','menu2','Line &amp; Letters of Credit',sitedir+'loans_personal.html#lines');
	oM.makeMenu('menu2_8','menu2','Jumbo Mortgage &amp;<br />Construction Loans','loans_personal.html#jumbo','','',newH);
	oM.makeMenu('menu2_9','menu2','Automobile Loans','loans_personal.html#auto');
	oM.makeMenu('menu2_10','menu2','Brentwood Realty','loans_personal.html#brentwood');


oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3','Commercial Lending',sitedir+'business_lending.html');
	oM.makeMenu('menu3_2','menu3','Business Checking',sitedir+'business_checking.html');
		oM.makeMenu('menu3_2_1','menu3_2','Business Checking Level I',sitedir+'business_checking.html');
		oM.makeMenu('menu3_2_2','menu3_2','Business Checking Level II',sitedir+'business_checking.html#level2');
		oM.makeMenu('menu3_2_3','menu3_2','Business Checking Level III',sitedir+'business_checking.html#level3');
		oM.makeMenu('menu3_2_4','menu3_2','Business Checking Level IV',sitedir+'business_checking.html#level4');
		//oM.makeMenu('menu3_2_5','menu3_2','Regular Business Checking',sitedir+'business_checking.html#regular');
		//oM.makeMenu('menu3_2_6','menu3_2','High Volume Business Checking',sitedir+'business_checking.html#high');
	oM.makeMenu('menu3_3','menu3','Business Savings',sitedir+'business_checking.html#high');
		oM.makeMenu('menu3_3_1','menu3_3','Business Money Market Account',sitedir+'business_checking.html#savings');
		oM.makeMenu('menu3_3_2','menu3_3','Statement Savings Account',sitedir+'business_checking.html#statement');
	oM.makeMenu('menu3_4','menu3','Sweep Accounts',sitedir+'business_additional.html');
	oM.makeMenu('menu3_5','menu3','Certificates of Deposit for Business',sitedir+'business_additional.html#cds');
	oM.makeMenu('menu3_6','menu3','Employee Expense Account',sitedir+'business_additional.html#employee');
	oM.makeMenu('menu3_7','menu3','Business Online Banking',sitedir+'business_online.html');
	oM.makeMenu('menu3_8','menu3','Cash Management System',sitedir+'business_online.html#cashmgmt');
	oM.makeMenu('menu3_9','menu3','Lockbox Services',sitedir+'business_additional.html#lockbox');								

	
/* Old menu, taken out in 201-8895 

oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3','Commercial Lending',sitedir+'business_lending.html');
	oM.makeMenu('menu3_2','menu3','Regular Business Checking',sitedir+'business_checking.html');
	oM.makeMenu('menu3_3','menu3','High Volume Business Checking',sitedir+'business_checking.html#high');
	oM.makeMenu('menu3_4','menu3','Business Accounts',sitedir+'business_checking.html#savings');
		oM.makeMenu('menu3_4_1','menu3_4','Business Money Market Account',sitedir+'business_checking.html#savings');
		oM.makeMenu('menu3_4_2','menu3_4','Statement Savings Account',sitedir+'business_checking.html#statement');
	oM.makeMenu('menu3_5','menu3','Sweep Accounts',sitedir+'business_additional.html');
	oM.makeMenu('menu3_6','menu3','Certificates of Deposit for Business',sitedir+'business_additional.html#cds');
	oM.makeMenu('menu3_7','menu3','Employee Expense Account',sitedir+'business_additional.html#employee');
	oM.makeMenu('menu3_8','menu3','Business Online Banking',sitedir+'business_online.html');
	oM.makeMenu('menu3_9','menu3','Cash Management System',sitedir+'business_online.html#cashmgmt');
	oM.makeMenu('menu3_10','menu3','Lockbox Services',sitedir+'business_additional.html#lockbox');								
		
*/
		


oM.makeMenu('menu4');
	oM.makeMenu('menu4_1','menu4','Commercial Property Financing -<br />'+'Office/Retail/Mutli-Family',sitedir+'business_lending.html#com_financing','','',newH);
	oM.makeMenu('menu4_2','menu4','Investment Property Financing',sitedir+'business_lending.html#inv_financing');
	oM.makeMenu('menu4_3','menu4','Lines &amp; Letters of Credit',sitedir+'business_lending.html#lines');
	oM.makeMenu('menu4_4','menu4','Business Acquisition Loans',sitedir+'business_lending.html#acquisition');
	oM.makeMenu('menu4_5','menu4','Equipment Leasing and Financing',sitedir+'business_lending.html#leasing');
	oM.makeMenu('menu4_6','menu4','Construction Loans',sitedir+'business_lending.html#construction');
	oM.makeMenu('menu4_7','menu4','Land Development &amp;<br />'+'Builder/Developer Financing',sitedir+'business_lending.html#land_dev','','',newH);
	oM.makeMenu('menu4_8','menu4','Government/Municipal Project<br />'+'Financing',sitedir+'business_lending.html#government','','',newH);
	oM.makeMenu('menu4_9','menu4','Tax &amp; Revenue Anticipation News',sitedir+'business_lending.html#anticipation');
	oM.makeMenu('menu4_10','menu4','Brentwood Realty',sitedir+'loans_personal.html#brentwood');



oM.makeMenu('menu5');
	oM.makeMenu('menu5_1','menu5','Mission Statement',sitedir+'ourstory.html#mission');
	oM.makeMenu('menu5_2','menu5','The Brentwood Way',sitedir+'javascript:alert("Coming Soon");');
	oM.makeMenu('menu5_3','menu5','Customer Success Stories and<br />'+'Testimonials',sitedir+'ourstory_customer.html','','',newH);
	oM.makeMenu('menu5_4','menu5','Support for Community Causes',sitedir+'ourstory_customer.html#community');
	oM.makeMenu('menu5_5','menu5','Awards &amp; Recognition',sitedir+'ourstory_customer.html#awards');
	oM.makeMenu('menu5_6','menu5','Upcoming Events',sitedir+'ourstory_customer.html#events');
	oM.makeMenu('menu5_7','menu5','Trustees, Officers &amp; Bank<br />'+'Management',sitedir+'ourstory_trustees.html','','',newH);



		
oM.makeMenu('menu6');
	oM.makeMenu('menu6_1','menu6','Deposit Rates',sitedir+'rates_deposit.html');
	oM.makeMenu('menu6_2','menu6','Loan Rates',sitedir+'rates_loan.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("personalaccounts");
var dropmenu2 = new  FindPosition("personalloans");
var dropmenu3 = new  FindPosition("businessaccounts");
var dropmenu4 = new  FindPosition("commerciallending");
var dropmenu5 = new  FindPosition("ourstory");
var dropmenu6 = new  FindPosition("rates");


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