function initZooms(){if($thm.deviceWidthAtLeast($thm.deviceBreakpoints.tablet)){$("article .zoom").colorbox({rel:"article-gallery",maxWidth:$thm.deviceWidth})}else{$.colorbox.remove();$("article .zoom").attr("target","_blank")}}$(document).ready(function(){$("article .zoom").append('<div class="zoom-icon"></div>');$("article .zoom").addClass("article-gallery");$("article .zoom").attr("title",function(){if($(this).parent().find("figcaption").html()){var caption=$(this).parent().find("figcaption").html();if($(this).parent().find("small").html()){var credit=$(this).parent().find("small").html();return"<div class='credit'>"+credit+"</div>"+caption}else{return caption}}else{if($(this).parent().find("small").html()){var credit=$(this).parent().find("small").html();return"<div class='credit'>"+credit+"</div>"+$(this).find("img").attr("alt")}else{return $(this).find("img").attr("alt")}}});$(window).resize(function(){initZooms()}).resize();$(".proscons-wrapper.multi .ss-icon").click(function(){var clickedProsCons=$(this).parents(".proscons");if(clickedProsCons.hasClass("active")){var toHide=clickedProsCons.find(".proscons-left, .proscons-right");toHide.slideUp();clickedProsCons.removeClass("active");$(this).text("dropdown")}else{var toShow=clickedProsCons.find(".proscons-left, .proscons-right");toShow.slideDown();clickedProsCons.addClass("active");$(this).text("directup")}})});$(document).on("click",".handle",function(e){$(this).prev().addClass("open");$(this).addClass("open")});$(document).ready(function(){$(".sectionHeader").next().css("display","none");$(".sectionHeader").first().next().css("display","block");$(".sectionHeader").click(function(){$(this).next().slideToggle("slow")})});