var $R={mouseOffset:{},mouseDownTime:"",mouseUpTime:"",init:function(){this.createDom(),this.hoverEvent(),this.bindEvent(),250'),e.push(''),e.push('
'),e.push(''),e.push('

'+t.desc+"

"),e.push(' '),e.push("
"),e.push("")}),$(".imgContent").html(e.join("")))},hoverEvent:function(){$(".content").on("mouseenter",function(){$(this).find(".main_img").removeClass("scaleImg").addClass("scaleImg"),$(this).find(".halfModel").addClass("activeHover")}).on("mouseleave",function(){$(this).find(".main_img").removeClass("scaleImg"),$(this).find(".halfModel").removeClass("activeHover")})},pvSend:function(){var e=this;window.adsData&&window.adsData.adstk&&$.each(window.adsData.adstk,function(s,t){e.sendLog(t)})},sendLog:function(e){var s=new Image;s.onload=s.onerror=function(){s=null},s.src=e},bindEvent:function(){var e=this;$(".trackTarget").on("mousedown",function(s){e.getOffset(s.clientX,s.clientY),e.mouseDownTime=(new Date).getTime()}),$(".trackTarget").on("click",function(){var s=$(this).attr("data-clk"),t=$(this).attr("data-curl");e.mouseUpTime=(new Date).getTime(),s&&(s=s.replace("__EVENT_TIME_START__",e.mouseDownTime).replace("__EVENT_TIME_END__",e.mouseUpTime).replace("__OFFSET_X__",parseInt(e.mouseOffset.x)).replace("__OFFSET_Y__",parseInt(e.mouseOffset.y)).replace("__ADSPACE_W__",w).replace("__ADSPACE_H__",h),$.each(s.split(","),function(s,t){e.sendLog(t)})),t=t.replace("__EVENT_TIME_START__",e.mouseDownTime).replace("__EVENT_TIME_END__",e.mouseUpTime).replace("__OFFSET_X__",parseInt(e.mouseOffset.x)).replace("__OFFSET_Y__",parseInt(e.mouseOffset.y)).replace("__ADSPACE_W__",w).replace("__ADSPACE_H__",h),window.open(t,"mediav"+e.mouseUpTime)})},getOffset:function(e,s){var t=$(".content")[0].getBoundingClientRect(),a=e-t.left,n=s-t.top;this.mouseOffset={x:a,y:n}}};$R.init();