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"); $(document).ready(function ($) { // Sidebar Toggle $('.btn-navbar').click( function() { $('html').toggleClass('expanded'); }); // Slide Toggles $('#section3 .button').on('click', function () { var section = $(this).parent(); section.toggle(); section.siblings(".slide").slideToggle('2000', "easeInQuart"); }); $('#section3 .read-more').on('click', function () { var section = $(this).parent(); section.toggle(); section.siblings(".slide").slideToggle('2000', "easeInQuart"); }); $('#section4 .article-tags li').on('click', function () { var section = $(this).parents('.span4'); var category = $(this).attr('data-blog'); var articles = section.siblings(); // Change Tab BG's $(this).siblings('.current').removeClass('current'); $(this).addClass('current'); // Hide/Show other articles section.siblings('.current').removeClass('current').hide(); $(articles).each(function (index) { var newCategory = $(this).attr('data-blog'); if ( newCategory == category ) { $(this).slideDown('1000', "easeInQuart").addClass('current'); } }); }); // Waypoints Scrolling var links = $('.navigation').find('li'); var button = $('.intro button'); var section = $('section'); var mywindow = $(window); var htmlbody = $('html,body'); section.waypoint(function (direction) { var datasection = $(this).attr('data-section'); if (direction === 'down') { $('.navigation li[data-section="' + datasection + '"]').addClass('active').siblings().removeClass('active'); } else { var newsection = parseInt(datasection) - 1; $('.navigation li[data-section="' + newsection + '"]').addClass('active').siblings().removeClass('active'); } }); mywindow.scroll(function () { if (mywindow.scrollTop() == 0) { $('.navigation li[data-section="1"]').addClass('active'); $('.navigation li[data-section="2"]').removeClass('active'); } }); function goToByScroll(datasection) { if (datasection == 1) { htmlbody.animate({ scrollTop: $('.section[data-section="' + datasection + '"]').offset().top }, 500, 'easeOutQuart'); } else { htmlbody.animate({ scrollTop: $('.section[data-section="' + datasection + '"]').offset().top + 70 }, 500, 'easeOutQuart'); } } links.click(function (e) { e.preventDefault(); var datasection = $(this).attr('data-section'); goToByScroll(datasection); }); button.click(function (e) { e.preventDefault(); var datasection = $(this).attr('data-section'); goToByScroll(datasection); }); // Snap to scroll (optional) /* section.waypoint(function (direction) { var nextpos = $(this).attr('data-section'); var prevpos = $(this).prev().attr('data-section'); if (nextpos != 1) { if (direction === 'down') { htmlbody.animate({ scrollTop: $('.section[data-section="' + nextpos + '"]').offset().top }, 750, 'easeOutQuad'); } else { htmlbody.animate({ scrollTop: $('.section[data-section="' + prevpos + '"]').offset().top }, 750, 'easeOutQuad'); } } }, { offset: '60%' }); */ // Redirect external links $("a[rel='external']").click(function(){ this.target = "_blank"; }); // Modernizr SVG backup if(!Modernizr.svg) { $('img[src*="svg"]').attr('src', function() { return $(this).attr('src').replace('.svg', '.png'); }); } }); //We are using $(window).load here because we want to wait until the images are loaded $(window).load(function(){ //for each description div... $('.bios-description').each(function(){ //...set the opacity to 0... $(this).css('opacity', 0); //..set width same as the image... $(this).css('width', $(this).siblings('img').width()); //..set height same as the image... $(this).css('height', $(this).siblings('img').height()); //...get the parent (the wrapper) and set its width same as the image width... ' $(this).parent().css('width', $(this).siblings('img').width()); //...get the parent (the wrapper) and set its height same as the image height... ' $(this).parent().css('height', $(this).siblings('img').height()); //...set the display to block $(this).css('display', 'block'); }); $('.bios-wrapper').hover(function(){ //when mouse hover over the wrapper div //get it's children elements with class description ' //and show it using fadeTo $(this).children('.bios-description').stop().fadeTo(200, 0.7); },function(){ //when mouse out of the wrapper div //use fadeTo to hide the div $(this).children('.bios-description').stop().fadeTo(200, 0); }); }); } /* FILE ARCHIVED ON 20:29:54 Feb 22, 2017 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 19:42:37 Nov 16, 2025. 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: 1.137 exclusion.robots: 0.043 exclusion.robots.policy: 0.02 esindex: 0.018 cdx.remote: 12.169 LoadShardBlock: 78.309 (3) PetaboxLoader3.datanode: 88.236 (4) PetaboxLoader3.resolve: 58.717 (2) load_resource: 100.748 */