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=100, finishopacity=100, style=1)";
oM.level[1]=new cm_makeLevel(180,22,"item_off","item_on",1,1,"bordercolor",0,"right",0,0,imgdir+"tri.gif",5,10);
oM.level[1].roundBorder=0;


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/

//Bank Products
oM.makeMenu('menu1');
	oM.makeMenu('menu1_1','menu1',"Bank Products Overview", sitedir+"products.html");
	oM.makeMenu('menu1_2','menu1',"Checking Accounts", sitedir+"products_checking.html");
		oM.makeMenu('menu1_2_1','menu1_2',"Checking Accounts Overview", sitedir+"products_checking.html");
		//oM.makeMenu('menu1_2_2','menu1_2',"eChecking", sitedir+"products_checking.html#echk");
		oM.makeMenu('menu1_2_2','menu1_2',"Advantage Plus", sitedir+"products_checking.html#advplus");
		oM.makeMenu('menu1_2_3','menu1_2',"Advantage Checking", sitedir+"products_checking.html#advchk");
		oM.makeMenu('menu1_2_4','menu1_2',"Free Checking", sitedir+"products_checking.html#freechk");
		oM.makeMenu('menu1_2_5','menu1_2',"Business Accounts", sitedir+"products_checking.html#busacct");
			oM.makeMenu('menu1_2_5_1','menu1_2_5',"Business Accounts Overview", sitedir+"products_checking.html#busacct");
			oM.makeMenu('menu1_2_5_2','menu1_2_5',"Business Checking Plus", sitedir+"products_checking.html#buschkplus");
			oM.makeMenu('menu1_2_5_3','menu1_2_5',"Business Checking", sitedir+"products_checking.html#buschk");
		oM.makeMenu('menu1_2_6','menu1_2',"Other Services", sitedir+"products_other.html");
	oM.makeMenu('menu1_3','menu1',"Savings Accounts", sitedir+"products_savings.html");
		oM.makeMenu('menu1_3_1','menu1_3',"Savings Accounts Overview", sitedir+"products_savings.html");
		oM.makeMenu('menu1_3_2','menu1_3',"Personal Savings", sitedir+"products_savings.html#persav");
		oM.makeMenu('menu1_3_3','menu1_3',"Money Market Plus", sitedir+"products_savings.html#mmchkplus");
		oM.makeMenu('menu1_3_4','menu1_3',"Money Market Account", sitedir+"products_savings.html#mmchkacct");
		oM.makeMenu('menu1_3_5','menu1_3',"Certificates of Deposit", sitedir+"products_savings.html#cds");
		oM.makeMenu('menu1_3_6','menu1_3',"Individual Retirement Accounts", sitedir+"products_savings.html#ira");
	oM.makeMenu('menu1_4','menu1',"Loan Services", sitedir+"products_loans.html");
		oM.makeMenu('menu1_4_1','menu1_4',"Loan Services Overview", sitedir+"products_loans.html");
		oM.makeMenu('menu1_4_2','menu1_4',"Personal Loans", sitedir+"products_loans.html#personal");
		oM.makeMenu('menu1_4_3','menu1_4',"Home Loans", sitedir+"products_loans.html#home");
		oM.makeMenu('menu1_4_4','menu1_4',"Business Loans", sitedir+"products_loans.html#business");
		oM.makeMenu('menu1_4_5','menu1_4',"Agricultural Loans", sitedir+"products_loans.html#agri");
	oM.makeMenu('menu1_5','menu1',"Featured Product", sitedir+"products_features.html");
	oM.makeMenu('menu1_6','menu1',"Geographic Limitations", sitedir+"products.html#geo");
		oM.makeMenu('menu1_6_1','menu1_6',"Geographic Limitations Overview", sitedir+"products.html#geo", '', 180, 33);
		oM.makeMenu('menu1_6_2','menu1_6',"Deposit Services", sitedir+"products.html#geodep");
		oM.makeMenu('menu1_6_3','menu1_6',"Lending Services", sitedir+"products.html#geolend");

//Insurance
oM.makeMenu('menu2');
	oM.makeMenu('menu2_1','menu2',"FNFS Overview", sitedir+"about_fnfs.html");
	oM.makeMenu('menu2_2','menu2',"FNFS-Insurance", sitedir+"about_fnfs.html#property_casualty");
	oM.makeMenu('menu2_3','menu2',"Contact Us", sitedir+"contact.html#insure");
	oM.makeMenu('menu2_4','menu2',"Privacy Policy", sitedir+"privacy.html");

//Investments
oM.makeMenu('menu3');
	oM.makeMenu('menu3_1','menu3',"FNFS Overview", sitedir+"about_fnfs.html");
	oM.makeMenu('menu3_2','menu3',"FNFS-Investments", sitedir+"about_fnfs.html#investments");
	oM.makeMenu('menu3_3','menu3',"Contact Us", sitedir+"contact.html#inv");
	oM.makeMenu('menu3_4','menu3',"Privacy Policy", sitedir+"privacy.html");
	
//Rates
oM.makeMenu('menu4');
	oM.makeMenu('menu4_1','menu4',"Rates Overview", sitedir+"rates.html");
	oM.makeMenu('menu4_2','menu4',"Certificates of Deposit Rates", sitedir+"rates.html#cd");
	oM.makeMenu('menu4_3','menu4',"Individual Retirement Account Rates", sitedir+"rates.html#ira", '', 180, 33);
	oM.makeMenu('menu4_4','menu4',"Checking/Savings Rates", sitedir+"rates.html#dep");

//Calculators
oM.makeMenu('menu5');
	oM.makeMenu('menu5_1','menu5',"Calculators Overview", sitedir+"calc.html");
	oM.makeMenu('menu5_2','menu5',"Loan Calculator", sitedir+"calc_loan.html");
	oM.makeMenu('menu5_3','menu5',"Mortgage Calculator", sitedir+"calc_mortgage.html");
	oM.makeMenu('menu5_4','menu5',"Retirement Calculator", sitedir+"calc_retirement.html");
	oM.makeMenu('menu5_5','menu5',"Savings Calculator", sitedir+"calc_savings.html");

//About Us
oM.makeMenu('menu6');
	oM.makeMenu('menu6_1','menu6',"About Us Overview", sitedir+"about.html");
	oM.makeMenu('menu6_2','menu6',"First National Bank", sitedir+"about_chadron.html");
	oM.makeMenu('menu6_3','menu6',"FNFS-Insurance", sitedir+"about_fnfs.html#property_casualty");
	oM.makeMenu('menu6_4','menu6',"FNFS-Investments", sitedir+"about_fnfs.html#investments");
	oM.makeMenu('menu6_5','menu6',"Privacy Policy", sitedir+"privacy.html");
	
//Contact Us
oM.makeMenu('menu7');
	oM.makeMenu('menu7_1','menu7',"Contact Us Overview", sitedir+"contact.html");
	oM.makeMenu('menu7_2','menu7',"Guestbook", "javascript:open_apps('guestbook');");
	oM.makeMenu('menu7_3','menu7',"First National Bank", sitedir+"contact.html#bank");
	oM.makeMenu('menu7_4','menu7',"FNFS-Insurance", sitedir+"contact.html#insure");
	oM.makeMenu('menu7_5','menu7',"FNFS-Investments", sitedir+"contact.html#inv");
	
//Information Desk
oM.makeMenu('menu8');
	oM.makeMenu('menu8_1','menu8',"Information Desk Overview", sitedir+"infodesk.html");
	oM.makeMenu('menu8_2','menu8',"Online Banking FAQs", sitedir+"infodesk_ibfaqs.html");
	oM.makeMenu('menu8_3','menu8',"Identity Theft", sitedir+"infodesk_idtheft.html");
	oM.makeMenu('menu8_4','menu8',"Internet Security", "javascript:openIB('security');");
	oM.makeMenu('menu8_5','menu8',"Privacy Policy", sitedir+"privacy.html");
	oM.makeMenu('menu8_6','menu8',"Disclosures", sitedir+"disclosures.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("bankprod");
var dropmenu2 = new FindPosition("insurance");
var dropmenu3 = new FindPosition("invest");
var dropmenu4 = new FindPosition("rates");
var dropmenu5 = new FindPosition("calc");
var dropmenu6 = new FindPosition("about");
var dropmenu7 = new FindPosition("contact");
var dropmenu8 = new FindPosition("infodesk");

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

document.write('<div id="mfaNotice">');
document.write('<p align="center"><img src="http://www.fnbchadrononline.com/images/logo.gif" border="0" alt="" /></p>');
document.write('<p>First National Bank is committed to assisting you with protecting your information.  In April, we rolled out our Enhanced Login Security feature that provides you additional protection from fraud and identity theft.  Enhanced Login Security helps prevent unauthorized access to your accounts and secure financial information.</p>');
document.write('<p>Effective July 12, 2010, we will be adding an additional layer of security with our Alternate ID feature.  This feature will allow you to select your own customized User ID instead of the one assigned during registration.  The next time you successfully log in to Online Banking, if you are not already using this feature, you will be prompted to create a new customized User ID before gaining access to your accounts.  The new User ID will then be used on all future Online Banking logins in addition to your password and Enhanced Login Security questions.</p>');
document.write('<p>As always, First National Bank is here to assist you with your Online Banking needs.  Please contact us at 308.432.5552 in Chadron or 402.387.1842 in Ainsworth with your questions or concerns.</p>');
document.write('<p align="center"><a href="https://www.fnbchadrononline.com/onlineserv/HB/Signon.cgi">Continue</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="javascript:void(0)" onclick="document.getElementById(\'mfaNotice\').style.display=\'none\';">Decline</a></p>');
document.write('</div>');
//end of file