
oM=new makeCM("oM"); 
oM.resizeCheck=0; 
oM.rows=1;  
oM.onlineRoot=""
oM.offlineRoot=""
oM.pxBetween=0; 
oM.fillImg="../images/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(0,0,"bordercolor","bordercolor",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[1]=new cm_makeLevel(170,22,"item_on","item_off",0,0,"bordercolor",0,"right",0,0,"../images/menu_arrow.gif",8,9);
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','Board of Directors','http://www.sdfcu.org/aboutus/board.html');
	oM.makeMenu('menu1_2','menu1','Community Involvement','http://www.sdfcu.org/aboutus/community.html');
	oM.makeMenu('menu1_3','menu1','Employment','http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?company_id=15661&version=1');
	oM.makeMenu('menu1_4','menu1','History and Financial Statements','http://www.sdfcu.org/aboutus/history.html');
	oM.makeMenu('menu1_5','menu1','Our Core Values','http://www.sdfcu.org/aboutus/core.html');
	oM.makeMenu('menu1_6','menu1','Statement of Commitment','http://www.sdfcu.org/aboutus/commitment.html');
oM.makeMenu('menu3');
    oM.makeMenu('menu3_1','menu3','Auto Calculators','http://www.sdfcu.org/calculators/autocalc.html');
	oM.makeMenu('menu3_2','menu3','Loan Calculators','http://www.sdfcu.org/calculators/loan-calculator.html');
    oM.makeMenu('menu3_3','menu3','Mortgage Calculator','http://www.sdfcumortgage.org/(S(2mivzljuiol3un2isorqz02t))/Default.aspx');
    oM.makeMenu('menu3_4','menu3','Savings Calculators','http://www.sdfcu.org/calculators/savecalc.html');
oM.makeMenu('menu4');
    oM.makeMenu('menu4_1','menu4','Join Today ','https://secure.andera.com/index.cfm?fiid=10A535F179C04614B0DB1D6015AFBEFE');
    oM.makeMenu('menu4_2','menu4','Open Accounts Online ','https://secure.andera.com/index.cfm?fiid=10A535F179C04614B0DB1D6015AFBEFE');
    oM.makeMenu('menu4_3','menu4','Online Loan Application','https://loans.sdfcu.org/Netlend/client/applications/consumer/default.aspx');
    oM.makeMenu('menu4_4','menu4','Online Mortgage Application ','http://www.sdfcumortgage.org');
    oM.makeMenu('menu4_5','menu4','Print & Fax Forms ','http://www.sdfcu.org/applications/index.html');
oM.makeMenu('menu5');
    oM.makeMenu('menu5_1','menu5','IRA Rates','http://www.sdfcu.org/rates/share.html#ira');
    oM.makeMenu('menu5_2','menu5','Loan Rates','http://www.sdfcu.org/rates/loan.html');
    oM.makeMenu('menu5_3','menu5','Mortgage Rates','http://www.sdfcumortgage.org/(S(kdm0r1bft4qh3545xcyfviuy))/RatesAndCosts/QuickRates.aspx');
    oM.makeMenu('menu5_4','menu5','Share Rates','http://www.sdfcu.org/rates/share.html');
oM.makeMenu('menu6');
    oM.makeMenu('menu6_1','menu6','Benefits of Membership','http://www.sdfcu.org/membership/join.html');
    oM.makeMenu('menu6_2','menu6','Who Can Join','http://www.sdfcu.org/membership/membership.html');
    oM.makeMenu('menu6_3','menu6','Company Membership','http://www.sdfcu.org/membership/segs.html');
    oM.makeMenu('menu6_4','menu6','Join Today ','https://secure.andera.com/index.cfm?fiid=10A535F179C04614B0DB1D6015AFBEFE');	
oM.makeMenu('menu7');    
    oM.makeMenu('menu7_1','menu7','Branch Locations','http://www.sdfcu.org/contactus/branchlocations.html');
	oM.makeMenu('menu7_2','menu7','Email Addresses','http://www.sdfcu.org/contactus/email.html');
    oM.makeMenu('menu7_3','menu7','Mailing Addresses','http://www.sdfcu.org/contactus/mail.html');
    oM.makeMenu('menu7_4','menu7','Phone Numbers','http://www.sdfcu.org/contactus/phone.html'); 
oM.makeMenu('menu8');
    oM.makeMenu('menu8_1','menu8','SDFCU Online','http://www.sdfcu.org/accounts/homebank.html');
	oM.makeMenu('menu8_2','menu8','Account24','http://www.sdfcu.org/accounts/account24.html');
    oM.makeMenu('menu8_3','menu8','eStatements','http://www.sdfcu.org/accounts/estatement.html');
	oM.makeMenu('menu8_4','menu8','Bill Payer','http://www.sdfcu.org/accounts/billpayer.html');
	oM.makeMenu('menu8_5','menu8','Mobile Banking','http://www.sdfcu.org/accounts/mshift.html');
	oM.makeMenu('menu8_6','menu8','Mortgage Online','https://estatusii.loanware.com/index.cfm?url_id=117202');
	oM.makeMenu('menu8_7','menu8','Pre-Authorized Payments & Routing Number','http://www.sdfcu.org/accounts/prepay.html');
    oM.makeMenu('menu8_8','menu8','Reorder Checks','https://home.clarkeamerican.com/prodreorder/reorder_form.cfm');
	oM.makeMenu('menu8_9','menu8','Switch Kit','http://www.sdfcu.org/accounts/switchkit.html');
oM.makeMenu('menu9');
    oM.makeMenu('menu9_1','menu9','<b>Reorder Checks</b>','https://home.clarkeamerican.com/prodreorder/reorder_form.cfm');
    oM.makeMenu('menu9_2','menu9','Capital Club','http://www.sdfcu.org/products/capital.html');
    oM.makeMenu('menu9_3','menu9','Custodian Share Account','http://www.sdfcu.org/products/custodian.html');
    oM.makeMenu('menu9_4','menu9','Custom Savings Account','http://www.sdfcu.org/products/custom.html');
    oM.makeMenu('menu9_5','menu9','Direct Deposit','http://www.sdfcu.org/products/directdep.html');
    oM.makeMenu('menu9_6','menu9','IRA Service Center','https://www2.iraservicecenter.com/irasc/?OrgNbr=904600');
    oM.makeMenu('menu9_7','menu9','Money Management Share Acct.','http://www.sdfcu.org/products/money.html');
    oM.makeMenu('menu9_8','menu9','Overdraft Protection','http://www.sdfcu.org/products/overdraft.html');
    oM.makeMenu('menu9_9','menu9','Regular Shares','http://www.sdfcu.org/products/regshare.html');
    oM.makeMenu('menu9_10','menu9','Savings Calculators','http://www.sdfcu.org/calculators/savecalc.html');
    oM.makeMenu('menu9_11','menu9','Share Certificates','http://www.sdfcu.org/products/sharecert.html');
    oM.makeMenu('menu9_12','menu9','Share Checking','http://www.sdfcu.org/products/sharecheck.html');
    oM.makeMenu('menu9_13','menu9','VISA Check Card','http://www.sdfcu.org/products/visacc.html');
	oM.makeMenu('menu9_14','menu9','Understanding ATM Fees','http://www.sdfcu.org/products/atmfees.html');
    oM.makeMenu('menu9_15','menu9','Print & Fax Forms','http://www.sdfcu.org/applications/index.html');
    oM.makeMenu('menu9_16','menu9','Fee Schedule','http://www.sdfcu.org/applications/fees.html');
oM.makeMenu('menu10');
    oM.makeMenu('menu10_1','menu10','Auto Loans/Car Buying','http://www.sdfcu.org/loans/index1.html');
    oM.makeMenu('menu10_2','menu10','Boat Loans','http://www.sdfcu.org/loans/boat.html');
    oM.makeMenu('menu10_3','menu10','Home Loans','http://www.sdfcumortgage.org');
    oM.makeMenu('menu10_4','menu10','MoneyLine','http://www.sdfcu.org/loans/money.html');
    oM.makeMenu('menu10_5','menu10','Online Consumer Loan Application','https://loans.sdfcu.org/Netlend/client/applications/consumer/default.aspx');
    oM.makeMenu('menu10_7','menu10','Personal Loans','http://www.sdfcu.org/loans/personal.html');
    oM.makeMenu('menu10_8','menu10','Share Secured Loans','http://www.sdfcu.org/loans/sharedsecured.html');
    oM.makeMenu('menu10_9','menu10','Student Loans','http://www.sdfcu.org/loans/student.html');
    oM.makeMenu('menu10_10','menu10','Automatic Payment Transfer','http://www.sdfcu.org/loans/autopmt.html');
    oM.makeMenu('menu10_11','menu10','Print & Fax Forms','http://www.sdfcu.org/applications/index.html');
    oM.makeMenu('menu10_12','menu10','Fee Schedule','http://www.sdfcu.org/applications/fees.html');
oM.makeMenu('menu11');
    oM.makeMenu('menu11_1','menu11','CU Realty','http://www.sdfcu.org/homeloans/curealty.html');
    oM.makeMenu('menu11_2','menu11','Home Equity','http://www.sdfcu.org/homeloans/homeeq.html');
    oM.makeMenu('menu11_3','menu11','Mortgages','http://www.sdfcumortgage.org');
    oM.makeMenu('menu11_4','menu11','Mortgage Online','https://estatusii.loanware.com/index.cfm?url_id=117202');
    oM.makeMenu('menu11_5','menu11','Mortgage Servicing','http://www.sdfcu.org/homeloans/servicing.html');
	oM.makeMenu('menu11_6','menu11','Properties for Sale','http://www.sdfcu.org/homeloans/PropertiesforSale.html');
    oM.makeMenu('menu11_7','menu11','Print & Fax Forms','http://www.sdfcu.org/applications/index.html');
oM.makeMenu('menu12');
    oM.makeMenu('menu12_1','menu12','VISA Platinum','http://www.sdfcu.org/creditcards/platinum.html');
    //oM.makeMenu('menu12_2','menu12','MasterCard Classic & Gold','http://www.sdfcu.org/creditcards/mastercard.html');
    oM.makeMenu('menu12_2','menu12','Credit Card Disputes','http://www.sdfcu.org/creditcards/disputes.html');
    oM.makeMenu('menu12_3','menu12','CU Rewards','http://www.sdfcu.org/creditcards/rewards.html');
    oM.makeMenu('menu12_4','menu12','Pay My Bill','http://www.sdfcu.org/creditcards/paybill.html');
    oM.makeMenu('menu12_5','menu12','24-Hour Access','http://www.sdfcu.org/creditcards/online.html');
    oM.makeMenu('menu12_6','menu12','Automatic Payment Transfer','http://www.sdfcu.org/loans/autopmt.html');
    oM.makeMenu('menu12_7','menu12','Credit Card Forms','http://www.sdfcu.org/applications/index.html');
oM.makeMenu('menu13');
    oM.makeMenu('menu13_1','menu13','Budget Counseling','http://www.sdfcu.org/services/budget.html');
    oM.makeMenu('menu13_2','menu13','Calculators','http://www.sdfcu.org/calculators/index.html');
	oM.makeMenu('menu13_3','menu13','CU Insurance Services','http://www.sdfcu.org/services/cuis.html');
    oM.makeMenu('menu13_4','menu13','CU Realty','http://www.sdfcu.org/homeloans/curealty.html');
	oM.makeMenu('menu13_5','menu13','Foreign Currency Exchange','http://www.sdfcu.org/services/ForeignExchange.html');
	oM.makeMenu('menu13_6','menu13','Hertz Member Savings','http://www.sdfcu.org/services/hertz.html');
    oM.makeMenu('menu13_7','menu13','Identity Theft Solutions','http://www.sdfcu.org/news/topics/theftsolutions.pdf');
    oM.makeMenu('menu13_8','menu13','Insurance Services','http://www.sdfcu.org/services/insure.html');
    oM.makeMenu('menu13_9','menu13','Member Emeritus','http://www.sdfcu.org/services/emeritus.html');
    oM.makeMenu('menu13_10','menu13','Notary Services','http://www.sdfcu.org/services/notary.html');
    oM.makeMenu('menu14_11','menu13','Planning a Trip Overseas','http://www.sdfcu.org/services/overseastrip.html');	
    oM.makeMenu('menu13_12','menu13','Safe Deposit Boxes','http://www.sdfcu.org/services/boxes.html');
    oM.makeMenu('menu13_13','menu13','Scholarship Competition','http://www.sdfcu.org/youth/scholar.html');
	oM.makeMenu('menu13_14','menu13','Wire Transfers','http://www.sdfcu.org/services/wire.html');
oM.makeMenu('menu14');
    oM.makeMenu('menu14_1','menu14','Current Promotions','http://www.sdfcu.org/news/index.html');
    oM.makeMenu('menu14_2','menu14','Fraud Alerts	','https://www.sdfcu.org/news/fraud.html');
    oM.makeMenu('menu14_3','menu14','Helpful Links','http://www.sdfcu.org/news/links.html');
    oM.makeMenu('menu14_4','menu14','Press Releases','http://www.sdfcu.org/news/press.html');
    oM.makeMenu('menu14_5','menu14','Publications','http://www.sdfcu.org/news/newsletter.html');
    oM.makeMenu('menu14_6','menu14','Topics of Interest','http://www.sdfcu.org/news/topics.html');
oM.makeMenu('menu15');
    oM.makeMenu('menu15_1','menu15','Brass CU','http://www.brassmedia.com/_scripts/cu_connect.asp?id=state_department');
    oM.makeMenu('menu15_2','menu15','Financially Independent Teens','http://www.sdfcu.org/youth/fitclub.html');
    oM.makeMenu('menu15_3','menu15','Scholarship Program','http://www.sdfcu.org/youth/scholar.html');
	oM.makeMenu('menu15_4','menu15','Dollar Dog Kids Club','http://www.sdfcu.org/youth/dollardog.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("branches");
var dropmenu3 = new  FindPosition("calculators");
var dropmenu4 = new  FindPosition("applications");
var dropmenu5 = new  FindPosition("rates");
var dropmenu6 = new  FindPosition("membership");
var dropmenu7 = new  FindPosition("contactus");
var dropmenu8 = new  FindPosition("accountaccess");
var dropmenu9 = new  FindPosition("checking");
var dropmenu10 = new  FindPosition("loans");
var dropmenu11 = new  FindPosition("homeloans");
var dropmenu12 = new  FindPosition("creditcards");
var dropmenu13 = new  FindPosition("services");
var dropmenu14 = new  FindPosition("news");
var dropmenu15 = new  FindPosition("youth");
function showMenu(menu){
	switch(menu){
		case "menu1":
		oM.m["menu1"].b.moveIt(dropmenu1.xPos,dropmenu1.yPos+22);
		break;
		case "menu2":
		oM.m["menu2"].b.moveIt(dropmenu2.xPos,dropmenu2.yPos+22);
		break;
		case "menu3":
		oM.m["menu3"].b.moveIt(dropmenu3.xPos,dropmenu3.yPos+22);
		break;
		case "menu4":
		oM.m["menu4"].b.moveIt(dropmenu4.xPos,dropmenu4.yPos+22);
		break;
		case "menu5":
		oM.m["menu5"].b.moveIt(dropmenu5.xPos,dropmenu5.yPos+22);
		break;
        case "menu6":
		oM.m["menu6"].b.moveIt(dropmenu6.xPos,dropmenu6.yPos+22);
		break;
		case "menu7":
		oM.m["menu7"].b.moveIt(dropmenu7.xPos,dropmenu7.yPos+22);
		break;
		case "menu8":
		oM.m["menu8"].b.moveIt(dropmenu8.xPos,dropmenu8.yPos+22);
		break;
		case "menu9":
		oM.m["menu9"].b.moveIt(dropmenu9.xPos,dropmenu9.yPos+22);
		break;
		case "menu10":
		oM.m["menu10"].b.moveIt(dropmenu10.xPos,dropmenu10.yPos+22);
		break;
        case "menu11":
		oM.m["menu11"].b.moveIt(dropmenu11.xPos,dropmenu11.yPos+22);
		break;
		case "menu12":
		oM.m["menu12"].b.moveIt(dropmenu12.xPos,dropmenu12.yPos+22);
		break;
		case "menu13":
		oM.m["menu13"].b.moveIt(dropmenu13.xPos,dropmenu13.yPos+22);
		break;
		case "menu14":
		oM.m["menu14"].b.moveIt(dropmenu14.xPos,dropmenu14.yPos+22);
		break;
		case "menu15":
		oM.m["menu15"].b.moveIt(dropmenu15.xPos,dropmenu15.yPos+22);
		break;
		
	} 
	oM.showsub(menu);
	
}



//end of file