"),po.push(""),axdom(document.body).append(po.join("")),this.target=axdom("#"+cfg.id+"_AX_viewer"),this.background=axdom("#"+cfg.id+"_AX_background"),this.slideItemGrop=axdom("#"+cfg.id+"_AX_slideItemGrop"),this.controller=axdom("#"+cfg.id+"_AX_controller"),this.controller.find(".Close").bind("click.AXSlideViewer",function(){_this.close()}),this.controller.find(".ToggleHandle").bind("click.AXSlideViewer",function(){_this.controller.find(".buttonGroup").toggleClass("open")}),this.controller.find(".Prev").bind("click.AXSlideViewer",function(){_this.prev()}),this.controller.find(".Next").bind("click.AXSlideViewer",function(){_this.next()}),this.controller.find(".ZoomIn").bind("click.AXSlideViewer",function(){_this.zoomIn()}),this.controller.find(".ZoomOut").bind("click.AXSlideViewer",function(){_this.zoomOut()}),this.list=jsObject.list,this.selectedIndex=jsObject.selectedIndex||0,this.openImage(this.selectedIndex),axdom(window).bind("resize.AXSliderViewer",this.windowResize.bind(this)),axf.browser.mobile){var eventBodyID=cfg.id+"_AX_slideItemGrop";document.addEventListener&&AXgetId(eventBodyID).addEventListener("touchstart",function(event){var touch={},item=_this.list[_this.selectedIndex];_this.touhEndObserver&&clearTimeout(_this.touhEndObserver),_this.velocityDX=0,_this.velocityDY=0,touch.pageX1=event.touches[0].pageX-item._boxModel.dL,touch.pageY1=event.touches[0].pageY-item._boxModel.dT,2==event.touches.length?(touch.pageX2=event.touches[1].pageX-item._boxModel.dL,touch.pageY2=event.touches[1].pageY-item._boxModel.dT,touch.centerX=(touch.pageX2+touch.pageX1)/2,touch.centerY=(touch.pageY2+touch.pageY1)/2,_this.touchUpdater.moveType="zoom"):(touch.centerX=touch.pageX1,touch.centerY=touch.pageY1,_this.touchUpdater.moveType="move"),_this.touchUpdater.firstTouch=touch,_this.touchUpdater.firstBoxModel=axf.copyObject(item._boxModel),_this.touchUpdater.item=item,_this.touchUpdater.watch()},!1)}else{var eventBodyID=cfg.id+"_AX_slideItemGrop";axdom("#"+eventBodyID).bind("mousedown.axsliderviewer",function(event){var touch={},item=_this.list[_this.selectedIndex];_this.touhEndObserver&&clearTimeout(_this.touhEndObserver),_this.velocityDX=0,_this.velocityDY=0,touch.pageX1=event.pageX-item._boxModel.dL,touch.pageY1=event.pageY-item._boxModel.dT,touch.centerX=touch.pageX1,touch.centerY=touch.pageY1,_this.touchUpdater.moveType="move",_this.touchUpdater.firstTouch=touch,_this.touchUpdater.firstBoxModel=axf.copyObject(item._boxModel),_this.touchUpdater.item=item,_this.touchUpdater.watch()});var mousewheelevt=/Firefox/i.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel",contentScrollScrollWheel=function(){_this.wheelEndObserver&&clearTimeout(_this.wheelEndObserver);var event=window.event,delta=event.detail?-1*event.detail:event.wheelDelta,item=_this.list[_this.selectedIndex],cx=event.pageX-item._boxModel.dL,cy=event.pageY-item._boxModel.dT,dLen=delta>0?50:-50;_this.imgResize(item,item._boxModel,dLen,cx,cy),_this.wheelEndObserver=setTimeout(function(){{var pos=item._axdom.position(),sL=0,eL=0,sT=0,eT=0,scW=_this.screenSize.width,scH=_this.screenSize.height,iW=item._axdom.width(),iH=item._axdom.height(),imgAnmate=!1,css={left:pos.left,top:pos.top,opacity:1};css.left,css.top}scW>iW&&scH>iH&&(iW=css.width=item._boxModel.width,iH=css.height=item._boxModel.height),scW>iW?(sL=(scW-iW)/2,eL=sL):(sL=0,eL=scW-iW),scH>iH?(sT=(scH-iH)/2,eT=sT):(sT=0,eT=scH-iH),css.left>sL?(css.left=sL,imgAnmate=!0):css.leftsT?(css.top=sT,imgAnmate=!0):css.top0&&axdom("#"+cfg.id+"_AX_slide_AX_"+(selectedIndex-1)).css({left:-this.screenSize.width}),selectedIndex0&&slides.push({id:cfg.id+"_AX_slide_AX_"+(selectedIndex-1),index:selectedIndex-1,left:-this.screenSize.width}),slides.push({id:cfg.id+"_AX_slide_AX_"+selectedIndex,index:selectedIndex,left:0}),selectedIndex');var hgroup=this.controller.find(".hgroup");hgroup.find("h1").html(item[cfg.reserveKeys.title]),hgroup.find("span").html(item[cfg.reserveKeys.description]),0==selectedIndex?(this.controller.find(".Prev").addClass("disabled"),this.controller.find(".Next").removeClass("disabled")):selectedIndex==this.list.length-1?(this.controller.find(".Prev").removeClass("disabled"),this.controller.find(".Next").addClass("disabled")):(this.controller.find(".Prev").removeClass("disabled"),this.controller.find(".Next").removeClass("disabled")),this.controller.find(".navigation").html(selectedIndex+1+" / "+this.list.length);var mySlide=axdom("#"+cfg.id+"_AX_slide_AX_"+selectedIndex),myImg=new Image;myImg.src=item[cfg.reserveKeys.url],item._boxModel?_this.renderImage(mySlide,item):myImg.onload=function(){item._boxModel={originalWidth:this.width,originalHeight:this.height},_this.renderImage(mySlide,item)}},renderImage:function(target,item){var cfg=this.config,imgRatio=(item._boxModel.originalHeight/item._boxModel.originalWidth).round(2),imgWidth=item._boxModel.originalWidth;imgHeight=item._boxModel.originalHeight,1==cfg.fitToHeight?(imgHeight=this.screenSize.height,imgWidth=imgHeight/imgRatio,this.screenSize.width>imgWidth&&(imgWidth=this.screenSize.width,imgHeight=imgWidth*imgRatio)):1>imgRatio?(this.screenSize.width'),po.push(''),po.push(""),target.empty(),target.append(po.join("")),target.find(".img").fadeIn(),target.removeClass("AXLoadingBlack"),item._axdom=target.find(".img")},close:function(){var cfg=this.config,_this=this;axdom(document.body).children().show(),axdom(document.body).scrollTop(axdom(document.body).data("scrollTop")),cfg.onClose&&cfg.onClose.call(cfg),this.target.fadeOut(function(){_this.target.remove()}),this.isOpend=!1,axdom(window).unbind("resize.AXSliderViewer")},prev:function(){var cfg=this.config,_this=this,screenWidth=this.screenSize.width,selectedIndex=this.selectedIndex;if(0>=selectedIndex)return!1;var prevIndex=selectedIndex.number()-1,nowDomTarget=axdom("#"+cfg.id+"_AX_slide_AX_"+selectedIndex),prevDomTarget=axdom("#"+cfg.id+"_AX_slide_AX_"+prevIndex);return nowDomTarget.animate({left:screenWidth},500,"expoOut",function(){}),prevDomTarget.animate({left:0},300,"expoOut",function(){_this.selectedIndex=prevIndex,_this.openImage(prevIndex)}),!0},next:function(){var cfg=this.config,_this=this,screenWidth=this.screenSize.width,selectedIndex=this.selectedIndex;if(selectedIndex>=this.list.length-1)return!1;var nextIndex=selectedIndex.number()+1,nowDomTarget=axdom("#"+cfg.id+"_AX_slide_AX_"+selectedIndex),nextDomTarget=axdom("#"+cfg.id+"_AX_slide_AX_"+nextIndex);return nowDomTarget.animate({left:-screenWidth},500,"expoOut",function(){}),nextDomTarget.animate({left:0},300,"expoOut",function(){_this.selectedIndex=nextIndex,_this.openImage(nextIndex)}),!0},zoomIn:function(){var item=(this.config,this.list[this.selectedIndex]),cx=this.screenSize.width/2-item._boxModel.dL,cy=this.screenSize.height/2-item._boxModel.dT,dLen=this.screenSize.width>this.screenSize.height?this.screenSize.height:this.screenSize.width;this.imgResize(item,item._boxModel,dLen,cx,cy,"animate")},zoomOut:function(){var item=(this.config,this.list[this.selectedIndex]),cx=this.screenSize.width/2-item._boxModel.dL,cy=this.screenSize.height/2-item._boxModel.dT,dLen=this.screenSize.width>this.screenSize.height?this.screenSize.height:this.screenSize.width;this.imgResize(item,item._boxModel,-dLen,cx,cy,"animate")},imgResize:function(item,firstBoxModel,dLen,cx,cy,animate){var newW,newH,newL,newT,css=(this.config,{}),imgRatio=(item._boxModel.originalHeight/item._boxModel.originalWidth).round(3);null==dLen?(newL=item._boxModel.left,newT=item._boxModel.top,newW=item._boxModel.width,newH=item._boxModel.height):(newW=firstBoxModel.dW+dLen,newH=newW*imgRatio,null==cx?(newL=this.screenSize.width/2,mewT=this.screenSize.width/2):(newL=-(newW*cx/firstBoxModel.dW-cx)+firstBoxModel.dL,newT=-(newH*cy/firstBoxModel.dH-cy)+firstBoxModel.dT)),css={left:newL,top:newT,width:newW,height:newH,opacity:1},this.changeImgCss(item._axdom,css,animate)&&(item._boxModel.dL=newL,item._boxModel.dT=newT,item._boxModel.dW=newW,item._boxModel.dH=newH)},imgTouchUpdate:function(args){this.config;if(this.touchAndMoved=!0,this.touhEndObserver&&clearTimeout(this.touhEndObserver),"zoom"==args.moveType){var l1dx,l1dy,l2dx,l2dy,l1,l2,dLen;l1dx=args.firstTouch.pageX2>args.firstTouch.pageX1?args.firstTouch.pageX2-args.firstTouch.pageX1:args.firstTouch.pageX1-args.firstTouch.pageX2,l1dy=args.firstTouch.pageY2>args.firstTouch.pageY1?args.firstTouch.pageY2-args.firstTouch.pageY1:args.firstTouch.pageY1-args.firstTouch.pageY2,l2dx=args.touch.pageY2>args.touch.pageY1?args.touch.pageY2-args.touch.pageY1:args.touch.pageY1-args.touch.pageY2,l2dy=args.touch.pageY2>args.touch.pageY1?args.touch.pageY2-args.touch.pageY1:args.touch.pageY1-args.touch.pageY2,l1=Math.sqrt(Math.pow(l1dx,2)+Math.pow(l1dy,2)),l2=Math.sqrt(Math.pow(l2dx,2)+Math.pow(l2dy,2)),dLen=(1.2*(l2-l1)).round(3),isNaN(dLen)||this.imgResize(args.item,args.firstBoxModel,dLen,args.firstTouch.centerX,args.firstTouch.centerY)}else{var mx,my,newL,newT;mx=(args.firstTouch.centerX-args.touch.centerX).round(),my=(args.firstTouch.centerY-args.touch.centerY).round(),null==this._mx?(this.velocityDX=0,this.velocityDY=0):(this.velocityDX=this._mx-mx,this.velocityDY=this._my-my),this._mx=mx,this._my=my,args.item._boxModel.width==args.item._boxModel.dW?mx.abs()>my.abs()?(newL=args.firstBoxModel.dL-mx,newT=args.firstBoxModel.dT):(newL=args.firstBoxModel.dL,newT=args.firstBoxModel.dT-my):(newL=args.firstBoxModel.dL-mx,newT=args.firstBoxModel.dT-my),this.changeImgCss(args.item._axdom,{left:newL,top:newT})}},imgTouchEnd:function(args,event){var _this=(this.config,this),pos=args.item._axdom.position();args.item._boxModel.dL=pos.left,args.item._boxModel.dT=pos.top;var sL=0,eL=0,sT=0,eT=0,scW=this.screenSize.width,scH=this.screenSize.height,iW=args.item._axdom.width(),iH=args.item._axdom.height(),imgAnmate=!1;if("move"==args.moveType)var css={left:pos.left+10*(this.velocityDX||0),top:pos.top+10*(this.velocityDY||0),opacity:1};
-else var css={left:pos.left,top:pos.top,opacity:1};css.left,css.top;if(scW>iW&&scH>iH&&(iW=css.width=args.item._boxModel.width,iH=css.height=args.item._boxModel.height),scW>iW?(sL=(scW-iW)/2,eL=sL):(sL=0,eL=scW-iW),scH>iH?(sT=(scH-iH)/2,eT=sT):(sT=0,eT=scH-iH),css.left>sL){if("move"==args.moveType&&css.left+iW-scW>.35*scW&&this.prev())return"prev";css.left=sL,imgAnmate=!0}else if(css.leftsT){if("move"==args.moveType&&args.item._boxModel.width==args.item._boxModel.dW&&css.top+iH-scH>.35*scH)return this.close(),"close";css.top=sT,imgAnmate=!0}else if(css.topthis.screenSize.width)this.imgResize(item,this.touchUpdater.firstBoxModel,null,this.touchUpdater.firstTouch.centerX,this.touchUpdater.firstTouch.centerY,"animate");else{var dLen=2*this.screenSize.width;this.imgResize(item,this.touchUpdater.firstBoxModel,dLen,this.touchUpdater.firstTouch.centerX,this.touchUpdater.firstTouch.centerY,"animate")}this.touchClicked=!1,this.touchDblClicked=!1}}),AXTabClass=Class.create(AXJ,{version:"AXTabClass V0.5",author:"tom@axisj.com",logs:["2013-07-05 오후 1:16:16","2014-04-14 : tom 모바일 반응 너비 지정 방식 변경 & ff 타이밍 버그 픽스 "],initialize:function(AXJ_super){AXJ_super(),this.objects=[],this.config.handleWidth=22,this.config.responsiveMobile=AXConfig.mobile.responsiveWidth,this.config.bounces=!0},init:function(){axdom(window).bind("resize",this.windowResize.bind(this))},windowResize:function(){var windowResizeApply=this.windowResizeApply.bind(this);this.windowResizeObserver&&clearTimeout(this.windowResizeObserver),this.windowResizeObserver=setTimeout(function(){windowResizeApply()},500)},windowResizeApply:function(){this.resizeCheck()},bind:function(obj){this.config;if(!obj.id)return void trace("bind 대상 ID가 없어 bind 처리할 수 없습니다.");if(!AXgetId(obj.id))return void trace("bind 대상이 없어 bind 처리할 수 없습니다.");var objID=obj.id,objSeq=null;obj.theme=obj.theme||"AXTabs",obj.overflow=obj.overflow||"visible",obj.scrollAmount=obj.scrollAmount||5,obj.options=obj.options||[{optionValue:"null",optionText:"빈 탭"}],jQuery.each(this.objects,function(idx){return this.id==objID?(objSeq=idx,!1):void 0}),null==objSeq?(objSeq=this.objects.length,this.objects.push({id:objID,config:obj})):(this.objects[objSeq].isDel=void 0,this.objects[objSeq].config=obj),null!=objSeq?this.initTab(objID,objSeq):trace("object find error")},initTab:function(objID,objSeq){var cfg=this.config,_this=this,obj=this.objects[objSeq],po=[];po.push('
');var addClass=T.cn?' class = "'+cfg.childMenu.hasChildClassName+'"':"";po.push('"+T.label+""),T.cn&&(po.push('
'),po.push("
"),po.push(treeFn(T.cn)),po.push("
"),po.push("
")),po.push("
"),po.push("
")}),po.push("
"),po.push(''),jQuery("#"+cfg.menuBoxID).empty(),jQuery("#"+cfg.menuBoxID).append(po.join("")),jQuery("#"+cfg.menuBoxID).find("."+cfg.childMenu.className).hide(),jQuery("#"+cfg.menuBoxID).find("."+cfg.childsMenu.className).hide(),setTimeout(function(){_this.initParents(),_this.initChild()},300)},initParents:function(){var cfg=this.config,parents=[];if(jQuery("#"+cfg.menuBoxID).find("."+cfg.parentMenu.className).each(function(pi,EL){EL.id=cfg.menuBoxID+"_PM_"+pi;var _id="";jQuery(EL).children("A").get(0).id&&(_id=jQuery(EL).children("A").get(0).id),jQuery(EL).children("A").get(0).id=cfg.menuBoxID+"_PMA_"+pi,parents.push({_id:_id,id:EL.id,width:axdom(EL).outerWidth(),height:axdom(EL).outerHeight(),cn:[],coi:""})}),this.tree=parents,jQuery("#"+cfg.menuBoxID).find("."+cfg.parentMenu.className+">a").bind("mouseover",this.onoverParent.bind(this)),jQuery("#"+cfg.menuBoxID).find("."+cfg.parentMenu.className+">a").bind("focus",this.onoverParent.bind(this)),cfg.childOutClose){var onoutChild=this.onoutChild.bind(this);jQuery("#"+cfg.menuBoxID).find("."+cfg.parentMenu.className+">a").bind("mouseout",onoutChild)}},onoverParent:function(event){this.childObserver&&clearTimeout(this.childObserver);var cfg=this.config,poi=event.target.id.split(/\_/g).last();""!=this.poi&&this.poi!=poi&&(jQuery("#"+cfg.menuBoxID+"_PMA_"+this.poi).removeClass("on"),jQuery("#"+cfg.menuBoxID+"_PMC_"+this.poi).slideUp({duration:cfg.easing.close.duration,easing:cfg.easing.close.easing,complete:function(){}}),cfg.parentOutResetChild&&this.closeSubMenu(this.tree[this.poi])),void 0!=this.dfPoi&&jQuery("#"+cfg.menuBoxID+"_PMA_"+this.dfPoi).removeClass("on"),jQuery("#"+cfg.menuBoxID+"_PMA_"+poi).addClass("on");var tgDiv=jQuery("#"+cfg.menuBoxID+"_PMC_"+poi);if(!this.tree[poi].divDim){tgDiv.show(),this.tree[poi].divDim={width:tgDiv.outerWidth(),height:tgDiv.outerHeight()};var topDim={width:this.tree[poi].width,height:this.tree[poi].height};if("center"==cfg.childMenu.align)var posLeft=topDim.width/2-this.tree[poi].divDim.width/2+cfg.childMenu.margin.left;else if("left"==cfg.childMenu.align)var posLeft=0+cfg.childMenu.margin.left;else if("right"==cfg.childMenu.align)var posLeft=topDim.width-this.tree[poi].divDim.width+cfg.childMenu.margin.left;if("top"==cfg.childMenu.valign){var posTop=topDim.height+cfg.childMenu.margin.top;tgDiv.css(cfg.childMenu.float?{top:posTop,left:posLeft}:{top:posTop,left:posLeft,width:this.tree[poi].divDim.width})}else if("bottom"==cfg.childMenu.valign){var posTop=topDim.height+cfg.childMenu.margin.bottom;tgDiv.css(cfg.childMenu.float?{top:posTop,left:posLeft}:{top:"auto",bottom:posTop,left:posLeft,width:this.tree[poi].divDim.width})}if(cfg.childMenu.arrowClassName){var arrow=tgDiv.find("."+cfg.childMenu.arrowClassName);if("center"==cfg.childMenu.align)var aLeft=tgDiv.outerWidth()/2-arrow.outerWidth()/2+cfg.childMenu.arrowMargin.left;else if("left"==cfg.childMenu.align)var aLeft=0+cfg.childMenu.arrowMargin.left;else if("right"==cfg.childMenu.align)var aLeft=tgDiv.outerWidth()-arrow.outerWidth()+cfg.childMenu.arrowMargin.left;if("top"==cfg.childMenu.valign){var aTop=-arrow.outerHeight()+cfg.childMenu.arrowMargin.top;arrow.css({top:aTop,left:aLeft})}else if("bottom"==cfg.childMenu.valign){var aTop=-arrow.outerHeight()+cfg.childMenu.arrowMargin.bottom;arrow.css({bottom:aTop,left:aLeft})}}tgDiv.hide(),topDim=null,posTop=null,posLeft=null}tgDiv.fadeIn({duration:cfg.easing.open.duration,easing:cfg.easing.open.easing,complete:function(){}}),this.poi=poi},initChild:function(){var cfg=this.config,initChilds=this.initChilds.bind(this),tree=this.tree;jQuery("#"+cfg.menuBoxID).find("."+cfg.parentMenu.className).each(function(pi,EL){var child=jQuery(EL).children("."+cfg.childMenu.className).get(0);if(child){if(child.id=cfg.menuBoxID+"_PMC_"+pi,cfg.childMenu.arrowClassName){var arrow=jQuery('');jQuery(child).prepend(arrow)}initChilds(child.id,tree[pi])}})},initChilds:function(cid,rTree){var initChilds=this.initChilds.bind(this),cfg=this.config,tree=rTree.cn,onoverChild=this.onoverChild.bind(this),onoutChild=this.onoutChild.bind(this);jQuery("#"+cid+">ul>li").each(function(pi,EL){var linkA=jQuery(EL).children("A"),_id="";linkA.get(0).id&&(_id=linkA.get(0).id),linkA.get(0).id=cid.replace("PMC","PMA")+"_"+pi,linkA.bind("mouseover",onoverChild),cfg.childOutClose&&linkA.bind("mouseout",onoutChild);var childDiv=jQuery(EL).children("."+cfg.childsMenu.className).get(0);if(childDiv){if(childDiv.id=cid+"_"+pi,cfg.childsMenu.arrowClassName){var arrow=jQuery('');jQuery(childDiv).prepend(arrow)}tree.push({_id:_id,id:cid+"_"+pi,cn:[],coi:""}),initChilds(cid+"_"+pi,tree[pi])}else tree.push({_id:_id,id:cid+"_"+pi,cn:[],coi:""})})},closeSubMenu:function(pitem){if(pitem&&""!=pitem.coi){var cfg=this.config;jQuery("#"+pitem.coi).slideUp({duration:cfg.easing.close.duration,easing:cfg.easing.close.easing,complete:function(){}}),pitem.coi="";var closeAllSubMenu=function(stree){jQuery.each(stree,function(){""!=this.coi&&jQuery("#"+this.coi).hide(),closeAllSubMenu(this.cn)})};closeAllSubMenu(pitem.cn)}},onoverChild:function(event){this.childObserver&&clearTimeout(this.childObserver);for(var cfg=this.config,eid=event.target.id,ids=event.target.id.split(/\_/g),tree=this.tree,item={},pitem={},a=2;a0){apoi.push(lpoi);var tpl=this.getMenu(this.modalID,menu[cfg.reserveKeys.subMenuKey][lpoi],apoi)}else var tpl=this.getMenu(this.modalID,menu,apoi)}else var tpl=this.getMenu(this.modalID,cfg.menu);if(AXUtil.browser.mobile){var modalBodyID=obj.modalBody.get(0).id,touchstart=this.touchstart.bind(this);this.touchstartBind=function(){touchstart()},document.addEventListener&&AXgetId(modalBodyID).addEventListener("touchstart",this.touchstartBind,!1)}else obj.modalBody.unbind("mousedown.AXMobileMenu").bind("mousedown.AXMobileMenu",this.touchstart.bind(this));obj.modalBody.attr("onselectstart","return false"),obj.modalBody.addClass("AXUserSelectNone"),obj.modalBody.bind("click.AXMobileMenu",this.onclickModalBody.bind(this)),this.printMenu(tpl)},printMenu:function(tpl){var obj=this.modalObj;obj.modalHead.empty(),obj.modalHead.append(tpl.headPo),obj.modalBody.empty(),obj.modalBody.append(tpl.bodyPo),obj.modalFoot.empty(),obj.modalFoot.append(tpl.pagePo),obj.modalHead.find(".mobileMenuHome").bind("click",this.onclickHome.bind(this)),obj.modalHead.find(".mobileMenuPrev").bind("click",this.onclickPrev.bind(this)),this.menuPageWidth=obj.modalBody.find(".mobileMenuBodyPage").width()+9,this.mobileMenuBodyScroll=obj.modalBody.find(".mobileMenuBodyScroll"),obj.modalBody.find(".mobileMenuBodyScroll").css({width:tpl.pageNum*this.menuPageWidth})
+else var css={left:pos.left,top:pos.top,opacity:1};css.left,css.top;if(scW>iW&&scH>iH&&(iW=css.width=args.item._boxModel.width,iH=css.height=args.item._boxModel.height),scW>iW?(sL=(scW-iW)/2,eL=sL):(sL=0,eL=scW-iW),scH>iH?(sT=(scH-iH)/2,eT=sT):(sT=0,eT=scH-iH),css.left>sL){if("move"==args.moveType&&css.left+iW-scW>.35*scW&&this.prev())return"prev";css.left=sL,imgAnmate=!0}else if(css.leftsT){if("move"==args.moveType&&args.item._boxModel.width==args.item._boxModel.dW&&css.top+iH-scH>.35*scH)return this.close(),"close";css.top=sT,imgAnmate=!0}else if(css.topthis.screenSize.width)this.imgResize(item,this.touchUpdater.firstBoxModel,null,this.touchUpdater.firstTouch.centerX,this.touchUpdater.firstTouch.centerY,"animate");else{var dLen=2*this.screenSize.width;this.imgResize(item,this.touchUpdater.firstBoxModel,dLen,this.touchUpdater.firstTouch.centerX,this.touchUpdater.firstTouch.centerY,"animate")}this.touchClicked=!1,this.touchDblClicked=!1}}),AXTabClass=Class.create(AXJ,{version:"AXTabClass V0.5",author:"tom@axisj.com",logs:["2013-07-05 오후 1:16:16","2014-04-14 : tom 모바일 반응 너비 지정 방식 변경 & ff 타이밍 버그 픽스 "],initialize:function(AXJ_super){AXJ_super(),this.objects=[],this.config.handleWidth=22,this.config.responsiveMobile=AXConfig.mobile.responsiveWidth,this.config.bounces=!0},init:function(){axdom(window).bind("resize",this.windowResize.bind(this))},windowResize:function(){var windowResizeApply=this.windowResizeApply.bind(this);this.windowResizeObserver&&clearTimeout(this.windowResizeObserver),this.windowResizeObserver=setTimeout(function(){windowResizeApply()},500)},windowResizeApply:function(){this.resizeCheck()},bind:function(obj){this.config;if(!obj.id)return void trace("bind 대상 ID가 없어 bind 처리할 수 없습니다.");if(!AXgetId(obj.id))return void trace("bind 대상이 없어 bind 처리할 수 없습니다.");var objID=obj.id,objSeq=null;obj.theme=obj.theme||"AXTabs",obj.overflow=obj.overflow||"visible",obj.scrollAmount=obj.scrollAmount||5,obj.options=obj.options||[{optionValue:"null",optionText:"빈 탭"}],jQuery.each(this.objects,function(idx){return this.id==objID?(objSeq=idx,!1):void 0}),null==objSeq?(objSeq=this.objects.length,this.objects.push({id:objID,config:obj})):(this.objects[objSeq].isDel=void 0,this.objects[objSeq].config=obj),null!=objSeq?this.initTab(objID,objSeq):trace("object find error")},initTab:function(objID,objSeq){var cfg=this.config,_this=this,obj=this.objects[objSeq],po=[];po.push('