<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">jQuery(function( $ ){
/*
    $('.home-featured .wrap') .css({'height': (($(window).height()))+'px'});
    $(window).resize(function(){
        $('.home-featured .wrap') .css({'height': (($(window).height()))+'px'});
    });

    $(".home-featured .home-widgets-1 .widget:last-child").after('&lt;p class="arrow"&gt;&lt;a href="#home-widgets"&gt;&lt;/a&gt;&lt;/p&gt;');
*/

	/* I Am Navigation
	---------------------------------- */
	/*
	$('.i-am-nav-button').click(function(){
		var contHeight = $('.i-am-nav').outerHeight();
		var contWidth = $('.i-am-nav').outerWidth();

		var winHeight = $(window).height();
		var winWidth = $(window).width();

		$('.i-am-nav').css({
			'position': 'absolute',
			'top': (winHeight - contHeight)/2,
			'left': (winWidth - contWidth)/2
		});

		$('.iam-nav-screen').css({
			'display': 'none',
			'visibility': 'visible'
		}).fadeIn();
	});

	$('.close-screen').click(function(){
		$('.iam-nav-screen').fadeOut(function(){
			$(this).css({
				'visibility': 'hidden',
				'display': 'block'
			});
		})
	});
	*/






	/*
	$(window).resize(function(){
		//I Am Nav resize
		var contHeight = $('.i-am-nav').outerHeight();
		var contWidth = $('.i-am-nav').outerWidth();

		var winHeight = $(window).height();
		var winWidth = $(window).width();

		$('.i-am-nav').css({
			'position': 'absolute',
			'top': (winHeight - contHeight)/2,
			'left': (winWidth - contWidth)/2
		});
	});
	*/
	/* Social Slider
	----------------------------- */
	/*
	slider = $('.social-slider');
	sliderElements = slider.html();
	sliderWidth = 0;
	slider.find('.social-item').each(function(){
		sliderWidth = sliderWidth + $(this).outerWidth();
	});
	slider.css('width',sliderWidth);

	if( slider.outerWidth() &lt; $(this).outerWidth() ){
		repeatNumber = Math.ceil(($(window).outerWidth()/sliderWidth)) + 1;
	}else{
		repeatNumber = 2;
	}

	slider.css('width',(sliderWidth*repeatNumber));
	for( i = 1; i &lt; repeatNumber; i++ ){
		slider.append(sliderElements);
	}

	$('.social-slider').mouseover(function(){
		$(this).stop();
	}).mouseout(function(){
		socialSlideRestart($(this),sliderWidth,$(this).attr('margin-left'));
	});

	socialSlide($('.social-slider'),sliderWidth);

	var featuredHeight = $('#featured-home #content .left img').height();
	console.log(featuredHeight);
	if( featuredHeight &lt;= 560 ){
		$('#featured-home #content .mas-container').css('height', featuredHeight );
	}
	*/
	/*
	if( $(window).width() &lt; 490 ){
		$('.title-area').before($('.nav-primary'));
		$('.whysu-copy').before($('.whysu-slider'));
	}

	$('#megaMenuToggle').click(function(){
		$('#megaMenu.megaResponsiveToggle ul.megaMenu').slideToggle();
	});

	$('#megaMenu.megaMenuHorizontal ul.megaMenu li.menu-item &gt; a').click(function(){
		$(this).parent().find('ul.sub-menu-1').slideToggle();
		return false;
	});
	*/
});

jQuery(window).on('load', function($){
	/*
	slider = $('.social-slider');
	sliderElements = slider.html();
	sliderWidth = 0;
	slider.find('.social-item').each(function(){
		sliderWidth = sliderWidth + $(this).outerWidth();
	});
	console.log(sliderWidth);

	slider.css('width',sliderWidth);

	if( slider.outerWidth() &lt; $(this).outerWidth() ){
		repeatNumber = Math.ceil(($(window).outerWidth()/sliderWidth)) + 1;
	}else{
		repeatNumber = 2;
	}

	slider.css('width',(sliderWidth*repeatNumber));
	for( i = 1; i &lt; repeatNumber; i++ ){
		slider.append(sliderElements);
	}

	$('.social-slider').mouseover(function(){
		$(this).stop();
	}).mouseout(function(){
		socialSlideRestart($(this),sliderWidth,$(this).attr('margin-left'));
	});

	socialSlide($('.social-slider'),sliderWidth);
	*/
});

function socialSlide(element,sliderWidth){
	repeatSlide();

	function repeatSlide(){
		element.css('margin-left',0).animate({'margin-left': -sliderWidth},17500,'linear',function(){
			repeatSlide();
		});
	}
}

function socialSlideRestart(element,sliderWidth,startPos){
	restartSlide();

	function restartSlide(){
		element.css('margin-left',startPos).animate({'margin-left': -sliderWidth},17500,'linear',function(){
			socialSlide(element,sliderWidth);
		});
	}
}
</pre></body></html>