function mmLoadMenus() {
  if (window.mm_menu_0919103158_0) return;
  window.mm_menu_0919103158_0 = new Menu("root",243,17,"Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#006DC8","#074B88","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0919103158_0.addMenuItem("Community&nbsp;Service&nbsp;and&nbsp;Involvement","location='index.asp?pg=community'");
  mm_menu_0919103158_0.addMenuItem("Shareholders&nbsp;and&nbsp;Stock&nbsp;Info","location='index.asp?pg=shareholders'");
  //mm_menu_0919103158_0.addMenuItem("Annual&nbsp;Reports","location='pdf/mcintosh2007.pdf'");


  mm_menu_0919103158_0.addMenuItem("Code&nbsp;of&nbsp;Ethics","location='index.asp?pg=code'");
  mm_menu_0919103158_0.addMenuItem("Message&nbsp;From&nbsp;Our&nbsp;CEO","location='index.asp?pg=ceo'");
  mm_menu_0919103158_0.addMenuItem("Career&nbsp;Opportunities","location='index.asp?pg=career'");
  mm_menu_0919103158_0.addMenuItem("2008&nbsp;10-K","location='pdf/2008_10-K.pdf'");
   mm_menu_0919103158_0.fontWeight="bold";
   mm_menu_0919103158_0.hideOnMouseOut=true;
   mm_menu_0919103158_0.bgColor='#555555';
   mm_menu_0919103158_0.menuBorder=1;
   mm_menu_0919103158_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0919103158_0.menuBorderBgColor='#CED9E7';

  window.mm_menu_0919104604_0 = new Menu("root",135,17,"Arial, Helvetica, sans-serif",11,"#FFFFFF","#FFFFFF","#006DC8","#074B88","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0919104604_0.addMenuItem("Jackson,&nbsp;GA","location='index.asp?pg=l-jackson'");
  mm_menu_0919104604_0.addMenuItem("Locust&nbsp;Grove,&nbsp;GA","location='index.asp?pg=l-locustgrove'");
  mm_menu_0919104604_0.addMenuItem("Monticello,&nbsp;GA","location='index.asp?pg=l-monticello'");
  mm_menu_0919104604_0.addMenuItem("McDonough,&nbsp;GA","location='index.asp?pg=l-mcdonough'");
 //mm_menu_0919104604_0.addMenuItem("Premier&nbsp;Lending","location='index.asp?pg=l-premier'");
  mm_menu_0919104604_0.addMenuItem("ATM&nbsp;Locations","location='index.asp?pg=l-atms'");
   mm_menu_0919104604_0.fontWeight="bold";
   mm_menu_0919104604_0.hideOnMouseOut=true;
   mm_menu_0919104604_0.bgColor='#555555';
   mm_menu_0919104604_0.menuBorder=1;
   mm_menu_0919104604_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0919104604_0.menuBorderBgColor='#CED9E7';

mm_menu_0919104604_0.writeMenus();
} // mmLoadMenus()

if (document.images) {
	imgPersonal = new Image
	imgBusiness = new Image
	imgOther = new Image
	imgPersonalRight = new Image
	imgBusinessRight = new Image
	imgOtherRight = new Image
	imgRight = new Image
	
	imgPersonal.src = "images/personal_off.gif"
	imgBusiness.src ="images/business_off.gif"
	imgOther.src = "images/other_off.gif"
	imgPersonalRight.src = "images/personal_right.gif"
	imgBusinessRight.src = "images/business_right.gif"
	imgOtherRight.src = "images/other_right.gif"
	imgRight.src = "images/right.gif"
	
	imgPersonalOn = new Image
	imgBusinessOn = new Image
	imgOtherOn = new Image

	imgPersonalOn.src = "images/personal_on.gif"
	imgBusinessOn.src = "images/business_on.gif"
	imgOtherOn.src = "images/other_on.gif"
	
	function setMsg(msg) {
	window.status = msg
	return true
	}
}
else{

}

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_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_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];}
}

function leaving(url){
var url;
	var newwin = window.open('leaving.asp?link='+url,'', config='height=300,width=475,scrollbars=no,resizable=yes');
}

function leaving2(url){
var url;
	var newwin = window.open('leaving2.asp?link='+url,'', config='height=525,width=525,scrollbars=yes,resizable=yes');
}

function go_green(){
var email='mailto:customerservice@mcintoshbancshares.com?subject=Go Green&body=Discontinue PAPER Statements on my On-line Checking, Savings, and Money Market Accounts.'
  message  = 'Let’s help the environment and "Go Green!" Since we began providing customers with electronic statements, many of you have expressed an interest in having your paper statements discontinued.  You can elect this option by simply clicking the “Ok” button below, and you will be presented with an email form that will send that request to us.  Please do not send any confidential information to us in the email that pops up, because it is not secure.  We will identify the accounts based on your email address.\n';
  //message += "be responsible for your use of a hyperlinked site.";
  
  if (confirm(message)){
	window.location=email;
	}
}

function Disclaimerfed(){
      window.alert("Notice: You are leaving an FDIC insured site and going to an investment site. Securities through Great American Advisors, Inc. Great American is not affiliated with the McIntosh Financial Services or McIntosh State Bank. Products are not FDIC insured and may lose value. No Bank Guarantee."); 
      } 

function sendForm(){
	document.ContactForm.submit();
}

var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")