var newH = 36;
if(document.layers){
	document.write('<style>.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=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="<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)<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=95, finishopacity=95, style=1)"; 
oM.level[0].roundBorder=1;
oM.level[1]=new cm_makeLevel(235,20,"clS","clSover",0,0,"clB",0,"right",0,0,imgdir+"tri.gif",11,11);
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) 
*************************************/

//Loans
oM.makeMenu('menu1');
	oM.makeMenu('menu1_1','menu1','Loan Applications',sitedir+'loans_applications.html');
	oM.makeMenu('menu1_2','menu1','Vehicle',sitedir+'loans_vehicle.html');
		oM.makeMenu('menu1_2_1','menu1_2','Guaranteed Asset Protection',sitedir+'special_insurance_gap_insurance.html');
		oM.makeMenu('menu1_2_2','menu1_2','Payment Protection',sitedir+'special_insurance_payment_insurance.html');
		oM.makeMenu('menu1_2_3','menu1_2','Vehicle Dealerships',sitedir+'loans_vehicle_dealership.html');
	oM.makeMenu('menu1_3','menu1','Personal',sitedir+'loans_personal.html');
		oM.makeMenu('menu1_3_1','menu1_3','Payment Protection',sitedir+'special_insurance_payment_insurance.html');
	oM.makeMenu('menu1_4','menu1','Mortgages/Home Equity',sitedir+'loans_mortgage_home.html');
		oM.makeMenu('menu1_4_1','menu1_4','Payment Protection',sitedir+'special_insurance_payment_insurance.html');
	oM.makeMenu('menu1_5','menu1','Credit Cards',sitedir+'loans_credit_card.html');
		oM.makeMenu('menu1_5_1','menu1_5','VISA Credit Cards',sitedir+'loans_credit_card_visa.html');
			oM.makeMenu('menu1_5_1_1','menu1_5_1','Lost/Stolen Cards',sitedir+'convenience_visa_home_lost_stolen.html');
			oM.makeMenu('menu1_5_1_2','menu1_5_1','VISA Classic Terms and Conditions','javascript:openWin(\''+sitedir+'VISAClassicTerms&Conditions.pdf\');');
			oM.makeMenu('menu1_5_1_3','menu1_5_1','VISA Platinum Terms and Conditions','javascript:openWin(\''+sitedir+'VISAPlatinumTerms&Conditions.pdf\');');
		oM.makeMenu('menu1_5_2','menu1_5','VISA Gift Cards',sitedir+'loans_visagiftcard.html');
	oM.makeMenu('menu1_6','menu1','Rates',sitedir+'rates.html');
		
//Online Banking
oM.makeMenu('menu2');
	oM.makeMenu('menu2_1','menu2','How do I access it?',sitedir+'online_banking_access.html');
	oM.makeMenu('menu2_2','menu2','Is it Secure?',sitedir+'online_banking_secure.html');
	oM.makeMenu('menu2_3','menu2','Online Bill Pay',sitedir+'billpay.html');	
	oM.makeMenu('menu2_4','menu2','Mobile Banking',sitedir+'mobilebanking.html');
	oM.makeMenu('menu2_5','menu2','Authorization Form','javascript:openWin(\''+sitedir+'securityfcu_@home_authform.pdf\');');
		oM.makeMenu('menu2_5_1','menu2_5','EFT Disclosure','javascript:openWin(\''+sitedir+'eft_disclosure.pdf\');');
	oM.makeMenu('menu2_6','menu2','Member-to-Member Transfer<br />&nbsp;&nbsp;Authorization Form','javascript:openWin(\''+sitedir+'securityfcu_membertomember.pdf\');');
		oM.makeMenu('menu2_6_1','menu2_6','EFT Disclosure','javascript:openWin(\''+sitedir+'eft_disclosure.pdf\');');
	oM.makeMenu('menu2_7','menu2','E-Statements',sitedir+'online_banking_e_statements.html');
		oM.makeMenu('menu2_7_1','menu2_7','Authorization Form','javascript:openWin(\''+sitedir+'securityfcu_estatement_auth.pdf\');');
		oM.makeMenu('menu2_7_2','menu2_7','EFT Disclosure','javascript:openWin(\''+sitedir+'eft_disclosure.pdf\');');
	
//Personal Finances
oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3','Savings',sitedir+'personal_savings.html');
	oM.makeMenu('menu3_2','menu3','Checking',sitedir+'personal_checking.html');
    oM.makeMenu('menu3_2_1','menu3_2','Check Reorder','javascript:showWarning(\'https://www.checksconnect.com\');');
	oM.makeMenu('menu3_3','menu3','Share Certificates of Deposit',sitedir+'personal_share_certificates.html');	
	oM.makeMenu('menu3_4','menu3','Individual Retirement Accounts',sitedir+'personal_ira.html');
	oM.makeMenu('menu3_5','menu3','Money Market/IDI',sitedir+'personal_idi.html');
	oM.makeMenu('menu3_6','menu3','Rates',sitedir+'rates.html');
		
//Business Services
	oM.makeMenu('menu4');	

//Special Programs
oM.makeMenu('menu5');
	oM.makeMenu('menu5_1','menu5','Youth Programs','javascript:openWin(\''+sitedir+'youthprograms.html\');');
	oM.makeMenu('menu5_2','menu5','Young Adults',sitedir+'special_financial_starter.html');	
	oM.makeMenu('menu5_3','menu5','Retirees',sitedir+'special_retirees.html');
	oM.makeMenu('menu5_4','menu5','Insurance Programs',sitedir+'special_insurance.html');	
		oM.makeMenu('menu5_4_1','menu5_4','Federal Share Insurance','javascript:openWin(\''+sitedir+'Federal_Share_Insurance.brochure.pdf\');');	
		oM.makeMenu('menu5_4_2','menu5_4','Guaranteed Asset Protection',sitedir+'special_insurance_gap_insurance.html');	
		oM.makeMenu('menu5_4_3','menu5_4','Payment Protection',sitedir+'special_insurance_payment_insurance.html');	

//Convenience Services
oM.makeMenu('menu6');
	oM.makeMenu('menu6_1','menu6','Online Bill Pay',sitedir+'billpay.html');
	oM.makeMenu('menu6_2','menu6','24-Hour Telephone Account Access',sitedir+'convenience_24hour_access.html');
		oM.makeMenu('menu6_2_1','menu6_2','Member-to-Member Transfer Authorization Form','javascript:openWin(\''+sitedir+'securityfcu_membertomember.pdf\');');
		oM.makeMenu('menu6_2_2','menu6_2','Menu Guide','javascript:openWin(\''+imgdir+'24HourMenuGuide.pdf\');');
	oM.makeMenu('menu6_3','menu6','VISA@home',sitedir+'convenience_visa_home.html');	
		oM.makeMenu('menu6_3_1','menu6_3','Login','javascript:showWarning(\'https://www.epscu.com/3952\');');	
		oM.makeMenu('menu6_3_2','menu6_3','Sign up','javascript:showWarning(\'https://www.epscu.com/servlet/3952/raAppHtml?TRNUID=D23F951C-30EA-77BA-440C-A8B75E4AFEC4&ServicePageName=com.invisiondev.JServer.xml.xmlProcess&RQID=ADDUSERPRE&ORGID=3952\');');	
		oM.makeMenu('menu6_3_3','menu6_3','Lost/Stolen Cards',sitedir+'convenience_visa_home_lost_stolen.html');	
	oM.makeMenu('menu6_4','menu6','Security@home','javascript:security_home_backpage();');		
	oM.makeMenu('menu6_5','menu6','Direct Deposit',sitedir+'convenience_direct_deposit.html');	
	oM.makeMenu('menu6_6','menu6','VISA Gift Card',sitedir+'loans_visagiftcard.html');
	oM.makeMenu('menu6_7','menu6','ATM Card/Locations',sitedir+'convenience_atm_locations.html');
		oM.makeMenu('menu6_7_1','menu6_7','Lost/Stolen Cards',sitedir+'convenience_visa_home_lost_stolen.html');
	oM.makeMenu('menu6_8','menu6','MasterCard Check Card',sitedir+'convenience_mastercard_check_card.html');
		oM.makeMenu('menu6_8_1','menu6_8','Lost/Stolen Cards',sitedir+'convenience_visa_home_lost_stolen.html');
	oM.makeMenu('menu6_9','menu6','Check Reorder','javascript:showWarning(\'https://www.checksconnect.com\');');
	oM.makeMenu('menu6_10','menu6','E-News',sitedir+'convenience_e_news.html');
	oM.makeMenu('menu6_11','menu6','Mobile Banking',sitedir+'mobilebanking.html');
	
//Join Us
	oM.makeMenu('menu7');
	oM.makeMenu('menu7_1','menu7','It&#8217;s Easy to Join',sitedir+'join_us_easy.html');
	oM.makeMenu('menu7_2','menu7','Membership Application','javascript:open_apps(\'membership_app\');');
	
//About Us
	oM.makeMenu('menu8');
	oM.makeMenu('menu8_1','menu8','Mission Statement',sitedir+'about_us_mission.html');
	oM.makeMenu('menu8_2','menu8','Hours/Locations',sitedir+'about_us_hours_locations.html');
	oM.makeMenu('menu8_3','menu8','Holidays',sitedir+'about_us_holidays.html');
	oM.makeMenu('menu8_4','menu8','Newsletter','javascript:openWin(\'/secMatters.pdf\');');
	oM.makeMenu('menu8_5','menu8','In Your Community',homedir+'your_community.html');
	oM.makeMenu('menu8_6','menu8','Employment',sitedir+'about_us_employment.html');
	oM.makeMenu('menu8_7','menu8','Routing &amp; Transit Number',sitedir+'about_us_routing_transit.html');
	oM.makeMenu('menu8_8','menu8','Contact Us','javascript:open_apps(\'contact\');');
	oM.makeMenu('menu8_9','menu8','Lost/Stolen Cards',sitedir+'about_us_contact_lost_stolen_cards.html');
	oM.makeMenu('menu8_10','menu8','Privacy Notice','javascript:openWin(\''+sitedir+'privacy_notice.pdf\');');

//Financial Tools
	oM.makeMenu('menu9');
	oM.makeMenu('menu9_1','menu9','Home &amp; Family Finance','javascript:showWarning(\'http://hffo.cuna.org/020574/front/020574/html\');');
	oM.makeMenu('menu9_2','menu9','Calculators',sitedir+'financial_tools_calculators.html');
		oM.makeMenu('menu9_2_1','menu9_2','When a Rebate is Better Than<br />&nbsp;&nbsp;a Low-Rate Auto Loan','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=36&sub_id=20574\');');
		oM.makeMenu('menu9_2_2','menu9_2','Should I Purchase or Lease?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=222&sub_id=20574\');');
		oM.makeMenu('menu9_2_3','menu9_2','What Will My Car Payment Be?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=87&sub_id=20574\');');
		oM.makeMenu('menu9_2_4','menu9_2','Do I Want a Fixed- or Adjustable-<br />&nbsp;&nbsp;Rate Mortgage?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=140&sub_id=20574\');');
		oM.makeMenu('menu9_2_5','menu9_2','What Will My Monthly Mortgage Be?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=90&sub_id=20574\');');
		oM.makeMenu('menu9_2_6','menu9_2','The Cost of Borrowing<br />&nbsp;&nbsp;From Your 401(k)','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=135&sub_id=20574\');');
		oM.makeMenu('menu9_2_7','menu9_2','What Will it Take to<br />&nbsp;&nbsp;Pay off My Balance?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=89&sub_id=20574\');');
		oM.makeMenu('menu9_2_8','menu9_2','What’s Your Credit Quotient?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=60&sub_id=20574\');');
		oM.makeMenu('menu9_2_9','menu9_2','Should I Pay Off Debt or Save?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=133&sub_id=20574\');');
		oM.makeMenu('menu9_2_10','menu9_2','What Will it Take to Save for a<br />&nbsp;&nbsp;College Education?','javascript:showWarning(\'http://hffo.cuna.org/story.html?doc_id=88&sub_id=20574\');');
	
		
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("loans");
var dropmenu2 = new  FindPosition("onlinebanking");
var dropmenu3 = new  FindPosition("personal");
var dropmenu4 = new  FindPosition("business");
var dropmenu5 = new  FindPosition("special");
var dropmenu6 = new  FindPosition("convenience");
var dropmenu7 = new  FindPosition("join");
var dropmenu8 = new  FindPosition("about");
var dropmenu9 = new  FindPosition("financial");


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

