<!--
function popUp(url) {
  var delvar=false;
  delvar=window.confirm("When accessing outside vendors' websites by clicking on their icons or links, you will be officially leaving First National Bank and its security protocols.");
  if (delvar==true) {
      sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=600,height=400');
       self.name = "mainWin"; }
                  }
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
 
function mmLoadMenus() {
  if (window.mm_menu_0130170525_0) return;
      window.mm_menu_0130170525_0 = new Menu("root",183,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0130170525_0.addMenuItem("Checking","location='/checking.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170525_0.addMenuItem("Savings","location='/savings.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170525_0.addMenuItem("Deposit&nbsp;Rates","location='/depositrates.htm'");
  mm_menu_0130170525_0.addMenuItem("Loan&nbsp;Accounts","location='/loans.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170525_0.addMenuItem("Apply&nbsp;for&nbsp;a&nbsp;Consumer&nbsp;Loan","location='/Consumerl_Loans_App.pdf';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170525_0.addMenuItem("Apply&nbsp;for&nbsp;Mortgage&nbsp;Loan","popUp('http://www.fnbmortgageloans.com','NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=600,height=400')");
   mm_menu_0130170525_0.hideOnMouseOut=true;
   mm_menu_0130170525_0.bgColor='#555555';
   mm_menu_0130170525_0.menuBorder=1;
   mm_menu_0130170525_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0130170525_0.menuBorderBgColor='#777777';
  window.mm_menu_0130170951_0 = new Menu("root",158,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0130170951_0.addMenuItem("Commercial&nbsp;Checking","location='/businesschecking.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170951_0.addMenuItem("Commercial&nbsp;Loans","location='/businessloans.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170951_0.addMenuItem("Commercial&nbsp;Leasing","location='/businessleasing.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170951_0.addMenuItem("Cash&nbsp;Management","location='/businesscashmanagement.htm'");
  mm_menu_0130170951_0.addMenuItem("Merchant&nbsp;Processing","location='/businessmerchant.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170951_0.addMenuItem("Merchant&nbsp;Dial&nbsp;Pay","location='businessdialpay.htm';window.open('USApatriotact.htm','patriotact','width=525,height=375')");
  mm_menu_0130170951_0.addMenuItem("Direct&nbsp;Deposit&nbsp;Payroll","location='/businessdirectdep.htm';window.open('/USApatriotact.htm','patriotact','width=525,height=375')");
   mm_menu_0130170951_0.hideOnMouseOut=true;
   mm_menu_0130170951_0.bgColor='#555555';
   mm_menu_0130170951_0.menuBorder=1;
   mm_menu_0130170951_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0130170951_0.menuBorderBgColor='#777777';
            window.mm_menu_0130171152_0 = new Menu("root",93,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0130171152_0.addMenuItem("Login","location='/'");
  mm_menu_0130171152_0.addMenuItem("Demo","location='/ibdemo/ib_demo.htm'");
  mm_menu_0130171152_0.addMenuItem("FAQs","location='/ibdemo/ibfaq.htm'");
   mm_menu_0130171152_0.hideOnMouseOut=true;
   mm_menu_0130171152_0.bgColor='#555555';
   mm_menu_0130171152_0.menuBorder=1;
   mm_menu_0130171152_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0130171152_0.menuBorderBgColor='#777777';
window.mm_menu_0130171319_0 = new Menu("root",182,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0130171319_0.addMenuItem("Loan&nbsp;Calculator","location='/alamogordocalcs/calcmain.htm'");
  mm_menu_0130171319_0.addMenuItem("Weather","popUp('http://www.srh.noaa.gov/forecast/MapClick.php?CityName=Alamogordo&state=NM&site=EPZ', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171319_0.addMenuItem("Stock&nbsp;Quotes","popUp('http://www.nasdaq.com', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171319_0.addMenuItem("Travel&nbsp;Center","location='/travel.htm'");
  mm_menu_0130171319_0.addMenuItem("Investment&nbsp;Center","popUp('http://www.1stinvestmentcenter.com', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171319_0.addMenuItem("Yellow&nbsp;Pages","location='/yellowpages.htm'");
  mm_menu_0130171319_0.addMenuItem("Check&nbsp;FNB&nbsp;VISA&nbsp;Info","popUp('http://www.mycardstatement.com', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171319_0.addMenuItem("MasterCard&nbsp;Secure&nbsp;Code","popUp('http://www.mastercard.com/securecd/faq.do', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
   mm_menu_0130171319_0.hideOnMouseOut=true;
   mm_menu_0130171319_0.bgColor='#555555';
   mm_menu_0130171319_0.menuBorder=1;
   mm_menu_0130171319_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0130171319_0.menuBorderBgColor='#777777';
    window.mm_menu_0130171529_0 = new Menu("root",175,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0130171529_0.addMenuItem("Alamogordo","popUp('http://www.alamogordo.com/', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171529_0.addMenuItem("Artesia","popUp('http://www.artesiachamber.com/home.htm', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171529_0.addMenuItem("Holloman&nbsp;AFB","popUp('http://www.holloman.AF.mil/','NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171529_0.addMenuItem("Ruidoso","popUp('http://www.ruidoso.net','NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171529_0.addMenuItem("Cloudcroft","popUp('http://www.cloudcroft.com/','NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171529_0.addMenuItem("Tularosa","popUp('http://www.southernnewmexico.com/Articles/Southeast/Otero/Tularosa/index.html','NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171529_0.addMenuItem("Alamogordo&nbsp;Daily&nbsp;News","popUp('http://www.zwire.com/site/news.cfm?brd=1619','NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
   mm_menu_0130171529_0.addMenuItem("Artesia&nbsp;Daily&nbsp;Press","popUp('http://www.artesianews.com/', 'NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=590,height=400')");
  mm_menu_0130171529_0.addMenuItem("Timberon","popUp('http://www.timberon.org','NewWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=800,height=600')");
   mm_menu_0130171529_0.hideOnMouseOut=true;
   mm_menu_0130171529_0.bgColor='#555555';
   mm_menu_0130171529_0.menuBorder=1;
   mm_menu_0130171529_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0130171529_0.menuBorderBgColor='#777777';
window.mm_menu_0130171752_0 = new Menu("root",194,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0130171752_0.addMenuItem("About&nbsp;First&nbsp;National&nbsp;Bank","location='/about.htm'");
  mm_menu_0130171752_0.addMenuItem("Message&nbsp;from&nbsp;our&nbsp;President","location='/meetfnb.htm'");
  mm_menu_0130171752_0.addMenuItem("Locations","location='/hours.htm'");
  mm_menu_0130171752_0.addMenuItem("Career&nbsp;Opportunities","location='/career.htm'");
  mm_menu_0130171752_0.addMenuItem("Terms&nbsp;of&nbsp;Use","location='/termsofuse.htm'");
   mm_menu_0130171752_0.hideOnMouseOut=true;
   mm_menu_0130171752_0.bgColor='#555555';
   mm_menu_0130171752_0.menuBorder=1;
   mm_menu_0130171752_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0130171752_0.menuBorderBgColor='#777777';

mm_menu_0130171752_0.writeMenus();
} // mmLoadMenus()

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
//-->

