/*
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
*/
document.write('<meta name="keywords" content="Bank of Belle Glade, Bank, bankofbelleglade, A financial institution of excellence, featuring secure Internet-based services including Home Banking, Bill Payment, Bill Presentment, Quicken and Money interfaces, Stock Quotes, on-line applications, financial calculators, useful links and a wealth of financial information">');


document.write('<meta name="description" content="ATM, ATM Locations, Account Access, Account Transfer, Automobile Loans, AutoVantage, Bank, Bank Account, Banking, Bill Payment, Bill Presentment, Brokerage, Cash, CDs, Certificates of Deposit, Checks, Checking Accounts, Consumer Loans, Convenience Services, Credit, Credit Card, Credit Card Applications, Credit Union, Digital Insight, Finance, Financial Calculator, Financial Institution, Financial Wizard, Loans, Home Loans, IRA, Money, Term Investment, Online Banking, Order Checks, Personal Financial Management, Rates, Mortgage Rates, Loan Rates, Terms, Retirement, Savings Accounts, Savings, Savings and Loan, Stock Quotes, Stocks, Student Loans, Student, Term Share Certificates, Thrifts, Visa Credit Cards">');
/*
META TAGS CONTENT AND DESCRIPTION ABOVE
META TAGS CONTENT AND DESCRIPTION ABOVE
META TAGS CONTENT AND DESCRIPTION ABOVE
*/


/*
CALL TO CORRECT DIRECTORY
CALL TO CORRECT DIRECTORY
CALL TO CORRECT DIRECTORY
CALL TO CORRECT DIRECTORY
*/


//if you are on homepage you need <script> var homepage = "yes";</script> to make codework properly

var imgdir;
var sitedir;
var securedir;
var homedir;

if(window.homepage)
{
imgdir="http://www.bankofbelleglade.com/images/";
sitedir="../site/";
securedir="../";
homedir="../";
}
else if(window.absolutepage)
{
imgdir="http://www.bankofbelleglade.com/images/"
sitedir="http://www.bankofbelleglade.com/site/"
securedir="http://www.bankofbelleglade.com/site/"
homedir="http://www.bankofbelleglade.com/"
}
else if(window.securepage)
{
imgdir="https://www.bankofbelleglade.com/images/"
sitedir="http://www.bankofbelleglade.com/site/"
securedir="https://www.bankofbelleglade.com/site/"
homedir="http://www.bankofbelleglade.com/"
}
else
{
imgdir="http://www.bankofbelleglade.com/images/";
sitedir="";
securedir="";
homedir="../";
}


// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW
// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW
// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW


browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (((browserName == "Netscape") && (browserVer >= 3)) || ((browserName =="Microsoft Internet Explorer") && (browserVer >= 4)))
{
version = "ok";
home_on = new Image(35,27);
home_on.src = imgdir + "nav-home-on.gif";

home_off = new Image(35,27);
home_off.src = imgdir + "nav-home-off.gif";

personal_on = new Image(52,27);
personal_on.src = imgdir + "nav-personal-on.gif";

personal_off = new Image(52,27);
personal_off.src = imgdir + "nav-personal-off.gif";

business_on = new Image(54,27);
business_on.src = imgdir + "nav-business-on.gif";

business_off = new Image(54,27);
business_off.src = imgdir + "nav-business-off.gif";

loan_on = new Image(52,27);
loan_on.src = imgdir + "nav-loan-on.gif";

loan_off = new Image(52,27);
loan_off.src = imgdir + "nav-loan-off.gif";

kids_on = new Image(41,27);
kids_on.src = imgdir + "nav-kids-on.gif";

kids_off = new Image(41,27);
kids_off.src = imgdir + "nav-kids-off.gif";

community_on = new Image(67,27);
community_on.src = imgdir + "nav-community-on.gif";

community_off = new Image(67,27);
community_off.src = imgdir + "nav-community-off.gif";

rates_on = new Image(35,27);
rates_on.src = imgdir + "nav-rates-on.gif";

rates_off = new Image(35,27);
rates_off.src = imgdir + "nav-rates-off.gif";

calculators_on = new Image(68,27);
calculators_on.src = imgdir + "nav-calculators-on.gif";

calculators_off = new Image(68,27);
calculators_off.src = imgdir + "nav-calculators-off.gif";

onlinebanking_off = new Image(127,21);
onlinebanking_off.src = imgdir + "login-onlinebanking-off.gif";

onlinebanking_on = new Image(127,21);
onlinebanking_on.src = imgdir + "login-onlinebanking-on.gif";

demo_off = new Image(55,19);
demo_off.src = imgdir + "login-demo-off.gif";

demo_on = new Image(55,19);
demo_on.src = imgdir + "login-demo-on.gif";

moreinfo_off = new Image(72,19);
moreinfo_off.src = imgdir + "login-moreinfo-off.gif";

moreinfo_on = new Image(72,19);
moreinfo_on.src = imgdir + "login-moreinfo-on.gif";


}
else
version = "x";

function img_act(imgName)
{
if (version == "ok")
{
imgOn = eval(imgName + "_on.src");
document [imgName].src = imgOn;
}
}

function img_inact(imgName)
{
window.status = "";
 if (version == "ok")
{
imgOff = eval(imgName + "_off.src");
document [imgName].src = imgOff;
}
}

// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE
// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE
// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE

//style sheet sniffer
/*document.write('<scr'+ 'ipt src="' + securedir + '_styles.js"></scr' + 'ipt>');*/
document.write('<scr'+ 'ipt src="https://www.bankofbelleglade.com/site/_styles.js"></scr' + 'ipt>');
function showCalc(calc)
{
var pWidth = ( ((parseInt(screen.width) / 2)) - 275)
var pHeight = (((parseInt(screen.height) / 2)) -240)
window.open(calc,"hello","width=550,height=480,left=" + pWidth + ",top=" + pHeight + ",resizable=1,scrollbars=1");

}
function tabover(howmuch)
{
var farover = '';
farover += '<img src="http://www.bankofbelleglade.com/images/clearpix.gif" width="' + howmuch + '" height="1" alt="" border="0">';
document.write(farover);
}

function open_apps(nameofapp)
{
var pWidth = ( ((parseInt(screen.width) / 2)) - 350)
var pHeight = (((parseInt(screen.height) / 2)) - 300)
aWindow = window.open('https://www.bankofbelleglade.com/Forms/OnlineForm.cgi?form=' + nameofapp,'application',"toolbar=0,location=0,directories=0,status=0,menubar=0,width=700,height=600,top=" + pHeight + ",left=" + pWidth + ",scrollbars=1,resizable=1,status=1");
}

function openWin(page)
{
var pWidth = ( ((parseInt(screen.width) / 2)) - 380)
var pHeight = (((parseInt(screen.height) / 2)) - 250)
bWindow = window.open(page,'newWin',"toolbar=0,location=0,directories=0,status=0,menubar=0,width=760,height=500,top=" + pHeight + ",left=" + pWidth + ",scrollbars=1,resizable=1,status=1,toolbars=1");
}

function footer() {
var footer = '';

footer += '<table bgcolor="#FFF2CB" width="100%" border="0" cellspacing="0" cellpadding="0">';
footer += '<tr>';
footer += '<td width="100%" background="https://www.bankofbelleglade.com/images/footer-top.gif"><img src="https://www.bankofbelleglade.com/images/footer-top.gif" width="1" height="9" alt="" border="0"></td>';
footer += '</tr>';
footer += '<tr>';
footer += '<td align="center"><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="1" height="30" alt="" border="0"><br>';
footer += '<table border="0" cellspacing="0" cellpadding="0">';
footer += '<tr>';
footer += '<td><img src="https://www.bankofbelleglade.com/images/equalhl-yellow.gif" width="44" height="39" alt="Equal Housing Lender" border="0"></td><td><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="15" height="1" alt="" border="0"><img src="https://www.bankofbelleglade.com/images/memberfdic-yellow.gif" width="61" height="39" alt="Member FDIC" border="0"><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="20" height="1" alt="" border="0"></td><td><a href="javascript:showWarning(\'http://www.digitalinsight.com\');"><!--[if lt IE 7]><script type="text/javascript" src="https://www.bankofbelleglade.com/mstinc/web/js/png.js"></script><![endif]--><img src="https://www.bankofbelleglade.com/mstinc/web/images/di_140x34_1c_k.png" width="140" height="34" border="0" alt="Digital Insight, an Intuit company" /></a></td>';
footer += '<tr><td><br></td></tr><tr><td align="center" colspan="3"><a href="https://www.bankofbelleglade.com/site/privacy_policy.pdf" class="homelink1">Privacy Policy</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.bankofbelleglade.com/site/disclosure_eft.html" class="homelink1">EFT Disclosure</a></td></tr>';
footer += '</tr>';
footer += '</table><br><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="1" height="30" alt="" border="0"><br>';
footer += '</td>';
footer += '</tr>';
footer += '</table>';

document.write(footer);
}

function footerSplash() {
var footer = '';

footer += '<table bgcolor="#FFF2CB" width="100%" border="0" cellspacing="0" cellpadding="0">';
footer += '<tr>';
footer += '<td width="100%" background="https://www.bankofbelleglade.com/images/footer-top.gif"><img src="https://www.bankofbelleglade.com/images/footer-top.gif" width="1" height="9" alt="" border="0"></td>';
footer += '</tr>';
footer += '<tr>';
footer += '<td align="center"><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="1" height="30" alt="" border="0"><br>';
footer += '<table border="0" cellspacing="0" cellpadding="0">';
footer += '<tr>';
footer+='	<tr>';
footer+='		<td colspan="3" style="text-align: center">';
footer+='			<div id="hpaBanner" style="display:none"><!-- HPA Banner --></div><scr' + 'ipt src="/mstinc/hpa/js/hpa.js" type="text/javascript">/* HPA */</scr' + 'ipt><script type="text/javascript">if(typeof hpa!="undefined")hpa.show("bankofbelleglade.com");</script>';
footer+='		</td>';
footer+='	</tr>';
footer += '<td><img src="https://www.bankofbelleglade.com/images/equalhl-yellow.gif" width="44" height="39" alt="Equal Housing Lender" border="0"></td><td><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="15" height="1" alt="" border="0"><img src="https://www.bankofbelleglade.com/images/memberfdic-yellow.gif" width="61" height="39" alt="Member FDIC" border="0"><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="20" height="1" alt="" border="0"></td><td><a href="javascript:showWarning(\'https://www.digitalinsight.com\');"><!--[if lt IE 7]><script type="text/javascript" src="https://www.bankofbelleglade.com/mstinc/web/js/png.js"></script><![endif]--><img src="https://www.bankofbelleglade.com/mstinc/web/images/di_140x34_1c_k.png" width="140" height="34" border="0" alt="Digital Insight, an Intuit company" /></a></td>';
footer += '<tr><td><br></td></tr><tr><td align="center" colspan="3"><a href="https://www.bankofbelleglade.com/site/privacy_policy.pdf" class="homelink1">Privacy Policy</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.bankofbelleglade.com/site/disclosure_eft_home.html" class="homelink1">EFT Disclosure</a></td></tr>';
footer += '</tr>';
footer += '</table><br><img src="https://www.bankofbelleglade.com/images/clearpix.gif" width="1" height="30" alt="" border="0"><br>';
footer += '</td>';
footer += '</tr>';
footer += '</table>';

document.write(footer);
}

function showWarning(url, formName){
	var continueAction = formName ?
							"document.forms['"+formName+"'].submit(); return false;" : 
							"window.open('"+url+"');";
	rs = false;
	var content = new Array();
	var index = 0;
	content[index++] = '<p>By accessing these links you will be leaving Bank of Belle Glade\'s website and entering a website hosted by another party. Although Bank of Belle Glade has approved this as a reliable partner site, please be advised that you will no longer be subject to, or under the protection of, the privacy and security policies of Bank of Belle Glade. We encourage you to read and evaluate the privacy and security policies on the site you are entering, which may be different than those of your financial institution\'s.</p>';
	content[index++] = '<div align="center"><a href="javascript:void(\'0\');" onclick="document.getElementById(\'ex_dis\').style.visibility = \'hidden\';'+continueAction+';">Continue</a>&nbsp;&nbsp;<a href="javascript:void(\'0\');" onclick="document.getElementById(\'ex_dis\').style.visibility = \'hidden\'">Decline</a></div></div>';
	document.getElementById("ex_dis").innerHTML = content.join("");
	document.getElementById("ex_dis").style.visibility = "visible";
	scrollTo(0, 0);
}
document.write('<div id="ex_dis" style="background-color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal; color: #000000; text-align: left; position:absolute; top:125px; left:300px; border: thin solid #035B3A; padding: 15px; visibility: hidden;z-index: 300; width:400px; FILTER: progid:DXImageTransform.Microsoft.dropShadow(Color=#4C9E7A,offX=4,offY=4,positive=true); "></div>');
