var check = 1; //Turn check imaging on (1) or off (0)

//Begin of Title on all htm pages
function name(){
var name = "<title>The Community Bank - Business Advantage Demo</title>"  //edit
return name
}


//Begin of Header on all htm pages (no advertising)
function makeHeader(){
var Header = "<TABLE border='0' cellPadding='0' cellSpacing='0' width='100%'>" + 
"<TR>" + 
"<TD>" + 
"<TABLE border='0' cellPadding='0' cellSpacing='0' width='100%'>" + 
"<TR class='clsHomeMenu'>" + 
"<TD>" + 
	"<TABLE border=0 cellPadding=0 cellSpacing=0 height=15 width=1% align=center>" + //spacer row
	"<TR class='clsHelpMenu'>" + 
	"<TD id=HomeBar align='center'></TD>" + 
	"</TR>" + 
	"</TABLE>" + 
"</TD>" + 
"<TD>" + 
	"<DIV id='Header_HomeTable' STYLE='visibility:visible;'>" +
		"<TABLE border='0' cellPadding='0' cellSpacing='0' height='18' width='33%' align='center'>" + //Home menu table
		"<TR class='clsHomeMenu'>" + 
		"<TD id=HomeBar align='center'><A class='clsHomeMenu' href='login.html'>Sign Out</A></TD>" + 
		"</TR>" + 
		"</TABLE>" + 
	"</DIV>" +
"</TD>" + 
"<TD>" +
"<div id='divPrintFriendly_OptionMenu'>" +
"<DIV ID='divMenuBar5N1' style='width:100%;'>" +
"<table ID='tblMenuBar5N1' border='0' cellpadding='0' cellspacing='0' align='center' width='100%' height=''>" +
"<tr>" +
"<td align='center' nowrap=''><span class='clsMenuBarItem5N1' id='tdMenuBarItem5N1_MENU1'>Options</span></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenu5N1' ID='divMenu5N1_MENU1' style='visibility:hidden; Left:100px;  Top:10px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacer5N1'></DIV>" +
"<DIV CLASS='clsMenuItem5N1' id='N1SMT1' STYLE='cursor:hand;'><A href='cp.html'>Change Password</A></DIV>" +
"<DIV CLASS='clsMenuItem5N1' id='N1SMT2' STYLE='cursor:hand;'></DIV>" +
"<DIV CLASS='clsMenuItem5N1' id='N1SMT4' STYLE='cursor:hand;'><A href='changesecdata.html'>Change Security Data</A></DIV>" +
"</DIV>" +
"</div>" +
"</TD>" +
"<TD>" + 
	"<DIV width='300' id='Header_HelpTable' STYLE='visibility:visible;'>" +
		"<TABLE border=0 cellPadding=0 cellSpacing=0 height=18 width=33% align=center>" + //Help menu table
		"<TR class='clsHelpMenu'>" + 
		"<TD id=HelpBar align='center'><A class='clsHomeMenu' href='HELPSETS/00000/WHStart.htm' target='_blank'>Help</A></TD>" + 
		"</TR>" + 
		"</TABLE>" + 
	"</DIV>" +
"</TD>" +
"</TR>" +
"</TABLE>" +
"<TABLE border='0' cellPadding='0' cellSpacing='0' width='100%'>" + //start of banner row  
"<TR>" + 
"<TD>" + 
"<TABLE border=0 cellPadding=0 cellSpacing=0 width=100% align=center>" + 
"<TR class='banner'>" + 
"<td width=100% valign=middle><DIV align=left><img border=0 src=images/banner.jpg alt=></div></td>" + //edit
"<td width=></td>" + 
"<td width=></td>" + 
"</TR></TABLE>" +
"</TD></TR></TABLE>" +
"</TD>" +
"</TR>" + 
"</TABLE>" + 
" "
return Header
}

//Begin of Footer on all htm pages (no advertising)
function makeFooter(){
var Footer ="<div id='divPrintFriendly_Footer' style='float:left'>" +
"<TABLE align='center' border='0' cellPadding='0' cellSpacing='0' width='750'>" +
"<TR class='footer'>" +
//"<TD valign='bottom' width=''><IMG alt='INFORMATION TECHNOLOGY, INC.' border='0' src='images/ecorpflip.gif' width='100' height='31'></TD>" +
"<TD valign='bottom' width=''><IMG alt='MEMBER FDIC and EHL' border='0' src='images/fdicehl.gif'></TD>" +
"<TD valign='bottom' width=''><a href='https://www.thevalidnetwork.com/wp323/wps?sp=12057&rq=home' target='_blank'></a></TD>" +
"</TR>" +			//edit above
"</TABLE>" +
"</div>" +

//Cannot change in Ecorp, do not alter copyright
"<TABLE bgcolor='#c0c0c0' border='0' cellPadding='0' cellSpacing='0' width='100%'>" +
"<TR>" +
"<TD class='clsCopyRight' width='100%'>Copyright Information Technology, Inc. 2001 - 2008</TD>" +
"</TR>" +
"</TABLE>"
return Footer
}
//Business Checking Dropdowns
function dda(){
var dda = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" +
"<tr class='navspacer'>" +
"<td height='1' width='100%'></td>" +
"</tr>" +
"</table>" +
"<DIV ID='divMenuBarDN1'>" +
"<table ID='tblMenuBarDN1' border='0' cellpadding='0' cellspacing='0' width='100%' height=''>" +
"<tr>" +
"<td class='clsMenuBarItemDN1' width='5' align='left'></td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU1' width='10%' align='' nowrap=''>Balances</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU2' width='10%' align='' bgcolor='' nowrap=''>Transactions</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU3' width='10%' align='' nowrap=''>Stop Payments</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU4' width='10%' align='' nowrap=''>Documents</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'></td>" +
"<td class='clsMenuBarItemDN1' width='48%' align='center' nowrap=''></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU1' style=' Visibility:hidden; Left:20px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='ddaacc.html'>Business Checking </A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU2' style='LEFT:60px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='ddacd.html'>Current Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;'><A href='ddapd.html'>Previous Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand;'><A href='ddacs.html'>Current Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='ddaps.html'>Previous Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='ddamenu.html'>Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='ddasearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU3' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='ddaspn.html'>New</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand'><A href='ddaspmenu.html'>Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand'><A href='ddaspsearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU4' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='ddadocs.html'>Documents Available</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return dda
}

//Building Loan Dropdown
function bldloan(){
var bldloan = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" +
"<tr class='navspacer'>" +
"<td height='1' width='100%'></td>" +
"</tr>" +
"</table>" +
"<DIV ID='divMenuBarDN1'>" +
"<table ID='tblMenuBarDN1' border='0' cellpadding='0' cellspacing='0' width='100%' height=''>" +
"<tr>" +
"<td class='clsMenuBarItemDN1' width='5' align='left'></td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU1' width='10%' align='' nowrap=''>Balances</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU2' width='10%' align='' bgcolor='' nowrap=''>Transactions</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'></td>" +
"<td class='clsMenuBarItemDN1' width='80%' align='center' nowrap=''></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU1' style=' Visibility:hidden; Left:20px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='bldloanacc.html'>Building Loan </A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU2' style=' Visibility:hidden; Left:60px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='bldloancd.html'>Current Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;'><A href='bldloanpd.html'>Previous Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;'><A href='bldloancm.html'>Current Month</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand;'><A href='bldloanpm.html'>Previous Month</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='bldloancy.html'>Current Year</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='bldloanpy.html'>Previous Year</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='bldloanatd.html'>Account to Date</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;'><A href='bldloansearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC7' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU3' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='bldloanspn.html'>Stop Payment Issue</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand'><A href='bldloanspmenu.html'>Stop Payment Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand'><A href='bldloanspsearch.html'>Stop Payment Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return bldloan
}

//365 Day COD Dropdown
function cod(){
var cod = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" +
"<tr class='navspacer'>" +
"<td height='1' width='100%'></td>" +
"</tr>" +
"</table>" +
"<DIV ID='divMenuBarDN1'>" +
"<table ID='tblMenuBarDN1' border='0' cellpadding='0' cellspacing='0' width='100%' height=''>" +
"<tr>" +
"<td class='clsMenuBarItemDN1' width='5' align='left'></td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU1' width='10%' align='' nowrap=''>Balances</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU2' width='10%' align='' bgcolor='' nowrap=''>Transactions</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'></td>" +
"<td class='clsMenuBarItemDN1' width='80%' align='center' nowrap=''></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU1' style=' Visibility:hidden; Left:20px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='codacc.html'>365 Day COD </A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU2' style=' Visibility:hidden; Left:60px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='codcd.html'>Current Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand'><A href='codpd.html'>Previous Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='codcs.html'>Current Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='codatd.html'>Account to Date</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand'><A href='codsearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU3' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='codspn.html'>Stop Payment Issue</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand'><A href='codspmenu.html'>Stop Payment Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand'><A href='codspsearch.html'>Stop Payment Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return cod
}

//Money Market Savings Dropdown
function mms(){
var mms = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" +
"<tr class='navspacer'>" +
"<td height='1' width='100%'></td>" +
"</tr>" +
"</table>" +
"<DIV ID='divMenuBarDN1'>" +
"<table ID='tblMenuBarDN1' border='0' cellpadding='0' cellspacing='0' width='100%' height=''>" +
"<tr>" +
"<td class='clsMenuBarItemDN1' width='5' align='left'></td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU1' width='10%' align='' nowrap=''>Balances</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU2' width='10%' align='' bgcolor='' nowrap=''>Transactions</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU4' width='10%' align='' nowrap=''>Documents</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'></td>" +
"<td class='clsMenuBarItemDN1' width='64%' align='center' nowrap=''></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU1' style=' Visibility:hidden; Left:20px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='mmsacc.html'>Money Market Savings </A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU2' style='LEFT:60px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='mmscd.html'>Current Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;'><A href='mmspd.html'>Previous Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand;'><A href='mmscs.html'>Current Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='mmsps.html'>Previous Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='mmsmenu.html'>Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='mmssearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU4' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='mmsdocs.html'>Documents Available</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return mms
}

//Operating Account Dropdown
function opacc(){
var opacc = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" +
"<tr class='navspacer'>" +
"<td height='1' width='100%'></td>" +
"</tr>" +
"</table>" +
"<DIV ID='divMenuBarDN1'>" +
"<table ID='tblMenuBarDN1' border='0' cellpadding='0' cellspacing='0' width='100%' height=''>" +
"<tr>" +
"<td class='clsMenuBarItemDN1' width='5' align='left'></td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU1' width='10%' align='' nowrap=''>Balances</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU2' width='10%' align='' bgcolor='' nowrap=''>Transactions</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU3' width='10%' align='' nowrap=''>Stop Payments</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU4' width='10%' align='' nowrap=''>Documents</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'></td>" +
"<td class='clsMenuBarItemDN1' width='48%' align='center' nowrap=''></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU1' style=' Visibility:hidden; Left:20px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='opacc.html'>Operating Account </A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU2' style='LEFT:60px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='opacccd.html'>Current Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;'><A href='opaccpd.html'>Previous Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand;'><A href='opacccs.html'>Current Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='opaccps.html'>Previous Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='opaccmenu.html'>Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='opaccsearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU3' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='opaccspn.html'>New</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand'><A href='opaccspmenu.html'>Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand'><A href='opaccspsearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU4' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='opaccdocs.html'>Documents Available</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return opacc
}

//Operating Loan Dropdown
function oploan(){
var oploan = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" +
"<tr class='navspacer'>" +
"<td height='1' width='100%'></td>" +
"</tr>" +
"</table>" +
"<DIV ID='divMenuBarDN1'>" +
"<table ID='tblMenuBarDN1' border='0' cellpadding='0' cellspacing='0' width='100%' height=''>" +
"<tr>" +
"<td class='clsMenuBarItemDN1' width='5' align='left'></td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU1' width='10%' align='' nowrap=''>Balances</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU2' width='10%' align='' bgcolor='' nowrap=''>Transactions</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'></td>" +
"<td class='clsMenuBarItemDN1' width='80%' align='center' nowrap=''></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU1' style=' Visibility:hidden; Left:20px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='oploanacc.html'>Operating Loan </A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU2' style=' Visibility:hidden; Left:60px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='oploancd.html'>Current Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand'><A href='oploanpd.html'>Previous Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;'><A href='oploancm.html'>Current Month</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand;'><A href='oploanpm.html'>Previous Month</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='oploancy.html'>Current Year</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='oploanpy.html'>Previous Year</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='oploanatd.html'>Account to Date</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand'><A href='oploansearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC7' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU3' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='oploanspn.html'>Stop Payment Issue</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand'><A href='oploanspmenu.html'>Stop Payment Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand'><A href='oploanspsearch.html'>Stop Payment Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return oploan
}

//Ready Reserve Dropdown
function rr(){
var rr = "<table border='0' cellpadding='0' cellspacing='0' width='100%'>" +
"<tr class='navspacer'>" +
"<td height='1' width='100%'></td>" +
"</tr>" +
"</table>" +
"<DIV ID='divMenuBarDN1'>" +
"<table ID='tblMenuBarDN1' border='0' cellpadding='0' cellspacing='0' width='100%' height=''>" +
"<tr>" +
"<td class='clsMenuBarItemDN1' width='5' align='left'></td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU1' width='10%' align='' nowrap=''>Balances</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU2' width='10%' align='' bgcolor='' nowrap=''>Transactions</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'>| </td>" +
"<td class='clsMenuBarItemDN1' ID='tdMenuBarItemDN1_MENU4' width='10%' align='' nowrap=''>Documents</td>" +
"<td width='5' class='clsMenuBarItemDN1' align='center'></td>" +
"<td class='clsMenuBarItemDN1' width='64%' align='center' nowrap=''></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU1' style=' Visibility:hidden; Left:20px; Top:190px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='rracc.html'>Ready Reserve </A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU2' style='LEFT:60px; Visibility:hidden; Top:200px; z-Index=3'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC1' STYLE='cursor:hand;'><A href='rrcd.html'>Current Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC2' STYLE='cursor:hand;'><A href='rrpd.html'>Previous Business Day</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand;'><A href='rrcs.html'>Current Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC4' STYLE='cursor:hand;'><A href='rrps.html'>Previous Statement</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='rrmenu.html'>Menu</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC5' STYLE='cursor:hand;'><A href='rrsearch.html'>Search</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuDN1' ID='divMenuDN1_MENU4' style='LEFT:110px; Visibility:hidden; Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerDN1'></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC3' STYLE='cursor:hand'><A href='rrdocs.html'>Documents Available</A></DIV>" +
"<DIV CLASS='clsMenuItemDN1' id='DN1SMC6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return rr
}
//Navigation Area 1 Dropdown
function admin(){
var admin = "<DIV ID='divMenuBarN1' style='width:'>" +
"<table ID='tblMenuBarN1' border='0' cellpadding='0' cellspacing='0' width=''>" +
"<tr>" +
"<td width='5' class='clsNav1MenuSeperatorBar' height='' align='left'></td>" +
"<td class='clsMenuBarItemN1' ID='tdMenuBarItemN1_MENU1' align='' width='10%' nowrap=''>Summary</td>" +
"<td width='5' class='clsNav1Menu' align='center'>|</td>" +
"<td class='clsMenuBarItemN1' ID='tdMenuBarItemN1_MENU2' align='' width='10%' nowrap=''>Accounts</td>" +
"<td width='5' class='clsNav1Menu' align='center'>|</td>" +
"<td class='clsMenuBarItemN1' ID='tdMenuBarItemN1_MENU3' align='' width='10%' nowrap=''>Funds Management</td>" +
"<td width='5' class='clsNav1Menu' align='center'>|</td>" +
"<td class='clsMenuBarItemN1' ID='tdMenuBarItemN1_MENU4' align='' width='10%' nowrap=''>File Management</td>" +
"<td width='5' class='clsNav1Menu' align='center'>|</td>" +
"<td class='clsMenuBarItemN1' ID='tdMenuBarItemN1_MENU5' align='' width='10%' nowrap='' onmouseover='InitializeAdmimMenus()'>Administration</td>" +
"<td width='5' class='clsNav1Menu' align='center'>|</td>" +
"<td class='clsMenuBarItemN1' ID='tdMenuBarItemN1_MENU6' align='' width='10%' nowrap=''>Review</td>" +
"<td width='5' class='clsNav1Menu' align='center'>|</td>" +
"<td class='clsMenuBarItemN1' align='left' width='48%'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuN1' ID='divMenuN1_MENU1' style='Visibility:hidden; Left:5px;  Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerN1'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='summary.html'>Summary</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuN1' ID='divMenuN1_MENU2' style='Visibility:hidden; Left:30px;  Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerN1'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMX1' STYLE='cursor:hand;'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY1' STYLE='cursor:hand;'><A href='acclist.html'>  List</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY5' STYLE='cursor:hand;'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY6' STYLE='cursor:hand;'><hr size='1' class='clsNav1HRBar'></DIV>" +
"<DIV width='300' CLASS='clsMenuItemN1' id='DDMenu1' STYLE='cursor:hand;'><a href='codacc.html'>365 Day COD</a></DIV>" +
"<DIV width='300' CLASS='clsMenuItemN1' id='DDMenu2' STYLE='cursor:hand;'><a href='bldloanacc.html'>Building Loan</a></DIV>" +
"<DIV width='300' CLASS='clsMenuItemN1' id='DDMenu3' STYLE='cursor:hand;'><a href='ddaacc.html'>Business Checking</a></DIV>" +
"<DIV width='300' CLASS='clsMenuItemN1' id='DDMenu4' STYLE='cursor:hand;'><a href='mmsacc.html'>Money Market Savings</a></DIV>" +
"<DIV width='300' CLASS='clsMenuItemN1' id='DDMenu5' STYLE='cursor:hand;'><a href='opacc.html'>Operating Account</a></DIV>" +
"<DIV width='300' CLASS='clsMenuItemN1' id='DDMenu6' STYLE='cursor:hand;'><a href='oploanacc.html'>Operating Loan</a></DIV>" +
"<DIV width='300' CLASS='clsMenuItemN1' id='DDMenu7' STYLE='cursor:hand;'><a href='rracc.html'>Ready Reserve</a></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuN1' ID='divMenuN1_MENU3' style='Visibility:hidden; Left:100px;  Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerN1'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='premierach.html'>PremierACH</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='fmtranslist.html'>Transfer List</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='fmtransissued.html'>Transfers Issued</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='fmbpaylist.html'>Bill Payment List</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='fmbpayissued.html'>Bill Payments Issued</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='fmachsearch.html'>Incoming ACH Search</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='fmwiresearch.html'>Incoming Wire Search</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV CLASS='clsMenuN1' ID='divMenuN1_MENU4' style='Visibility:hidden; Left:150px;  Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerN1'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='filemtranslist.html'>Transfer List</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='filemtransissued.html'>Transfers Issued</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>" +
"<DIV width='300' id='divSeparator_AdminTable' STYLE='visibility:hidden;position:absolute;'>" +
"<DIV width='300' class='clsMenuItemN1' style='border-top:1 #FFFFFF solid;' height='1'></DIV>" +
"</DIV>" +
"<DIV width='300' id='divTopHolder_AdminArrowTable' STYLE='visibility:hidden;position:absolute;'>" +
"<table id='tblTop_Admin' cellpadding='0' cellspacing='0' width='285' align='center' CLASS='clsMenuItemN1' height='15' style='border-bottom:1 #84B0F solid;' onmouseout='ScrollStop_Admin()'>" +
"<tr>" +
"<td align='center' onmouseover='ScrollUp_Admin(400)' width='45'></td>" +
"<td align='center' onmouseover='ScrollUp_Admin(250)' width='45'></td>" +
"<td align='center' onmouseover='ScrollUp_Admin(150)' width='45'></td>" +
"<td align='center' onmouseover='ScrollUp_Admin(75)' width='30'><DIV id='divTop_Admin' style='visibility:hidden;'>^</DIV></td>" +
"<td align='center' onmouseover='ScrollUp_Admin(50)' width='45'></td>" +
"<td align='center' onmouseover='ScrollUp_Admin(30)' width='45'></td>" +
"<td align='center' onmouseover='ScrollUp_Admin(10)' width='45'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='divTopHolder_AdminTable' STYLE='visibility:hidden;position:absolute;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin1' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuN1' ID='divMenuN1_MENU5' style='Visibility:hidden;  Left:30px;  Top:200px; z-Index=4' STYLE='cursor:hand;'>" +
"<DIV width='300' id='DDMenu_Admin1' STYLE='cursor:hand;'></DIV>" +
"<DIV width='300' id='DDMenu_Admin2' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin2' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin3' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin3' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin4' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin4' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin5' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin5' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin6' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin6' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin7' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin7' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin8' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin8' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin9' STYLE='cursor:hand;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin9' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='DDMenu_Admin10' STYLE='cursor:hand;'></DIV>" +
"</DIV>" +
"<DIV width='300' id='divBotHolder_AdminArrowTable' STYLE='visibility:hidden;position:absolute;'>" +
"<table id='tblBot_Admin' cellpadding='0' cellspacing='0' width='285' align='center' CLASS='clsMenuItemN1' height='15' style='border-top:1 white solid;' onmouseout='ScrollStop_Admin()'>" +
"<tr>" +
"<td align='center' onmouseover='ScrollDown_Admin(400)' width='45'></td>" +
"<td align='center' onmouseover='ScrollDown_Admin(150)' width='45'></td>" +
"<td align='center' onmouseover='ScrollDown_Admin(150)' width='45'></td>" +
"<td align='center' onmouseover='ScrollDown_Admin(75)' width='30'><DIV id='divBot_Admin' style='visibility:visible;'>v</DIV></td>" +
"<td align='center' onmouseover='ScrollDown_Admin(50)' width='45'></td>" +
"<td align='center' onmouseover='ScrollDown_Admin(30)' width='45'></td>" +
"<td align='center' onmouseover='ScrollDown_Admin(10)' width='45'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV width='300' id='divBotHolder_AdminTable' STYLE='visibility:hidden;position:absolute;'>" +
"<table cellpadding='0' cellspacing='0'>" +
"<tr>" +
"<td id='tblCol_Admin10' width='300' align='left' class='clsMenuItemN1' height='15' onmouseover='FlipColorOn_Admin(this)' onmouseout='FlipColorOff_Admin(this)' onmousedown='GoToThisAdminItem(this.id)'></td>" +
"</tr>" +
"</table>" +
"</DIV>" +
"<DIV CLASS='clsMenuN1' ID='divMenuN1_MENU6' style='Visibility:hidden; Left:150px;  Top:200px; z-Index=4'>" +
"<DIV CLASS='clsMenuSpacerN1'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC2' STYLE='cursor:hand;'><A href='bpreview.html'>Bill Payment Review</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC2' STYLE='cursor:hand;'><A href='ftreview.html'>Fund Transfer Review</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'><A href='adminfiletreview.html'>File Transfer Review</A></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMC1' STYLE='cursor:hand;'></DIV>" +
"<DIV CLASS='clsMenuItemN1' id='N1SMY6' STYLE='cursor:hand;height:2;'></DIV>" +
"</DIV>"
return admin
}
  
  adminList = new Array(31);
  adminList[0] = new Array(2);
  adminList[0][0] = 'adminiag.html';
  adminList[0][1] = 'Inquire Account Group';
  adminList[1] = new Array(2);
  adminList[1][0] = 'admincag.html';
  adminList[1][1] = 'Change Account Group';
  adminList[2] = new Array(2);
  adminList[2][0] = '///';
  adminList[2][1] = '';
  adminList[3] = new Array(2);
  adminList[3][0] = 'adminieg.html';
  adminList[3][1] = 'Inquire Employee Group';
  adminList[4] = new Array(2);
  adminList[4][0] = 'adminceg.html';
  adminList[4][1] = 'Change Employee Group';
  adminList[5] = new Array(2);
  adminList[5][0] = '///';
  adminList[5][1] = '';
  adminList[6] = new Array(2);
  adminList[6][0] = 'adminiftg.html';
  adminList[6][1] = 'Inquire Fund Transfer Group';
  adminList[7] = new Array(2);
  adminList[7][0] = 'admincftg.html';
  adminList[7][1] = 'Change Fund Transfer Group';
  adminList[8] = new Array(2);
  adminList[8][0] = '///';
  adminList[8][1] = '';
  adminList[9] = new Array(2);
  adminList[9][0] = 'adminica.html';
  adminList[9][1] = 'Inquire Client Account';
  adminList[10] = new Array(2);
  adminList[10][0] = 'admincca.html';
  adminList[10][1] = 'Change Client Account';
  adminList[11] = new Array(2);
  adminList[11][0] = '///';
  adminList[11][1] = '';
  adminList[12] = new Array(2);
  adminList[12][0] = 'adminaftt.html';
  adminList[12][1] = 'Add Fund Transfer Template';
  adminList[13] = new Array(2);
  adminList[13][0] = 'adminauftt.html';
  adminList[13][1] = 'Add Using Fund Transfer Template';
  adminList[14] = new Array(2);
  adminList[14][0] = 'admincftt.html';
  adminList[14][1] = 'Change Fund Transfer Template';
  adminList[15] = new Array(2);
  adminList[15][0] = 'admindftt.html';
  adminList[15][1] = 'Delete Fund Transfer Template';
  adminList[16] = new Array(2);
  adminList[16][0] = '///';
  adminList[16][1] = '';
  adminList[17] = new Array(2);
  adminList[17][0] = 'adminie.html';
  adminList[17][1] = 'Inquire Employee';
  adminList[18] = new Array(2);
  adminList[18][0] = 'adminae.html';
  adminList[18][1] = 'Add Employee';
  adminList[19] = new Array(2);
  adminList[19][0] = 'adminaue.html';
  adminList[19][1] = 'Add Using Employee';
  adminList[20] = new Array(2);
  adminList[20][0] = 'admince.html';
  adminList[20][1] = 'Change Employee';
  adminList[21] = new Array(2);
  adminList[21][0] = 'adminde.html';
  adminList[21][1] = 'Delete Employee';
  adminList[22] = new Array(2);
  adminList[22][0] = '///';
  adminList[22][1] = '';
  adminList[23] = new Array(2);
  adminList[23][0] = 'adminiefta.html';
  adminList[23][1] = 'Inquire Employee Fund Transfer Access';
  adminList[24] = new Array(2);
  adminList[24][0] = 'admincefta.html';
  adminList[24][1] = 'Change Employee Fund Transfer Access';
  adminList[25] = new Array(2);
  adminList[25][0] = '///';
  adminList[25][1] = '';
  adminList[26] = new Array(2);
  adminList[26][0] = 'adminiefileta.html';
  adminList[26][1] = 'Inquire Employee File Transfer Access';
  adminList[27] = new Array(2);
  adminList[27][0] = 'admincefileta.html';
  adminList[27][1] = 'Change Employee File Transfer Access';
  adminList[28] = new Array(2);
  adminList[28][0] = '///';
  adminList[28][1] = '';
  adminList[29] = new Array(2);
  adminList[29][0] = 'adminieaa.html';
  adminList[29][1] = 'Inquire Employee Account Access';
  adminList[30] = new Array(2);
  adminList[30][0] = 'adminceaa.html';
  adminList[30][1] = 'Change/Add Employee Account Access';

  HREFIdxArray_Admin = new Array(10)
  
  //***********************************************
  var AreAdminMenusPopulated = false;
  var ScrollValue_Admin = 0;
  var timerRunning1_Admin = false;
  var timerID1_Admin;
  var ScrolledPosition_Admin = 10;
  var maxAdminNumbers = 31;
  var divTopEnabled_Admin = false;
  var divBotEnabled_Admin = true;
  var ScrollSpeed_Admin = 1000;
  var gsLastScrollDirection_Admin = 'down'; // on initial page load, set value to only direction it can initially go - down
//new stuff - 001

  //***********************************************

    var TopDivValue_Admin = '';
    var BotDivValue_Admin = '';

  function FlipActions_Admin(actionTaken)
  {

  //************************************************
  //* flipping scenario's
  //* 1.) initialize with the scroll positioned to the first account
  //* 2.) scroll position is inbetween the first and last accounts
  //* 3.) scrolled all the way to the first account
  //* 4.) scrolled all the way to the last account
  // Note: you must always maintain the table objects in a div
  // so that the code can acess and set propertys, that is
  // why you cannot just keep them in a global variable
  // but you do set a copy of them to a global variable
  // at initialization inorder to correctly copy them
  // from DDMenu_Admin1 and DDMenu_Admin10 and the temp holding div's.
  //*************************************************

        //alert('actionTaken='+actionTaken);

        switch (actionTaken)
        {
            case 'initialize':
                //alert('initialize');
                //initialize w/ top having the admin table and the bottom having the arrow table
                // move in the admin number table
            DDMenu_Admin1.innerHTML = divTopHolder_AdminTable.innerHTML ;
            TopDivValue_Admin = 'admin';
            // blank out the admin number table so there are not two account number tables
            divTopHolder_AdminTable.innerHTML = '' ;

                //bottom flip
                // move in the down arrow table
                DDMenu_Admin10.innerHTML = divBotHolder_AdminArrowTable.innerHTML ;
                BotDivValue_Admin = 'arrow';
                // blank out the holder div so there is not two down arrow tables
                divBotHolder_AdminArrowTable.innerHTML = '';

                break;

            case 'FlipTopToAdminTable':
                //alert('FlipTopToAdminTable// TopDivValue_Admin='+ TopDivValue_Admin);
                if(TopDivValue_Admin == 'arrow') // only switch if the opposite table is present in this div
                {
                    TopDivValue_Admin = 'admin';

                    //alert('FlipTopToAdminTable');
                    //alert('check-FlipTopToAdminTable// TopDivValue_Admin='+ TopDivValue_Admin);
                    // move in the top admin number table  and store off the top arrow table
                    divTopHolder_AdminArrowTable.innerHTML = DDMenu_Admin1.innerHTML; // temp store of the top arrow table, DDMenu_Admin1 div should be holding the top arrow table
                    DDMenu_Admin1.innerHTML = divTopHolder_AdminTable.innerHTML ; // move in the top admin table
                    divTopHolder_AdminTable.innerHTML = ''; // blank out the div holding the top admin table
                }
                break;


            case 'FlipTopToAdminArrowTable':
                //alert('FlipTopToArrowTable// TopDivValue_Admin='+ TopDivValue_Admin );
                if(TopDivValue_Admin == 'admin') // only switch if the opposite table is present in this div
                {
                    TopDivValue_Admin = 'arrow';
                    //alert('FlipTopToArrowTable');
                    //alert('check-FlipTopToArrowTable// TopDivValue_Admin='+ TopDivValue_Admin );
                    // move in the top arrow number table   and store off the top admin table
                    divTopHolder_AdminTable.innerHTML = DDMenu_Admin1.innerHTML; // temp store of the top admin table, DDMenu_Admin1 div should be holding the top account table
                    DDMenu_Admin1.innerHTML = divTopHolder_AdminArrowTable.innerHTML ; // move in the top arrow  table
                    divTopHolder_AdminArrowTable.innerHTML = ''; // blank out the div holding the top arrow table

                }
                break;


            case 'FlipBotToAdminArrowTable':
                //alert('FlipBotToArrowTable// BotDivValue_Admin='+ BotDivValue_Admin );
                if(BotDivValue_Admin == 'admin') // only switch if the opposite table is present in this div
                {
                    BotDivValue_Admin = 'arrow';
                    //alert('FlipBotToArrowTable');
                    //alert('check-FlipBotToArrowTable// BotDivValue_Admin='+ BotDivValue_Admin );
                    // move in the bottom arrow table and store out the bottom admin table
                    divBotHolder_AdminTable.innerHTML = DDMenu_Admin10.innerHTML; // temp store of the bottom admin table, DDMenu_10 should be hold the bottom account table
                    DDMenu_Admin10.innerHTML = divBotHolder_AdminArrowTable.innerHTML ; // move in the bottom arrow table
                    divBotHolder_AdminArrowTable.innerHTML = '' ; // blank out the div holding the bottom arrow table

                }
                break;


            case 'FlipBotToAdminTable':
                //alert('FlipBotToAdminTable// BotDivValue='+ BotDivValue_Admin );
                if(BotDivValue_Admin == 'arrow') // only switch if the opposite table is present in this div
                {
                    BotDivValue_Admin = 'admin';
                    //alert('FlipBotToAdminTable');
                    //alert('check-FlipBotToAdminTable// BotDivValue='+ BotDivValue_Admin );
                    // move in the bottom admin table and store out the bottom arrow table
                    divBotHolder_AdminArrowTable.innerHTML = DDMenu_Admin10.innerHTML; // temp store of the bottom arrow table, DDMenu_Admin10 should be hold the bottom arrow table
                    DDMenu_Admin10.innerHTML = divBotHolder_AdminTable.innerHTML ; // move in the bottom admin table
                    divBotHolder_AdminTable.innerHTML = '' ; // blank out the div holding the bottom arrow table

                }
            break;

            default:
                break;
        }

  }



    //***********************************************
    var PreviousPosRequested_Admin = '';
        function FlipDivContent_Admin(PositionRequested_Admin)
        {

            if(PreviousPosRequested_Admin != PositionRequested_Admin)
            {
                PreviousPosRequested_Admin = PositionRequested_Admin;
                //alert('PositionRequested_Admin='+PositionRequested_Admin);
                switch (PositionRequested_Admin)
                {
                    case 'initialize':
                        FlipActions_Admin('initialize');
                        break;
                    case 'scrollPos_TOP':
                        FlipActions_Admin('FlipTopToAdminTable');
                        FlipActions_Admin('FlipBotToAdminArrowTable');
                        break;
                    case 'scrolling':
                        FlipActions_Admin('FlipTopToAdminArrowTable');
                        FlipActions_Admin('FlipBotToAdminArrowTable');
                        break;
                    case 'scrollPos_BOT':
                        FlipActions_Admin('FlipTopToAdminArrowTable');
                        FlipActions_Admin('FlipBotToAdminTable');
                        break;
                    default:
                        break;
                }
            }

        }


// end new stuff - 001
  //***********************************************
  function ScrollUp_Admin(inboundScrollSpeed)
  {
  
      if (timerRunning1_Admin)
      {
              if (ScrollSpeed_Admin != inboundScrollSpeed)
              {
                  clearInterval(timerID1_Admin);
                  timerRunning1_Admin = false;
                  timerID1_Admin = setInterval('ScrollDivUp_Admin()',inboundScrollSpeed);
                  timerRunning1_Admin = true;
                  ScrollSpeed_Admin = inboundScrollSpeed;
              }
      }
      else
      {
          if (divTopEnabled_Admin)
          {
              timerID1_Admin = setInterval('ScrollDivUp_Admin()',inboundScrollSpeed);
              timerRunning1_Admin = true;
              ScrollSpeed_Admin = inboundScrollSpeed;
          }
      }
  
  }
  
  //***********************************************
  function ScrollDown_Admin(inboundScrollSpeed)
  {
      if (timerRunning1_Admin)
      {
          if (ScrollSpeed_Admin != inboundScrollSpeed)
          {
              clearInterval(timerID1_Admin);
              timerRunning1_Admin = false;
              timerID1_Admin = setInterval('ScrollDivDown_Admin()',inboundScrollSpeed);
              timerRunning1_Admin = true;
              ScrollSpeed_Admin = inboundScrollSpeed;
  
          }
      }
      else
      {
          if (divBotEnabled_Admin)
          {
              timerID1_Admin = setInterval('ScrollDivDown_Admin()',inboundScrollSpeed);
              timerRunning1_Admin = true;
              ScrollSpeed_Admin = inboundScrollSpeed;
          }
      }
  
  }
  
  
  //***********************************************
  function ScrollDivDown_Admin()
  {
      if (ScrolledPosition_Admin < maxAdminNumbers)
      {
          //tblTop_Admin.style.visibility = 'visible';
          //tblBot_Admin.style.visibility = 'visible';
  
          tblTop_Admin.style.borderBottomWidth = '1';
          tblTop_Admin.style.borderBottomColor = 'white';
          tblTop_Admin.style.borderBottomStyle = 'solid';
          divTop_Admin.style.visibility = 'visible'; //innerHTML = '^';
          divTopEnabled_Admin = true;
  
          tblBot_Admin.style.borderTopWidth = '1';
          tblBot_Admin.style.borderTopColor = 'white';
          tblBot_Admin.style.borderTopStyle = 'solid';
          divBot_Admin.style.visibility = 'visible'; //innerHTML = 'v';
          divBotEnabled_Admin = true;
  
          //begin new stuff - 003
          FlipDivContent_Admin('scrolling');
          //end new stuff - 003
  
  
  
          //window.status = 'ScrollPos_Admin=' + ScrolledPosition_Admin;
  
          //divTopCount.innerHTML = ScrolledPosition_Admin - 9;
          //divBotCount.innerHTML = ScrolledPosition_Admin ;
  
          var j = 0;
          for (i=1; i < 10; i++)
          {
  
              j = i + 1;
                  //document.getElementById('DDMenu_Admin'+i).innerHTML = document.getElementById('DDMenu_Admin'+j).innerHTML;
                  //document.getElementById('a'+i).href = document.getElementById('a'+j).href;
                  //document.getElementById('a'+i).innerHTML = document.getElementById('a'+j).innerHTML;
                  document.getElementById('tblCol_Admin'+i).innerHTML = document.getElementById('tblCol_Admin'+j).innerHTML;
                  HREFIdxArray_Admin[i] = HREFIdxArray_Admin [j]; 
  
  
          }
          if(gsLastScrollDirection_Admin=='up') // adjust the scrolled position if the scroll has changed directions
              {
                  gsLastScrollDirection_Admin = 'down';
                  //ScrolledPosition_Admin = ScrolledPosition_Admin + 10;
              }
          //document.getElementById('DDMenu_Admin10').innerHTML = adminList[ScrolledPosition_Admin]; //document.getElementById('dh'+i).innerHTML;
          //document.getElementById('a10').href = accountList[ScrolledPosition][0]; //document.getElementById('dh'+i).innerHTML;
          //document.getElementById('a10').innerHTML = '&nbsp' + accountList[ScrolledPosition][1]; //document.getElementById('dh'+i).innerHTML;
          if(adminList[ScrolledPosition_Admin][0] == '///')
          {
            document.getElementById('tblCol_Admin10').innerHTML = divSeparator_AdminTable.innerHTML;
          }
          else
          {
            document.getElementById('tblCol_Admin10').innerHTML = '&nbsp' + adminList[ScrolledPosition_Admin][1]; //document.getElementById('dh'+i).innerHTML;
          }
          HREFIdxArray_Admin[10] = adminList[ScrolledPosition_Admin][0];
          ScrolledPosition_Admin++;
  
  
      }
      else
      {
          if (timerRunning1_Admin)
          {
              //tblBot_Admin.style.visibility = 'hidden';
              tblBot_Admin.style.borderTopWidth  = '1';
              tblBot_Admin.style.borderTopColor = '#84B0F2';
              tblBot_Admin.style.borderTopStyle = 'solid';
              //divBot.style.visibility  = 'hidden';
              divBotEnabled_Admin = false;
              clearInterval(timerID1_Admin);
              timerRunning1_Admin = false;
              //begin new stuff - 005  
              FlipDivContent_Admin('scrollPos_BOT');  
              //end new stuff - 005
          }
      }
  
  }
  
  //***********************************************
  function ScrollDivUp_Admin()
  {
      if ((ScrolledPosition_Admin-10) > 0)
      {
          //tblTop_Admin.style.visibility = 'visible';
          //tblBot_Admin.style.visibility = 'visible';
  
          tblTop_Admin.style.borderBottomWidth = '1';
          tblTop_Admin.style.borderBottomColor = 'white';
          tblTop_Admin.style.borderBottomStyle = 'solid';
          divTop_Admin.style.visibility = 'visible'; //innerHTML = '^';
          divTopEnabled_Admin = true;
  
          tblBot_Admin.style.borderTopWidth = '1';
          tblBot_Admin.style.borderTopColor = 'white';
          tblBot_Admin.style.borderTopStyle = 'solid';
          divBot_Admin.style.visibility = 'visible'; //innerHTML = 'v';
          divBotEnabled_Admin = true;
          //begin new stuff - 004  
          FlipDivContent_Admin('scrolling');  
          //end new stuff - 004
  
          ScrolledPosition_Admin--;
          //window.status = 'ScrollPos_Admin=' + ScrolledPosition_Admin;
  
  
          //divTopCount.innerHTML = ScrolledPosition_Admin - 10;
          //divBotCount.innerHTML = ScrolledPosition_Admin ;
          var j = 0;
          for (i=10; i > 1; i--)
          {
              j = i - 1;
  
  
              //document.getElementById('DDMenu_Admin'+i).innerHTML = document.getElementById('DDMenu_Admin'+j).innerHTML;
              //document.getElementById('a'+i).href = document.getElementById('a'+j).href;
              //document.getElementById('a'+i).innerHTML =  document.getElementById('a'+j).innerHTML;
              document.getElementById('tblCol_Admin'+i).innerHTML =  document.getElementById('tblCol_Admin'+j).innerHTML;
  
              HREFIdxArray_Admin[i] = HREFIdxArray_Admin [j]; 
          }
  
  
  
          //document.getElementById('DDMenu_Admin1').innerHTML = accountList[ScrolledPosition]; //document.getElementById('dh'+i).innerHTML;
          if(gsLastScrollDirection_Admin=='down') // adjust the scrolled position if the scroll has changed directions
              {
                  gsLastScrollDirection_Admin ='up'
                  //ScrolledPosition = ScrolledPosition_Admin - 10;
              }
          //document.getElementById('a1').href = accountList[ScrolledPosition-10][0]; //document.getElementById('dh'+i).innerHTML;
          //document.getElementById('a1').innerHTML = '&nbsp;' + accountList[ScrolledPosition-10][1]; //document.getElementById('dh'+i).innerHTML;
          if(adminList[ScrolledPosition_Admin-10][0] == '///')
          {
            document.getElementById('tblCol_Admin1').innerHTML = divSeparator_AdminTable.innerHTML;
          }
          else
          {
            document.getElementById('tblCol_Admin1').innerHTML = '&nbsp;' + adminList[ScrolledPosition_Admin-10][1]; //document.getElementById('dh'+i).innerHTML;
          }
          HREFIdxArray_Admin[1] = adminList[ScrolledPosition_Admin-10][0];
  
      }
      else
      {
          if (timerRunning1_Admin)
          {
              //tblTop_Admin.style.visibility = 'hidden';
              tblTop_Admin.style.borderBottomWidth = '1';
              tblTop_Admin.style.borderBottomColor = '#84B0F2';
              tblTop_Admin.style.borderBottomStyle = 'solid';
        //does divTop exist ??
              //divTop_Admin.style.visibility  = 'hidden';
              divTopEnabled_Admin = false;
              clearInterval(timerID1_Admin);
              timerRunning1_Admin = false;
              //begin new stuff - 005  
              FlipDivContent_Admin('scrollPos_TOP');  
              //end new stuff - 005
          }
      }
  }
  
  
  //***********************************************
  function ScrollStop_Admin()
  {
      clearInterval(timerID1_Admin);
      timerRunning1_Admin = false;
      //window.status = 'stopped scrolling admin' ;
  }
  
  //**********************************************
  var pbFirstTime_Admin = false;    
  function InitializeAdmimMenus()
  {
    if(!pbFirstTime_Admin)
    {
        pbFirstTime_Admin = !pbFirstTime_Admin;
        PopulateAdminMenu()
        FlipActions_Admin('initialize');
    }
  }
  //**********************************************
  function PopulateAdminMenu()
  {
    if(!AreAdminMenusPopulated)
    {
        AreAdminMenusPopulated = true;
        var localTD;
        for (i=1; i < 11; i++)
        {
            localTD = document.getElementById('tblCol_Admin'+i);
            if(adminList[i-1][0] == '///')
            {
                localTD.innerHTML = document.getElementById('divSeparator_AdminTable').innerHTML;
            }
            else
            {
                localTD.innerHTML = '&nbsp;' + adminList[i-1][1];
            }
            //initial population of the hrefs into the revolving array    
            HREFIdxArray_Admin[i] = adminList[i-1][0];
        }
     }
  }
  
  //**********************************************
  var ClickedLinkAdmin = false;
  function GoToThisAdminItem(inBoundID)
  {
     if(!ClickedLinkAdmin)
     {
        // don't flip CLickedLink unless there is an actual link
        var re2 = /tblcol_Admin/gi;
        var str2 = inBoundID;
        var x = Number(str2.replace(re2,''));
        if(HREFIdxArray_Admin[x] != '///')
        {
            ClickedLinkAdmin = true;
            window.location = HREFIdxArray_Admin[x];
        }
     }
   }
  
  //**********************************************
  function FlipColorOn_Admin(inBoundID)
      {
   if (inBoundID.innerHTML != divSeparator_AdminTable.innerHTML)
   {
        inBoundID.style.backgroundColor = '#000063';  //edit
            inBoundID.style.color = '#D2AE64';     //edit  
   }
        var re2 = /tblcol_Admin/gi;
        var str2 = inBoundID.id;
        var x = Number(str2.replace(re2,''));
        if(HREFIdxArray_Admin[x] != '///')
        {
            window.status = HREFIdxArray_Admin[x];
        }
        else
        {
            window.status = ''
        }
      }
  
  //**********************************************
  function FlipColorOff_Admin(inBoundID)
      {
            inBoundID.style.backgroundColor = '#000063';     //edit
            inBoundID.style.color = '#fff';				 //edit 
            window.status = '';
      }
  
  
  
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  function JavaScriptChangeFontColor(colorRequired){
    //var oStyleSheet=document.styleSheets[0];
    //var oRule=oStyleSheet.rules["clsWebPartDataRows"];
    if (colorRequired == "odd"){
    //oRule.style.color ="#acacac";
      //clsWebPartDataRows.setAttribute(color, "#acacac" );
    }
    else{
    //oRule.style.color ="#FFF";
      //clsWebPartDataRows.setAttribute(color, "#FFF" );
    }
  //return(document.styleSheets(0).title);
  //return(document.title);
  return("Blue");
  }
//days previous script
function makeArray() {
    for (i = 0; i<makeArray.arguments.length; i++)
        this[i + 1] = makeArray.arguments[i];
}

function y2k(number) { return (number < 1000) ? number + 1900 : number; }
function daysback(noofdays) {
	var today = new Date();
	var date = new Date(today.getYear(),today.getMonth(),today.getDate() - noofdays,today.getHours(),today.getMinutes(),today.getSeconds());
	return (date.getMonth() + 1) + '/' + date.getDate() + '/' + y2k(date.getYear());
}
	now = new Date
 var sDirtys = '';
var sDirtyString = '';
  
// 15
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
var MousedOver = "false";
var msFocus = "false";
var sString2;
var sString1;
var gDeletes='';
var gCount=0;
var IDArray;
var msError = '';
var msType = '';
var msDirection = '';
var fromFilled;
var toFilled;
var toSelection;
var fromSelection;
if(sDirtyString=='' && sDirtys!='')
{
 sDirtyString=sDirtys;
}
else
{
 if(sDirtyString!='' && sDirtys!='')
 {
  sDirtyString= ',' + sDirtys;
 }
}
toFilled = false;
fromFilled = false;
toSelection = false;
fromSelection = false;

function ChangeServerGrp()
{
 var oDD = document.all.item("ddGrp2");
 var oTxt = document.all.item("ddGroupText");
 var j;
 var bExists = 'False';
   for(j=0;j<oDD.length;j++)
   {
     if(oDD.item(j).text==oTxt.value)
     {
      bExists='True';
     }
   }
   if(bExists=='False')
   {
    if(oTxt.value!='')
    {
     oDD.options(oDD.selectedIndex).text = oTxt.value;
    }
   }
   else
   {
     oTxt.value = '';
     SetAddMode()
     alert('Cannot Have Duplicate Group Descriptions');
   }
}

function CreateServerGrp()
{
 var oDD = document.all.item("ddGrp2");
 var oTxt = document.all.item("ddGroupText");
var bExists = 'False';
var j;
 if(oTxt.value!='')
 {
  if(gCount>9)
  {
   MoreThanTen();
  }
  else
  {
   for(j=0;j<oDD.length;j++)
   {
    if(oDD.item(j).text==oTxt.value)
    {
     bExists='True';
    }
   }
   if(bExists=='False')
   {
    var oOption = document.createElement("<option key='New' occurrence='' class='Option'></option>");
    var i = document.all.item("ddGrp2").length - 1;
    oDD.insertBefore(oOption);
    setTimeout("document.all.item('ddGrp2').options(document.all.item('ddGrp2').length - 1).text = document.all.item('ddGroupText').value", 10);
    gCount = gCount + 1;
   }
   else
   {
    alert('Cannot Have Duplicate Group Descriptions');
   }
  }
 }
}

function RemoveServerGrp()
{
 var oDD = document.all.item("ddGrp2");
 gDeletes = gDeletes + ' <field key="' + oDD.options(oDD.selectedIndex).key + '" occurrence="' + oDD.options(oDD.selectedIndex).occurrence + '" text="" order="' + oDD.options(oDD.selectedIndex).order + '"/>\n';
 oDD.options(oDD.selectedIndex).removeNode(true);
 document.all.item("ddGroupText").value = '';
 SetAddMode()
}

function MoveUp()
{
var oDD = document.all.item("ddGrp2");
var selIdx = oDD.selectedIndex;
var prevIdx = selIdx - 1;
 if(prevIdx>=0)
 {
  var selTxt = oDD.options(selIdx).text;
  var prevTxt = oDD.options(prevIdx).text;
  var selKey = oDD.options(selIdx).key;
  var prevKey = oDD.options(prevIdx).key;
  var selOccurrence = oDD.options(selIdx).occurrence;
  var prevOccurrence = oDD.options(prevIdx).occurrence;
  oDD.options(selIdx).text = prevTxt;
  oDD.options(prevIdx).text = selTxt;
  oDD.options(selIdx).key = prevKey;
  oDD.options(prevIdx).key = selKey;
  oDD.options(selIdx).occurrence = prevOccurrence;
  oDD.options(prevIdx).occurrence = selOccurrence;
  oDD.options(prevIdx).selected=true;
 }
}

function MoveDown()
{
var oDD = document.all.item("ddGrp2");
var selIdx = oDD.selectedIndex;
var nextIdx = selIdx + 1;
 if(nextIdx<oDD.length)
 {
  var selTxt = oDD.options(selIdx).text;
  var nextTxt = oDD.options(nextIdx).text;
  var selKey = oDD.options(selIdx).key;
  var nextKey = oDD.options(nextIdx).key;
  var selOccurrence = oDD.options(selIdx).occurrence;
  var nextOccurrence = oDD.options(nextIdx).occurrence;
  oDD.options(selIdx).text = nextTxt;
  oDD.options(nextIdx).text = selTxt;
  oDD.options(selIdx).key = nextKey;
  oDD.options(nextIdx).key = selKey;
  oDD.options(selIdx).occurrence = nextOccurrence;
  oDD.options(nextIdx).occurrence = selOccurrence;
  oDD.options(nextIdx).selected=true;
 }
}

function MoreThanTen()
{
 document.all.item("ddGrp2").selectedIndex = -1;
 document.all.item("ddGroupText").value = '';
 alert('Cannot Add More Than 10 Descriptions To The List');
}

function ReportThisText(oSrc)
{
 if(oSrc.selectedIndex>=0)
 {
  document.all.item("ddGroupText").value = oSrc.options(oSrc.selectedIndex).text;
 }
}

function GetOut(oElem)
{
 var oSrc = window.event.toElement;
 if(oSrc.pLeave!='1')
 {
   SetAddMode()
 }
}

function SetAddMode()
{
   document.all.item("ddGrp2").selectedIndex = -1;
   document.all.item("ddGroupText").value = '';
}

function BuildGroupMaint()
{
 var oElm1 = document.all.item("ddGrp1");
 var oElm2 = document.all.item("ddGrp2");
 var i;
 var j;
 var pb1;
 var sDeletes = '';
 var sChanges = '';
 var sString;
 var re1 = /\&/g
 var re2 = /\</g
 var re3 = /\>/g
 var re4 = /\'/g
 var re5 = /\"/g
 var sValue;
  for(j=0;j<oElm2.length;j++)
  {
  sValue = oElm2.options(j).text;
  sValue = sValue.replace(re1,'&amp;');
  sValue = sValue.replace(re2,'&lt;');
  sValue = sValue.replace(re3,'&gt;');
  sValue = sValue.replace(re4,'&apos;');
  sValue = sValue.replace(re5,'&quot;');
    sChanges = sChanges + ' <field key="' + oElm2.options(j).key + '" occurrence="' + oElm2.options(j).occurrence + '" text="' + sValue + '" order="' + parseInt(j+1) + '"/>\n';
  }
sString = '<Post>\n' + sChanges + gDeletes + '</Post>';
document.all.item("XMLFROMSCREEN").value = sString;
}

function document.onkeypress()
{
var eSrc=window.event.srcElement;
var pkey=eSrc.keycheck;
var pKeyNum=window.event.keyCode;
if(pKeyNum==13)
{
 event.returnValue=false;
}
 switch(pkey)
 {
   case 'String':
      if(pKeyNum==34 || pKeyNum==44)
      {
        event.returnValue=false;
      }
      break;
   case 'Integer':
      if(pKeyNum>47 && pKeyNum<58 || pKeyNum==8 || pKeyNum==9)
      {
      }
      else
      {
        event.returnValue=false;
      }
      break;
   case 'RT':
      if(pKeyNum>47 && pKeyNum<58 || pKeyNum==8 || pKeyNum==9 ||pKeyNum==45)
      {
      }
      else
      {
        event.returnValue=false;
      }
      break;
   case 'Amount':
      if(pKeyNum>47 && pKeyNum<58 || pKeyNum==8 || pKeyNum==9 || pKeyNum==44 || pKeyNum==46)
      {
      }
      else
      {
        event.returnValue=false;
      }
      break;
   default:
      break;
 }
}

function SubmitAdminPage(sID,sPageName)
{
  var sAction;
  var psXML;
  var eSrc = document.all.item(sID);
  switch (eSrc.submittype)
  {
    case 'Back':
      BuildBackSetXML();
      break;
    case 'Next':
      BuildNextSetXML();
      break;
    case 'Search':
      BuildSearchXML();
      break;
    case 'Maintenance':
      BuildGroupMaint();
      break;
    case 'Inquiry':
      document.all.item("XMLFROMSCREEN").value = eSrc.number;
      break;
    case 'Delete':
   document.all.item("XMLFROMSCREEN").value = 'Delete Not Done';
      break;
    default:
      break;
  }
  sAction = 'HTTPS://10.117.2.235/EBC_EBC1961/EBC1961.ASP?WCI=Process&WCE=AdminClient&RID=' + sPageName;
  document.AdminForm.action = sAction;
 if(msError=='')
 {
  //alert(document.all.item("XMLFROMSCREEN").value);
  document.body.style.cursor='wait';
  document.AdminForm.submit()
 }
 else
 {
  alert(msError);
  msError='';
 }
}

function BuildNextSetXML()
{
var psXML;
psXML = '<Next>\n'
psXML = psXML + '  <ListDirection value="Next"/>\n'
psXML = psXML + '  <ListPosition value="10"/>\n'
psXML = psXML + '  <ListTotal value="0"/>\n'
psXML = psXML + '</Next>\n'
 document.all.item("XMLFROMSCREEN").value = psXML;
}

function BuildBackSetXML()
{
var psXML;
psXML = '<Back>\n'
psXML = psXML + '  <ListDirection value="Back"/>\n'
psXML = psXML + '  <ListPosition value="10"/>\n'
psXML = psXML + '  <ListTotal value="0"/>\n'
psXML = psXML + '</Back>\n'
 document.all.item("XMLFROMSCREEN").value = psXML;
}

function BuildSearchXML()
{
 var i;
 var oRdo = document.all.item("rdoSearch");
 var sXML;
 var sRDO;
 var sValue = '';
 var sDescription = '';
 sRDO = 'rdo1';
 for(i=0;i<oRdo.length;i++)
 {
  if(oRdo[i].checked==true)
  {
    sRDO=oRdo[i].id;
    switch (sRDO)
    {
      case 'rdo1':
        sValue='All';
        sDescription='All';
        break;
      case 'rdo2':
        sValue=document.all.item("ddSearch").options[document.all.item("ddSearch").selectedIndex].number;
        sDescription=document.all.item("ddSearch").options[document.all.item("ddSearch").selectedIndex].text;
        break;
      case 'rdo3':
        sValue=document.all.item("txtSearch").value;
        sDescription=document.all.item("txtSearch").value;
        break;
      default:
        alert('error');
        break;
    }
  }
 }
 if(sRDO=='rdo1')
 {
   sDescription='All';
 }
 if(sDescription!='')
 {
  sValue = SetSpecialCharacters(sValue);
  sDescription = SetSpecialCharacters(sDescription);
  document.all.item("SearchDescription").value = sDescription;
  sXML = '<Search>\n';
  sXML = sXML + '  <SearchFor radio="' + sRDO + '" value="' + sValue + '" description="' + sDescription + '"/>\n';
  sXML = sXML + '</Search>';
  document.all.item("XMLFROMSCREEN").value = sXML;
 }
 else
 {
  msError='Cannot Have A Blank Search Description';
 }
}

function SetSpecialCharacters(sText)
{
 var sValue = sText;
 var re1 = /\&/g
 var re2 = /\</g
 var re3 = /\>/g
 var re4 = /\'/g
 var re5 = /\"/g
 sValue = sValue.replace(re1,'&amp;');
 sValue = sValue.replace(re2,'&lt;');
 sValue = sValue.replace(re3,'&gt;');
 sValue = sValue.replace(re4,'&apos;');
 sValue = sValue.replace(re5,'&quot;');
 return sValue;
}
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<!--
Stamp = new Date();
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}

if (Hours > 12) {
Hours -= 12;
}

if (Hours == 0) {
Hours = 12;
}

Mins = Stamp.getMinutes();

if (Mins < 10) {
Mins = "0" + Mins;
}
  
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
var eOpenMenu = null;
var eFlg1 = "3"; 
    function OpenMenu(eSrc, eMenu)
    {
      var collCBHide = document.getElementsByTagName("SELECT");
      if (collCBHide  != null) {
          for (i=0; i<collCBHide.length; i++) {
              collCBHide.item(i).style.visibility = "hidden";
          }
      }
        // this is for the Options menu 
        if ("clsMenuBarItemO1_x" == eSrc.className) {
          var optionsAlignValue = document.getElementById("tdMenuBarItemO1_MENU1").align;
          //alert('optionsAlignValue  = ' + optionsAlignValue );
          switch (optionsAlignValue){
              case "left":
                eMenu.style.left = eSrc.offsetLeft + divMenuBarO1.offsetParent.offsetLeft;
                  //eMenu.style.left = eSrc.offsetLeft + divMenuBarO1.offsetParent.offsetLeft;
                  break;
              case "center":
                  //alert('yo center dude') ;
                  //eMenu.style.left = 500 ;
                  //eMenu.style.left = eSrc.offsetWidth ;
                  eMenu.style.left = divMenuBarO1.offsetParent.offsetLeft + eSrc.offsetWidth *.25 ;
                  //eMenu.style.left =  divMenuBarO1.offsetParent.offsetLeft - eSrc.offsetWidth * .80;
                  //eMenu.style.left =   divMenuBarO1.offsetParent.offsetLeft ;
                  break;
              case "right":
                  eMenu.style.left =  100 ;
                  break;
              default:
                  break;
            }
          eMenu.style.top = divMenuBarO1.offsetHeight + divMenuBarO1.offsetTop + document.getElementById("WrapperTD2").offsetTop; //207;
          eMenu.style.width = "200px";
          eMenu.style.visibility = "visible";
          eOpenMenu = eMenu;
          eFlg1 = "0";
        }
//**********************************************************                    
//**********************************************************                    
//**********************************************************                    

                 var piOptionsMenuWidth = 180;
        //MFA Enablement menu
        if ("clsMenuBarItem5N1" == eSrc.className) {

                     piA = Number(eSrc.offsetLeft) + Number(divMenuBar5N1.offsetParent.offsetLeft);
                     piB = Number(piOptionsMenuWidth);
                     piC = Number(document.body.offsetWidth);
                     var piD = 0;
                     var piD2 = 0;
                     if((piA+piB)>piC)
                     {
                       piD = Number(piA+piB);
                       piD2 = Number(piA+piB);
                       piD = Number(piD-piC);
                     }
                     else
                     {
                       piD=0;
                     }
                     var ps1 = 'parent left piA='+piA+' \n ';
                     ps1 += 'esrc width piB='+piB+' \n ';
                     ps1 += 'parentLeft piA + esrc width piB='+piD2+' \n ';
                     ps1 += 'ScreenWdith piC='+piC+' \n ';
                     ps1 += 'adjustment left piD='+piD+' \n ';
                     //alert(ps1);
                   var psLeft = eSrc.offsetLeft + divMenuBar5N1.offsetParent.offsetLeft - piD - 7;
                   if(Number(psLeft) < 0){psLeft = 0};
                   eMenu.style.left = psLeft;
          eMenu.style.top = divMenuBar5N1.offsetHeight + divMenuBar5N1.offsetTop + divMenuBar5N1.offsetParent.offsetParent.offsetParent.offsetTop; //207;
                    switch(eSrc.id)
                    {
                        case 'tdMenuBarItem5N1_MENU1': // Summary 

                            eMenu.style.width = piOptionsMenuWidth + 'px';
                            break;
                        default:
                            eMenu.style.width = "300px" ;
                            break;
                    }
          eMenu.style.visibility = "visible";
          eOpenMenu = eMenu;
          eFlg1 = "3";
        }
//**********************************************************                    
//**********************************************************                    
//**********************************************************                    
        // this is for the Nav1 menu 
        if ("clsMenuBarItemN1" == eSrc.className) {
          eMenu.style.left = eSrc.offsetLeft + divMenuBarN1.offsetParent.offsetLeft;
          eMenu.style.top = divMenuBarN1.offsetHeight + divMenuBarN1.offsetTop + divMenuBarN1.offsetParent.offsetTop; //207;
                    switch(eSrc.id)
                    {
                        case 'tdMenuBarItemN1_MENU1': // Summary 
                            eMenu.style.width = "125px" ;
                            break;
                        case 'tdMenuBarItemN1_MENU2': //Accounts
                            eMenu.style.width = "300px" ;
                            break;
                        case 'tdMenuBarItemN1_MENU3': //Funds Management
                            eMenu.style.width = "200px" ;
                            break;
                        case 'tdMenuBarItemN1_MENU4': //File Management
                            eMenu.style.width = "125px" ;
                            break;
                        case 'tdMenuBarItemN1_MENU6': //Administration
                            eMenu.style.width = "300px" ;
                            break;
                        case 'tdMenuBarItemN1_MENU7': //Review
                            eMenu.style.width = "175px" ;
                            break;
                        case 'tdMenuBarItemN1_MENU9': //Print
                            eMenu.style.width = "150px" ;
                            break;
                        case 'tdMenuBarItemN1_MENU5': //Fraud Management
                            eMenu.style.width = "250px" ;
                            break;
                        default:
                            eMenu.style.width = "300px" ;
                            break;
                    }
          eMenu.style.visibility = "visible";
          eOpenMenu = eMenu;
          eFlg1 = "1";
        }
//**********************************************************                    
//**********************************************************                    
//**********************************************************                    
        // this is for the DataNav1 menu 
        if ("clsMenuBarItemDN1" == eSrc.className) {
          eMenu.style.left =  eSrc.offsetLeft + divMenuBarN1.offsetParent.offsetLeft;
          eMenu.style.top = divMenuBarDN1.offsetHeight + divMenuBarDN1.offsetTop + divMenuBarDN1.offsetParent.offsetTop; //220;
          eMenu.style.visibility = "visible";
          eOpenMenu = eMenu;
          eFlg1 = "2";
        }
//**********************************************************                    
//**********************************************************                    
//**********************************************************                    
    }
    function CloseMenu(eMenu)
    {
    var collCBHide = document.getElementsByTagName("SELECT");
            if (collCBHide  != null) {
                for (i=0; i<collCBHide.length; i++) {
                 if(collCBHide.item(i).menushow!='false')
                 {
                  collCBHide.item(i).style.visibility = "visible";
                 }
                }
            }
        eMenu.style.visibility = "hidden";
        eOpenMenu = null;
    }
    function document.onmouseover() {
      var eSrc = window.event.srcElement;
      //when a mouse over event occurs
      //this code will trap on the event sources id
     if(eSrc!=null)
     {
      switch (eSrc.id)
      {
          case "SortBar2":
          //eSrc.style.fontWeight = 'bold';
          //eSrc.style.color = 'red';
          //alert('eSrc.id = ' + eSrc.id);
          break;
          default:
      }
      switch (eSrc.className){
//***********************************************************
//***********************************************************
//***********************************************************                        
          // this is for the Options menu 
		  
          case "clsMenuBarItemO1_x":
                  eSrc.style.color = "#666666";   //edit  
                  var eMenu = document.getElementById(eSrc.id.replace("tdMenuBarItemO1","divMenuO1"));
                  if (eOpenMenu && eOpenMenu != eMenu) {
                      CloseMenu(eOpenMenu);
                  }
                  if (eMenu) {
                      OpenMenu(eSrc,eMenu);
                  }
              break;
//***********************************************************
//***********************************************************
//***********************************************************                        
          // MFA Enablement menu
		  
          case "clsMenuBarItem5N1":
                  eSrc.style.color = "#666";   //edit  
                  var eMenu = document.getElementById(eSrc.id.replace("tdMenuBarItem5N1","divMenu5N1"));
                  if (eOpenMenu && eOpenMenu != eMenu) {
                      CloseMenu(eOpenMenu);
                  }
                  if (eMenu) {
                      OpenMenu(eSrc,eMenu);
                  }
              break;
//***********************************************************
//***********************************************************
//***********************************************************                        
          // this is for the Nav1 menu    
		  
          case "clsMenuBarItemN1":
                  eSrc.style.color = "#D2AE64";  //edit  
                  var eMenu = document.getElementById(eSrc.id.replace("tdMenuBarItemN1","divMenuN1"));
                  if (eOpenMenu && eOpenMenu != eMenu) {
                      CloseMenu(eOpenMenu);
                  }
                  if (eMenu) {
                      OpenMenu(eSrc,eMenu);
                  }
              break;
//***********************************************************
//***********************************************************
//***********************************************************                        
          // this is for the DataNav1 menu 
		  
          case "clsMenuBarItemDN1":
                  eSrc.style.color = "#FFF";   //edit  
                  var eMenu = document.getElementById(eSrc.id.replace("tdMenuBarItemDN1","divMenuDN1"));
                  if (eOpenMenu && eOpenMenu != eMenu) {
                      CloseMenu(eOpenMenu);
                  }
                  if (eMenu) {
                      OpenMenu(eSrc,eMenu);
                  }
              break;
//***********************************************************
//***********************************************************
//***********************************************************                  
          case "clsHelpMenu":
                  eSrc.style.color = "#FFF";		//edit  
              break;
//***********************************************************
//***********************************************************
//***********************************************************                        
          default:
              // this is for the Options menu 
              if (eFlg1 == "0") {
                  if (eOpenMenu && !eOpenMenu.contains(eSrc) && !divMenuBarO1.contains(eSrc)) {
                      CloseMenu(eOpenMenu);
                  }
              }
              //MFA Enablement menu
              if (eFlg1 == "3") {
                  if (eOpenMenu && !eOpenMenu.contains(eSrc) && !divMenuBar5N1.contains(eSrc)) {
                      CloseMenu(eOpenMenu);
                  }
              }
              // this is for the Nav1 menu 
              if (eFlg1 == "1") {
                  if (eOpenMenu && !eOpenMenu.contains(eSrc) && !divMenuBarN1.contains(eSrc)) {
                      CloseMenu(eOpenMenu);
                  }
              }
              // this is for the DataNav1 menu 
              if (eFlg1 == "2") {
                  if (eOpenMenu && !eOpenMenu.contains(eSrc) && !divMenuBarDN1.contains(eSrc)) {
                      CloseMenu(eOpenMenu);
                  }
              }
              break;
      }
     }
    }
    function document.onmouseout() {
        var eSrc = window.event.srcElement;
        // the following is for Options Menu "
     if(eSrc!=null)
     {
        // the following is for Options MFA Menu
        if ("clsMenuBarItem5N1" == eSrc.className) {
            eSrc.style.color = "";
        }
        if ("clsMenuBarItemO1_x" == eSrc.className) {
            eSrc.style.color = "";
        }
        // the following is for Nav1            
        if ("clsMenuBarItemN1" == eSrc.className) {
            eSrc.style.color = "";
        }
          if ("clsHelpMenu" == eSrc.className) {
                  eSrc.style.color = "";
          }
        // the following is for DataNav1            
        if ("clsMenuBarItemDN1" == eSrc.className) {
            eSrc.style.color = "";
        }
     }
    }