<!DOCTYPE html>
<html lang="en">
<head>
<base href="https://amherstcu.com/">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Amherst Federal Crddit Union">
<meta property="og:type" content="website" />
<meta property="og:image" content="http://www.amherstcu.com">
<meta property="og:title" content="Amherst FCU" />
<meta property="og:description" content="Amherst Federal Credit Union" />
<meta property="og:url" content="https://www.amherstcu.com/"/>
<meta name="google-site-verification" content="wbkpSI-m2VKTIbV508oI9AVPgY4ECB4a0SngqQRQHLs" />
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<link rel="canonical" href="https://www.amherstcu.com/">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Amherst Federal Credit Union</title>
<!-- Bootstrap -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="bootstrap/css/bootstrap-grid.min.css" rel="stylesheet">
<link href="bootstrap/css/bootstrap-reboot.min.css" rel="stylesheet">
<link href="styles.css" rel="stylesheet">
<link href="animate.css" rel="stylesheet">
<link rel="stylesheet" href="jquery-ui.min.css">
<script src='https://www.google.com/recaptcha/api.js'></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/ionicons.min.css">
<!-- font awesome -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css" />
<script async src='https://tag.simpli.fi/sifitag/c3d78ed0-239a-0139-3a58-06abc14c0bc6'></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5TXZB69');</script>
<!-- End Google Tag Manager -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"subjectOf":{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Welcome to Amherst FCU",
"description": "Established by educators in 1947 as Amherst Teacher's Federal Credit Union, membership was comprised of employees from our original 46 sponsor groups and their families. For a list of original sponsors, click here. With the addition of new, non-education based sponsor groups in 2003, Amherst Teacher's FCU modified its name to what we continue as today; Amherst Federal Credit Union",
"transcript":"serving our community. Since 1947 Amherst Federal Credit Union has helped to obtain the low cost, reliable service and personalized attention you need. Like all credit unions, when you remember, you're also an owner, but we go the extra mile, providing individualized service, consumer education and competitive financial rates. I love the Amherst Federal Credit Union because for me there the perfect blend between friendly neighborliness and excellent financial management, I would encourage other members of the community to join the amorous father. Credit union staff is always so warm and welcoming, and I especially love the extended hours on Thursday nights and weekends. Our members benefit from the low loan rates and high dividend rates we offer, and we ensure you get the most of your membership through our services, such as remote check deposit and mobile banking. Count on our care Amherst Federal Credit Union, where people are worth more than money",
"thumbnailUrl": "http://vid.hellonetcdn.com/vid/ny/amherst/biz/nyamh19_31_rev1_iwd1.jpg?e38743f7653b283e6b462af35b4bd035984c93fa9543d8ab36e0645ba1d6286afd6ac75c33887de5f5ca5ce10a794e2d170f&rand=486",
"uploadDate": "2019-05-19",
"duration": "PT1M5S",
"publisher": {
"@type": "Organization",
"name": "CGI Digital",
"logo": {
"@type": "ImageObject",
"url": "https://cgidigital.com/wp-content/uploads/2022/03/logo-cgi.png"
}
},
"contentUrl": "https://vid.hellonetcdn.com/vid/ny/amherst/biz/nyamh19_31_rev1_iwd_lrg_univ.mp4?e38743f7653b283e6b462af35b4bd035984c93fa9543d8ab36e0645ba1d6286afd6ac75c33887de5f5ca5ce10a794e2d170f",
"embedUrl": "https://elocallink.tv/e/?v=lhQ&ap=1"
},
"name": "Amherst FCU",
"image": "https://amherstcu.com/img/logo.png",
"@id": "",
"url": "https://amherstcu.com/index.php",
"telephone": "(716) 634-3881",
"address": {
"@type": "PostalAddress",
"streetAddress": "6470 Main Street, Suite 5",
"addressLocality": "Amherst",
"addressRegion": "NY",
"postalCode": "14221",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 42.9666472,
"longitude": -78.711843
},
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Tuesday",
"Monday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "09:00",
"closes": "16:30"
},{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "09:00",
"closes": "11:00"
}]
}
</script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5TXZB69"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<style>
.nav .btn-primary:hover{
background-color: #791034 !important;
color:#fff !important;
}
</style>
<div class="modal fade" id="holidayHours">
<div class="modal-dialog" style="max-width:600px">
<div class="modal-content">
<div class="modal-header">
<h2>2025 Holiday Hours</h2>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<div class="table-responsive">
<table class="table table-striped">
<tr>
<th>Holiday</th>
<th>Date</th>
<th>Hours</th>
</tr>
<tr>
<td>New Year's Day</td>
<td>January 1</td>
<td>Closed</td>
</tr>
<tr>
<td>MLK Day</td>
<td>January 18 and 20</td>
<td>Closed</td>
</tr>
<tr>
<td>President's Day</td>
<td>February 15 and 17</td>
<td>Closed</td>
</tr>
<tr>
<td>Good Friday</td>
<td>April 18<br>April 19</td>
<td>Open 9am-1pm<br>Closed</td>
</tr>
<tr>
<td>Memorial Day</td>
<td>May 24 and 26</td>
<td>Closed</td>
</tr>
<tr>
<td>Juneteenth</td>
<td>June 19</td>
<td>Closed</td>
</tr>
<tr>
<td>Independence Day</td>
<td>July 4 and 5</td>
<td>Closed</td>
</tr>
<tr>
<td>Labor Day</td>
<td>Aug 30 and Sep 1</td>
<td>Closed</td>
</tr>
<tr>
<td>Columbus Day</td>
<td>October 11 and 13</td>
<td>Closed</td>
</tr>
<tr>
<td>Veterans Day</td>
<td>November 11</td>
<td>Closed</td>
</tr>
<tr>
<td>Thanksgiving Day</td>
<td>November 27</td>
<td>Closed</td>
</tr>
<tr>
<td>Christmas</td>
<td>December 24 <br>December 25</td>
<td>Open 9am-1pm<br>Closed</td>
</tr>
<tr>
<td>New Years Eve</td>
<td>December 31</td>
<td>Open 9am-2pm</td>
</tr>
<tr>
<td>New Years Day</td>
<td>January 1</td>
<td>Closed</td>
</tr>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Got it!</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="fixed-top box-shadow">
<div class="info-row">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<i class="fa fa-phone"></i> <a href="tel:17166343881" style="color:white"> (716) 634-3881</a>
<i class="far fa-clock"></i> <a href="https://www.google.com/maps/place/Amherst+Federal+Credit+Union/@42.966631,-78.7118432,15z/data=!4m2!3m1!1s0x0:0xe428a72aef67e478?sa=X&ved=2ahUKEwjTp663gLD5AhXAjokEHS1xDy4Q_BJ6BAg_EAU" Style="color:white" target="_blank">6470 Main Street, Suite 5 Amherst, NY 14221</a>
</div>
</div>
</div>
</div>
<nav id="header-nav" class="navbar navbar-light bg-dots navbar-expand-xl">
<div class="container-fluid">
<a class="navbar-brand hidden-sm-down" href="index.php"><img src="img/logo.png" alt="Amherst Federal Employees Credit Union"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-toggleable-xl" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item home-active"><a class="nav-link" href="index.php">Home</a></li>
<li class="nav-item about-active"><a class="nav-link" href="about.php">About Us</a></li>
<li class="nav-item services-active"><a class="nav-link" href="services.php">Services</a></li>
<li class="nav-item rates-active"><a class="nav-link" href="rates.php">Rates</a></li>
<li class="nav-item forms-active"><a class="nav-link" href="forms.php">Forms and Applications</a></li>
<li class="nav-item promotions-active"><a class="nav-link" href="promotions.php">Promotions</a></li>
<li class="nav-item contact-active"><a class="nav-link" href="contact.php">Contact Us</a></li>
<li nav-item><a href="https://www.realtimehomebanking.com/?clientid=5439" class="nav-link hb-active default-link">Online Banking</a></li>
<li><a href="https://www.ezcardinfo.com/#/" class="nav-link"> VISA login</a></li>
</ul>
</div><!-- /.navbar-collapse -->
<!-- Brand and toggle get grouped for better mobile display -->
</div><!-- /.container-fluid -->
</nav>
</div><div class="wrap">
<div id="carouselExampleIndicators" class="carousel slide box-shadow" data-ride="carousel" data-interval="10000">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<!--<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
<!--<li data-target="#carouselExampleIndicators" data-slide-to="3"></li>-->
</ol>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<div class="header-content" style="background-image:url('img/iStock-1356950209.jpg'); background-attachment:scroll;">
<div class="image-darken"></div>
</div>
<div class="carousel-caption">
<h1>Auto Loan Sale <br> Unsecured loans as low as 4.24% APR!</h1>
<br>
<a href="auto.php" class="btn btn-primary btn-lg box-shadow">Learn More</a>
</div>
</div>
<div class="carousel-item">
<div class="header-content" style="background-image:url('img/scholarship24.jpg'); background-attachment:scroll;">
<div class="image-darken"></div>
</div>
<div class="carousel-caption">
<h1>Scholarships for High School Seniors</h1>
<br>
<a href="scholarship25.php" class="btn btn-primary btn-lg box-shadow">Learn More</a>
</div>
</div>
<a class="carousel-control-prev default-link" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next default-link" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<br>
<div class="padding bg-dots">
<div class="container-fluid">
<div class="row justify-content-center h-gray wow fadeInUp mb-4">
<div class="col-12 col-md-4">
<div class="bg-white box-shadow border rounded">
<div class="bg-primary py-2 px-4">
<h3 class="text-white">Online Banking Login</h3>
</div>
<form class="form mx-auto p-4 bg-light" id="homebankingform" target="_blank" role="search" method="post" action="https://www.realtimehomebanking.com/AccountVerify.aspx">
<div class="form-group">
<input type="hidden" name="clientid" value="5439" />
<input type="hidden" name="exturl" value="https://www.amherstcu.com" />
<label for="userid" class="sr-only">Home Banking Login</label>
<input aria-labelledby="homebankingform" type="text" name="userid" class="form-control w-100" placeholder="Enter your Home Banking Username" />
</div>
<input aria-labelledby="homebankingform" type="Submit" class="btn btn-primary btn-lg" name="login" value="Login">
<a href="https://www.realtimehomebanking.com/Enroll.aspx?clientid=5439" class="btn btn-outline-secondary btn-lg default-link"> Enroll </a>
</form>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="padding bg-dots">
<div class="container">
<div class="row justify-content-center h-gray wow fadeInUp mb-4">
<p class="lead">Amherst Federal Credit Union offers <a href="/services.php">comprehensive banking</a> to the whole Amherst, NY community. From a college student looking to save to a business looking to invest, our accounts are suited to work for you. Together with your input, our team creates a comprehensive banking plan aimed to help you achieve your goals. First time home buyers will love our accounts and we even offer <a href="/rates.php">competitive loan rates!</a> Whether you're planning your next big adventure or saving for your dream car, we provide the tools and support to make it happen.</p>
</div>
</div>
</div>
<br>
<style>.cgi-rt{position:relative;pointer-events: none;height:406px;max-height:406px;max-width:720px;}@media only screen and (max-width: 510px){.cgi-rt{max-height:255px;height:255px;}}</style>
<center>
<div class="cgi-rt">
<iframe style="pointer-events: auto;position:absolute;top:0;left:0;width:100%;height:100%;border:0;box-sizing: border-box;max-width: 720px!important;max-height: 406px!important;background: transparent!important;" height="406" width="720" id="rtplayerlhQ" type="text/html" src="https://elocallink.tv/e/?v=lhQ&ap=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>
</center>
<!--<center><script src="//www.elocallink.tv/m/1.7/band_loader.php?pid=z9y4z5w1B81&cast_id=N9ayz8N3&autoplay=0&framenum=52&g_o=bfl&ss=1&band_type=ecastp" async></script></center>-->
<div class="bg-light p-5">
<div class="container-fluid">
<div class="row wow fadeInUp">
<div class="col-12 col-md-4 text-center">
<div class="promos bg-white p-4 border box-shadow">
<i class="icon ion-ios-person-add secondary"></i>
<h3 class="primary"> Become a member </h3>
<p class="lead text-faded"> Join today to get started on your financial future!</p>
<a href="memberapp.php" class="btn btn-primary btn-lg"> Become a member</a>
</div>
</div>
<div class="col-12 col-md-4 text-center">
<div class="promos bg-white p-4 border box-shadow">
<i class="icon ion-ios-phone-portrait"></i>
<h3 class="primary"> Mobile Banking App </h3>
<p class="lead text-faded"> Download our mobile app and bank on the go! </p>
<a href="https://linkmaker.itunes.apple.com/en-us/details/1312977745?country=us&mediaType=ios_apps&term=amherst+federal+credit+union&type=ipadsoftware" target="_blank"><img src="img/appstore.png" alt="ios app store"></a>
<a href="https://play.google.com/store/apps/details?id=com.cssinc.amherstfcuhb" target="_blank"><img src="img/playstore.png" alt="google play store"></a>
</div>
</div>
<div class="col-12 col-md-4 text-center">
<div class="promos bg-white p-4 border box-shadow">
<i class="icon ion-md-locate secondary"></i>
<h3 class="primary"> ATM Locator </h3>
<p class="lead text-faded"> Surcharge free ATMs!</p>
<a href="http://www.allpointnetwork.com/atm-locators.aspx?address=Zip%20Code" class="btn btn-primary btn-lg"> Find an ATM</a>
</div>
</div>
</div>
</div>
</div>
<div class="row no-gutters">
<div class="col-12 col-md-6 bg-green p-5 text-center box-shadow">
<h2>Need a loan? Let's get you started!</h2>
<br>
<a href="loanapp.php" class="btn btn-primary btn-lg">Apply now!</a>
<a href="rates.php#tab_loans" class="btn btn-outline-primary btn-lg">View rates</a>
</div>
<div class="col-12 col-md-6 bg-white p-5 text-center border box-shadow">
<h2 class="primary">Credit Union FAQs</h2>
<br>
<a href="/about.php#faq" target="_blank" class="btn btn-primary btn-lg">View FAQs </a>
</div>
</div>
<!--<div class="padding bg-light">
<div class="container">
<div class="row justify-content-center">
<div class="col-12 col-md-8">
<div class="row">
<div class="col-12 col-md-12 text-center">
<a href="https://turbotax.intuit.com/microsite/home.htm?priorityCode=3468349879&cid=all_amhers_aff_3468349879"><img src="img/turbotax.png" class="img-fluid box-shadow" alt="turbo tax special" width="70%"></a>
</div>
</div>
</div>
</div>
</div>
</div>-->
</div>
<footer class="bg-dark padding">
<div class="padding">
<div class="container">
<div class="row">
<div class="col-md-4 col-xs-12">
<h3>Amherst Federal Credit Union</h3>
<hr>
<p>Your savings are federally insured to at least $250,000 and backed by the full faith and credit of the United States Government.</p>
</div>
<div class="col-md-4 col-xs-12">
<h3><br>Contact Us</h3>
<hr>
<p><i class="fa fa-phone"></i> <a href="tel:17166343881" style="color:white"> (716) 634-3881</a> </p>
<p><i class="fas fa-map-marker"></i> <a href="https://www.google.com/maps/place/Amherst+Federal+Credit+Union/@42.966631,-78.7118432,15z/data=!4m2!3m1!1s0x0:0xe428a72aef67e478?sa=X&ved=2ahUKEwjTp663gLD5AhXAjokEHS1xDy4Q_BJ6BAg_EAU" Style="color:white" target="_blank">6470 Main Street, Suite 5 Amherst, NY 14221</a></p>
</div>
<div class="col-md-4 col-xs-12">
<h3><br>Helpful Links</h3>
<hr>
<p><a href="terms.php">Terms of Use</a></p>
<p><a href="privacy.php">Privacy Policy</a></p>
<p><a href="pdf/homequityinfo.pdf">Home Equity Loan Info</a></p>
<p><a href="pdf/homequitydisclosure.pdf">Home Equity Disclosure</a></p>
<p><a href="pdf/bylaws.pdf">Bylaws</a></p>
<p><a href="sitemap.php">Sitemap</a></p>
</div>
</div>
<hr>
<div class="row justify-content-center">
<div class="col-md-8 col-xs-12 text-center">
<img src="img/equal.png" alt="department of urban housing" class="img-fluid">
<img src="img/acu.png" alt="americas credit union" class="img-fluid">
<img src="img/ncua.png" alt="national credit union association" class="img-fluid">
</div>
</div>
</div>
</div>
</footer>
<div class="modal fade" id="thirdPartyModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">Third Party Links Disclosure</h2>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Our site contains hyperlinks to other web sites operated by third parties. These links will take you away from our site. Please note that Amherst Federal Employees Credit Union does not guarantee the accuracy or completeness of any information presented on these sites nor does Amherst Federal Employees Credit Union represent either the third party or our member if the two enter into a transaction. The third party's privacy and security policies may differ from those practiced by the credit union. We encourage our members to know when they leave our site and to read the privacy statements of each and every web site that collects personally identifiable information. Our Privacy Statement applies solely to information collected by Amherst Federal Employees Credit Union's Web site.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-danger btn-lg box-shadow" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-outline-success btn-lg box-shadow" id="continue" >Continue</button>
</div>
</div>
</div>
</div>
<script>(function(d){var s = d.createElement("script");s.setAttribute("data-account", "FbHFM28aPl");s.setAttribute("src", "https://cdn.userway.org/widget.js");(d.body || d.head).appendChild(s);})(document)</script><noscript>Please ensure Javascript is enabled for purposes of <a href="https://userway.org">website accessibility</a></noscript>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.13.0/umd/popper.min.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="js/easing.min.js"></script>
<script src="js/validator.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/maskedinput.js"></script>
<script src="js/jquerybcswipe.min.js"></script>
<script src="js/animatescroll.js"></script>
<script>
new WOW().init();
$('.carousel').each(function(){
$(this).bcSwipe({ threshold: 50 });
});
$('.hide-hb-btn').click(function(){
$('.hb').toggle('slow');
});
$(function(){
$('.show-fa').hover(function(){
$(this).find('.fa-long-arrow-right').toggle("slide", 200);
});
});
$('#myTab a').click(function (e) {
e.preventDefault()
$(this).tab('show')
//set last tab for page refresh
localStorage.setItem('lastTab', $(this).attr('href'));
});
//refresh page to last tab
var lastTab = localStorage.getItem('lastTab');
if(lastTab != "")
{
$('[href="' + lastTab + '"]').tab('show');
}
// Javascript to enable link to tab
var hash = document.location.hash;
var prefix = "tab_";
if (hash) {
$('.nav-pills a[href='+hash.replace(prefix,"")+']').tab('show');
}
// Change hash for page-reload
$('.nav-pills a').on('shown', function (e) {
window.location.hash = e.target.hash.replace("#", "#" + prefix);
});
$(function(){
var url = window.location.href.substr(window.location.href.lastIndexOf("/") + 1);
var selector = '.navbar .navbar-nav>li>a';
switch(url)
{
case "about.php":
$('.about-active').addClass('active');
break;
case "services.php":
$('.services-active').addClass('active');
break;
case "contact.php":
$('.contact-active').addClass('active');
break;
case "forms.php":
$('.forms-active').addClass('active');
break;
case "promotions.php":
$('.promotions-active').addClass('active');
break;
case "rates.php":
$('.rates-active').addClass('active');
break;
case "index.php":
$('.home-active').addClass('active');
break;
default:
$(selector).each(function(){
$(this).removeClass('active');
});
}
});
if($('.carousel').length){
$('.hb-active').hide();
}
else{
$('.hb-active').show();
}
var navbarHeight = $('.fixed-top').height();
$(function(){
$('.wrap').css('margin-top', navbarHeight);
})
var screen = window.matchMedia("(min-width:768px)");
$(function(){
if(screen.matches)
{
$('#toggle-navbar').hide();
$('#sidebar-collapse').show();
}
else{
}
});
var navbar_screen = window.matchMedia("(min-width:1280px)");
$(window).scroll(function(){
if(navbar_screen.matches)
{
if(($(this).scrollTop() >= 100))
{
$(".navbar").css({
"min-height":"90px"
});
$(".navbar-brand img").css({
"width":"150px"
});
}
else{
$(".navbar").css({
"min-height":"129px"
});
$(".navbar-brand img").css({
"width":"auto"
});
}
}
});
function link_is_external(link_element) {
return (link_element.host !== window.location.host);
}
thisurl = '';
$(function(){
$('a').click(function(e) {
thisurl = $(this).attr('href');
if($(this).hasClass('default-link'))
{
return true;
}
else if (link_is_external(this))
{
e.preventDefault();
$('#thirdPartyModal').modal();
$('#continue').click(function(){
if(thisurl != '')
{
window.open(thisurl);
console.log(thisurl);
}
$('#thirdPartyModal').modal('hide');
thisurl = '';
});
}
else if(thisurl.indexOf('pdf') >= 0)
{
e.preventDefault();
window.open(thisurl);
}
else{
window.location.href = thisurl;
}
});
});
</script>
</body><script>
$(function() {
$('[data-toggle="popover"]').popover({trigger:"click", placement:"bottom",});
});
function setCookie(cname, cvalue, exdays){
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));//30 days
var expires = "expires=" + d.toGMTString();
document.cookie = cname +"=" + cvalue + ";" + expires;
}
function getCookie(cname){
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i =0; i<ca.length; i++){
var c = ca[i];
while(c.charAt(0) == ' ') c = c.substring(1, c.length);
if(c.indexOf(name) == 0) return c.substring(name.length, c.length);
}
return null;
}
function eraseCookie(name){
setCookie(name,"",-1);
}
$('#DontShow').click(function(){
$('#Coa2PopUp').modal('hide');
setCookie("coa2_pop_cookie", 'on', 30);
});
if(getCookie('coa2_pop_cookie') != 'on')
{
$(function(){
$('#Coa2PopUp').modal();
});
}
else{
$('#Coa2PopUp').modal('hide');
}
</script>