// ;(/iphone|ipod|ipad/i.test(navigator.appversion)) && document.addeventlistener('blur', (e) => { // ['input', 'textarea'].includes(e.target.localname) && document.body.scrollintoview(false) // }, true) $(function(){ var wow = new wow({ boxclass: 'wow', animateclass: 'animated', offset: 0, mobile: true, live: true }); wow.init(); dur('.wow','1.5'); if($('#dowebok').length==0){ $('.hd1-a1').after('
'); } for(var i=0;i<$('.hd1-b2').length;i++){ if($('.hd1-b2').eq(i).find('.hd1-b8').length==0){ $('.hd1-b2').eq(i).find('.hd1-b7').remove(); $('.hd1-b2').eq(i).find('.hd1-b4').remove(); } } for(var i=0;i<$('.hd1-c3').length;i++){ if((i+1)<10){ $('.hd1-c3').eq(i).find('.hd1-c7').html('0'+(i+1)); }else{ $('.hd1-c3').eq(i).find('.hd1-c7').html(i+1); } } $('.hd1-a10').click(function(){ if($(window).width()<1024){ $('.hd1-a2').hide(); $('.hd1-a10').hide(); $('.hd1-a5').show(); }else{ $('.hd1-a3').hide(); $('.hd1-a10').hide(); $('.hd1-a5').show(); } }); $('.hd1-a6').click(function(){ if($(window).width()<1024){ $('.hd1-a5').hide(); $('.hd1-a2').show(); $('.hd1-a10').show(); }else{ $('.hd1-a5').hide(); $('.hd1-a3').show(); $('.hd1-a10').show(); } }); var clickif=true; $('.hd1-a11').click(function(){ if($(window).width()<1024){ if($(this).hasclass('on1')){ $(this).removeclass('on1'); $('.hd1-b1').slideup(500); $('.hd1-b7').slideup(500); $('.hd1-b2').removeclass('on1'); }else{ $(this).addclass('on1'); $('.hd1-b1').slidedown(500); } }else{ if(clickif){ if($(this).hasclass('on1')){ $(this).removeclass('on1'); clickif=!clickif; $('.hd1-a13').addclass('on1'); hd111=settimeout(function(){ $('.hd1-c1').hide(); $('.hd1-a13').removeclass('on1'); clickif=!clickif; cleartimeout(hd111); },510); }else{ $(this).addclass('on1'); clickif=!clickif; $('.hd1-a12').addclass('on1'); hd111=settimeout(function(){ $('.hd1-c1').show(); $('.hd1-a12').removeclass('on1'); clickif=!clickif; cleartimeout(hd111); },510); } } } }); $('.hd1-b5').click(function(){ if($(this).parents('.hd1-b2').find('.hd1-b7').length){ if($(this).parents('.hd1-b2').hasclass('on1')){ $(this).parents('.hd1-b2').find('.hd1-b7').slideup(500); $(this).parents('.hd1-b2').removeclass('on1'); }else{ $('.hd1-b7').slideup(500); $('.hd1-b2').removeclass('on1'); $(this).parents('.hd1-b2').find('.hd1-b7').slidedown(500); $(this).parents('.hd1-b2').addclass('on1'); } }else{ $('.hd1-b7').slideup(500); $('.hd1-b2').removeclass('on1'); } }); $('.hd1-c3').css('left',($('.hd1-c2').offset().left+$('.hd1-c3').eq(0).width()/2)) $('.hd1-c3').mouseenter(function(){ $('.hd1-c9').animate({right: ($(window).width()-$(this).offset().left-$(this).width()/2)},500); }); if($('.top111').length){ if($(window).scrolltop()>$(window).height()){ $('.top111').show(); }else{ $('.top111').hide(); } $(window).scroll(function(){ if($(window).scrolltop()>$(window).height()){ $('.top111').show(); }else{ $('.top111').hide(); } }); } $('.top111').click(function(){ $('body,html').animate({'scrolltop':0},500,'linear'); }); if($('.ind111').length){ if($('.ind111 .swiper-slide').length<10){ $('.ind1-a13>span').last().html('0'+$('.ind111 .swiper-slide').length); }else{ $('.ind1-a13>span').last().html($('.ind111 .swiper-slide').length); } $('.ind1-a13>span').first().html('01'); super6('ind111','ind112',4000,800); ind1=setinterval(function(){ if((parseint($('.ind111 .swiper-slide-active').attr('data-swiper-slide-index'))+1)<10){ $('.ind1-a13>span').first().html('0'+(parseint($('.ind111 .swiper-slide-active').attr('data-swiper-slide-index'))+1)); }else{ $('.ind1-a13>span').first().html(parseint($('.ind111 .swiper-slide-active').attr('data-swiper-slide-index'))+1); } },200); } if($('.ind2-a2').length){ for(var i=1;i<=$('.ind2-a2').length;i++){ $('.ind2-a2').eq(i-1).find('.ind2-a4>span').eq(0).attr('id','number'+i); } var qwer1=1; number('#number1+span',parseint($('#number1').html())-20,parseint($('#number1').html()),100,'number1'); number('#number2+span',parseint($('#number2').html())-20,parseint($('#number2').html()),100,'number2'); number('#number3+span',parseint($('#number3').html())-20,parseint($('#number3').html()),100,'number3'); number('#number4+span',parseint($('#number4').html())-20,parseint($('#number4').html()),100,'number4'); qwer2=settimeout(function(){qwer1=0;cleartimeout(qwer2);},2000); $(window).scroll(function(){ if($('.f2').hasclass('active')){ if(qwer1==0){ qwer1=1; number('#number1+span',parseint($('#number1').html())-20,parseint($('#number1').html()),100,'number1'); number('#number2+span',parseint($('#number2').html())-20,parseint($('#number2').html()),100,'number2'); number('#number3+span',parseint($('#number3').html())-20,parseint($('#number3').html()),100,'number3'); number('#number4+span',parseint($('#number4').html())-20,parseint($('#number4').html()),100,'number4'); cleartimeout(qwer2); qwer2=settimeout(function(){qwer1=0;cleartimeout(qwer2);},2000); } }else{qwer1=0;cleartimeout(qwer2);} }); } if($('.ind311').length){super6('ind311','ind312',4000,800);} if($('.ind3-f2').length){ $('.ind3-f2').eq(0).addclass('on3'); $('.ind3-f2').eq(1).addclass('on2'); $('.ind3-f2').eq(2).addclass('on1'); var distance1,distance2; $('.ind3-f1').on('touchstart',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;distance1=_x;}); $('.ind3-f1').on('touchmove',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;}); $('.ind3-f1').on('touchend',function(e){var _touch = e.originalevent.changedtouches[0];var _x= _touch.pagex;distance2=_x; if(distance1>distance2){ if($('.ind3-f2.on1').index()==($('.ind3-f2').length-1)){ $('.ind3-f2.on3').addclass('on4').removeclass('on3'); $('.ind3-f2.on2').addclass('on3').removeclass('on2'); $('.ind3-f2.on1').addclass('on2').removeclass('on1'); $('.ind3-f2').eq(0).addclass('on1'); }else if($('.ind3-f2.on2').index()==($('.ind3-f2').length-1)){ $('.ind3-f2.on3').addclass('on4').removeclass('on3'); $('.ind3-f2.on2').addclass('on3').removeclass('on2'); $('.ind3-f2').eq(0).addclass('on2').removeclass('on1'); $('.ind3-f2').eq(1).addclass('on1'); }else{ $('.ind3-f2.on3').addclass('on4').removeclass('on3'); $('.ind3-f2.on2').addclass('on3').removeclass('on2'); $('.ind3-f2.on1').addclass('on2').removeclass('on1'); $('.ind3-f2.on2').next().addclass('on1'); } var cc1=settimeout(function(){ $('.on4').removeclass('on4'); cleartimeout(cc1); },510); }else{ if($('.ind3-f2.on1').index()==($('.ind3-f2').length-1)){ $('.ind3-f2.on3').addclass('on5').removeclass('on3'); $('.ind3-f2.on2').addclass('on3').removeclass('on2'); $('.ind3-f2.on1').addclass('on2').removeclass('on1'); $('.ind3-f2').eq(0).addclass('on1'); }else if($('.ind3-f2.on2').index()==($('.ind3-f2').length-1)){ $('.ind3-f2.on3').addclass('on5').removeclass('on3'); $('.ind3-f2.on2').addclass('on3').removeclass('on2'); $('.ind3-f2').eq(0).addclass('on2').removeclass('on1'); $('.ind3-f2').eq(1).addclass('on1'); }else{ $('.ind3-f2.on3').addclass('on5').removeclass('on3'); $('.ind3-f2.on2').addclass('on3').removeclass('on2'); $('.ind3-f2.on1').addclass('on2').removeclass('on1'); $('.ind3-f2.on2').next().addclass('on1'); } var cc1=settimeout(function(){ $('.on5').removeclass('on5'); cleartimeout(cc1); },510); } }); } if($('.ind4-a2').length){ for(var i=1;i<=$('.ind4-a2').length;i++){ $('.ind4-a2').eq(i-1).find('.ind4-a4>span').eq(0).attr('id','number'+i+i); } var qwer3=1; number('#number11+span',parseint($('#number11').html())-5,parseint($('#number11').html()),400,'number11'); number('#number22+span',parseint($('#number22').html())-20,parseint($('#number22').html()),100,'number22'); number('#number33+span',parsefloat($('#number33').html())-20,parsefloat($('#number33').html()),100,'number33'); qwer4=settimeout(function(){qwer3=0;cleartimeout(qwer4);},2000); $(window).scroll(function(){ if($('.f4').hasclass('active')){ if(qwer3==0){ qwer3=1; number('#number11+span',parseint($('#number11').html())-5,parseint($('#number11').html()),400,'number11'); number('#number22+span',parseint($('#number22').html())-20,parseint($('#number22').html()),100,'number22'); number('#number33+span',parsefloat($('#number33').html())-20,parsefloat($('#number33').html()),100,'number33'); cleartimeout(qwer4); qwer4=settimeout(function(){qwer3=0;cleartimeout(qwer4);},2000); } }else{qwer3=0;cleartimeout(qwer4);} }); } if($('.ind411').length){super9('ind411',3,1);} if($('.ind511').length){ if($(window).width()<1024){super9('ind511',2,1);} } if($('.ind6-b2').length){ $('.ind6-b2').eq(0).addclass('on1'); $('.ind6-c2').eq(0).show(); } $('.ind6-b2').click(function(){ $('.ind6-b2').removeclass('on1').eq($(this).index()).addclass('on1'); $('.ind6-c2').hide().eq($(this).index()).show(); }); if($('.ind611').length){ if($(window).width()<1024){super19('ind611','ind612',2,1,4000,800);} } if($('.ind711').length){ for(var i=0;idiv').length/4);i++){ $('.ind711>div').append('
'); } for(var i=0;i<$('.ind7-b1>div').length;i++){ $('.ind711 .swiper-slide').eq(math.floor(i/4)).append('
'+$('.ind7-b1>div').eq(i).html()+'
'); } if($(window).width()<1024){ if($('.ind711 .swiper-slide').length>3){super19('ind711','ind712',3,1,4000,800);} }else{ if($('.ind711 .swiper-slide').length>7){super19('ind711','ind712',7,1,4000,800);} } } if($('#map').length){ var pt1=parsefloat($('#map').attr('point').split(',')[0]); var pt2=parsefloat($('#map').attr('point').split(',')[1]); var map = new bmap.map("map"); var point = new bmap.point(pt1,pt2); map.centerandzoom(new bmap.point(pt1,pt2), 16); map.addcontrol(new bmap.maptypecontrol({ maptypes:[ bmap_normal_map, bmap_hybrid_map ]})); map.setcurrentcity("哈尔滨"); map.enablescrollwheelzoom(true); var marker = new bmap.marker(new bmap.point(pt1,pt2)); map.addoverlay(marker); var marker1 = new bmap.marker(point); map.addoverlay(marker1); // var circle = new bmap.circle(point,200,{fillcolor:"#1195ff", strokeweight: 1 ,fillopacity: 0.2, strokeopacity: 1}); // map.addoverlay(circle); } if($('.modern111').length){ $('.modern1-a2').html($('.modern111 .swiper-slide').eq(0).children().html()); if($(window).width()<1024){ if($('.modern111 .swiper-slide').length>2){super9('modern111',3,1);} }else{ if($('.modern111 .swiper-slide').length>5){super9('modern111',5,1);} } } $('.modern111 .swiper-slide>div').click(function(){ $('.modern1-a2').html($(this).html()); }); if($('.modern1-c3').length){ $('.modern1-c3').eq(0).addclass('on1'); } $('.modern1-c3').mouseenter(function(){ $('.modern1-c3').removeclass('on1'); $(this).addclass('on1'); }); if($('.modern1-b3').length){ if($(window).width()<1024){ $('.modern1-b3').eq(0).addclass('on3'); $('.modern1-b3').eq(1).addclass('on2'); $('.modern1-b3').eq(2).addclass('on1'); var distance1,distance2; $('.modern1-b2').on('touchstart',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;distance1=_x;}); $('.modern1-b2').on('touchmove',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;}); $('.modern1-b2').on('touchend',function(e){var _touch = e.originalevent.changedtouches[0];var _x= _touch.pagex;distance2=_x; if(distance1>distance2){ if($('.modern1-b3.on1').index()==($('.modern1-b3').length-1)){ $('.modern1-b3.on3').addclass('on4').removeclass('on3'); $('.modern1-b3.on2').addclass('on3').removeclass('on2'); $('.modern1-b3.on1').addclass('on2').removeclass('on1'); $('.modern1-b3').eq(0).addclass('on1'); }else if($('.modern1-b3.on2').index()==($('.modern1-b3').length-1)){ $('.modern1-b3.on3').addclass('on4').removeclass('on3'); $('.modern1-b3.on2').addclass('on3').removeclass('on2'); $('.modern1-b3').eq(0).addclass('on2').removeclass('on1'); $('.modern1-b3').eq(1).addclass('on1'); }else{ $('.modern1-b3.on3').addclass('on4').removeclass('on3'); $('.modern1-b3.on2').addclass('on3').removeclass('on2'); $('.modern1-b3.on1').addclass('on2').removeclass('on1'); $('.modern1-b3.on2').next().addclass('on1'); } var cc1=settimeout(function(){ $('.on4').removeclass('on4'); cleartimeout(cc1); },510); }else{ if($('.modern1-b3.on1').index()==($('.modern1-b3').length-1)){ $('.modern1-b3.on3').addclass('on5').removeclass('on3'); $('.modern1-b3.on2').addclass('on3').removeclass('on2'); $('.modern1-b3.on1').addclass('on2').removeclass('on1'); $('.modern1-b3').eq(0).addclass('on1'); }else if($('.modern1-b3.on2').index()==($('.modern1-b3').length-1)){ $('.modern1-b3.on3').addclass('on5').removeclass('on3'); $('.modern1-b3.on2').addclass('on3').removeclass('on2'); $('.modern1-b3').eq(0).addclass('on2').removeclass('on1'); $('.modern1-b3').eq(1).addclass('on1'); }else{ $('.modern1-b3.on3').addclass('on5').removeclass('on3'); $('.modern1-b3.on2').addclass('on3').removeclass('on2'); $('.modern1-b3.on1').addclass('on2').removeclass('on1'); $('.modern1-b3.on2').next().addclass('on1'); } var cc1=settimeout(function(){ $('.on5').removeclass('on5'); cleartimeout(cc1); },510); } }); } } if($('.modern1-d3').length){ if($(window).width()<1024){ $('.modern1-d3').eq(0).addclass('on3'); $('.modern1-d3').eq(1).addclass('on2'); $('.modern1-d3').eq(2).addclass('on1'); var distance1,distance2; $('.modern1-d2').on('touchstart',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;distance1=_x;}); $('.modern1-d2').on('touchmove',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;}); $('.modern1-d2').on('touchend',function(e){var _touch = e.originalevent.changedtouches[0];var _x= _touch.pagex;distance2=_x; if(distance1>distance2){ if($('.modern1-d3.on1').index()==($('.modern1-d3').length-1)){ $('.modern1-d3.on3').addclass('on4').removeclass('on3'); $('.modern1-d3.on2').addclass('on3').removeclass('on2'); $('.modern1-d3.on1').addclass('on2').removeclass('on1'); $('.modern1-d3').eq(0).addclass('on1'); }else if($('.modern1-d3.on2').index()==($('.modern1-d3').length-1)){ $('.modern1-d3.on3').addclass('on4').removeclass('on3'); $('.modern1-d3.on2').addclass('on3').removeclass('on2'); $('.modern1-d3').eq(0).addclass('on2').removeclass('on1'); $('.modern1-d3').eq(1).addclass('on1'); }else{ $('.modern1-d3.on3').addclass('on4').removeclass('on3'); $('.modern1-d3.on2').addclass('on3').removeclass('on2'); $('.modern1-d3.on1').addclass('on2').removeclass('on1'); $('.modern1-d3.on2').next().addclass('on1'); } var cc1=settimeout(function(){ $('.on4').removeclass('on4'); cleartimeout(cc1); },510); }else{ if($('.modern1-d3.on1').index()==($('.modern1-d3').length-1)){ $('.modern1-d3.on3').addclass('on5').removeclass('on3'); $('.modern1-d3.on2').addclass('on3').removeclass('on2'); $('.modern1-d3.on1').addclass('on2').removeclass('on1'); $('.modern1-d3').eq(0).addclass('on1'); }else if($('.modern1-d3.on2').index()==($('.modern1-d3').length-1)){ $('.modern1-d3.on3').addclass('on5').removeclass('on3'); $('.modern1-d3.on2').addclass('on3').removeclass('on2'); $('.modern1-d3').eq(0).addclass('on2').removeclass('on1'); $('.modern1-d3').eq(1).addclass('on1'); }else{ $('.modern1-d3.on3').addclass('on5').removeclass('on3'); $('.modern1-d3.on2').addclass('on3').removeclass('on2'); $('.modern1-d3.on1').addclass('on2').removeclass('on1'); $('.modern1-d3.on2').next().addclass('on1'); } var cc1=settimeout(function(){ $('.on5').removeclass('on5'); cleartimeout(cc1); },510); } }); } } if($('.modern211').length){ if($(window).width()<1024){super6('modern211','modern212',4000,800);} } if($('.news111').length){ if($(window).width()<1024){ if($('.news111 .swiper-slide').length>1){ super7('news111','news112','news113',4000,800); } }else{ if($('.news111 .swiper-slide').length>2){ super22('news111','news112','news113',2,1,4000,800); } } } if($('.party111').length){ if($(window).width()<1023){ if($('.party111 .swiper-slide').length>1){super6('party111','party112',4000,800);} }else{ if($('.party111 .swiper-slide').length>2){super19('party111','party112',2,1,4000,800);} } } if($('.about1-a5').length){ for(var i=1;i<=$('.about1-a5').length;i++){ $('.about1-a5').eq(i-1).find('.about1-a7>span').eq(0).attr('id','number'+i); } var qwer1=1; number('#number1+span',parseint($('#number1').html())-20,parseint($('#number1').html()),100,'number1'); number('#number2+span',parseint($('#number2').html())-20,parseint($('#number2').html()),100,'number2'); number('#number3+span',parseint($('#number3').html())-20,parseint($('#number3').html()),100,'number3'); number('#number4+span',parseint($('#number4').html())-20,parseint($('#number4').html()),100,'number4'); qwer2=settimeout(function(){qwer1=0;cleartimeout(qwer2);},2000); $(window).scroll(function(){ if(($(window).scrolltop()>($('.about1-a4').offset().top-$(window).height()))&&($(window).scrolltop()<($('.about1-a4').offset().top-$(window).height()+100))){ if(qwer1==0){ qwer1=1; number('#number1+span',parseint($('#number1').html())-20,parseint($('#number1').html()),100,'number1'); number('#number2+span',parseint($('#number2').html())-20,parseint($('#number2').html()),100,'number2'); number('#number3+span',parseint($('#number3').html())-20,parseint($('#number3').html()),100,'number3'); number('#number4+span',parseint($('#number4').html())-20,parseint($('#number4').html()),100,'number4'); cleartimeout(qwer2); qwer2=settimeout(function(){qwer1=0;cleartimeout(qwer2);},2000); } } }); } $('.about1-a10').click(function(){ if($(this).find('.about1-a12').css('display')=='none'){ $(this).find('.about1-a12').append('').show(); } }); if($('.about111').length){ if($(window).width()<1024){ for(var i=0;i<$('.about1-c6 .about1-c3').length;i++){ $('.about1-c7').append('
'); } $('.about1-c7>div').eq(0).addclass('on1'); $('.about1-c6 .about1-c3').eq(0).addclass('on3').addclass('in3'); $('.about1-c6 .about1-c3').eq(1).addclass('on2').addclass('in2'); $('.about1-c6 .about1-c3').eq($('.about1-c6 .about1-c3').length-1).addclass('on1').addclass('in1'); var distance1,distance2,distance3,distance4; $('.about1-c6').on('touchstart',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;var _y= _touch.pagey;distance1=_x;distance3=_y;}); $('.about1-c6').on('touchmove',function(e){var _touch = e.originalevent.targettouches[0];var _x= _touch.pagex;var _y= _touch.pagey;}); $('.about1-c6').on('touchend',function(e){var _touch = e.originalevent.changedtouches[0];var _x= _touch.pagex;var _y= _touch.pagey;distance2=_x;distance4=_y; var el1=$('.about1-c6 .about1-c3').length; var el2=$('.about1-c6 .about1-c3.on3').index(); if(distance1>distance2){ $('.about1-c6 .about1-c3').removeclass('on3').removeclass('on2').removeclass('on1').removeclass('in3').removeclass('in2').removeclass('in1'); if(el2==(el1-1)){ $('.about1-c6 .about1-c3').eq(0).addclass('on3'); $('.about1-c6 .about1-c3').eq(1).addclass('on2'); $('.about1-c6 .about1-c3').eq(el1-1).addclass('on1'); }else if(el2==(el1-2)){ $('.about1-c6 .about1-c3').eq(el1-1).addclass('on3'); $('.about1-c6 .about1-c3').eq(0).addclass('on2'); $('.about1-c6 .about1-c3').eq(el1-2).addclass('on1'); }else{ $('.about1-c6 .about1-c3').eq(el2+1).addclass('on3'); $('.about1-c6 .about1-c3').eq(el2+2).addclass('on2'); $('.about1-c6 .about1-c3').eq(el2).addclass('on1'); } $('.about1-c7>div').removeclass('on1').eq($('.about1-c6 .about1-c3.on3').index()).addclass('on1'); }else if(distance1div').removeclass('on1').eq($('.about1-c6 .about1-c3.on3').index()).addclass('on1'); } }); }else{ if($('.about111 .swiper-slide').length>4){super11('about111','about112',4,1);} } } if($('.about211').length){ if($(window).width()<1024){ if($('.about211 .swiper-slide').length>3){super19('about211','about212',3,1,4000,800);} }else{ if($('.about211 .swiper-slide').length>5){super19('about211','about212',5,1,4000,800);} } } if($('.about311').length){ if($(window).width()>1023){ for(var i=0;i<$('.about1-g3 .about1-g4').length;i++){ $('.about311>div').append('
'+$('.about1-g3 .about1-g4').eq(i).html()+'
'); } if($('.about311 .swiper-slide').length>3){super17('about311',4,1,4000,800);} } } if($('.cooper111').length){ for(var i=0;idiv').length/4);i++){ $('.cooper111>div').append('
'); } for(var i=0;i<$('.cooper1-b1>div').length;i++){ $('.cooper111 .swiper-slide').eq(math.floor(i/4)).append('
'+$('.cooper1-b1>div').eq(i).html()+'
'); } if($(window).width()<1024){ if($('.cooper111 .swiper-slide').length>3){super19('cooper111','cooper112',3,1,4000,800);} }else{ if($('.cooper111 .swiper-slide').length>7){super19('cooper111','cooper112',7,1,4000,800);} } } if($('.ind2-a2').length){del(3,0.1,1,'.ind2-a2');} if($('.ind2-b2').length){del(3,0.1,1,'.ind2-b2');} if($('.ind2-f2').length){del(3,0.1,1,'.ind2-f2');} if($('.ind3-d2').length){del(3,0.1,1,'.ind3-d2');} if($('.ind3-e2').length){del(3,0.1,1,'.ind3-e2');} if($('.ind6-b2').length){del(3,0.1,1,'.ind6-b2');} if($('.resource1-a2').length){del(3,0.1,1,'.resource1-a2');} if($('.business1-a2').length){del(3,0.1,1,'.business1-a2');} if($('.news1-a10').length){del(3,0.1,1,'.news1-a10');} if($('.news1-c3').length){del(3,0.1,1,'.news1-c3');} if($('.news1-d3').length){del(3,0.1,1,'.news1-d3');} if($('.party1-a8').length){del(3,0.1,1,'.party1-a8');} if($('.party1-c3').length){del(3,0.1,1,'.party1-c3');} if($('.party1-d5').length){del(3,0.1,1,'.party1-d5');} if($('.about1-a5').length){del(3,0.1,1,'.about1-a5');} if($('.page1-a1>a').length){ if($('.page1-a1>a').length>9){ if($('.select').index()<5){ if($('.select').index()==2){ for(var i=2;i<7;i++){$('.page1-a1>a').eq(i).css({'display':'inline-block'});} }else{ for(var i=0;i<7;i++){$('.page1-a1>a').eq(i).css({'display':'inline-block'});} } $('.page1-a1>a').eq($('.page1-a1>a').length-1).css({'display':'inline-block'}); $('.page1-a1>a').eq($('.page1-a1>a').length-2).css({'display':'inline-block'}); $('.page1-a1>a').eq(6).after('...'); }else if($('.select').index()>($('.page1-a1>a').length-6)){ if($('.select').index()==($('.page1-a1>a').length-3)){ for(var i=0;i<5;i++){$('.page1-a1>a').eq($('.page1-a1>a').length-3-i).css({'display':'inline-block'});} }else{ for(var i=0;i<7;i++){$('.page1-a1>a').eq($('.page1-a1>a').length-1-i).css({'display':'inline-block'});} } $('.page1-a1>a').eq(0).css({'display':'inline-block'}); $('.page1-a1>a').eq(1).css({'display':'inline-block'}); $('.page1-a1>a').eq($('.page1-a1>a').length-7).before('...'); }else{ for(var i=-2;i<3;i++){$('.page1-a1>a').eq($('.select').index()+i).css({'display':'inline-block'});} $('.page1-a1>a').eq(0).css({'display':'inline-block'}); $('.page1-a1>a').eq(1).css({'display':'inline-block'}); $('.page1-a1>a').eq($('.page1-a1>a').length-1).css({'display':'inline-block'}); $('.page1-a1>a').eq($('.page1-a1>a').length-2).css({'display':'inline-block'}); $('.page1-a1>a').eq($('.select').index()+2).after('...'); $('.page1-a1>a').eq($('.select').index()-2).before('...'); } }else{ if($('.select').index()==2){ for(var i=2;i<$('.page1-a1>a').length;i++){$('.page1-a1>a').eq(i).css({'display':'inline-block'});} }else if($('.select').index()==($('.page1-a1>a').length-3)){ for(var i=0;i<($('.page1-a1>a').length-2);i++){$('.page1-a1>a').eq(i).css({'display':'inline-block'});} }else{ $('.page1-a1>a').css({'display':'inline-block'}); } } } }); function del(a,b,c,d){;for(var i=0;i<$(d).length;i++){var t1=(a*b+b*(c*i))+'s';$(d).eq(i).attr('data-wow-delay',t1);}} function dur(a1,b1){$(a1).attr('data-wow-duration',(b1+'s'));} function super6(a1,a2,t1,t2){var swi1='.'+a1;var pag1='.'+a2;var myswiper = new swiper (swi1, {loop: true,pagination: {el: pag1,clickable :true,},autoplay:{delay: t1,disableoninteraction: false,},speed: t2,effect : 'fade',fadeeffect: {crossfade: true,},on:{init: function(){swiperanimatecache(this);swiperanimate(this);},slidechangetransitionend: function(){swiperanimate(this);},},});} function number(a1,b1,c1,d1,e1){var i=b1;clearinterval(e1);var e1=setinterval(function(){b1++;$(a1).html(b1);if(b1>=c1){clearinterval(e1);}},d1);} function super9(a1,n1,n2){var swi1='.'+a1;var myswiper = new swiper (swi1, {loop: true,slidesperview:n1,slidespergroup:n2,speed:500,});} function super19(a1,a2,n1,n2,t1,t2){var swi1='.'+a1;var pag1='.'+a2;var myswiper = new swiper (swi1, {loop: true,pagination:{el:pag1,clickable:true,},slidesperview:n1,slidespergroup:n2,autoplay:{delay: t1,disableoninteraction: false,},speed: t2,});} function super22(a1,a2,a3,n1,n2,t1,t2){var swi1='.'+a1;var but1='.'+a2;var but2='.'+a3;var myswiper = new swiper (swi1, {loop: true,navigation:{prevel:but1,nextel:but2,},autoplay:{delay: t1,disableoninteraction: false,},speed: t2,slidesperview:n1,slidespergroup:n2,});} function super7(a1,a2,a3,t1,t2){var swi1='.'+a1;var but1='.'+a2;var but2='.'+a3;var myswiper = new swiper (swi1, {loop: true,navigation:{prevel:but1,nextel:but2,},autoplay:{delay: t1,disableoninteraction: false,},speed: t2,effect : 'fade',fadeeffect: {crossfade: true,},on:{init: function(){swiperanimatecache(this);swiperanimate(this);},slidechangetransitionend: function(){swiperanimate(this);},},});} function super11(a1,a2,n1,n2){var swi1='.'+a1;var pag1='.'+a2;var myswiper = new swiper (swi1, {loop: true,pagination:{el:pag1,clickable:true,},slidesperview:n1,slidespergroup:n2,speed:500,});} function super2(a1,a2){var swi1='.'+a1;var pag1='.'+a2;var myswiper = new swiper (swi1, {loop: true,pagination: {el: pag1,clickable :true,},speed:500,});} function super17(a1,n1,n2,t1,t2){var swi1='.'+a1;var myswiper = new swiper (swi1, {loop: true,slidesperview:n1,slidespergroup:n2,autoplay:{delay: t1,disableoninteraction: false,},speed: t2,});}