/* Js for , Version=1775393835 */
 v.lang = {"confirmDelete":"\u60a8\u78ba\u5b9a\u8981\u57f7\u884c\u522a\u9664\u64cd\u4f5c\u55ce\uff1f","deleteing":"\u522a\u9664\u4e2d","doing":"\u8655\u7406\u4e2d","loading":"\u52a0\u8f09\u4e2d","updating":"\u66f4\u65b0\u4e2d...","timeout":"\u7db2\u7d61\u8d85\u6642,\u8acb\u91cd\u8a66","errorThrown":"<h4>\u57f7\u884c\u51fa\u932f\uff1a<\/h4>","continueShopping":"\u7e7c\u7e8c\u8cfc\u7269","required":"\u5fc5\u586b","back":"\u8fd4\u56de","continue":"\u7e7c\u7e8c","importTip":"\u53ea\u5c0e\u5165\u4e3b\u984c\u7684\u98a8\u683c\u548c\u6a23\u5f0f","fullImportTip":"\u5c07\u6703\u5c0e\u5165\u6e2c\u8a66\u6578\u64da\u4ee5\u53ca\u66ff\u63db\u7ad9\u9ede\u6587\u7ae0\u3001\u7522\u54c1\u7b49\u6578\u64da"};;

var currentBlockID = 201;


if(typeof($('#block' + currentBlockID).parent('.col').data('grid')) === 'undefined' && $('#block' + currentBlockID).parent('.col').data('probability') === 'undefined')
{
    var grid = $('#block' + currentBlockID).parents('.blocks').data('grid');
    grid = typeof(grid) == 'undefined' ? 12 : grid;

    $('#block' + currentBlockID).parent('.col').attr('data-grid', grid).attr('class', 'col col-' + grid);
}

$('.articleTitleA').each(function()
{
    $(this).css('max-width', $(this).parents('li').width() - $(this).prev('.category').width() - $(this).next('.sticky').width() - $(this).parent().next('.article-date').width() - 10);
})
$('.articleTitleB').each(function()
{
    $(this).css('max-width', $(this).parent('li').width() - $(this).next('.sticky').width() - 10);
})
;			
	
	$('#page').fullpage({
		autoTime: 5000,
		navigation: true,
		anchors: ['page1', 'page2', 'page3', 'page4', 'page5', 'page6'],
		menu: '#menu',
		navigationTooltips: ['网站首页', '关于我们', '产品中心', '市场营销', '新闻资讯', '联系我们'],
		afterLoad: function(anchorLink, index) {
			var loadedSection = $(this);
			$('#fp-nav').find('li').eq((index - 1)).addClass('on').siblings('li').removeClass('on');
		}
	});
	
	
	var swiper = new Swiper('#swiper1', {
		speed:2000,
		autoplay : {
		    delay:5000,
		    disableOnInteraction: false
		 },		
		 slidesPerView: 5
		
	});
	
	 var swiper = new Swiper('#swiper2',{				
		loop:true,
		loopedSlides:3,
		spaceBetween:80,
		centeredSlides:true,
		slidesPerView : 'auto',
		pagination: '.swiper-pagination',
		nextButton: '.swiper-button-next',
		prevButton: '.swiper-button-prev',
		breakpoints: { 				   
			1600: {
			  spaceBetween:40,
			}
		 }
	  });  
	
