(function($) {
	'use strict';
	$(function() {
		$('.am-nav li').mouseover(function(){
			$(this).children('.am-dropdown-content').show();
		}).mouseout(function(){
			$(this).children('.am-dropdown-content').hide();
		});
		$(window).scroll(function(){
			if($(window).scrollTop() > 200){
				$(".am-scroll-t").fadeIn();
			} else {
				$(".am-scroll-t").fadeOut();
			}
		});
    });
})(jQuery);