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="East Wisconsin Savings Bank, Bank, eastwis, 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.eastwis.com/images/"
sitedir="http://www.eastwis.com/site/"
securedir="http://www.eastwis.com/site/"
homedir="http://www.eastwis.com/"
}
else if(window.securepage)
{
imgdir="https://www.eastwis.com/images/"
sitedir="http://www.eastwis.com/site/"
securedir="https://www.eastwis.com/site/"
homedir="http://www.eastwis.com/"
}
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";
aboutus_on = new Image(113,36);
aboutus_on.src = imgdir + "nav-aboutus-on.gif";

aboutus_off = new Image(113,36);
aboutus_off.src = imgdir + "nav-aboutus-off.gif";

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

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

convenience_on = new Image(183,36);
convenience_on.src = imgdir + "nav-convenience-on.gif";

convenience_off = new Image(183,36);
convenience_off.src = imgdir + "nav-convenience-off.gif";

deposit_on = new Image(155,36);
deposit_on.src = imgdir + "nav-deposit-on.gif";

deposit_off = new Image(155,36);
deposit_off.src = imgdir + "nav-deposit-off.gif";

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

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

login_on = new Image(83,22);
login_on.src = imgdir + "nav-login-on.gif";

login_off = new Image(83,22);
login_off.src = imgdir + "nav-login-off.gif";

demo_on = new Image(74,22);
demo_on.src = imgdir + "nav-demo-on.gif";

demo_off = new Image(74,22);
demo_off.src = imgdir + "nav-demo-off.gif";

home_on = new Image (76,24);
home_on.src = imgdir + "nav-home-on.gif";

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

privacy_on = new Image(137,18);
privacy_on.src = imgdir + "nav-privacy-on.gif";

privacy_off = new Image(137,18);
privacy_off.src = imgdir + "nav-privacy-off.gif";

security_on = new Image(137,18);
security_on.src = imgdir + "nav-security-on.gif";

security_off = new Image(137,18);
security_off.src = imgdir + "nav-security-off.gif";

apply_on = new Image(95,26);
apply_on.src = imgdir + "nav-apply-on.gif";

apply_off = new Image(95,26);
apply_off.src = imgdir + "nav-apply-off.gif";

reset_on = new Image(95,26);
reset_on.src = imgdir + "nav-reset-on.gif";

reset_off = new Image(95,26);
reset_off.src = imgdir + "nav-reset-off.gif";

submit_on = new Image(95,26);
submit_on.src = imgdir + "nav-submit-on.gif";

submit_off = new Image(95,26);
submit_off.src = imgdir + "nav-submit-off.gif";

backtotop_on = new Image(95,26);
backtotop_on.src = imgdir + "nav-backtotop-on.gif";

backtotop_off = new Image(95,26);
backtotop_off.src = imgdir + "nav-backtotop-off.gif";

moreinfo_on = new Image(95,26);
moreinfo_on.src = imgdir + "nav-moreinfo-on.gif";

moreinfo_off = new Image(95,26);
moreinfo_off.src = imgdir + "nav-moreinfo-off.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>');

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.eastwis.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 show_warning(URL)
{
	//content creation
	var outsideURL=URL;	
	var content=""
	content+='<html>';
	content+='<head>';
	content+='<title>Third Party Site Disclaimer</title><style type="text/css">.subheader{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10pt;font-weight:bold;color:#007C6F}.ficontent{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10pt;color:#00234C;}a:link,a:visited{text-decoration:underline;color:#333399;}a:hover,a:alink{text-decoration:none;color:#007C6F;}</style>';	
	content+='</head>';
	content+='<body bgcolor="#007C6F" text="#000000" link="#0000cc" alink="#cc0000" vlink="#990099">';
	content+='<table bgcolor="#00234C" align="center" width="96%" cellspacing="2" cellpadding="0" border="0">';
	content+='	<tr>';
	content+='	    <td>';
	content+='		<table bgcolor="#FFFFFF" align="center" width="100%" cellspacing="1" cellpadding="6" border="0">';
	content+='			<tr>';
	content+='	    		<td><span class="subheader">Third Party Site Disclaimer</span><br><br><span class="ficontent">By accessing the noted link you will be leaving your financial institution\'s website and entering a website hosted by another party. Although your financial institution 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 your financial institution\'s website. 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.</span>';                            
	content+='				<br><br>';
	content+='				 <div align="center"><span class="ficontent"><a href="javascript:window.opener.location.href=\'' +outsideURL+ '\';self.close();">Continue</a>&nbsp;&nbsp;&nbsp;<a href="javascript:self.close()">Cancel</a></span></div>';
	content+='				</td>';
	content+='			</tr>';
	content+='		</table>';
	content+='		</td>';
	content+='	</tr>';
	content+='</table>';
	content+='</body>';
	content+='</html>';

	//actual centering popup code
	var pWidth = ((parseInt(screen.width) - 450) / 2); 
	var pHeight = ((parseInt(screen.height) - 360) / 2);
    popup = window.open("","popup", "width=450,height=360,left="+pWidth+",top="+pHeight+", scrollbars=0");
 	popup.document.open();
	popup.document.write(content);
	popup.document.close();
}

