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='<span class="bullet">&#149; </span>';

//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(220,22,"item_off","item_on",0,0,"bordercolor",0,"right",0,0,imgdir+"dhtml-arrow.gif",9,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) 
*************************************/

//Products & Services
oM.makeMenu('menu1');
	oM.makeMenu('menu1_1','menu1',"Savings & Investment Products", sitedir+"prodserv_savings.html");
	oM.makeMenu('menu1_2','menu1',"Checking Products", sitedir+"prodserv_checking.html");
	oM.makeMenu('menu1_3','menu1',"Loan Products", sitedir+"prodserv_loans.html");
	oM.makeMenu('menu1_4','menu1',"Credit Cards", sitedir+"prodserv_creditcards.html");
	oM.makeMenu('menu1_5','menu1',"Insurance Products", sitedir+"prodserv_insurance.html");
	oM.makeMenu('menu1_6','menu1',"Access Services", sitedir+"prodserv_access.html");
	oM.makeMenu('menu1_7','menu1',"Additional Services", sitedir+"prodserv_additional.html");

/*Member Services
oM.makeMenu('menu2');
	oM.makeMenu('menu2_1','menu2',"Access Services", sitedir+"membserv_access.html");
	oM.makeMenu('menu2_2','menu2',"Additional Services", sitedir+"membserv_additional.html");
*/
//Rates & Fees Banking	
oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3',"Savings & Checking Rates", sitedir+"rates_savings.html");
	oM.makeMenu('menu3_2','menu3',"Certificate Rates", sitedir+"rates_certificate.html");
	oM.makeMenu('menu3_3','menu3',"Loan Rates", sitedir+"rates_loan.html");
	oM.makeMenu('menu3_4','menu3',"General Fees", sitedir+"fees.html");

//Membership
oM.makeMenu('menu4');
	oM.makeMenu('menu4_1','menu4',"Who Can Join", sitedir+"membership_who.html");
	oM.makeMenu('menu4_2','menu4',"Benefits of Credit Union Membership", sitedir+"news_Why_Join_CU2.html");
	oM.makeMenu('menu4_3','menu4',"How to Join", sitedir+"membership_how.html");
	oM.makeMenu('menu4_4','menu4',"Online Switch Kit", sitedir+"news_SwitchKit.html");
	oM.makeMenu('menu4_5','menu4',"Sponsor Groups", sitedir+"membership_sponsor.html");
	oM.makeMenu('menu4_6','menu4',"SEG Letter of Intent - Sample", sitedir+"SEGSampleLetterofIntent4-09.pdf", "_blank");

//Information Center
oM.makeMenu('menu5');
	oM.makeMenu('menu5_1','menu5',"How to Order a Credit Report", sitedir+"infocenter_creditreport.html");
	oM.makeMenu('menu5_2','menu5',"Auto Services", sitedir+"infocenter_auto.html");
	oM.makeMenu('menu5_3','menu5',"Credit Union Related", sitedir+"infocenter_cu.html");
	oM.makeMenu('menu5_4','menu5',"Financial", sitedir+"infocenter_fin.html");
	oM.makeMenu('menu5_5','menu5',"News", sitedir+"infocenter_news.html");
	oM.makeMenu('menu5_6','menu5',"Government", sitedir+"infocenter_government.html");
	oM.makeMenu('menu5_7','menu5',"Travel & Vacation", sitedir+"infocenter_travel.html");
	oM.makeMenu('menu5_8','menu5',"Education & Research", sitedir+"infocenter_education.html");
	oM.makeMenu('menu5_9','menu5',"Kids' Links", sitedir+"infocenter_kids.html");

//Calculators
oM.makeMenu('menu6');
	oM.makeMenu('menu6_1','menu6',"Kids", sitedir+"calculators_kids.html");
	oM.makeMenu('menu6_2','menu6',"Loan", sitedir+"calculators_loan.html");
	oM.makeMenu('menu6_3','menu6',"Loan Comparison", sitedir+"calculators_loancomp.html");
	oM.makeMenu('menu6_4','menu6',"Mortgage", sitedir+"calculators_mortgage.html");
	oM.makeMenu('menu6_5','menu6',"Retirement", sitedir+"calculators_retirement.html");
	oM.makeMenu('menu6_6','menu6',"Savings", sitedir+"calculators_savings.html");

//About Us
oM.makeMenu('menu7');
	oM.makeMenu('menu7_1','menu7',"History", sitedir+"about_history.html");
	oM.makeMenu('menu7_2','menu7',"Mission & Vision Statements", sitedir+"about_mission.html");
	oM.makeMenu('menu7_3','menu7',"Letter from the CEO", sitedir+"about_letter.html");
	oM.makeMenu('menu7_4','menu7',"Board of Directors", sitedir+"about_directors.html");
	oM.makeMenu('menu7_5','menu7',"Executive Team", sitedir+"about_executive.html");

//Contact Us
oM.makeMenu('menu8');
	oM.makeMenu('menu8_1','menu8',"Mail & E-Mail Addresses", sitedir+"contact_mailing.html");
	oM.makeMenu('menu8_2','menu8',"Fax Number", sitedir+"contact_fax.html");
	oM.makeMenu('menu8_3','menu8',"Call Center/Loan Hotline Phone Numbers & Hours", sitedir+"contact_phone.html",'','',35,'','','','','','','','','','');
	oM.makeMenu('menu8_4','menu8',"CEO Hotline", sitedir+"contact_ceo.html");
	oM.makeMenu('menu8_5','menu8',"Numbers for Lost or Stolen Cards", sitedir+"news_lostorstolencards.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("products");
//var dropmenu2 = new FindPosition("services");
var dropmenu3 = new FindPosition("rates");
var dropmenu4 = new FindPosition("membership");
var dropmenu5 = new FindPosition("infocenter");
var dropmenu6 = new FindPosition("calcs");
var dropmenu7 = new FindPosition("aboutus");
var dropmenu8 = new FindPosition("contactus");

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