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;


//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(1,1,"bordercolor","bordercolor",0,0,"clB",0,"bottom",0,0,0,0,0);
oM.level[0].filter="PROGID:DXImageTransform.Microsoft.Alpha(opacity=97, finishopacity=90, style=1)";
oM.level[1]=new cm_makeLevel(180,22,"item_off","item_on",1,1,"bordercolor",0,"right",0,0,imgdir+"tri.gif",9,12);
oM.level[1].roundBorder=0;
/******************************************
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','Welcome/Privacy Disclosure',sitedir+'about_welcome.html');
	oM.makeMenu('menu1_2','menu1','What is a Credit Union?',sitedir+"about_what.html");
    oM.makeMenu('menu1_3','menu1','Office Hours & Locations',sitedir+"about_hours.html");
    oM.makeMenu('menu1_4','menu1','Holiday Schedule',sitedir+"about_holiday.html");

oM.makeMenu('menu2');
	oM.makeMenu('menu2_1','menu2','Who Can Join?',sitedir+'join_who.html');
	oM.makeMenu('menu2_2','menu2','How To Join',sitedir+'join_how.html');
	oM.makeMenu('menu2_3','menu2','FAQs',sitedir+'join_faq.html');

oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3','Vehicle Loans',sitedir+'loans_vehicle.html');    
        oM.makeMenu('menu3_1_1','menu3_1','Auto Loans - New or Used',sitedir+'loans_new_used_auto.html');
        oM.makeMenu('menu3_1_2','menu3_1','Recreational Vehicle',sitedir+'loans_rec.html');
        oM.makeMenu('menu3_1_3','menu3_1','Auto Advisor',sitedir+'loans_auto.html');
        oM.makeMenu('menu3_1_4','menu3_1','Dealer Indirect Auto Buying',sitedir+'loans_dealer.html');
	oM.makeMenu('menu3_2','menu3','MasterCard',sitedir+'loans_mastercard_index.html');	
        oM.makeMenu('menu3_2_1','menu3_2','MasterCard',sitedir+'loans_mastercard.html');	
        oM.makeMenu('menu3_2_2','menu3_2','Secured MasterCard',sitedir+'loans_secured_mastercard.html');	
	oM.makeMenu('menu3_3','menu3','Personal Loans',sitedir+'loans_personal_index.html');
        oM.makeMenu('menu3_3_1','menu3_3','Personal Signature Loan',sitedir+'loans_personal.html');	
        oM.makeMenu('menu3_3_2','menu3_3','T.E.A.M. Line of Credit',sitedir+'loans_team.html');
        oM.makeMenu('menu3_3_3','menu3_3','Payday Loan',sitedir+'loans_payday.html');
        oM.makeMenu('menu3_3_4','menu3_3','&quot;Fresh Start&quot;',sitedir+'loans_fresh.html');
	oM.makeMenu('menu3_4','menu3','Mortgage Loans',sitedir+'loans_mortgage_index.html');	
        oM.makeMenu('menu3_4_1','menu3_4','First Mortgage',sitedir+'loans_mortgage.html');
        oM.makeMenu('menu3_4_2','menu3_4','Home Equity',sitedir+'loans_equity.html');
	oM.makeMenu('menu3_5','menu3','Loan Rates',sitedir+'loan_rates.html');	
	oM.makeMenu('menu3_6','menu3','Calculators',sitedir+'calculators.html');	
	oM.makeMenu('menu3_7','menu3','Skip-a-Payment','javascript:openWin(\''+sitedir+'skip_payment_form.pdf\', \'\', 800, 600);');	
	
oM.makeMenu('menu4');
    oM.makeMenu('menu4_1','menu4','Savings/Money Market',sitedir+'deposit_savings.html');
        oM.makeMenu('menu4_1_1','menu4_1','Savings',sitedir+'deposit_savings_reg.html');
        oM.makeMenu('menu4_1_2','menu4_1','Money Market',sitedir+'deposit_savings_mm.html');
        oM.makeMenu('menu4_1_3','menu4_1','Club Accounts',sitedir+'deposit_savings_club.html');
    oM.makeMenu('menu4_2','menu4','Checking',sitedir+'deposit_checking.html');
        oM.makeMenu('menu4_2_1','menu4_2','Regular Checking/Check Smart',sitedir+'deposit_checking_reg.html');
        oM.makeMenu('menu4_2_2','menu4_2','Checking Plus',sitedir+'deposit_checking_plus.html');
    oM.makeMenu('menu4_3','menu4','Certificates',sitedir+'deposit_cd.html');
        oM.makeMenu('menu4_3_1','menu4_3','Traditional C.D.',sitedir+'deposit_cd_trad.html');
        oM.makeMenu('menu4_3_2','menu4_3','Add-On C.D.',sitedir+'deposit_cd_add.html');
        oM.makeMenu('menu4_3_3','menu4_3','I.R.A. C.D.',sitedir+'deposit_cd_ira.html'); 
    oM.makeMenu('menu4_4','menu4','IRAs',sitedir+'deposit_ira.html');        
    oM.makeMenu('menu4_5','menu4','Rates',sitedir+'deposit_rates.html');
	
oM.makeMenu('menu5');
	oM.makeMenu('menu5_1','menu5','Teller Services',sitedir+'services_teller.html');
	oM.makeMenu('menu5_2','menu5','ATM Cards',sitedir+'services_atm.html');
        oM.makeMenu('menu5_2_1','menu5_2','Visa Check Card',sitedir+'services_visa.html');
    	oM.makeMenu('menu5_2_2','menu5_2','Cash Card',sitedir+'services_cashcard.html');
    	oM.makeMenu('menu5_2_3','menu5_2','Lost/Stolen Cards',sitedir+'contact.html');
	oM.makeMenu('menu5_3','menu5','Travelers Checks/Gift Cards',sitedir+'services_travel.html');
	//oM.makeMenu('menu5_4','menu5','Official Checks',sitedir+'services_official.html');
	oM.makeMenu('menu5_4','menu5','Official Checks/Money Orders',sitedir+'services_official_money.html');
	oM.makeMenu('menu5_5','menu5','Wire Transfer',sitedir+'services_wire.html');
	//oM.makeMenu('menu5_6','menu5','Money Orders',sitedir+'services_money.html');
	oM.makeMenu('menu5_6','menu5','Fee Schedule',sitedir+'services_fees.html');
	
oM.makeMenu('menu6');
    oM.makeMenu('menu6_1','menu6','TFCU’s CALL-24',sitedir+'online_access.html');
    oM.makeMenu('menu6_2','menu6','Internet Banking',sitedir+'online_ib.html');
    oM.makeMenu('menu6_3','menu6','ATM Locations',sitedir+'about_hours.html#atms');
    oM.makeMenu('menu6_4','menu6','Check Reorder',sitedir+'online_reorderchecks.html');
    oM.makeMenu('menu6_5','menu6','Apply for a Loan',sitedir+'online_apply.html');
    oM.makeMenu('menu6_6','menu6','E Statements',sitedir+'online_ib.html#estatements');
    oM.makeMenu('menu6_7','menu6','Auto Advisor',sitedir+'loans_auto.html');
    oM.makeMenu('menu6_8','menu6','TurboTax',sitedir+'online_turbo.html');
	//oM.makeMenu('menu6_9','menu6','BALANCE',sitedir+'online_balance.html');
	//oM.makeMenu('menu6_10','menu6','inbalance&#174;','javascript:showWarning(\'http://www.getinbalance.org/education.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("aboutus");
var dropmenu2 = new  FindPosition("joinus");
var dropmenu3 = new  FindPosition("loanproducts");
var dropmenu4 = new  FindPosition("deposits");
var dropmenu5 = new  FindPosition("services");
var dropmenu6 = new  FindPosition("online");


function showMenu(menu){
	switch(menu){
		case "menu1":
		oM.m["menu1"].b.moveIt(dropmenu1.xPos,dropmenu1.yPos+14);
		break;
		case "menu2":
		oM.m["menu2"].b.moveIt(dropmenu2.xPos,dropmenu2.yPos+14);
		break;		
		case "menu3":
		oM.m["menu3"].b.moveIt(dropmenu3.xPos+171,dropmenu3.yPos);
		break;		
		case "menu4":
		oM.m["menu4"].b.moveIt(dropmenu4.xPos+171,dropmenu4.yPos);
		break;
		case "menu5":
		oM.m["menu5"].b.moveIt(dropmenu5.xPos+171,dropmenu5.yPos);
		break;		
		case "menu6":
		oM.m["menu6"].b.moveIt(dropmenu6.xPos+171,dropmenu6.yPos);
		break;	
	}
	oM.showsub(menu);
}
//end of file
