<!DOCTYPE html>
<html lang="ko"
	xmlns:th="http://www.thymeleaf.org">

<head th:fragment="head">
	<meta charset="utf-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<!-- 	<meta http-equiv="cache-control" content="no-cache"/> -->
<!-- 	<meta http-equiv="expires" content="0"/> -->
<!-- 	<meta http-equiv="pragma" content="no-cache"/> -->
	<meta name="Title" th:content="${metaInfo.browserTitle}" content="한세공식몰 스타일24"/>
	<meta name="description" th:content="${metaInfo.ogDesc}" content="한세공식몰,TBJ,FRJ,NBA,NBA KIDS,LPGA,PGATOUR,컬리수,모이몰른,MOIMOLN,리카앤,리바이스키즈,ANDEW,BUCKAROO,나이키키즈"/>
	<meta name="keywords" th:content="${metaInfo.keywords}" content="한세공식몰,TBJ,FRJ,NBA,NBA KIDS,LPGA,PGATOUR,컬리수,모이몰른,MOIMOLN,리카앤,리바이스키즈,ANDEW,BUCKAROO,나이키키즈"/>
	<meta property="og:type" content="website"/>
	<meta property="og:image" th:content="${metaInfo.ogImage}" content="/image/web/common/og_style24.png"/>
	<meta property="og:url" th:content="${@environment.getProperty('domain.front')}" content="http://www.style24.com"/>
	<meta property="og:title" th:content="${metaInfo.browserTitle}" content="스타일24"/>
	<meta property="og:description" th:content="${metaInfo.ogDesc}" content="한세공식몰,TBJ,FRJ,NBA,NBA KIDS,LPGA,PGATOUR,컬리수,모이몰른,MOIMOLN,리카앤,리바이스키즈,ANDEW,BUCKAROO,나이키키즈"/>
	<meta property="og:locale" content="ko_KR"/>
	<meta property="og:site_name" th:content="${metaInfo.browserTitle}" content="한세공식몰 스타일24"/>

	<!-- 추천솔루션 meta -->
	<meta property="eg:type" content="product" />
	<meta property="eg:cuid" content="" />
	<meta property="eg:itemId" content="" />
	<meta property="eg:itemName" content="" />
	<meta property="eg:itemImage" content="" />
	<meta property="eg:itemUrl" content="" />
	<meta property="eg:originalPrice" content="" />
	<meta property="eg:salePrice" content="" />
	<meta property="eg:category1" content="" />
	<meta property="eg:category2" content="" />
	<meta property="eg:category3" content="" />
	<meta property="eg:category4" content="" />
	<meta property="eg:category5" content="" />
	<meta property="eg:category1_name" content="" />
	<meta property="eg:category2_name" content="" />
	<meta property="eg:category3_name" content="" />
	<meta property="eg:category4_name" content="" />
	<meta property="eg:category5_name" content="" />
	<meta property="eg:brandId" content="" />
	<meta property="eg:brandName" content="" />
	<meta property="eg:regDate" content="" />
	<meta property="eg:updateDate" content="" />
	<meta property="eg:isNew" content="" />
	<meta property="eg:stock" content="" />
	<meta property="eg:state" content="" />
	<meta property="eg:description" content="" />
	<meta property="eg:extraImage" content="" />
	<meta property="eg:locale" content="" />
	<meta property="eg:etc1" content="" />
	<!-- 추천솔루션 meta -->

	<title th:text="${metaInfo.browserTitle}">한세공식몰 스타일24</title>
	<link rel="icon" th:href="${metaInfo.favicon}" href="[[${@environment.getProperty('domain.uximage')}]]/images/favicon.ico" type="image/x-icon"/>
	<link rel="apple-touch-icon" th:href="${@environment.getProperty('domain.uximage')} + '/images/apple-touch-icon.png'" sizes="180x180"/>
	<link rel="icon" th:href="${@environment.getProperty('domain.uximage')} + '/images/favicon-32x32.png'" sizes="32x32" type="image/png"/>
	<link rel="icon" th:href="${@environment.getProperty('domain.uximage')} + '/images/favicon-16x16.png'" sizes="16x16" type="image/png"/>

	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/ion.rangeSlider.min.css'"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/slick.css'"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/swiper.min.css'" href="/ux/pc/css/swiper.min.css"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/jquery-ui.css'" href="/ux/pc/css/jquery-ui.css"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/reset.css'" href="/ux/pc/css/reset.css"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/font.css'" href="/ux/pc/css/font.css"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/common.css'" href="/ux/pc/css/common.css"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/layout.css'" href="/ux/pc/css/layout.css"/>
	<link rel="stylesheet" type="text/css" th:href="${@environment.getProperty('domain.uximage')} + '/ux/pc/css/main.css'" href="/ux/pc/css/main.css"/>

	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/pc/js/jquery-1.11.0.min.js'"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/pc/js/jquery-migrate-1.2.1.min.js'"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/pc/js/swiper.min.js'"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/pc/js/ion.rangeSlider.min.js'"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/pc/js/jquery.modal.min.js'"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/pc/js/jquery-ui.js'"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/plugins/jquery.serializeObject.min.js'"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/pc/js/mcxdialog_ui.js'"></script>

	<script type="text/javascript" src="https://ssl.daumcdn.net/dmaps/map_js_init/postcode.v2.js"></script>
	<script src="https://www.google.com/recaptcha/api.js" async defer></script>

	<!-- Global site tag (gtag.js) - Google Analytics -->
	<script async src="https://www.googletagmanager.com/gtag/js?id=G-MQWD9VX4KH"></script>
	<script>
		window.dataLayer = window.dataLayer || [];
		function gtag(){dataLayer.push(arguments);}
		gtag('js', new Date());
// 		gtag('config', 'AW-865781638');
		gtag('config', 'G-MQWD9VX4KH');
	</script>
	<!--// Global site tag (gtag.js) - Google Analytics -->

	<th:block th:if="${sessionInfo != null}">
		<script th:inline="javascript">
		/*<![CDATA[*/
			var gCustId = [[${sessionInfo.custId}]];
			var gEmail = [[${sessionInfo.email}]];
			var gGender = [[${sessionInfo.sexGb}]];
			var gBirthYmd = [[${sessionInfo.birthYmd}]];
			/*]]>*/
		</script>
	</th:block>
	<th:block th:if="${sessionInfo == null}">
		<script th:inline="javascript">
		/*<![CDATA[*/
			var gCustId = '';
			var gEmail = '';
			var gGender = '';
			var gBirthYmd = '';
			/*]]>*/
		</script>
	</th:block>

	<script type="text/javascript" th:src="${@environment.getProperty('domain.uximage')} + @{'/ux/plugins/gaga/gaga.validation.js'}" src="/ux/plugins/gaga/gaga.validation.js"></script>
	<script th:src="${@environment.getProperty('domain.uximage')} + '/ux/sha512.min.js'"></script>
	<script>
		String.prototype.hashCode = function() {
			var hash = 0;
			for (var i = 0; i < this.length; i++) {
				var character = this.charCodeAt(i);
				hash = ((hash<<5) - hash) + character;
				hash = hash & hash; // Convert to 32bit integer
			}
			return hash;
		}
		var eglqueueCuid = '1252aed4-78dc-46e8-b784-94ac42e86dd4';
		var hCustId = gCustId ? hex_sha512(gCustId).toString().hashCode() : '';
		var hEmail = gEmail;

		/* Eiengine Script (Visit) */
		window._eglqueue = window._eglqueue || [];
		_eglqueue.push(['setVar', 'cuid', eglqueueCuid]);
		_eglqueue.push(['setVar', 'userId', hCustId]);
		_eglqueue.push(['track', 'visit']);
		/* (function (s, x) {
			s = document.createElement('script'); s.type = 'text/javascript';
			s.async = true; s.defer = true; s.src = (('https:' == document.location.protocol) ? 'https' : 'http') + '://logger.eigene.io/js/logger.min.js';
			x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
		})(); */
		/* \\Eiengine Script (Visit) */

		// 로그인 성공 시 - 시작

		// 나이대 구하기 31 -> 30
		var fnGetAge = function (birthYmd) {
			let age = '';
			if (!gagajf.isNull(birthYmd) && birthYmd.length > 7) {
				let year = Number(new Date().getFullYear());
				let curretAge = year - Number(birthYmd.substr(0, 4));
				age = String(curretAge).substr(0 , 1) + '0';
			}
			return age;
		}
		// 성별 공통코드 값 M-> A, F-> B
		var fnGetGender = function (gGender) {
			let gender = '';
			if (!gagajf.isNull(gGender)) {
				gender = gGender.substr(5,6) === 'M' ? 'A' : 'B';
			}
			return gender;
		}

		let loginSuccessYn = gagajf.getCookie('st24ck_login_success');
		if (loginSuccessYn === 'Y') {
			gagajf.setCookie('st24ck_login_success', '', 0);
			let age = fnGetAge(gBirthYmd);
			let gender = fnGetGender(gGender);
			window._eglqueue = window._eglqueue || [];
			_eglqueue.push(['setVar','cuid', eglqueueCuid]);
			_eglqueue.push(['setVar','userId', hCustId]);
			_eglqueue.push(['setVar','gender', gender]);
			_eglqueue.push(['setVar','age', age]);
			_eglqueue.push(['track','user']);
			(function (s, x) {
				s = document.createElement('script'); s.type = 'text/javascript';
				s.async = true; s.defer = true; s.src = (('https:' == document.location.protocol) ? 'https' : 'http') + '://logger.eigene.io/js/logger.min.js';
				x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
			})();
		}
		// 로그인 성공 시 - 끝
	</script>

	<!-- Criteo 로더 파일 (Head에 위치) -->
	<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
	<script>
		var criteoEmail = gEmail ? hex_sha512(gEmail).toString().hashCode() : '';
	</script>
	<!--// Criteo 로더 파일 (Head에 위치) -->

	<!-- Facebook Pixel Code -->
	<script type="text/javascript">
		!function (f, b, e, v, n, t, s) {
			if (f.fbq) return; n = f.fbq = function ()
			{ n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) };
			if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0';
			n.queue = []; t = b.createElement(e); t.async = !0;
			t.src = v; s = b.getElementsByTagName(e)[0];
			s.parentNode.insertBefore(t, s)
		}(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
		fbq('init', '194350084240885');
		fbq('track', 'PageView');
	</script>
<!-- 	<noscript> -->
<!-- 		<img height="1" width="1" src="https://www.facebook.com/tr?id=194350084240885&ev=PageView&noscript=1"/> -->
<!-- 	</noscript> -->
	<!--// Facebook Pixel Code -->

	<!-- Enliple(모비온) Tracker Start -->
	<script type="text/javascript">
		(function(a,g,e,n,t){a.enp=a.enp||function(){(a.enp.q=a.enp.q||[]).push(arguments)};n=g.createElement(e);n.async=!0;n.defer=!0;n.src="https://cdn.megadata.co.kr/dist/prod/enp_tracker_self_hosted.min.js";t=g.getElementsByTagName(e)[0];t.parentNode.insertBefore(n,t)})(window,document,"script");
		enp('create', 'common', 'is24', { device: 'W' });  // W:웹, M: 모바일, B: 반응형
		enp('send', 'common', 'is24');
	</script>
	<!--// Enliple(모비온) Tracker End -->

	<!-- Cosem Log Gathering Script V.2.0 -->
	<script language="javascript" type="text/javascript">
		var cosem_Request = function () {
			var cookieDay = 7; // 쿠키설정 날짜
			var accountCode = "951";
			this.getParameter = function (name) {
				var rtnval = ''; var nowAddress = unescape(location.href); var parameters = (nowAddress.slice(nowAddress.indexOf('?') + 1, nowAddress.length)).split('&');
				for (var i = 0 ; i < parameters.length ; i++) { var varName = parameters[i].split('=')[0]; if (varName.toUpperCase() == name.toUpperCase()) { rtnval = parameters[i].split('=')[1]; break; }; }; return rtnval;
			}
			this.imageURL = function () {
				var cosem = this.getParameter('cosemkid'); var cosem_kid = ""; var cosemProtocol = (location.protocol == "https:") ? "https:" : "http:";
				if (cosem.length == 0) cosem = this.getParameter('cosem');
				if (cosem.length > 0) {
					cosem_kid = "&kid=" + cosem + "&referer=" + encodeURIComponent(location.href);
					var image = new Image(); image.src = cosemProtocol + "//" + "tracking.icomas.co.kr" + "/Script/script3.php" + "?aid=" + accountCode + "&ctime=" + cookieDay + cosem_kid;
				};
			};
			this.tracking = function () { var obj = this; setTimeout(function () { obj.imageURL(); }, 10); };
		};
		var cosemRequest = new cosem_Request();
		cosemRequest.tracking();

		function cosemConvert(rn, amt, pc, pa, pp, pg, etc) {
			var cosemProtocol = ( location.protocol=="https:" )? "https:" :"http:";
			var image = new Image();
			var accountCode = "951";
			var imageURL = cosemProtocol + "//" + "tracking.icomas.co.kr";
			imageURL += "/Script/action3.php" + "?aid=" + accountCode + "&rn=" + encodeURI(rn) ;
			imageURL += "&amt=" + amt + "&pc=" + encodeURI(pc) + "&pa=" + pa + "&pp=" + pp + "&pg=" + encodeURI(pg) + "&etc=" + encodeURI(etc);
			image.src = imageURL;
		}
	</script>
	<!--// Cosem Log Gathering Script V.2.0 -->
</head>

</html>
