var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
/**
* 상품상세 사용후기
*/
$(document).ready(function(){
$('.xans-product-review a').click(function(e) {
e.preventDefault();
var no = $(this).attr('href').replace(/(\S*)no=(\d+)(\S*)/g, '$2');
var $obj = $('#product-review-read_'+no);
//로드된 엘리먼트 존재 체크
if ($obj.length > 0) {
if ($obj.css('display') =='none') {
$obj.show();
} else {
$obj.hide();
}
return;
}
REVIEW.getReadData($(this));
});
});
var PARENT = '';
var OPEN_REVIEW = '';
var REVIEW = {
getReadData : function(obj, eType)
{
if (obj != undefined) {
PARENT = obj;
var sHref = obj.attr('href');
var pNode = obj.parents('tr');
var pass_check = '&pass_check=F';
} else {
var sHref = PARENT.attr('href');
var pNode = PARENT.parents('tr');
var pass_check = '&pass_check=T';
}
var sQuery = sHref.split('?');
var sQueryNo = sQuery[1].split('=');
if (OPEN_REVIEW == sQueryNo[1]) {
$('#product-review-read').remove();
OPEN_REVIEW = '';
return false;
} else {
OPEN_REVIEW = sQueryNo[1];
}
$.ajax({
url : '/exec/front/board/product/4?'+sQuery[1]+pass_check,
dataType: 'json',
success: function(data) {
$('#product-review-read').remove();
var sPath = document.location.pathname;
var sPattern = /^\/product\/(.+)\/([0-9]+)(\/.*)/;
var aMatchResult = sPath.match(sPattern);
if (aMatchResult) {
var iProductNo = aMatchResult[2];
} else {
var iProductNo = getQueryString('product_no');
}
var aHtml = [];
//읽기 권한 체크
if (false === data.read_auth && eType == undefined) {
alert(decodeURIComponent(data.alertMSG));
//로그인페이지 이동
if (data.returnUrl != undefined) {
location.replace("/member/login.html?returnUrl=" + data.returnUrl);
}
return false;
}
if (data.is_secret == true) {
// 비밀글 비밀번호 입력 폼
aHtml.push('
');
} else {
// 글 내용
if (data.read['content_image'] != null) {
var sImg = data.read['content_image'];
} else {
var sImg = '';
}
aHtml.push('');
aHtml.push('
'+data.read['content']+'
');
aHtml.push('
'+sImg+'
');
aHtml.push('
');
if (data.write_auth == true) {
aHtml.push('
');
}
aHtml.push('
');
aHtml.push('
');
// 댓글리스트
if (data.comment != undefined && data.comment.length != undefined) {
aHtml.push('');
}
// 댓글쓰기
if (data.comment_write != undefined) {
aHtml.push('');
}
// 댓글의 댓글쓰기
if (data.comment_reply != undefined) {
aHtml.push('');
}
// 비밀댓글 확인
if (data.comment_secret != undefined) {
aHtml.push('');
}
}
$(pNode).after('| '+aHtml.join('')+' |
');
// 평점기능 사용안함일 경우 보여지는 td를 조절하기 위한 함수
PRODUCT_COMMENT.comment_colspan(pNode);
if (data.comment_write != undefined && data.comment_write['use_comment_size'] == '') PRODUCT_COMMENT.comment_byte(4, data.key);
if (data.comment_reply != undefined && data.comment_write['use_comment_size'] == '') PRODUCT_COMMENT.comment_byte(4, data.key, 'commentReplyWriteForm');
}
});
},
END : function() {}
};
/**
* 상품상세 Q&A
*/
$(document).ready(function(){
$('.xans-product-qna a').click(function(e) {
e.preventDefault();
var no = $(this).attr('href').replace(/(\S*)no=(\d+)(\S*)/g, '$2');
var $obj = $('#product-qna-read_'+no);
//로드된 엘리먼트 존재 체크
if ($obj.length > 0) {
if ($obj.css('display') =='none') {
$obj.show();
} else {
$obj.hide();
}
return;
}
QNA.getReadData($(this));
});
});
var PARENT = '';
var OPEN_QNA = '';
var QNA = {
getReadData : function(obj, eType)
{
if (obj != undefined) {
PARENT = obj;
var sHref = obj.attr('href');
var pNode = obj.parents('tr');
var pass_check = '&pass_check=F';
} else {
var sHref = PARENT.attr('href');
var pNode = PARENT.parents('tr');
var pass_check = '&pass_check=T';
}
var sQuery = sHref.split('?');
var sQueryNo = sQuery[1].split('=');
if (OPEN_QNA == sQueryNo[1]) {
$('#product-qna-read').remove();
OPEN_QNA = '';
return false;
} else {
OPEN_QNA = sQueryNo[1];
}
$.ajax({
url : '/exec/front/board/product/6?'+sQuery[1]+pass_check,
dataType: 'json',
success: function(data) {
$('#product-qna-read').remove();
var sPath = document.location.pathname;
var sPattern = /^\/product\/(.+)\/([0-9]+)(\/.*)/;
var aMatchResult = sPath.match(sPattern);
if (aMatchResult) {
var iProductNo = aMatchResult[2];
} else {
var iProductNo = getQueryString('product_no');
}
var aHtml = [];
//읽기 권한 체크
if (false === data.read_auth && eType == undefined) {
alert(decodeURIComponent(data.alertMSG));
//로그인페이지 이동
if (data.returnUrl != undefined) {
location.replace("/member/login.html?returnUrl=" + data.returnUrl);
}
return false;
}
if (data.is_secret == true) {
// 비밀글 비밀번호 입력 폼
aHtml.push('');
} else {
// 글 내용
if (data.read['content_image'] != null) {
var sImg = data.read['content_image'];
} else {
var sImg = '';
}
aHtml.push('');
aHtml.push('
'+data.read['content']+'
');
aHtml.push('
'+sImg+'
');
aHtml.push('
');
if (data.write_auth == true) {
aHtml.push('
');
}
aHtml.push('
');
aHtml.push('
');
// 댓글리스트
if (data.comment != undefined && data.comment.length != undefined) {
aHtml.push('');
}
// 댓글쓰기
if (data.comment_write != undefined) {
aHtml.push('');
}
// 댓글의 댓글쓰기
if (data.comment_reply != undefined) {
aHtml.push('');
}
// 비밀댓글 확인
if (data.comment_secret != undefined) {
aHtml.push('');
}
}
$(pNode).after('| '+aHtml.join('')+' |
');
// 평점기능 사용안함일 경우 보여지는 td를 조절하기 위한 함수
PRODUCT_COMMENT.comment_colspan(pNode);
if (data.comment_write != undefined && data.comment_write['use_comment_size'] == '') PRODUCT_COMMENT.comment_byte(6, data.key);
if (data.comment_reply != undefined && data.comment_write['use_comment_size'] == '') PRODUCT_COMMENT.comment_byte(6, data.key, 'commentReplyWriteForm');
}
});
},
END : function() {}
};
/**
* 움직이는 배너 Jquery Plug-in
* @author cafe24
*/
;(function($){
$.fn.floatBanner = function(options) {
options = $.extend({}, $.fn.floatBanner.defaults , options);
return this.each(function() {
var aPosition = $(this).position();
var node = this;
$(window).scroll(function() {
var _top = $(document).scrollTop();
_top = (aPosition.top < _top) ? _top : aPosition.top;
setTimeout(function () {
$(node).stop().animate({top: _top}, options.animate);
}, options.delay);
});
});
};
$.fn.floatBanner.defaults = {
'animate' : 500,
'delay' : 500
};
})(jQuery);
/**
* 문서 구동후 시작
*/
$(document).ready(function(){
$('#quickR, #quickL').floatBanner();
});
/* 즐겨찾기 */
function bookmark(){ window.external.AddFavorite('/http://ecdemo96552.cafe24.com/', '클릭앤조이') }
//window popup script
function winPop(url) {
window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no");
}
/**
* document.location.href split
* return array Param
*/
function getQueryString(sKey)
{
var sQueryString = document.location.search.substring(1);
var aParam = {};
if (sQueryString) {
var aFields = sQueryString.split("&");
var aField = [];
for (var i=0; i'+sPage+'');
} else {
var sHref = $(this).attr('href');
$(this).parent().html(''+sPage+'');
}
});
}
/* ==========================================================
* MobilySlider
* date: 20.1.2010
* author: Marcin Dziewulski
* last update: 02.02.2011
* web: http://www.mobily.pl or http://playground.mobily.pl
* email: hello@mobily.pl
* Free to use under the MIT license.
* ========================================================== */
(function($){$.fn.mobilyslider=function(options){
var defaults={content:".sliderContent",
children:"div",
transition:"horizontal",
animationSpeed:300,
autoplay:false,
autoplaySpeed:3000,
pauseOnHover:false,
bullets:true,
arrows:true,
arrowsHide:true,
prev:"prev",
next:"next",
animationStart:function(){},
animationComplete:function(){}};
var sets=$.extend({},defaults,options);
return this.each(function(){var $t=$(this),item=$t.children(sets.content).children(sets.children),l=item.length-1,w=item.width(),h=item.height(),step=0,play,bullets,arrows,z,active,bullet;var slider={init:function(){slider.data();if(sets.bullets){slider.bullets.create()}if(sets.arrows){slider.arrows.create()}if(sets.autoplay){slider.autoplay()}slider.triggers()},data:function(){item.each(function(i){$(this).css("z-index",-(i-l))});if(sets.transition=="fade"){item.hide().eq(0).show()}},zindex:{prev:function(){step==l?item.eq(0).css("z-index",l+3):item.css("z-index",l+1);item.eq(step).css("z-index",l+4).next(item).css("z-index",l+2)},next:function(){item.css("z-index",l+1).eq(step).css("z-index",l+3).prev(item).css("z-index",l+2)},bullets:function(){item.css("z-index",l+1).eq(active).css("z-index",l+2);item.eq(step).css("z-index",l+3)},trigger:function(){if(z==1){slider.zindex.next()}else{if(z==-1){slider.zindex.prev()}else{if(z==0){slider.zindex.bullets()}}}}},slide:{left:function(sign){sets.animationStart.call(this);item.eq(step).animate({left:sign+"="+w},sets.animationSpeed,function(){slider.zindex.trigger()}).animate({left:0},sets.animationSpeed+200,function(){sets.animationComplete.call(this)})},top:function(sign){sets.animationStart.call(this);item.eq(step).animate({top:sign+"="+h},sets.animationSpeed,function(){slider.zindex.trigger()}).animate({top:0},sets.animationSpeed+200,function(){sets.animationComplete.call(this)})},fade:function(){sets.animationStart.call(this);item.fadeOut(sets.animationSpeed).eq(step).fadeIn(sets.animationSpeed,function(){sets.animationComplete.call(this)})}},animation:{previous:function(){step==0?step=l:step--;z=-1;switch(sets.transition){case"horizontal":slider.slide.left("-");break;case"vertical":slider.slide.top("+");break;case"fade":slider.slide.fade();break}},next:function(){step==l?step=0:step++;z=1;switch(sets.transition){case"horizontal":slider.slide.left("+");break;case"vertical":slider.slide.top("-");break;case"fade":slider.slide.fade();break}}},autoplay:function(){play=setInterval(function(){slider.animation.next();if(sets.bullets){setTimeout(function(){slider.bullets.update()},sets.animationSpeed+300)}},sets.autoplaySpeed)},pause:function(){clearInterval(play)},bullets:{create:function(){$t.append($("").addClass("sliderBullets"));bullets=$t.find(".sliderBullets");for(i=0;i<=l;i++){bullets.append($("").attr({href:"#",rel:i}).text(i))}},trigger:function(){bullet=bullets.find("a");bullet.eq(0).addClass("active");bullet.click(function(){var b=$(this),rel=b.attr("rel");active=bullet.filter(".active").attr("rel");step=rel;sign=rel>active?"+":"-";z=0;if(!b.hasClass("active")){switch(sets.transition){case"horizontal":slider.slide.left(sign);break;case"vertical":slider.slide.top(sign);break;case"fade":slider.slide.fade();break}}bullet.removeClass("active");b.addClass("active");return false})},update:function(){bullet.removeClass("active").eq(step).addClass("active")}},arrows:{create:function(){$t.append($("").addClass("sliderArrows"));arrows=$t.find(".sliderArrows");arrows.append($("").attr("href","#").addClass(sets.prev).text("Previous"));arrows.append($("").attr("href","#").addClass(sets.next).text("Next"))},trigger:function(){arrows.find("."+sets.prev).click(function(){slider.animation.previous();if(sets.bullets){slider.bullets.update()}return false});arrows.find("."+sets.next).click(function(){slider.animation.next();if(sets.bullets){slider.bullets.update()}return false});if(sets.arrowsHide){arrows.hide();$t.hover(function(){arrows.show()},function(){arrows.hide()})}}},triggers:function(){if(sets.arrows){slider.arrows.trigger()}if(sets.bullets){slider.bullets.trigger()}if(sets.pauseOnHover){$t.hover(function(){slider.pause()},function(){slider.autoplay()})}}};slider.init()})}}(jQuery));
$(document).ready(function(){
$('#cateBanner').mobilyslider({
content: '.sliderContent',
children: 'div',
transition: 'vertical',
animationSpeed: 50,
autoplay: true,
autoplaySpeed: 4000,
pauseOnHover: false,
bullets: true,
arrows: false,
arrowsHide: false,
prev: 'prev',
next: 'next',
animationStart: function(){},
animationComplete: function(){}
});
$('#mainSlider').mobilyslider({
content: '.sliderContent',
children: 'div',
transition: 'fade',
animationSpeed: 500,
autoplay: true,
autoplaySpeed: 5000,
pauseOnHover: false,
bullets: true,
arrows: true,
arrowsHide: false,
prev: 'prev',
next: 'next',
animationStart: function(){},
animationComplete: function(){}
});
$('#sliderSubBanner').mobilyslider({
content: '.sliderContent',
children: 'div',
transition: 'horizontal',
animationSpeed: 50,
autoplay: true,
autoplaySpeed: 3000,
pauseOnHover: true,
bullets: true,
arrows: true,
arrowsHide: false,
prev: 'prev',
next: 'next',
animationStart: function(){},
animationComplete: function(){}
});
$('#loginSpecialBox').mobilyslider({
content: '.sliderContent',
children: 'div',
transition: 'vertical',
animationSpeed: 50,
autoplay: true,
autoplaySpeed: 4000,
pauseOnHover: true,
bullets: true,
arrows: true,
arrowsHide: false,
prev: 'prev',
next: 'next',
animationStart: function(){},
animationComplete: function(){}
});
$(function(){
$("img.rollover").hover(
function() { this.src = this.src.replace("Off", "On");
},
function() { this.src = this.src.replace("On", "Off");
});
});
/** 메인이미지 롤링 */
; (function ($) {
// 슬라이드 쇼 플러그인
// 사용 법
// $('#slidesContainer').slideShow({currentPosition:0, slideWidth: 260});
// ==> {currentPosition:0, slideWidth: 260} 넣지 않을 경우 기본 값
$.fn.slideShow = function(options) {
var opts = jQuery.extend({}, jQuery.fn.slideShow.defaults, options);
return this.each(function() {
/* 슬라이드 구성 */
var $slides = $('.'+opts.slideId); //슬라이드 자식들 가져오기
var numberOfSlides = $slides.length; //슬라이드 자식들 갯수
var $leftBtn = $('#'+opts.leftBtnId); //슬라이드 이전 버튼
var $rigthBtn = $('#'+opts.rigthBtnId); //슬라이드 다음 버튼
var strLoopWay = 'next'; //롤링 방향
/* 슬라이드 구성 */
/* 자동롤링 정보 */
var strAutoPlay = ''; //반복 Interval 정보
var $AutoDiv = $('#'+opts.AutoDivId); //마우스 오버/ 아웃시 반복 멈추고 제시작할 div
/* 자동롤링 정보 */
//반복하지 않고 시작점이 0 일 경우 왼쪽 버튼 숨기기 slideLoop : false 경우
if( !opts.slideLoop && opts.currentPosition == 0 ) $leftBtn.hide();
if( !opts.slideLoop && opts.currentPosition == (numberOfSlides - 1) ) $rigthBtn.hide();
//이전, 다음 버튼에 액션 추가
$leftBtn.click(function(){
strLoopWay = 'pre'
Slide();
});
$rigthBtn.click(function(){
strLoopWay = 'next'
Slide();
});
//자동 롤링 제어
$AutoDiv.mouseover(function(){
AutoPlayStop();
});
$AutoDiv.mouseout(function(){
AutoPlayStart();
});
//자식노드를 새로운 div 에 담기
//익스플로러9 일 경우 예외
if( navigator.appVersion.indexOf("MSIE 9") > -1 )
{
div = document.createElement("DIV");
div.id = opts.slideShowId;
$slides.wrapAll(div).css({'width' : opts.slideWidth, 'height': opts.slideHeight});
}
else
{
$slides.wrapAll('').css({'width' : opts.slideWidth, 'height': opts.slideHeight});
}
//새 객체 담기
var $sliderInner = $('#'+opts.slideShowId);
$sliderInner.css('width', opts.slideWidth * numberOfSlides);
//좌우 슬라이드 일 경우
if( opts.slideWay == 'left' )
{
$slides.css({'float':'left'});
$sliderInner.animate({
'marginLeft' : opts.slideWidth * (-opts.currentPosition)
});
}
else //상하 슬라이드일 경우
{
$sliderInner.animate({
'marginTop' : opts.slideHeight * (-opts.currentPosition)
});
}
//버튼 클릭시 실행 함수
function Slide()
{
if( strLoopWay == 'pre' )
{
opts.currentPosition = opts.currentPosition - 1;
//루프이면서 현재 위치가 0보다 작을 경우
if( opts.slideLoop )
{
if( opts.currentPosition < 0 )
{
opts.currentPosition = 1;
if( opts.slideWay == 'left' ) $sliderInner.css( 'marginLeft', opts.slideWidth * (-opts.currentPosition) );
else $sliderInner.css( 'marginTop', opts.slideHeight * (-opts.currentPosition) );
$('#'+opts.slideShowId +' div:last-child').insertBefore($('#'+opts.slideShowId +' div:first-child'));
opts.currentPosition = 0;
}
}
else if( !opts.slideLoop && opts.currentPosition <= 0 )
{
opts.currentPosition = 0;
$rigthBtn.show();
$leftBtn.hide();
}
}
else
{
opts.currentPosition = opts.currentPosition + 1;
//루프이면서 현재위치가 전체보다 클 경우
if( opts.slideLoop )
{
if( opts.currentPosition > numberOfSlides - 1 )
{
opts.currentPosition = numberOfSlides - 2;
if( opts.slideWay == 'left' ) $sliderInner.css( 'marginLeft', opts.slideWidth * (-opts.currentPosition) );
else $sliderInner.css( 'marginTop', opts.slideHeight * (-opts.currentPosition) );
$('#'+opts.slideShowId +' div:first-child').insertAfter($('#'+opts.slideShowId +' div:last-child'));
opts.currentPosition = opts.currentPosition + 1;
}
}
else if( !opts.slideLoop && opts.currentPosition >= numberOfSlides - 1 )
{
opts.currentPosition = numberOfSlides - 1;
$leftBtn.show();
$rigthBtn.hide();
}
}
//상하, 좌우슬라이드 액션 실행
if( opts.slideWay == 'left' )
{
$sliderInner.animate({
'marginLeft' : opts.slideWidth * (-opts.currentPosition)
});
}
else
{
$sliderInner.animate({
'marginTop' : opts.slideHeight * (-opts.currentPosition)
});
}
}
//자동롤링 시작
function AutoPlayStart()
{
strAutoPlay = window.setInterval( function() {
Slide();
}, opts.AutoPlayTime);
}
//자동롤링 종료
function AutoPlayStop()
{
window.clearInterval(strAutoPlay);
}
//자동롤링 설정
if( opts.slideAuto ) AutoPlayStart();
});
};
//slideShow 플러그인의 기본 옵션들이다.
jQuery.fn.slideShow.defaults = {
currentPosition: 0, //시작점
slideWidth: 910, //가로사이즈
slideHeight: 490, //세로사이즈
slideId: 'slide', //자식노드 아이디
leftBtnId: 'left', //이전버튼 아이디
rigthBtnId: 'right', //다음버튼 아이디
slideShowId: 'slideInner', //슬라이드 부모 생성할 아이디
slideWay: 'left', //슬라이드 방향 빈값일 경우 위로
slideLoop: true, //반복 여부 false 일 경우 스톱
slideAuto: true, //자동롤링 여부
AutoDivId: 'slideshow', //마우스 오버/아웃시 오토롤링 제어
AutoPlayTime: 5000 //자동롤링 시간
};
}) (jQuery);
});
(function($) {
$(function() {
$('#slideshow').slideShow(); // 좌/우
//$('#slidesContainer').slideShow({slideWay:''}); // 상/하
});
}) (jQuery);
(function(a){var b=["Webkit","Moz","O","Ms","Khtml",""];a.fn.cssSetQueue=function(b,c){v=this;var d=v.data("cssQueue")?v.data("cssQueue"):[];var e=v.data("cssCall")?v.data("cssCall"):[];var f=0;var g={};a.each(c,function(a,b){g[a]=b});while(1){if(!e[f]){e[f]=g.complete;break}f++}g.complete=f;d.push([b,g]);v.data({cssQueue:d,cssRunning:true,cssCall:e})};a.fn.cssRunQueue=function(){v=this;var a=v.data("cssQueue")?v.data("cssQueue"):[];if(a[0])v.cssEngine(a[0][0],a[0][1]);else v.data("cssRunning",false);a.shift();v.data("cssQueue",a)};a.cssMerge=function(b,c,d){a.each(c,function(c,e){a.each(d,function(a,d){b[d+c]=e})});return b};a.fn.cssAnimationData=function(a,b){var c=this;var d=c.data("cssAnimations");if(!d)d={};if(!d[a])d[a]=[];d[a].push(b);c.data("cssAnimations",d);return d[a]};a.fn.cssAnimationRemove=function(){var b=this;var c=b.data("cssAnimations");var d=b.data("identity");a.each(c,function(a,b){c[a]=b.splice(d+1,1)});b.data("cssAnimations",c)};a.css3D=function(c){a("body").data("cssPerspective",isFinite(c)?c:c?1e3:0).css(a.cssMerge({},{TransformStyle:c?"preserve-3d":"flat"},b))};a.cssAnimateSupport=function(){var c=false;a.each(b,function(a,b){c=document.body.style[b+"AnimationName"]!==undefined?true:c});return c};a.fn.cssEngine=function(c,d){function f(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()}var e=this;if(typeof d.complete=="number")e.data("cssCallIndex",d.complete);var g={linear:"linear",swing:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out"};var h={};var i=a("body").data("cssPerspective");if(c.transform)a.each(b,function(a,b){var d=b+(b?"T":"t")+"ransform";var g=e.css(f(d));var j=c.transform;if(!g||g=="none")h[d]="scale(1)";c[d]=(i&&!/perspective/gi.test(j)?"perspective("+i+") ":"")+j});if(c.borderRadius)a.each(b,function(a,b){c[b+(b?"B":"b")+"orderRadius"]=c.borderRadius});if(c.boxShadow)a.each(b,function(a,b){c[b+(b?"B":"b")+"oxShadow"]=c.boxShadow});var j=[];a.each(c,function(a,b){j.push(f(a))});var k=false;var l=[];var m=[];for(var n=0;n= defaults.threshold )
{
phase = PHASE_END;
triggerHandler(event, phase);
touchCancel(event); // reset the variables
}
}
}
else
{
phase = PHASE_CANCEL;
triggerHandler(event, phase);
touchCancel(event);
}
}
/*
* Event handler for a touch end event.
* Calculate the direction and trigger events
*/
function touchEnd(event)
{
event.preventDefault();
distance = caluculateDistance();
direction = caluculateDirection();
if (defaults.triggerOnTouchEnd)
{
phase = PHASE_END;
// check to see if more than one finger was used and that there is an ending coordinate
if ( (fingerCount == defaults.fingers || !hasTouch) && end.x != 0 )
{
// if the user swiped more than the minimum length, perform the appropriate action
if ( distance >= defaults.threshold )
{
triggerHandler(event, phase);
touchCancel(event); // reset the variables
}
else
{
phase = PHASE_CANCEL;
triggerHandler(event, phase);
touchCancel(event);
}
}
else
{
phase = PHASE_CANCEL;
triggerHandler(event, phase);
touchCancel(event);
}
}
else if (phase == PHASE_MOVE)
{
phase = PHASE_CANCEL;
triggerHandler(event, phase);
touchCancel(event);
}
that.removeEventListener(MOVE_EV, touchMove, false);
that.removeEventListener(END_EV, touchEnd, false);
}
/*
* Event handler for a touch cancel event.
* Clears current vars
*/
function touchCancel(event)
{
// reset the variables back to default values
fingerCount = 0;
start.x = 0;
start.y = 0;
end.x = 0;
end.y = 0;
delta.x = 0;
delta.y = 0;
}
/*
* Trigger the relevant event handler
* The handlers are passed the original event, the element that was swiped, and in the case of the catch all handler, the direction that was swiped, "left", "right", "up", or "down"
*/
function triggerHandler(event, phase)
{
//update status
if (defaults.swipeStatus)
defaults.swipeStatus.call($this,event, phase, direction || null, distance || 0);
if (phase == PHASE_CANCEL)
{
if (defaults.click && (fingerCount==1 || !hasTouch) && (isNaN(distance) || distance==0))
defaults.click.call($this,event, event.target);
}
if (phase == PHASE_END)
{
//trigger catch all event handler
if (defaults.swipe)
{
defaults.swipe.call($this,event, direction, distance);
}
//trigger direction specific event handlers
switch(direction)
{
case LEFT :
if (defaults.swipeLeft)
defaults.swipeLeft.call($this,event, direction, distance);
break;
case RIGHT :
if (defaults.swipeRight)
defaults.swipeRight.call($this,event, direction, distance);
break;
case UP :
if (defaults.swipeUp)
defaults.swipeUp.call($this,event, direction, distance);
break;
case DOWN :
if (defaults.swipeDown)
defaults.swipeDown.call($this,event, direction, distance);
break;
}
}
}
/*
* Checks direction of the swipe and the value allowPageScroll to see if we should allow or prevent the default behaviour from occurring.
* This will essentially allow page scrolling or not when the user is swiping on a touchSwipe object.
*/
function validateDefaultEvent(event, direction)
{
if( defaults.allowPageScroll==NONE )
{
event.preventDefault();
}
else
{
var auto=defaults.allowPageScroll==AUTO;
switch(direction)
{
case LEFT :
if ( (defaults.swipeLeft && auto) || (!auto && defaults.allowPageScroll!=HORIZONTAL))
event.preventDefault();
break;
case RIGHT :
if ( (defaults.swipeRight && auto) || (!auto && defaults.allowPageScroll!=HORIZONTAL))
event.preventDefault();
break;
case UP :
if ( (defaults.swipeUp && auto) || (!auto && defaults.allowPageScroll!=VERTICAL))
event.preventDefault();
break;
case DOWN :
if ( (defaults.swipeDown && auto) || (!auto && defaults.allowPageScroll!=VERTICAL))
event.preventDefault();
break;
}
}
}
/*
* Calcualte the length / distance of the swipe
*/
function caluculateDistance()
{
return Math.round(Math.sqrt(Math.pow(end.x - start.x,2) + Math.pow(end.y - start.y,2)));
}
/**
* Calcualte the angle of the swipe
*/
function caluculateAngle()
{
var X = start.x-end.x;
var Y = end.y-start.y;
var r = Math.atan2(Y,X); //radians
var angle = Math.round(r*180/Math.PI); //degrees
//ensure value is positive
if (angle < 0)
angle = 360 - Math.abs(angle);
return angle;
}
/*
* Calcualte the direction of the swipe
* This will also call caluculateAngle to get the latest angle of swipe
*/
function caluculateDirection()
{
var angle = caluculateAngle();
if ( (angle <= 45) && (angle >= 0) )
return LEFT;
else if ( (angle <= 360) && (angle >= 315) )
return LEFT;
else if ( (angle >= 135) && (angle <= 225) )
return RIGHT;
else if ( (angle > 45) && (angle < 135) )
return DOWN;
else
return UP;
}
// Add gestures to all swipable areas if supported
try
{
this.addEventListener(START_EV, touchStart, false);
this.addEventListener(CANCEL_EV, touchCancel);
}
catch(e)
{
//touch not supported
}
});
};
})(jQuery);});
jQuery(function(){ var $ = jQuery;
(function(a){function d(b){var c=b||window.event,d=[].slice.call(arguments,1),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type="mousewheel",c.wheelDelta&&(e=c.wheelDelta/120),c.detail&&(e=-c.detail/3),h=e,c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS&&(h=0,g=-1*e),c.wheelDeltaY!==undefined&&(h=c.wheelDeltaY/120),c.wheelDeltaX!==undefined&&(g=-1*c.wheelDeltaX/120),d.unshift(b,e,g,h),(a.event.dispatch||a.event.handle).apply(this,d)}var b=["DOMMouseScroll","mousewheel"];if(a.event.fixHooks)for(var c=b.length;c;)a.event.fixHooks[b[--c]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=b.length;a;)this.addEventListener(b[--a],d,!1);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=b.length;a;)this.removeEventListener(b[--a],d,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery)
});
(function (a, b){
var interval;
var autoRoll = "start";
function j(a, b){
setInterval(function () {}, 100)
}
function i(b, c){
if (a.browser.msie) {
b.find(".paradigm-preloader").animate({
opacity : "0.0"
},
{
duration : 300, queue : false
})
}
else {
b.find(".paradigm-preloader").animate({
opacity : "0.0"
},
{
duration : 300, queue : false
})
}
setTimeout(function ()
{
b.find(".paradigm-preloader").remove()
}, 300)
}
function h(a, b){
a.find("ul:first").wrap('');
var c = a.find(".maincontainer");
var d = a.parent(".productWrap");
var wrapWidth = d.css("padding-left").replace("px","")*2 + b.width + 58;
var wrapHeight = d.css("padding-bottom").replace("px","")*2 + b.height + 26;
d.css({
"width":wrapWidth+"px",
"height":wrapHeight+"px"
})
b.padtop = parseInt(c.css("paddingTop"), 0);
b.padleft = parseInt(c.css("paddingLeft"), 0);
b.padright = parseInt(c.css("paddingRight"), 0);
b.padbottom = parseInt(c.css("paddingBottom"), 0)
}
function g(b, c){
c.slidewidths = (c.width - (c.slideAmount - 1) * c.slideSpacing) / c.slideAmount;
c.positionArray = [];
c.positionArray[0] = 0 - c.slidewidths;
b.find("ul:first").wrap('');
c.top = b.find(".services-wrapper-top");
c.maxitem = 0;
b.find("ul:first > li").each(function (b){
c.maxitem = c.maxitem + 1;
var d = a(this);
c.positionArray[b] = (c.slidewidths + c.slideSpacing) * b;
d.wrapInner('');
var f = d.find(".slide");
f.css({
left : c.positionArray[b] + "px", position : "absolute"
});
f.data("pagemore", "");
f.find(".page-more").each(function ()
{
var b = a(this);
f.data("pagemore", b.html());
b.remove();
});
f.data("id", b);
var g = f.find("img.thumb");
g.wrap('');
g.css({"border":c.imageBoarder+"px solid"+c.imageBoarderColor+"","padding":c.imagePadding+"px"});
g.css({"width":"0px"});
var h = f.find(".imgholder");
var hwidth = parseInt(h.width()-c.imageBoarder*2-c.imagePadding*2);
g.css({"width":hwidth+"px","height":hwidth+"px"});
var i = parseInt(g.css("border-left-width"), 0);
var j = parseInt(g.css("paddingLeft"), 0);
var k = parseInt(g.css("marginLeft"), 0);
if (!i > 0) {
i = 0;
}
if (!j > 0) {
j = 0;
}
if (!k > 0) {
k = 0;
}
var l = i + j + k;
var m = parseInt(g.css("border-top-width"), 0);
var n = parseInt(g.css("paddingTop"), 0);
var o = parseInt(g.css("marginTop"), 0);
if (!m > 0) {
m = 0;
}
if (!n > 0) {
n = 0;
}
if (!o > 0) {
o = 0;
}
var p = m + n + o;
h.append('
');
h.find(".bw").css({
position : "absolute", "z-index" : "1000", opacity : "0.0", left : l + "px", top : p + "px"
});
if (f.data("pagemore").length > 0) {
f.find(".imgholder").click(function ()
{
e(f, c);
return false;
});
}
f.hover(function ()
{
var b = a(this);
autoRoll = "stop";
b.addClass("mouseover");
b.parent().parent().find("li").each(function (b)
{
var c = a(this);
if (!c.find(".slide").hasClass("mouseover"))
{
c.find(".slide .imgholder .bw").stop();
c.find(".slide *").stop();
c.find(".slide .imgholder .bw").animate({
opacity : "1.0"
},
{
duration : 400, queue : false
});
if (a.browser.msie && a.browser.version < 8) {}
else
{
c.find(".slide *").each(function ()
{
var b = a(this);
if (!b.hasClass("buttonlight") && !b.hasClass("imgholder")) {
b.animate({
opacity : "0.8"
},
{
duration : 400, queue : false
});
}
if (b.hasClass("thumb")) {
b.animate({
opacity : "0.8"
},
{
duration : 400, queue : false
});
}
})
}
clearTimeout(c.data("to"))
}
else
{
clearTimeout(c.data("to"));
c.find(".slide .imgholder .bw").stop();
c.find(".slide *").stop();
c.find(".slide .imgholder .bw").animate({
opacity : "0.0"
},
{
duration : 400, queue : false
});
if (a.browser.msie && a.browser.version < 8) {}
else
{
c.find(".slide *").each(function ()
{
var b = a(this);
if (!b.hasClass("buttonlight") && !b.hasClass("imgholder") && !b.hasClass("bw")) {
b.animate({opacity : "1.0" },{
duration : 400, queue : false
});
}
})
}
}
})
},
function ()
{
var b = a(this);
autoRoll = "start";
b.removeClass("mouseover");
b.parent().parent().find("li").each(function (b)
{
var c = a(this);
c.data("to", setTimeout(function ()
{
c.find(".slide .imgholder .bw").stop();
c.find(".slide *").stop();
c.find(".slide .imgholder .bw").animate({
opacity : "0.0"
},
{
duration : 400, queue : false
});
if (a.browser.msie && a.browser.version < 8) {}
else
{
c.find(".slide *").each(function ()
{
var b = a(this);
if (!b.hasClass("buttonlight") && !b.hasClass("imgholder") && !b.hasClass("bw")) {
b.animate({
opacity : "1.0"
},
{
duration : 400, queue : false
});
}
})
}
}, 250))
})
})
});
c.positionArray[c.maxitem + 1] = (c.slidewidths + c.slideSpacing) * (c.maxitems + 1) + c.slideSpacing;
d(c, "visible");
if (c.maxitem <= c.slideAmount) {
d(c, "none");
}
b.find("ul:first").css({
visibility : "visible"
})
}
function f(b, c, d)
{
var e = 0 - (c.slidewidths + c.slideSpacing) + c.slideSpacing;
var f = (c.slidewidths + c.slideSpacing) * c.slideAmount + c.slideSpacing;
c.transition = 1;
b.find("ul:first >li .slide").each(function (b)
{
var g = a(this);
if (d == 0)
{
if (g.data("id") == c.maxitem - 1) {
g.cssAnimate({
left : 1 * e + "px"
},
{
duration : 300, queue : false
})
}
else
{
if (g.position().left < 0) {
g.cssAnimate({
left : f + "px"
},
{
duration : 1
})
}
else
{
setTimeout(function ()
{
g.cssAnimate({
left : c.positionArray[g.data("id")] + "px"
},
{
duration : 300, queue : false
})
}, 100)
}
}
}
else
{
if (g.data("id") == c.slideAmount) {
g.cssAnimate({
left : f + "px"
},
{
duration : 500, queue : false
})
}
else
{
if (g.position().left >= c.positionArray[c.maxitem - 1]) {
g.cssAnimate({
left : e + "px"
},
{
duration : 2
})
}
setTimeout(function ()
{
g.cssAnimate({
left : c.positionArray[g.data("id")] + "px"
},
{
duration : 300, queue : false
})
}, 100)
}
}
})
}
function e(b, c, e)
{
autoRoll = "stop";
var k = c.topcontainer.find(".toolbar");
k.css("display","none");
d(c, "visible");
c.top.animate({
top : c.height * 1.5 + "px"
},
{
duration : 300, queue : false
});
clearInterval(interval);
c.actSlide = b.parent().index();
c.top.parent().append('' + b.data("pagemore") + "
");
var g = c.top.parent().find(".page-more");
g.css({
visibility : "visible"
});
if (e == 2)
{
g.css({
left : "-150px", opacity : "0.0"
});
g.animate({
left : "0px", opacity : "1.0"
},
{
duration : 500, queue : false
})
}
else
{
if (e == 1)
{
g.css({
left : "150px", opacity : "0.0"
});
g.animate({
left : "0px", opacity : "1.0"
},
{
duration : 500, queue : false
})
}
else
{
g.css({
top : 0 - c.height * 1.5 + "px"
});
g.animate({
top : "0px"
},
{
duration : 500, queue : false
})
}
}
g.parent().css({
overflow : "visible"
});
c.top.parent().find(".page-more").find(".closer").click(function ()
{
var b = a(this).closest(".page-more");
k.css("display","block");
c.top.animate({
top : "0px"
},
{
duration : 300, queue : false
});
b.animate({
top : 0 - c.height + "px"
},
{
duration : 100, queue : false
});
setTimeout(function ()
{
b.remove()
}, 100);
b.parent().css({
overflow : "hidden"
});
c.actSlide =- 1;
if (c.maxitem <= c.slideAmount) {
d(c, "none");
}
})
}
function d(a, b)
{
var c = a.topcontainer.find(".toolbar");
if (b == "none") {
c.css({
visibility : "hidden"
})
}
else {
c.css({
visibility : "visible"
})
}
}
function c(b, c)
{
var d = b.find(".toolbar");
var g = d.find(".left");
var h = d.find(".right");
var gheight = g.height();
g.css("top",""+c.height/2-gheight/2+20+"px");
h.css("top",""+c.height/2-gheight/2+20+"px");
h.click(function ()
{
if (!b.hasClass("DuringAnimation"))
{
b.addClass("DuringAnimation");
setTimeout(function ()
{
b.removeClass("DuringAnimation")
}, 500);
if (c.actSlide >= 0)
{
var d = null;
var g = c.actSlide;
var h = b.parent().find("ul:first >li .slide");
for (var i = 0; i < h.length; i++)
{
g++;
if (g == h.length) {
g = 0;
}
var j = b.parent().find("ul:first >li").eq(g).find(".slide").data("pagemore");
if (d == null && j.length > 0) {
d = b.parent().find("ul:first >li").eq(g).find(".slide");
}
}
/*
if (d != null)
{
b.parent().find(".page-more").css({
left : "0px"
}).addClass("page-more-old").removeClass("page-more");
b.parent().find(".page-more-old").cssAnimate({
left :- 150 + "px", opacity : 0
},
{
duration : 300, queue : false
});
e(d, c, 1);
setTimeout(function ()
{
b.parent().find(".page-more-old").remove()
}, 500)
}
*/
}
if (c.maxitem > c.slideAmount)
{
b.find("ul:first >li .slide").each(function ()
{
var b = a(this);
b.data("id", b.data("id") - 1);
if (b.data("id") < 0) {
b.data("id", c.maxitem - 1);
}
});
f(b, c, 0)
}
}
});
var interval;
if(c.autoscroll=="true"){
b.find("ul:first >li .slide, .left ,.right").hover(
function() {
clearInterval(interval);
},
function() {
interval = AutoPlay();
}
);
interval = AutoPlay();
}
function AutoPlay() {
if(c.autoscroll=="true" && autoRoll=="start"){
return setInterval(function() {
h.click();
}, c.autoscrollTime);
}
}
function AutoStop() {
clearInterval(interval);
}
g.click(function ()
{
if (!b.hasClass("DuringAnimation"))
{
b.addClass("DuringAnimation");
setTimeout(function ()
{
b.removeClass("DuringAnimation")
}, 500);
if (c.actSlide >= 0)
{
var d = null;
var g = c.actSlide;
var h = b.parent().find("ul:first >li .slide");
for (var i = 0; i < h.length; i++)
{
g--;
if (g ==- 1) {
g = h.length - 1;
}
var j = b.parent().find("ul:first >li").eq(g).find(".slide").data("pagemore");
if (d == null && j.length > 0) {
d = b.parent().find("ul:first >li").eq(g).find(".slide");
}
}
/*
if (d != null)
{
b.parent().find(".page-more").css({
left : "0px"
}).addClass("page-more-old").removeClass("page-more");
b.parent().find(".page-more-old").cssAnimate({
left : 150 + "px", opacity : 0
},
{
duration : 300, queue : false
});
e(d, c, 2);
setTimeout(function ()
{
b.parent().find(".page-more-old").remove()
}, 500)
}
*/
}
if (c.maxitem > c.slideAmount)
{
b.find("ul:first >li .slide").each(function ()
{
var b = a(this);
b.data("id", b.data("id") + 1);
if (b.data("id") == c.maxitem) {
b.data("id", 0);
}
});
f(b, c, 1)
}
}
})
}
a.fn.extend(
{
services : function (b)
{
var d =
{
width : 938,
height : 280,
slideAmount : 5,
slideSpacing : 20,
autoscroll:"true",
autoscrollTime:3000,
imageBoarder : 0,
imageBoarderColor:"#000",
imagePadding:0,
touchenabled : "on",
transition : 0,
mouseWheel : "on"
};
b = a.extend({}, a.fn.services.defaults, b);
return this.each(function ()
{
var d = b;
var e = a(this);
d.topcontainer = e;
h(e, d);
g(e, d);
c(e, d);
if (d.timer > 0) {
j(e, d);
}
if (d.touchenabled == "on")
{
e.swipe(
{
data : e,
swipeLeft : function ()
{
var b = a(this);
var c = b.find(".toolbar");
var d = c.find(".right");
d.click();
},
swipeRight : function ()
{
var b = a(this);
var c = b.find(".toolbar");
var d = c.find(".left");
d.click()
},
allowPageScroll : "auto"
});
}
if (d.mouseWheel == "on")
{
e.bind("mousewheel", function (b, c)
{
var d = a(this);
var e = d.find(".toolbar");
var f = e.find(".left");
var g = e.find(".right");
clearTimeout(d.data("mw"));
if (c < 0) {
d.data("mw", setTimeout(function ()
{
g.click();
}, 100));
}
else {
d.data("mw", setTimeout(function ()
{
f.click();
}, 100));
}
return false;
})
}
})
}
});
})(jQuery)
$(document).ready(function() {
jQuery('#weeklyItem').services({
width:850, //가로사이즈(총 사이즈는 +60픽셀이 더 적용됩니다(디자인여백때문)
height:330, //세로크기(지정된 사이즈값보다 총세로길이는 +40픽셀 추가됩니다.)
slideAmount:4, //한화면에 보일 아이템 갯수(지정된 값에 따라 이미지 및 영역이 자동으로 리사이즈를 합니다.)
autoscroll:"true", //자동 롤링
autoscrollTime:2000,//자동 롤링 시간
slideSpacing:25, //아이템별 간격
imageBoarder:1, //이미지 테두리 두께
imageBoarderColor:"#FF0000", //이미지 테두리 색상
imagePadding:0, //이미지와 테두리 간격
touchenabled:"on", //모바일 터치 지원
mouseWheel:"off" //마우스 휠 지원
});
});
$(document).ready(function() {
jQuery('#subListrecommend').services({
width:850, //가로사이즈(총 사이즈는 +60픽셀이 더 적용됩니다(디자인여백때문)
height:340, //세로크기(지정된 사이즈값보다 총세로길이는 +40픽셀 추가됩니다.)
slideAmount:4, //한화면에 보일 아이템 갯수(지정된 값에 따라 이미지 및 영역이 자동으로 리사이즈를 합니다.)
autoscroll:"true", //자동 롤링
autoscrollTime:2000,//자동 롤링 시간
slideSpacing:25, //아이템별 간격
imageBoarder:1, //이미지 테두리 두께
imageBoarderColor:"#FF0000", //이미지 테두리 색상
imagePadding:0, //이미지와 테두리 간격
touchenabled:"off", //모바일 터치 지원
mouseWheel:"on" //마우스 휠 지원
});
});
$(document).ready(function() {
jQuery('#footerRecentRoll').services({
width:850, //가로사이즈(총 사이즈는 +60픽셀이 더 적용됩니다(디자인여백때문)
height:280, //세로크기(지정된 사이즈값보다 총세로길이는 +40픽셀 추가됩니다.)
slideAmount:7, //한화면에 보일 아이템 갯수(지정된 값에 따라 이미지 및 영역이 자동으로 리사이즈를 합니다.)
autoscroll:"false", //자동 롤링
autoscrollTime:2000,//자동 롤링 시간
slideSpacing:25, //아이템별 간격
imageBoarder:1, //이미지 테두리 두께
imageBoarderColor:"#FF0000", //이미지 테두리 색상
imagePadding:0, //이미지와 테두리 간격
touchenabled:"off", //모바일 터치 지원
mouseWheel:"off" //마우스 휠 지원
});
});
$(document).ready(function() {
jQuery('#footerBasketRoll').services({
width:850, //가로사이즈(총 사이즈는 +60픽셀이 더 적용됩니다(디자인여백때문)
height:220, //세로크기(지정된 사이즈값보다 총세로길이는 +40픽셀 추가됩니다.)
slideAmount:7, //한화면에 보일 아이템 갯수(지정된 값에 따라 이미지 및 영역이 자동으로 리사이즈를 합니다.)
autoscroll:"false", //자동 롤링
autoscrollTime:2000,//자동 롤링 시간
slideSpacing:25, //아이템별 간격
imageBoarder:1, //이미지 테두리 두께
imageBoarderColor:"#FF0000", //이미지 테두리 색상
imagePadding:0, //이미지와 테두리 간격
touchenabled:"off", //모바일 터치 지원
mouseWheel:"off" //마우스 휠 지원
});
});
/**
* 카테고리 마우스 오버 이미지
* 카테고리 서브 메뉴 출력
*/
$(document).ready(function(){
var methods = {
aCategory : [],
aSubCategory : {},
get: function()
{
$.ajax({
url : '/exec/front/Product/SubCategory',
dataType: 'json',
success: function(aData) {
if (aData == null || aData == 'undefined') return;
for (var i=0; i');
$(methods.aSubCategory[iCateNo]).each(function() {
aHtml.push(''+this.name+'');
});
aHtml.push('');
var offset = $(overNode).offset();
$('')
.appendTo(overNode)
.html(aHtml.join(''))
.find('li').mouseover(function(e) {
$(this).addClass('over');
}).mouseout(function(e) {
$(this).removeClass('over');
});
},
close: function() {
$('.sub-category').remove();
}
};
methods.get();
$('.xans-layout-category li').mouseenter(function(e) {
var $this = $(this).addClass('on'),
iCateNo = Number(methods.getParam($this.find('a').attr('href'), 'cate_no'));
if (!iCateNo) {
return;
}
methods.show($this, iCateNo);
}).mouseleave(function(e) {
$(this).removeClass('on');
methods.close();
});
});
}
/*
FILE ARCHIVED ON 08:55:08 Mar 19, 2019 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 13:58:15 Feb 03, 2026.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
/*
playback timings (ms):
captures_list: 0.613
exclusion.robots: 0.019
exclusion.robots.policy: 0.008
esindex: 0.013
cdx.remote: 22.262
LoadShardBlock: 103.431 (3)
PetaboxLoader3.datanode: 130.734 (4)
load_resource: 175.387
PetaboxLoader3.resolve: 96.164
*/