var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); jQuery( document ).ready( function () { jQuery( '#scroll-up' ).hide(); jQuery( function () { jQuery( window ).scroll( function () { if ( jQuery( this ).scrollTop() > 1000 ) { jQuery( '#scroll-up').fadeIn(); } else { jQuery( '#scroll-up' ).fadeOut(); } }); jQuery( 'a#scroll-up' ).click( function () { jQuery( 'body, html' ).animate({ scrollTop: 0 }, 800 ); return false; }); }); /** * Responsive menu with toggle */ jQuery('.better-responsive-menu .menu-primary-container .menu-item-has-children'). append(' '); jQuery('.better-responsive-menu .menu-primary-container .sub-toggle').click(function() { jQuery(this).parent('.menu-item-has-children').children('ul.sub-menu').first().slideToggle('1000'); jQuery(this).children('.sub-toggle .fa').first().toggleClass('fa-caret-down fa-caret-right'); }); /** * Search */ var hideSearchForm = function() { jQuery( '.header-search-form' ).removeClass( 'show' ); }; // On Search icon click. jQuery( '#header-right-section .search, .bottom-menu .search' ).click( function () { jQuery( this ).next( '.header-search-form' ).toggleClass( 'show' ); // focus after some time to fix conflict with toggleClass setTimeout( function () { jQuery( '.header-search-form.show input' ).focus(); }, 200 ); // For esc key press. jQuery( document ).on( 'keyup', function ( e ) { // on esc key press. if ( 27 === e.keyCode ) { // if search box is opened if ( jQuery( '.header-search-form' ).hasClass( 'show' ) ) { hideSearchForm(); } } } ); jQuery( document ).on( 'click.outEvent', function( e ) { if ( e.target.closest( '.search-wrapper' ) ) { return; } hideSearchForm(); // Unbind current click event. jQuery( document ).off( 'click.outEvent' ); } ); } ); }); /** * Slider Setting * * Contains all the slider settings for the featured post/page slider. */ jQuery(window).on('load',function() { if ( typeof jQuery.fn.cycle !== 'undefined' ) { jQuery( '.slider-cycle' ).cycle( { fx : 'fade', timeout : 4000, speed : 1000, slides : '> div', pager : '> #controllers', pagerActiveClass : 'active', pagerTemplate : '', pauseOnHover : true, autoHeight : 'container', swipe : true, swipeFx : 'scrollHorz', log : false } ); } }); } /* FILE ARCHIVED ON 22:46:19 Sep 08, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:28:53 Apr 09, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.532 exclusion.robots: 0.055 exclusion.robots.policy: 0.047 esindex: 0.009 cdx.remote: 35.166 LoadShardBlock: 177.512 (3) PetaboxLoader3.datanode: 157.419 (5) PetaboxLoader3.resolve: 2038.23 (2) load_resource: 2113.464 loaddict: 61.689 */