// sime 3 options text change script

function smallFontSize() {
	document.getElementsByTagName('body')[0].style.fontSize = '8pt';
}
function mediumFontSize() {
	document.getElementsByTagName('body')[0].style.fontSize = '10pt';
}
function largeFontSize() {
	document.getElementsByTagName('body')[0].style.fontSize = '12pt';
}


// Font-size change script

/*
var min=8;
var max=12;
function increaseFontSize() {
   var p = document.getElementsByTagName('body');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("pt",""));
      } else {
         var s = 8;
      }
      if(s!=max) {
         s += 2;
      }
      p[i].style.fontSize = s+"pt"
   }
}
function decreaseFontSize() {
   var p = document.getElementsByTagName('body');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("pt",""));
      } else {
         var s = 8;
      }
      if(s!=min) {
         s -= 2;
      }
      p[i].style.fontSize = s+"pt"
   }   
}
*/

// Menu jump script
function MM_jumpMenu(targ,selObj,restore){ //v3.0
//alert(targ+" - "+selObj.value+" - "+restore)
 if (selObj.value.indexOf("https://secure4.arcot.com/vpas/icpt0800_mc/enroll/index.jsp?locale=en_US&bankid=2793")  > -1) {
	alert("You are leaving the Platte Valley Bank website."); 
	//displayRemoteHostWarning();
	 }
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  //window.open(selObj.options[selObj.selectedIndex].value,'_blank');
  if (restore) selObj.selectedIndex=0;
}


// Nav bg switch script

var options = new Array();
options[0] = 'personal-over';
options[1] = 'personal';
options[2] = 'business-over';
options[3] = 'business';
options[4] = 'about-over';
options[5] = 'about';

function change(id) 
{
if(id.selectedIndex==0)return;
document.getElementById('changeme').className = options[id.selectedIndex]
alert("Classname="+document.getElementById('changeme').className)
}







