var newH = 38;
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=500; 
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,"","",0,0,"clB",0,"bottom",0,0,0,0,0);
oM.level[0].filter="PROGID:DXImageTransform.Microsoft.Alpha(opacity=90, finishopacity=90, style=1)";
oM.level[1]=new cm_makeLevel(200,22,"item_off","item_on",0,0,"clB",0,"right",0,0,imgdir+"tri.gif",3,5);
oM.level[0].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','History',sitedir+'about.html#History');
oM.makeMenu('menu1_2','menu1','Locations/Hours',sitedir+'locations_hours.html');
oM.makeMenu('menu1_3','menu1','Our Leadership',sitedir+'locations_hours.html#Leadership');
oM.makeMenu('menu1_4','menu1','Career Opportunities',sitedir+'about.html#Career');
oM.makeMenu('menu1_5','menu1','Security',sitedir+'about.html#Security');
oM.makeMenu('menu1_6','menu1','Annual Report (PDF)',sitedir+'AnnualReport_2009.pdf');

oM.makeMenu('menu2');
oM.makeMenu('menu2_1','menu2','Savings &amp; Checking',sitedir+'products_services_savings_checking.html');
//oM.makeMenu('menu2_2','menu2','Relationship Banking',sitedir+'products_services_relationship.html');
oM.makeMenu('menu2_2','menu2','Credit Cards &amp; Loans',sitedir+'products_services_credit_cards_loans.html');
oM.makeMenu('menu2_3','menu2','Investments &amp; Insurance',sitedir+'products_services_investments_insurance.html');
oM.makeMenu('menu2_4','menu2','Convenience Services',sitedir+'products_services_convenience_services.html');
oM.makeMenu('menu2_5','menu2','Rate Board',sitedir+'products_services_rate_board.html');
oM.makeMenu('menu2_6','menu2','Family Legal Plan',sitedir+'family_legalplan.html');
oM.makeMenu('menu2_7','menu2','Identity Theft Protection',sitedir+'identity_theftshield.html');
oM.makeMenu('menu2_8','menu2','Plus4 Investment Services',sitedir+'investment_services.html');

oM.makeMenu('menu3');
oM.makeMenu('menu3_1','menu3','What is a credit union?',sitedir+'membership.html#what_is_credit_union');
oM.makeMenu('menu3_2','menu3','Who can join?',sitedir+'membership.html#who_can_join');
oM.makeMenu('menu3_3','menu3','How to join',sitedir+'membership.html#how_to_join');
oM.makeMenu('menu3_4','menu3','Select Employee Groups',sitedir+'membership.html#select_employee_group');
oM.makeMenu('menu3_5','menu3','How your company can offer PLUS4',sitedir+'membership.html#how_offer_Plus4');
	
oM.makeMenu('menu4');
oM.makeMenu('menu4_1','menu4','New Member Application',sitedir+'applications_disclosures_mem_enrollment_form.html');
oM.makeMenu('menu4_2','menu4','Visa Debit Card/ATM',sitedir+'applications_disclosures_visa_debit_atm.html');
//oM.makeMenu('menu4_3','menu4','Loan','javascript:showWarning(\'https://www.24x7loans.com/Plus4CUAuto/LoanApp.aspx\')');
oM.makeMenu('menu4_3','menu4','Apply For Mortgage',"javascript:showWarning(\'https://weblet.swbc.com/mortgage/default.aspx?clientid=838712');");
oM.makeMenu('menu4_4','menu4','Credit Card','javascript:showWarning(\'https://www.apply123.com/apply123/home.php\')');
oM.makeMenu('menu4_5','menu4','Online Banking',sitedir+'applications_disclosures_ob_app.html');
//oM.makeMenu('menu4_6','menu4','Bill Pay',sitedir+'applications_disclosures_bp_enrollment_form.html');
oM.makeMenu('menu4_6','menu4','Skip-A-Pay',sitedir+'Skipapayweb.pdf');
//oM.makeMenu('menu4_8','menu4','E-mail Sign Up','javascript:alert(\'Coming Soon\');');
oM.makeMenu('menu4_7','menu4','Disclosures',sitedir+'applications_disclosures_disclosures.html');
			oM.makeMenu('menu4_7_1','menu4_8','Membership Disclosure','javascript:open_Membership_Booklet_pop();');
			//oM.makeMenu('menu4_8_2','menu4_8','Truth in Savings Disclosure',sitedir+'truth_savings.pdf');
			oM.makeMenu('menu4_7_2','menu4_8','Electronic Funds Transfer Disclosure','javascript:open_EFT_pop();');
			oM.makeMenu('menu4_7_3','menu4_8','Terms and Conditions',sitedir+'OTC.pdf');

oM.makeMenu('menu5');
oM.makeMenu('menu5_1','menu5','What&rsquo;s New',sitedir+'tools_education.html#Whats_New');
oM.makeMenu('menu5_2','menu5','Statement Inserts',sitedir+'tools_education.html#Inserts');
oM.makeMenu('menu5_3','menu5','Calculators',sitedir+'tools_education.html#Calculators');
		oM.makeMenu('menu5_3_1','menu5_3','Kids',sitedir+'tools_education_calcs_kids.html');
		oM.makeMenu('menu5_3_2','menu5_3','Loan',sitedir+'tools_education_calcs_loan.html');
		oM.makeMenu('menu5_3_3','menu5_3','Loan Comparison',sitedir+'tools_education_calcs_loan_comp.html');
		oM.makeMenu('menu5_3_4','menu5_3','Mortgage',sitedir+'tools_education_calcs_mortgage.html');
		oM.makeMenu('menu5_3_5','menu5_3','Retirement',sitedir+'tools_education_calcs_retirement.html');
		oM.makeMenu('menu5_3_6','menu5_3','Savings',sitedir+'tools_education_calcs_savings.html');
oM.makeMenu('menu5_4','menu5','Newsletters',sitedir+'tools_education.html#Newsletters');	
oM.makeMenu('menu5_5','menu5','Scholarship Program',sitedir+'tools_education.html#Scholarship');
oM.makeMenu('menu5_6','menu5','Event Calendar',sitedir+'tools_education.html#Event');	
oM.makeMenu('menu5_7','menu5','Links',sitedir+'tools_education.html#Links');
oM.makeMenu('menu5_8','menu5','Press Releases',sitedir+'tools_education.html#Press');	

	
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	

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("about");
var dropmenu2 = new  FindPosition("products");
var dropmenu3 = new  FindPosition("membership");
var dropmenu4 = new  FindPosition("applications");
var dropmenu5 = new  FindPosition("tools");
var dropmenu6 = new  FindPosition("XXXXXXX");

var xOffset = 156;
var yOffset = 0;


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