(function($){var restore_dims=function(){$('img[data-recalc-dims]').each(function recalc(){var $this=$(this);if(this.complete){if($this.data('lazy-src')&&$this.attr('src')!==$this.data('lazy-src')){$this.load(recalc);return;} var width=this.width,height=this.height;if(width&&width>0&&height&&height>0){$this.attr({width:width,height:height});reset_for_retina(this);}} else{$this.load(recalc);}});},reset_for_retina=function(img){$(img).removeAttr('data-recalc-dims').removeAttr('scale');};$(document).ready(restore_dims);if('on'in $.fn){$(document.body).on('post-load',restore_dims);}else{$(document).delegate('body','post-load',restore_dims);}})(jQuery); ;function epdofitvids(e) { if (_EPYT_.epresponsiveselector.constructor !== Array) { _EPYT_.epresponsiveselector = JSON.parse(_EPYT_.epresponsiveselector); } e.fn.fitVidsEP=function(t){var n={customSelector:null};if(!document.getElementById("fit-vids-style")){var r=document.createElement("div"),i=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0],s="­";r.className="fit-vids-style";r.id="fit-vids-style";r.style.display="none";r.innerHTML=s;i.parentNode.insertBefore(r,i)}if(t){e.extend(n,t)}return this.each(function(){var t=_EPYT_.epresponsiveselector;if(n.customSelector){t.push(n.customSelector)}var r=e(this).find(t.join(","));r=r.not("object object");r.each(function(){var t=e(this);if(this.tagName.toLowerCase()==="embed"&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length){return}var n=this.tagName.toLowerCase()==="object"||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height(),r=!isNaN(parseInt(t.attr("width"),10))?parseInt(t.attr("width"),10):t.width(),i=n/r;if(!t.attr("id")){var s="fitvid"+Math.floor(Math.random()*999999);t.attr("id",s)}t.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",i*100+"%");t.removeAttr("height").removeAttr("width")})})}; e(document).ready(function(){e("body").fitVidsEP();}); return true; } try {epdofitvids(window.jQuery);} catch (err){} ;WPGroHo=jQuery.extend({my_hash:'',data:{},renderers:{},syncProfileData:function(hash,id){if(!WPGroHo.data[hash]){WPGroHo.data[hash]={};jQuery('div.grofile-hash-map-'+hash+' span').each(function(){WPGroHo.data[hash][this.className]=jQuery(this).text();});} WPGroHo.appendProfileData(WPGroHo.data[hash],hash,id);},appendProfileData:function(data,hash,id){for(var key in data){if(jQuery.isFunction(WPGroHo.renderers[key])){return WPGroHo.renderers[key](data[key],hash,id,key);} jQuery('#'+id).find('h4').after(jQuery('

').html(data[key]));}}},WPGroHo);jQuery(document).ready(function(){Gravatar.profile_cb=function(h,d){WPGroHo.syncProfileData(h,d);};Gravatar.my_hash=WPGroHo.my_hash;Gravatar.init('body','#wpadminbar');}); ;/** HoverIntent minified */ (function(e){e.fn.hoverIntent=function(t,n,r){var i={sensitivity:7,interval:100,timeout:0};i=e.extend(i,n?{over:t,out:n}:t);var s,o,u,a;var f=function(e){s=e.pageX;o=e.pageY};var l=function(t,n){n.hoverIntent_t=clearTimeout(n.hoverIntent_t);if(Math.abs(u-s)+Math.abs(a-o) »'),s=function(t){var n=e(this),r=u(n);clearTimeout(r.sfTimer);n.showSuperfishUl().siblings().hideSuperfishUl()},o=function(t){var r=e(this),i=u(r),o=n.op;var a=function(){o.retainPath=e.inArray(r[0],o.$path)>-1;r.hideSuperfishUl();if(o.$path.length&&r.parents("li."+o.hoverClass).length<1){o.onIdle.call();e.proxy(s,o.$path,t)()}};if(t.type!=="mouseleave"&&t.type!=="focusout"){a()}else{clearTimeout(i.sfTimer);i.sfTimer=setTimeout(a,o.delay)}},u=function(t){if(t.hasClass(r.menuClass)){e.error("Superfish requires you to update to a version of hoverIntent that supports event-delegation, such as this one: https://github.com/joeldbirch/onHoverIntent")}var i=t.closest("."+r.menuClass)[0];n.op=n.o[i.serial];return i},a=function(t){var r="li:has(ul)";if(!n.op.useClick){if(e.fn.hoverIntent&&!n.op.disableHI){t.hoverIntent(s,o,r)}else{t.on("mouseenter",r,s).on("mouseleave",r,o)}}t.on("focusin","li",s).on("focusout","li",o).on("click","a",l).on("touchstart","a",f)},f=function(){var t=e(this);if(!t.next("ul").is(":visible")){e(this).data("follow",false)}},l=function(t){var r=e(this),i=r.next("ul"),u=r.data("follow")===false?false:true;if(i.length&&(n.op.useClick||!u)){t.preventDefault();if(!i.is(":visible")){e.proxy(s,r.parent(),t)()}else if(n.op.useClick&&u){e.proxy(o,r.parent(),t)()}}},c=function(t,n){if(n.autoArrows){t.children("a").each(function(){h(e(this))})}},h=function(e){e.addClass(r.anchorClass).append(i.clone())};return this.addClass(r.menuClass).each(function(){var i=this.serial=n.o.length;var s=e.extend({},n.defaults,t);var o=e(this);var u=o.find("li:has(ul)");s.$path=o.find("li."+s.pathClass).slice(0,s.pathLevels).each(function(){e(this).addClass(s.hoverClass+" "+r.bcClass).filter("li:has(ul)").removeClass(s.pathClass)});n.o[i]=n.op=s;c(u,s);a(o);u.not("."+r.bcClass).hideSuperfishUl();s.onInit.call(this)})};var t=e.fn.superfish;t.o=[];t.op={};t.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator"};t.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",autoArrows:true,disableHI:false,useClick:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){},onIdle:function(){}};e.fn.extend({hideSuperfishUl:function(){var n=t.op,r=this,i=n.retainPath===true?n.$path:"";n.retainPath=false;var s=e("li."+n.hoverClass,this).add(this).not(i).find(">ul").stop().animate(n.animationOut,n.speedOut,function(){s=e(this);s.parent().removeClass(n.hoverClass);n.onHide.call(s);if(t.op.useClick){r.children("a").data("follow",false)}});return this},showSuperfishUl:function(){var e=t.op,n=this,r=this.find(">ul:hidden");r.parent("li").addClass(e.hoverClass);e.onBeforeShow.call(r);r.stop().animate(e.animation,e.speed,function(){e.onShow.call(r);n.children("a").data("follow",true)});return this}})})(jQuery); /** Supersubs Minified */ (function(e){e.fn.supersubs=function(t){var n=e.extend({},e.fn.supersubs.defaults,t);return this.each(function(){var t=e(this);var r=e.meta?e.extend({},n,t.data()):n;var i=e('

').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(t).width();e("#menu-fontsize").remove();$ULs=t.find("ul");$ULs.each(function(t){var n=$ULs.eq(t);var s=n.children();var u=s.children("a");var a=s.css("white-space","nowrap").css("float");var f=n.add(s).add(u).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/i;f+=r.extraWidth;if(f>r.maxWidth){f=r.maxWidth}else if(ful",this);var n=t.css("left")!==undefined?"left":"right";t.css(n,f)})})})};e.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery); ;(function($){function infinityMenu(){$('ul.sf-menu, .menu ul').supersubs({minWidth:16,maxWidth:27,extraWidth:1}).superfish({delay:100,speed:'fast',animation:{opacity:'show',height:'show'},dropShadows:false});$('ul.sf-menu li:last-child a, .menu ul li:last-child a').css('border-bottom','none');} function infinityEqualHeightCols(){var contentHeight=$('#content').height();var sidebarHeight=$('#sidebar').height();var highestCol=Math.max(contentHeight,sidebarHeight);if(contentHeight