<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">$( document ).ready( function() {
	
	/*---- mobile menu ---*/
	init_mobile_menu();
	
	/*---- accordion ---*/
	init_accordion();
	
	/*---- Search Autocomplete ---*/
	init_search();
	
	/*---- 回頂部 ---*/
	init_moveTop();
	
	/*---- Search Submit ---*/
	$('#kw_form').submit(function(e){
		e.preventDefault();
		send_search();
	});
	
	/*---- fixed header ---*/
	fixed_header();
	
	/* search's placeholder */
	//init_placeholder();
	
	/* Hide placeholder on focus 
	$(document).on('focus', '[placeholder]', function(){
	  var text = $(this).attr('placeholder');
	  $(this).attr('placeholder', '');
	  $(this).on('blur', function(){
		$(this).attr('placeholder', text);
	  });
	});
	*/
	
	/*
	$('#search input[name=\'search\']').parent().find('button').on('click', function() {
			url = $('base').attr('href') + 'index.php?route=product/search';

			var value = $('header input[name=\'search\']').val();

			if (value) {
				url += '&amp;search=' + encodeURIComponent(value);
			}

			location = url;
		});
		$('#search input[name=\'search\']').on('keydown', function(e) {
			if (e.keyCode == 13) {
				$('header input[name=\'search\']').parent().find('button').trigger('click');
			}
		});
	*/
	
	/* fb's like 
	if($("#like").length&gt;0) {
		$("#like").removeClass("disnone");
	}
	*/
	
	/* link count  
	$("a[rel=nofollow]").each(function(){
		if($(this).attr("href").match(/yahoo\.com/))
		{
			$(this).click(function(){
				count_link($(this).attr("href"));
			});
		}
	});
	*/
	
	/*
	$("input#form1").result(function(event, data, formatted) {
		$(this).closest("form1").submit();
	});
	*/
});


$(window).resize(function() {
	//fixed_header();
});

$(window).scroll(function () {
	if ($(window).scrollTop() &gt; 200) {
		$('#back-top').fadeIn();
	} else {
		$('#back-top').fadeOut();
	}
	fixed_header();
});</pre></body></html>