if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;


/*
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
*/
document.write('<meta name="keywords" content="Carrollton Bank Online, Bank, carrolltonbankonline2, 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="/images/";
sitedir="/site/";
securedir="/site/";
homedir="";
}
else if(window.absolutepage)
{
imgdir="http://www.carrolltonbankonline2.com/new_site/images/"
sitedir="http://www.carrolltonbankonline2.com/new_site/site/"
securedir="http://www.carrolltonbankonline2.com/new_site/site/"
homedir="http://www.carrolltonbankonline2.com/new_site/"
}
else if(window.securepage)
{
imgdir="https://www.carrolltonbankonline2.com/new_site/images/"
sitedir="http://www.carrolltonbankonline2.com/new_site/site/"
securedir="https://www.carrolltonbankonline2.com/new_site/site/"
homedir="http://www.carrolltonbankonline2.com/new_site/"
}
else
{
imgdir="../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";
}
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>');

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="../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.carrolltonbankonline2.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 makeHeader()
{

var header=""
header+='<br>';
header+='<table width="750" border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center">';
header+='    <tr>';
header+='        <td align="center" valign="top" bgcolor="#000063"><img src="../images/hed-' + headergraphic + '.gif" width="351" height="60" alt="" border="0"></td>';
header+='    </tr>';
header+='    <tr>';
header+='        <td valign="top">';
header+='           <table border="0" cellspacing="0" cellpadding="0" width="90%" align="center">';
header+='                <tr>';
header+='                    <td width="100%" valign="top" class="ficontent"><br><br>';


return (header);
}

function makeHeader2()
{

var header2=""
header2+='<br>';
header2+='<table width="750" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center" style="border: 2px solid black">';
header2+='    <tr>';
header2+='        <td valign="top">';
header2+='           <table border="0" cellspacing="0" cellpadding="0" width="90%" align="center">';
header2+='                <tr>';
header2+='                    <td width="100%" valign="top" class="ficontent"><br><br>';


return (header2);
}

function makeHeader3()
{

var header=""
header+='<br>';
header+='<table width="750" border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center">';
header+='    <tr>';
header+='        <td align="center" valign="top" bgcolor="#000063">&nbsp;</td>';
header+='    </tr>';
header+='    <tr>';
header+='        <td valign="top">';
header+='           <table border="0" cellspacing="0" cellpadding="0" width="90%" align="center">';
header+='                <tr>';
header+='                    <td width="100%" valign="top" class="ficontent"><br><br>';


return (header);
}


function makeFooter()
{

var footer=""
footer+='<br>';
footer+='<center>';
footer+='<table width=400 border=0 align="center">';
footer+='<tr>';
footer+='	<td align="left"><!--<a href="http://www.fdic.gov">--><img SRC="../images/fdic.gif" border=0 alt="Visit FDIC!"></td>';
footer+='	<td align="center">';
footer+='		&nbsp;';
//footer+='		<!-- BEGINNING OF NFRONT COPYRIGHT -->';
//footer+='	<CENTER>';
/*footer+='	<!--[if lt IE 7]><script type="text/javascript" src="https://www.carrolltonbankonline2.com/mstinc/web/js/png.js"></script><![endif]--><img src="https://www.carrolltonbankonline2.com/mstinc/web/images/di_140x34_3c.png" width="140" height="34" border="0" alt="Digital Insight, an Intuit company" />'; */
//footer+='	</CENTER>';
//footer+='	';
//footer+='<!-- END OF NFRONT COPYRIGHT -->';
footer+='     </td>';
footer+='     ';
footer+='	<td align="right">';
footer+='		<img SRC="../images/equalhl.gif">';
footer+='	</td>';
footer+='</tr>';
footer+='</table>';
footer+='</center>';
footer+='                    </td>';
footer+='                </tr>';
footer+='            </table>';
footer+='        </td>';
footer+='    </tr>';
footer+='</table>';
footer+='                    </td>';
footer+='                </tr>';
footer+='            </table>';
footer+='        </td>';
footer+='    </tr>';
footer+='</table>';


return (footer);
}

function showMessage() {
	var content = new Array();
	var index = 0;
	
    content[index++] = '<p>At Carrollton Bank, we believe that we must continually earn your business and we want to offer the best products and services that meet your banking needs.  We want to be the best bank in the Baltimore region and your opinions, good or bad, are greatly appreciated.  We value any suggestions or comments.</p>';
    content[index++] = '<p align="center">Robert A. Altieri – President/CEO<br />(410) 536-7392<br /><a href="mailto:baltieri@carrolltonbank.com">baltieri@carrolltonbank.com</a></p>';
	content[index++] = '<div style="margin-top:1em;text-align:center"><br /><a href="#" onclick="$(\'#ex_dis\').hide();return false;">Close</a></div></div>';	
	
    $("#ex_dis").html(content.join("")).show();
	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 #000000; padding: 15px; display: none; z-index: 3000; width:350px;\"></div>');