/*
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
META TAGS CONTENT AND DESCRIPTION BELOW
*/
document.write('<meta name="keywords" content="State Department Federal Credit Union, Federal, Credit , Union, sdfcu, 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;

if(window.homepage)
{
imgdir="http://www.sdfcu.org/images/";
}
else
{
imgdir="http://www.sdfcu.org/images/";
}

// 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(40,22);
home_on.src = imgdir + "nav-home-on.gif";

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

aboutus_on = new Image(60,22);
aboutus_on.src = imgdir + "nav-aboutus-on.gif";

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

branches_on = new Image(101,22);
branches_on.src = imgdir + "nav-branches-on.gif";

branches_off = new Image(101,22);
branches_off.src = imgdir + "nav-branches-off.gif";

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

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

applications_on = new Image(76,22);
applications_on.src = imgdir + "nav-applications-on.gif";

applications_off = new Image(76,22);
applications_off.src = imgdir + "nav-applications-off.gif";

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

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

membership_on = new Image(76,22);
membership_on.src = imgdir + "nav-membership-on.gif";

membership_off = new Image(76,22);
membership_off.src = imgdir + "nav-membership-off.gif";

contactus_on = new Image(67,22);
contactus_on.src = imgdir + "nav-contactus-on.gif";

contactus_off = new Image(67,22);
contactus_off.src = imgdir + "nav-contactus-off.gif";

accountaccess_on = new Image(165,25);
accountaccess_on.src = imgdir + "nav-accountaccess-on.gif";

accountaccess_off = new Image(165,25);
accountaccess_off.src = imgdir + "nav-accountaccess-off.gif";

checking_on = new Image(126,25);
checking_on.src = imgdir + "nav-checking-on.gif";

checking_off = new Image(126,25);
checking_off.src = imgdir + "nav-checking-off.gif";

loans_on = new Image(48,25);
loans_on.src = imgdir + "nav-loans-on.gif";

loans_off = new Image(48,25);
loans_off.src = imgdir + "nav-loans-off.gif";

homeloans_on = new Image(87,25);
homeloans_on.src = imgdir + "nav-homeloans-on.gif";

homeloans_off = new Image(87,25);
homeloans_off.src = imgdir + "nav-homeloans-off.gif";

creditcards_on = new Image(86,25);
creditcards_on.src = imgdir + "nav-creditcards-on.gif";

creditcards_off = new Image(86,25);
creditcards_off.src = imgdir + "nav-creditcards-off.gif";

services_on = new Image(60,25);
services_on.src = imgdir + "nav-services-on.gif";

services_off = new Image(60,25);
services_off.src = imgdir + "nav-services-off.gif";

news_on = new Image(47,25);
news_on.src = imgdir + "nav-news-on.gif";

news_off = new Image(47,25);
news_off.src = imgdir + "nav-news-off.gif";

youth_on = new Image(53,25);
youth_on.src = imgdir + "nav-youth-on.gif";

youth_off = new Image(53,25);
youth_off.src = imgdir + "nav-youth-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)
{
oM.mout();
window.status = "";
 if (version == "ok")
{
imgOff = eval(imgName + "_off.src");
document [imgName].src = imgOff;
}
}

//NETSCAPE 4.X RESIZE SCRIPT

if(!window.saveInnerWidth) {
  window.onresize = resizeIt;
  window.saveInnerWidth = window.innerWidth;
  window.saveInnerHeight = window.innerHeight;
}

function resizeIt() {
    if (saveInnerWidth < window.innerWidth || 
        saveInnerWidth > window.innerWidth || 
        saveInnerHeight > window.innerHeight || 
        saveInnerHeight < window.innerHeight ) 
    {
        window.history.go(0);
    }
}

//FUNCTION FOR CONDITIONAL FORM ATTRIBUTES

function writeForm()
{							


/* ATOMZ SEARCH INFO REFERENCE

<form method="get" action="http://search.atomz.com/search/">
<input size="7" name="sp-q"><br>
<input type="hidden" name="sp-a" value="sp02093400">
<input type="hidden" name="sp-p" value="any">
<input type="hidden" name="sp-f" value="iso-8859-1">

*/
		
		
		if (document.layers) 
		{
		siteSearch = '<input type="text" name="sp-q" value="site search" size="4" maxlength="2047" onFocus="value=\'\'"><input type="hidden" name="sp-a" value="sp02093400"><input type="hidden" name="sp-p" value="any"><input type="hidden" name="sp-f" value="iso-8859-1">';}
		
		else 
		{siteSearch = '<input type="text" cla' + 'ss="search" name="sp-q" value="site search" size="12" maxlength="2047" style="border: 1 solid #006600; color: 4C7094; background-color:#E2EBE2;" onFocus="value=\'\'"><input type="hidden" name="sp-a" value="sp02093400"><input type="hidden" name="sp-p" value="any"><input type="hidden" name="sp-f" value="iso-8859-1">';}

document.write(siteSearch);
}


// END CODE FOR _SCRIPT.JS