(function(){var o,r=0,t=!1;if(!(window.information_busType=="1"||window.information_busType=="6"||window.information_busType=="15")){$(document).on("click",".coursemain img",function(){if($(this).attr("class")!="videoIcon"){$(".infotypezero").remove();var e='';$("body").append(e),o=new Swiper(".infotypezero",{zoom:!0,width:window.innerWidth,virtual:!0,spaceBetween:20,on:{click:function(){$("#origininfo-img").fadeOut("fast"),this.virtual.slides.length=0,this.virtual.cache=[],t=!1}}});var n=[];$(".coursemain img").each(function(c,d){$(this).attr("class")=="videoIcon"||n.push($(this).attr("src"))});var s=$(this).attr("src")||"";for(r=s?n.indexOf(s):0,i=0;i');o.slideTo(r),$("#origininfo-img").fadeIn("fast"),t=!0}}),document.addEventListener("touchstart",function(e){e.touches.length>1&&t&&e.preventDefault()});var a=0;document.addEventListener("touchend",function(e){var n=new Date().getTime();n-a<=300&&e.preventDefault(),a=n},!1),document.addEventListener("touchmove",function(e){t&&e.preventDefault()})}})();