<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
jQuery(document).ready(function($){
	//ê¸°ë³¸í´ëž˜ìŠ¤ ì„¸íŒ…
	$("html").addClass(browser);

	if (browser != "ie")
	{
		$("html").addClass("no-ie");
	} else {
		$("html").addClass("ie").attr("data-ie-ver", ieVer);
	}
	if (isMobile())	{ $("html").addClass("device");}
	else {$("html").addClass("desktop");}


	//ì•„ì´í° í™•ëŒ€ë°©ì§€
	//preventiPhoneZoom();

	//ê²Œì‹œíŒ
	boardSetting();

	//ëŒ“ê¸€ìˆ¨ê¹€ì˜µì…˜
	hideCommentSet(false);
});

//ì&nbsp;„í™”ë²ˆí˜¸ ë§í¬
function callDevice(tel){
	if (isMobile())
	{
		location.href="tel:"+tel;
	} else {
		return false;
	}
}

//ê²Œì‹œíŒ ê¸°ë³¸ì„¸íŒ…
function boardSetting(){
	//faq slider
	$(".faq-q").on("click", function(){
		var $q = $(this);
		var $ct = $(this).next(".faq-a");
		$(".faq-a").not($ct).slideUp('fast', function(){
			$(".faq-q").not($q).removeClass("on");
		});
		$q.toggleClass("on");
		$ct.stop().slideToggle('fast');
	});

	//editor ì‚¬ìš©ìž ë“±ë¡ ê°•ì&nbsp;œ ìŠ¤íƒ€ì¼ë§
	$(".u-editor").each(function(){
		$(this).find("img").each(function(){
			$(this).removeAttr("width height style");
		});
		$(this).find("link").remove();
		$(this).find("iframe").each(function(){
			$(this).wrapAll("&lt;div class='editor-vod'&gt;&lt;/div&gt;");
		});

		//ê²Œì‹œê¸€ í…ìŠ¤íŠ¸ ìŠ¤íƒ€ì¼ì— colorê°€ ë“¤ì–´ê°ˆ ê²½ìš° ì—†ì•°. (ì»¨í…ì¸&nbsp; ë°°ê²½ì´ ì–´ë‘ìš´ ê²½ìš° ë“± íŠ¹ìˆ˜í•œ ë””ìžì¸ì—ì„œ ì‚¬ìš©)
		/*$(this).find("*").each(function(){
			var st = $(this).attr("style") || "";
			if (st!="")
			{
				var temp1 = st.split("color:");
				var temp2 = temp1.length &gt; 1 ? temp1[1].split(";") : ["",""];
				var newSt = temp1[0] + temp2[1];
				$(this).attr("style", newSt);
			}
			
		});*/
	});
}
//ê²Œì‹œíŒ ëŒ“ê¸€ ìˆ¨ê¸¸ê²½ìš°
function hideCommentSet(toggle){
	
	if (toggle)
	{
		//ëŒ“ê¸€ ë¦¬ìŠ¤íŠ¸ í†&nbsp;ê¸€
		$(".cmt-tit").on("click", function(){
			$(".comment-view").toggle();
		});
		//ëŒ€ëŒ“ê¸€ ìž‘ì„± í†&nbsp;ê¸€
		$(".write-cofc").on("click", function(){
			$(this).closest("li").find(".comment-write").toggle();
		});
		//ëŒ€ëŒ“ê¸€ ë¦¬ìŠ¤íŠ¸ í†&nbsp;ê¸€
		$(".view-cofc").on("click", function(){
			$(this).closest("li").find(".cmt-of-cmt").toggle();
		});
		
		$(".comment-view").hide();
	}
}

function preventiPhoneZoom(){
	
//í„°ì¹˜ í™•ëŒ€ ë°©ì§€ (ios10 ~ )
	document.documentElement.addEventListener('touchstart', function (event) {
	  if (event.touches.length &gt; 1) {
	   event.preventDefault();
	  }
	 }, false);
}

var ieVer = (function (){
 //   if (window.ActiveXObject === undefined) return null;
    if (!document.querySelector) return 7;
    if (!document.addEventListener) return 8;
    if (!window.atob) return 9;
    if (!document.__proto__) return 10;
    return 11;
})();

var browser = (function(){
	if(navigator.userAgent.indexOf("Edge") != -1 ) return 'ie-edge';
	else if(navigator.userAgent.indexOf("Chrome") != -1 ) return 'chrome';
    else if(navigator.userAgent.indexOf("Opera") != -1 ) return 'opera';
    else if(navigator.userAgent.indexOf("Firefox") != -1 ) return 'firefox';
    else if((navigator.userAgent.indexOf("MSIE") != -1 ) || (!!document.documentMode == true )) return 'ie'; /*IF IE &gt; 10*/
    else return 'unknown';
})();

var isResponsiveWeb = (function(){

	if (ieVer &lt; 9) {
		return false;
	} else {
		return true;
	}
})();

function isMobile(){
	if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/iPhone|iPad|iPod/i) || navigator.userAgent.match(/IEMobile/i)) return true;
    return false;
}
</pre></body></html>