
$(document).ready(function(){var win=$(window),stack=$('#%id%'),spacer=$('.mask_spacer_%id%'),positionClass='%id=secPosition%',sectionWrapperId='#'+stack.closest('.shear-wrapper').attr('id'),sectionContent=stack.closest('.content-wrapper');stack.addClass('section-absolute').addClass(positionClass).addClass('%id=customClass%').appendTo(sectionWrapperId);if(positionClass=='section-bottom'){spacer.appendTo(sectionContent);}else{spacer.prependTo(sectionContent);}%[if %("%id=autoPad%"=="true")%]%var resizeSpacer=function(){var targetHeight=$('.mask',stack).outerHeight();spacer.css('height',targetHeight);}
win.on("resize",resizeSpacer);resizeSpacer();%[endif]%$(window).load(function(){$('.section-mask',stack).removeClass('pre-load');%[if %("%id=autoPad%"=="true")%]%resizeSpacer();%[endif]%});});
