function weaverx_ToggleDIV(his,me,show,hide,text){"none"!=his.style.display?(his.style.display="none",me.innerHTML="img"==text?'show':''+show+""):(his.style.display="",me.innerHTML="img"==text?'hide':''+hide+"")}function wvrxFlowColor(){function weaverxMarginTop(select){var val=jQuery(select).css("margin-top");return"auto"==val&&(val="0px"),parseInt(val)}if("undefined"!=typeof wvrxEndOpts&&"0"!=wvrxEndOpts.flowColor){var ContTopM,ContHeight,MaxHeight,SSdbTopM,PSdbTopM,PSdbHeight,SSdbHeight,val,SdbConf=wvrxEndOpts.sbLayout,MyContent=document.getElementById("content"),MyPSdb=document.getElementById("primary-widget-area"),MySSdb=document.getElementById("secondary-widget-area");if(MyPSdb&&(MyPSdb.style.minHeight=""),MySSdb&&(MySSdb.style.minHeight=""),MyContent&&(MyContent.style.minHeight=""),768<=weaverxBrowserWidth()){if((MyPSdb&&null===MySSdb||MySSdb&&null===MyPSdb)&&(MyPSdb?(ContTopM=weaverxMarginTop("#content"),PSdbTopM=weaverxMarginTop("#primary-widget-area"),PSdbHeight=MyPSdb.offsetHeight+PSdbTopM,ContHeight=MyContent.offsetHeight+ContTopM,MaxHeight=Math.max(PSdbHeight,ContHeight),MyContent.style.minHeight=MaxHeight-ContTopM+"px",MyPSdb.style.minHeight=MaxHeight-PSdbTopM+"px"):(ContTopM=weaverxMarginTop("#content"),SSdbTopM=weaverxMarginTop("#secondary-widget-area"),SSdbHeight=MySSdb.offsetHeight+SSdbTopM,ContHeight=MyContent.offsetHeight+ContTopM,MaxHeight=Math.max(SSdbHeight,ContHeight),MyContent.style.minHeight=MaxHeight-ContTopM+"px",MySSdb.style.minHeight=MaxHeight-SSdbTopM+"px")),MyPSdb&&MySSdb){if("right"==SdbConf||"left"==SdbConf||"right-top"==SdbConf||"left-top"==SdbConf){ContTopM=weaverxMarginTop("#content"),SSdbTopM=weaverxMarginTop("#secondary-widget-area"),PSdbTopM=weaverxMarginTop("#primary-widget-area");var PSdbBotM=("auto"==(val=jQuery("#primary-widget-area").css("margin-bottom"))&&(val="0px"),parseInt(val));PSdbHeight=MyPSdb.offsetHeight+PSdbTopM+PSdbBotM,SSdbHeight=MySSdb.offsetHeight+SSdbTopM,ContHeight=MyContent.offsetHeight+ContTopM;var TotSdbHeight=PSdbHeight+SSdbHeight;MaxHeight=Math.max(TotSdbHeight,ContHeight),MyContent.style.minHeight=MaxHeight-ContTopM+"px",MySSdb.style.minHeight=MaxHeight-PSdbHeight-SSdbTopM+"px"}"split-top"!=SdbConf&&"split"!=SdbConf||(ContTopM=weaverxMarginTop("#content"),SSdbTopM=weaverxMarginTop("#secondary-widget-area"),PSdbTopM=weaverxMarginTop("#primary-widget-area"),PSdbHeight=MyPSdb.offsetHeight+PSdbTopM,SSdbHeight=MySSdb.offsetHeight+SSdbTopM,ContHeight=MyContent.offsetHeight+ContTopM,MaxHeight=Math.max(PSdbHeight,ContHeight,SSdbHeight),MyContent.style.minHeight=MaxHeight-ContTopM+"px",MyPSdb.style.minHeight=MaxHeight-PSdbTopM+"px",MySSdb.style.minHeight=MaxHeight-SSdbTopM+"px")}}else 580maxHeight&&(maxHeight=widget[j].offsetHeight);for(start=0+EqWdgt,end=WdgtInRow[i]+EqWdgt,j=start;jx

',head.appendChild(div.childNodes[1])}return options&&$.extend(settings,options),this.each(function(){var selectors=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtu.be"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];settings.customSelector&&selectors.push(settings.customSelector);var ignoreList=".fitvidsignore";settings.ignore&&(ignoreList=ignoreList+", "+settings.ignore);var $allVideos=$(this).find(selectors.join(","));($allVideos=($allVideos=$allVideos.not("object object")).not(ignoreList)).each(function(){var $this=$(this);if(!(0<$this.parents(ignoreList).length||"embed"===this.tagName.toLowerCase()&&$this.parent("object").length||$this.parent(".fluid-width-video-wrapper").length)){$this.css("height")||$this.css("width")||!isNaN($this.attr("height"))&&!isNaN($this.attr("width"))||($this.attr("height",9),$this.attr("width",16));var aspectRatio=("object"===this.tagName.toLowerCase()||$this.attr("height")&&!isNaN(parseInt($this.attr("height"),10))?parseInt($this.attr("height"),10):$this.height())/(isNaN(parseInt($this.attr("width"),10))?$this.width():parseInt($this.attr("width"),10));if(!$this.attr("id")){var videoID="fitvid"+Math.floor(999999*Math.random());$this.attr("id",videoID)}$this.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*aspectRatio+"%"),$this.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),jQuery(document).ready(function($){$(".wvr-tabs-nav").delegate("span:not(.wvr-tabs-current)","click",function(){$(this).addClass("wvr-tabs-current").siblings().removeClass("wvr-tabs-current").parents(".wvr-tabs").find(".wvr-tabs-pane").hide().eq($(this).index()).show()}),$(".wvr-tabs-pane").hide(),$(".wvr-tabs-nav span:first-child").addClass("wvr-tabs-current"),$(".wvr-tabs-panes .wvr-tabs-pane:first-child").show()}),jQuery(function($){$(document).ready(function(){weaverx_js_update()}),$("#wrapper").resizeX(weaverxResizeEnd),$("#wvrx-page-width").resizeX(weaverxBrowserResizeEnd),weaverxMonitorContent(".menu-type-accordion"),weaverxMonitorContent(".extra-menu-xplus.menu-type-standard"),weaverxMonitorContent(".dynamic-content"),weaverxMonitorContent(".header-image"),"scroll-fix"==wvrxOpts.primaryScroll&&"scroll-fix"!=wvrxOpts.secondaryScroll&&$("#nav-primary").length&&$(window).scroll(function(){var wvrxAdminOffset=0,wvrxFixedOffset=0,primarySelector="#nav-primary .wvrx-menu-container",primaryHeight=$(primarySelector).outerHeight();$(".admin-bar").length&&(wvrxAdminOffset=$("#wpadminbar").outerHeight()),$(".wvrx-fixedtop").each(function(){wvrxFixedOffset=wvrxFixedOffset+$(this).outerHeight()-1}),wvrxAdminOffset+=wvrxFixedOffset;var windowScroll=$(window).scrollTop();$("#nav-primary").offset().top-parseFloat($("body").css("marginTop"))+wvrxFixedOffset