/* FILE ARCHIVED ON 0:56:10 Jan 27, 2017 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 16:04:34 Jul 8, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ $(document).foundation(); var events = 'click.fndtn'; var $selector3 = $('#searchDivBanner'); if ($selector3.length > 0) { $('#searchDivBanner').on(events, function (e) { e.preventDefault(); $selector3.toggleClass("expanded"); if($selector3.hasClass("expanded")) { $( "#smallTopSearchBar" ).animate({ marginTop:"0px" }, 500, function() { // Animation complete. }); } else { //$('#smallTopSearchBar').toggleClass('hide'); $( "#smallTopSearchBar" ).animate({ marginTop: "-50px" }, 500, function() { // Animation complete. }); } }); } $(window).resize(function() { //handles hiding the off-screen nav when the window is resized if($('body').hasClass('active')) { $('body').toggleClass('active'); } //handles hiding the search bar when the window is resized //var $selector9 = $('#searchDivBanner'); //if ($selector9.length > 0) { //if($selector9.hasClass("expanded")) //{ //$( "#smallTopSearchBar" ).animate({ //marginTop:"-50px" //}, 500, function() { // Animation complete. //}); //$selector9.toggleClass("expanded"); //} //} }); //intitializes class for scroll-box /* $(function() { $('.scroll-pane') .jScrollPane({showArrows: true}) .bind( 'mousewheel', function(e) { e.preventDefault(); } ); }); */