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_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


	//Sub Menu - Personal
function mmLoadMenus() {
  if (window.mm_menu_1226121458_0) return;
  window.mm_menu_1226121458_0 = new Menu("root",150,22,"Verdana",10,"#004841","#A88E54","#ECE8D8","#ffffff","left","middle",3,0,500,-5,7,true,false,true,4,true,true);
  mm_menu_1226121458_0.addMenuItem("Checking&nbsp;Accounts","location='personal_checking.html'");
  mm_menu_1226121458_0.addMenuItem("Savings&nbsp;Accounts","location='personal_savings.html'");
  mm_menu_1226121458_0.addMenuItem("Money&nbsp;Market&nbsp;Accounts","location='investments_mma.html'");
  mm_menu_1226121458_0.addMenuItem("Certificates&nbsp;of&nbsp;Deposit","location='investments_certificates.html'");
  mm_menu_1226121458_0.addMenuItem("Deposit&nbsp;Rates","location='personal_dep_rates.html'");
  mm_menu_1226121458_0.addMenuItem("Change&nbsp;Your&nbsp;Address","location='address_change.html'");
  mm_menu_1226121458_0.addMenuItem("All&nbsp;Personal&nbsp;Services","location='personal_banking.html'");

   mm_menu_1226121458_0.hideOnMouseOut=true;
   mm_menu_1226121458_0.bgColor='#c1c1c1';
   mm_menu_1226121458_0.menuBorder=1;
   mm_menu_1226121458_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1226121458_0.menuBorderBgColor='#EFEFEE';


	//Sub Menu - Business
window.mm_menu_1226121700_0 = new Menu("root",200,22,"Verdana",10,"#004841","#A88E54","#ECE8D8","#ffffff","left","middle",3,0,500,-5,7,true,false,true,4,true,true);
  mm_menu_1226121700_0.addMenuItem("Business&nbsp;Checking","location='business_checking.html'");
  mm_menu_1226121700_0.addMenuItem("Deposit&nbsp;Rates","location='business_dep_rates.html'");
  mm_menu_1226121700_0.addMenuItem("Business&nbsp;Advantage&nbsp;Credit&nbsp;Cards","location='business_cards.html'");
  mm_menu_1226121700_0.addMenuItem("Commercial&nbsp;Loans","location='business_commercialloans.html'");
  mm_menu_1226121700_0.addMenuItem("Money&nbsp;Market&nbsp;Account","location='business_mma.html'");
  mm_menu_1226121700_0.addMenuItem("Commercial&nbsp;Mortgages","location='business_commercialmortgages.html'");
  mm_menu_1226121700_0.addMenuItem("Business&nbsp;Savings","location='business_businesssavings.html'");
  mm_menu_1226121700_0.addMenuItem("ACH&nbsp;Origination","location='business_ach.html'");
  mm_menu_1226121700_0.addMenuItem("Business&nbsp;Online&nbsp;Banking","location='business_bankingonline.html'");
  mm_menu_1226121700_0.addMenuItem("Lockbox","location='business_lockbox.html'");
  mm_menu_1226121700_0.addMenuItem("Business&nbsp;On&minus;Demand&nbsp;Deposit","location='business_ondemand.html'");
  mm_menu_1226121700_0.addMenuItem("All&nbsp;Business&nbsp;Services","location='business_banking.html'");
   mm_menu_1226121700_0.hideOnMouseOut=true;
   mm_menu_1226121700_0.bgColor='#c1c1c1';
   mm_menu_1226121700_0.menuBorder=1;
   mm_menu_1226121700_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1226121700_0.menuBorderBgColor='#EFEFEE';
   
	//Sub Menu - Loans
window.mm_menu_1226121701_0 = new Menu("root",170,22,"Verdana",10,"#004841","#A88E54","#ECE8D8","#ffffff","left","middle",3,0,500,-5,7,true,false,true,4,true,true);
  mm_menu_1226121701_0.addMenuItem("Mortgages","location='loan_mortgages.html'");
  mm_menu_1226121701_0.addMenuItem("Home&nbsp;Equity&nbsp;Solutions","location='loan_refinances.html'");
  mm_menu_1226121701_0.addMenuItem("Vehicle&frasl;Recreational&nbsp;Loans","location='loan_auto.html'");
  mm_menu_1226121701_0.addMenuItem("Commercial&nbsp;Loans","location='loan_commercial.html'");
  mm_menu_1226121701_0.addMenuItem("Loan&nbsp;Rates","location='loan_rates.html'");
  mm_menu_1226121701_0.addMenuItem("All&nbsp;Loan&nbsp;Services","location='loans.html'");
   mm_menu_1226121701_0.hideOnMouseOut=true;
   mm_menu_1226121701_0.bgColor='#c1c1c1';
   mm_menu_1226121701_0.menuBorder=1;
   mm_menu_1226121701_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1226121701_0.menuBorderBgColor='#EFEFEE';
   
	//Sub Menu - Investments
window.mm_menu_1226121702_0 = new Menu("root",155,22,"Verdana",10,"#004841","#A88E54","#ECE8D8","#ffffff","left","middle",3,0,500,-5,7,true,false,true,4,true,true);
  mm_menu_1226121702_0.addMenuItem("VantisLife&nbsp;Life&nbsp;Insurance","location='investments_life.html'");
  mm_menu_1226121702_0.addMenuItem("Investment&nbsp;Planning","location='investments_planning.html'");
  mm_menu_1226121702_0.addMenuItem("All&nbsp;Investment&nbsp;Services","location='investments.html'");
   mm_menu_1226121702_0.hideOnMouseOut=true;
   mm_menu_1226121702_0.bgColor='#c1c1c1';
   mm_menu_1226121702_0.menuBorder=1;
   mm_menu_1226121702_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1226121702_0.menuBorderBgColor='#EFEFEE';
   
	//Sub Menu 4 - About Us
window.mm_menu_1226121703_0 = new Menu("root",140,22,"Verdana",10,"#004841","#A88E54","#ECE8D8","#ffffff","left","middle",3,0,500,-5,7,true,false,true,4,true,true);
  mm_menu_1226121703_0.addMenuItem("About&nbsp;Us","location='about_us.html'");
  mm_menu_1226121703_0.addMenuItem("President&rsquo;s&nbsp;Message","location='about_president.php'");
  mm_menu_1226121703_0.addMenuItem("History","location='about_history.php'");
  mm_menu_1226121703_0.addMenuItem("Testimonials","location='testimonials.html'");
  mm_menu_1226121703_0.addMenuItem("Board&nbsp;of&nbsp;Directors","location='about_board.html'");
  mm_menu_1226121703_0.addMenuItem("Stockholder&nbsp;Relations","location='aware.html'");
  mm_menu_1226121703_0.addMenuItem("Careers&nbsp;at&nbsp;Oceanside","location='about_jobs.php'");
  mm_menu_1226121703_0.addMenuItem("Newsletters","location='newsletters.html'");
   mm_menu_1226121703_0.hideOnMouseOut=true;
   mm_menu_1226121703_0.bgColor='#c1c1c1';
   mm_menu_1226121703_0.menuBorder=1;
   mm_menu_1226121703_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1226121703_0.menuBorderBgColor='#EFEFEE';
   
	//Sub Menu 6 - Privacy
window.mm_menu_1226121704_0 = new Menu("root",140,22,"Verdana",10,"#004841","#A88E54","#ECE8D8","#ffffff","left","middle",3,0,500,-5,7,true,false,true,4,true,true);
  mm_menu_1226121704_0.addMenuItem("Privacy&nbsp;Statement","location='privacy_statement.html'");
  mm_menu_1226121704_0.addMenuItem("Terms&nbsp;and&nbsp;Conditions","location='terms.html'");
  mm_menu_1226121704_0.addMenuItem("Prevent&nbsp;Online&nbsp;Fraud","location='privacy_fraud.html'");
  mm_menu_1226121704_0.addMenuItem("Protect&nbsp;Your&nbsp;Identity","location='privacy_identity.html'");
   mm_menu_1226121704_0.hideOnMouseOut=true;
   mm_menu_1226121704_0.bgColor='#c1c1c1';
   mm_menu_1226121704_0.menuBorder=1;
   mm_menu_1226121704_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1226121704_0.menuBorderBgColor='#EFEFEE';
   
	//Sub Menu 7 - Contact
window.mm_menu_1226121705_0 = new Menu("root",135,22,"Verdana",10,"#004841","#A88E54","#ECE8D8","#ffffff","left","middle",3,0,500,-5,7,true,false,true,4,true,true);
  mm_menu_1226121705_0.addMenuItem("Branch&nbsp;Locator","location='locator.html'");
  mm_menu_1226121705_0.addMenuItem("Our&nbsp;Locations","location='locations.html'");
  mm_menu_1226121705_0.addMenuItem("ATM&nbsp;Locations","location='atm_locations.php'");
  mm_menu_1226121705_0.addMenuItem("Contact&nbsp;Us","location='contact.html'");
  mm_menu_1226121705_0.addMenuItem("Information&nbsp;Request","location='acc_info_request.php'");
   mm_menu_1226121705_0.hideOnMouseOut=true;
   mm_menu_1226121705_0.bgColor='#c1c1c1';
   mm_menu_1226121705_0.menuBorder=1;
   mm_menu_1226121705_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1226121705_0.menuBorderBgColor='#EFEFEE';

mm_menu_1226121700_0.writeMenus();
} // mmLoadMenus()
//-->

function randomizeContent(classname){
var contents=randomizeContent.collectElementbyClass(classname)
contents.text.sort(function() {return 0.5 - Math.random();})
var tbodyref=contents.ref[0].tagName=="TR"? contents.ref[0].parentNode : new Object()
for (var i=0; i<contents.ref.length; i++){
if (tbodyref.moveRow) //if IE
tbodyref.moveRow(0, Math.round(Math.random()*(tbodyref.rows.length-1)))
else
contents.ref[i].innerHTML=contents.text[i]
contents.ref[i].style.visibility="visible"
}
}

randomizeContent.collectElementbyClass=function(classname){ //return two arrays containing elements with specified classname, plus their innerHTML content
var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)", "i") //regular expression to screen for classname within element
var contentobj=new Object()
contentobj.ref=new Array() //array containing references to the participating contents
contentobj.text=new Array() //array containing participating contents' contents (innerHTML property)
var alltags=document.all? document.all : document.getElementsByTagName("*")
for (var i=0; i<alltags.length; i++){
if (typeof alltags[i].className=="string" && alltags[i].className.search(classnameRE)!=-1){
contentobj.ref[contentobj.ref.length]=alltags[i]
contentobj.text[contentobj.text.length]=alltags[i].innerHTML
}
}
return contentobj
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}