function TC_openBrWindow(theURL,winName,features)
{
  window.open(theURL,winName,features);
}

oM=new makeCM("oM");
oM.resizeCheck=1;
oM.rows=1;
oM.onlineRoot=""
oM.offlineRoot=""
oM.pxBetween=0;
oM.fillImg=imgdir+"cm_fill.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>&raquo;</span> ';

//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=97, finishopacity=87, style=1)";
oM.level[0].roundBorder=1;
oM.level[1]=new cm_makeLevel(225,25,"clS","clSover",0,1,"clB",0,"right",0,0,imgdir+"dhtml-arrow.gif",9,9);

/******************************************
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','What is a Credit Union?',sitedir+'about_cu.html');
    oM.makeMenu('menu1_2','menu1','Sun East&acute;s History',sitedir+'about_history.html');
    //oM.makeMenu('menu1_3','menu1','Board &amp; Management',sitedir+'about_board.html');
    oM.makeMenu('menu1_4','menu1','Branch &amp; ATM Locations',sitedir+'about_branch.html');
    oM.makeMenu('menu1_5','menu1','Hours &amp; Holidays',sitedir+'about_hours.html');
	// by Darnell on 1/16/2007 - The following makes this link not work on Skynet.
	// You'll have to sync to test the following link.
    oM.makeMenu('menu1_6','menu1','Photo Gallery','javascript: TC_openBrWindow(\'/photogallery/community/1.html\',\'Gallery\',\'width=525,height=514\');');
    oM.makeMenu('menu1_7','menu1','More...',sitedir+'about-us.html');

oM.makeMenu('menu2');
    oM.makeMenu('menu2_1','menu2','Who Can Join?',sitedir+'who-can-join.html');
    oM.makeMenu('menu2_2','menu2','Join Now (Individual)',sitedir+'individualappl.html');
    oM.makeMenu('menu2_3','menu2','Join Now (Business)',sitedir+'business.html');

oM.makeMenu('menu3');
    oM.makeMenu('menu3_1','menu3','Loans',sitedir+'prodserv-loan.html');
    oM.makeMenu('menu3_2','menu3','Deposits',sitedir+'prodserv-deposit.html');
  oM.makeMenu('menu3_3','menu3','Financial Planning','javascript: goOutside(\'http://members.cunamutual.com/Home/mfn.asp?03704277\');');

    oM.makeMenu('menu3_4','menu3','More...',sitedir+'services.html');


oM.makeMenu('menu4');
//  oM.makeMenu('menu4_1','menu4','Kids Activities',sitedir+'kids.html');
    oM.makeMenu('menu4_1','menu4','HQ',sitedir+'HQ.html');
//  oM.makeMenu('menu4_2','menu4','Your Money',sitedir+'family.html');
    oM.makeMenu('menu4_2','menu4','Your Money',sitedir+'yourmoney.html');
    oM.makeMenu('menu4_3','menu4','Identity Theft and Fraud',sitedir+'idtheft.html');


oM.makeMenu('menu5');
    oM.makeMenu('menu5_1','menu5','SUNNY &amp; 24-Hour Telephone Access',sitedir+'prodserv_sunny.html');
    oM.makeMenu('menu5_2','menu5','Apply for a Loan','javascript:window.open(\'https://www.loans24.net/atl/clientSelect.do?clientID=7687\');');
    oM.makeMenu('menu5_3','menu5','Apply for a PLUS Loan',sitedir+'prodserv_loan.html#plus');
    oM.makeMenu('menu5_4','menu5','Apply for a Stafford Loan',sitedir+'prodserv_loan.html#stafford');
    oM.makeMenu('menu5_5','menu5','Anytime Advisor','javascript:window.open(\'https://www.loans24.net/atl/clientSelect.do?clientID=7687\');');
    oM.makeMenu('menu5_6','menu5','Check Reorders','javascript: goOutside(\'https://www.ClarkeAmerican.com/\');');
    oM.makeMenu('menu5_7','menu5','Credit Reports Now',sitedir+'prodserv_credit.html');
    oM.makeMenu('menu5_8','menu5','Discounted Internet Access','javascript: goOutside(\'http://cu-access.net\');');
    oM.makeMenu('menu5_9','menu5','E-Statements','javascript:openIB();');
    oM.makeMenu('menu5_10','menu5','Forms &amp; Applications',sitedir+'');
        oM.makeMenu('menu5_10_1','menu5_10','Checking Account Application',sitedir+'checkingappl.html');
        oM.makeMenu('menu5_10_2','menu5_10','Membership Application',sitedir+'individualappl.html');
        oM.makeMenu('menu5_10_3','menu5_10','Residential Prequalification','javascript:open_apps(\'LoanApp\');');
        oM.makeMenu('menu5_10_4','menu5_10','Contact Us','javascript:open_apps(\'contact-us\');');
    oM.makeMenu('menu5_11','menu5','Home Baking/Free Bill Payment','javascript:openIB();');
    oM.makeMenu('menu5_12','menu5','Online Tax Center',sitedir+'tax_services.html');

oM.makeMenu('menu6');
    oM.makeMenu('menu6_1','menu6','Savings',sitedir+'rates.html#savings');
    oM.makeMenu('menu6_2','menu6','Loans',sitedir+'rates.html#loans');
    oM.makeMenu('menu6_3','menu6','Mortgages','javascript:goOutside(\'http://www.memberadvantagemortgage.com/suneast/\');');

oM.makeMenu('menu7');
    oM.makeMenu('menu7_1','menu7','Mortgage Loans',sitedir+'mortgage-loans.html');
    oM.makeMenu('menu7_2','menu7','How Much Home Can I Afford?',sitedir+'calculators.htm');
    oM.makeMenu('menu7_3','menu7','Home Buying Coach','javascript: goOutside(\'http://anytime.cuna.org/28160/home_buying/pages/001_001_001.html\');');
    oM.makeMenu('menu7_4','menu7','How to Apply',sitedir+'howtoapp.html');
    oM.makeMenu('menu7_5','menu7','Morgage Calculators',sitedir+'calculators_mortgage.html');
    oM.makeMenu('menu7_6','menu7','Glossary',sitedir+'mortgage-loans.html#glossary');
    oM.makeMenu('menu7_7','menu7','Today\'s Rates','javascript:goOutside(\'http://www.memberadvantagemortgage.com/suneast/\');');
    oM.makeMenu('menu7_8','menu7','Contact Us','javascript:open_apps(\'contact-us\');');

oM.makeMenu('menu8');
    oM.makeMenu('menu8_1','menu8','Mortgage Center','javascript:goOutside(\'http://www.memberadvantagemortgage.com/suneast/\');');
    oM.makeMenu('menu8_2','menu8','Auto Center',sitedir+'autocenter.html');
    oM.makeMenu('menu8_3','menu8','Other Loan Products',sitedir+'prodserv-loan.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("personal");
var dropmenu2 = new  FindPosition("business");
var dropmenu3 = new  FindPosition("convenience");
var dropmenu4 = new  FindPosition("help");
var dropmenu5 = new  FindPosition("whatsnew");*/

var dropmenu1 = new FindPosition("aboutusMenu");
var dropmenu2 = new FindPosition("mbrshp");
var dropmenu3 = new FindPosition("srv");
var dropmenu4 = new FindPosition("lifestylesMenu");
var dropmenu5 = new FindPosition("onlinebranchMenu");
var dropmenu6 = new FindPosition("rates");
var dropmenu7 = new FindPosition("mortgagectrMenu");
var dropmenu8 = new FindPosition("lndgctr");
var dropmenu9 = new FindPosition("calcs");

function showMenu(menu){
    switch(menu){
        case "menu1":
        oM.m["menu1"].b.moveIt(dropmenu1.xPos,dropmenu1.yPos+3);
        break;
        case "menu2":
        oM.m["menu2"].b.moveIt(dropmenu2.xPos,dropmenu2.yPos+21);
        break;
        case "menu3":
        oM.m["menu3"].b.moveIt(dropmenu3.xPos,dropmenu3.yPos+21);
        break;
        case "menu4":
        oM.m["menu4"].b.moveIt(dropmenu4.xPos,dropmenu4.yPos+3);
        break;
        case "menu5":
        oM.m["menu5"].b.moveIt(dropmenu5.xPos,dropmenu5.yPos);
        break;
        case "menu6":
        oM.m["menu6"].b.moveIt(dropmenu6.xPos+35,dropmenu6.yPos+21);
        break;
        case "menu7":
        oM.m["menu7"].b.moveIt(dropmenu7.xPos+175,dropmenu7.yPos);
        break;
        case "menu8":
        oM.m["menu8"].b.moveIt(dropmenu8.xPos,dropmenu8.yPos+21);
        break;
        case "menu9":
        oM.m["menu9"].b.moveIt(dropmenu9.xPos,dropmenu9.yPos+3);
        break;

    }
    oM.showsub(menu);

}



//end of file