!function(ct){ct.fn.slide=function(lt){return ct.fn.slide.defaults={type:"slide",effect:"fade",autoPlay:!1,delayTime:500,interTime:2500,triggerTime:150,defaultIndex:0,titCell:".hd li",mainCell:".bd",targetCell:null,trigger:"mouseover",scroll:1,vis:1,titOnClassName:"on",autoPage:!1,prevCell:".prev",nextCell:".next",pageStateCell:".pageState",opp:!1,pnLoop:!0,easing:"swing",startFun:null,endFun:null,switchLoad:null,playStateCell:".playState",mouseOverStop:!0,defaultPlay:!0,returnDefault:!1},this.each(function(){var e=ct.extend({},ct.fn.slide.defaults,lt),t=ct(this),s=e.effect,n=ct(e.prevCell,t),r=ct(e.nextCell,t),o=ct(e.pageStateCell,t),i=ct(e.playStateCell,t),l=(U=ct(e.titCell,t)).size(),c=ct(e.mainCell,t),u=c.children().size(),d=e.switchLoad,f=ct(e.targetCell,t),p=parseInt(e.defaultIndex),h=parseInt(e.delayTime),a=parseInt(e.interTime);parseInt(e.triggerTime);var m,g=parseInt(e.scroll),v=parseInt(e.vis),w="false"!=e.autoPlay&&0!=e.autoPlay,y="false"!=e.opp&&0!=e.opp,b="false"!=e.autoPage&&0!=e.autoPage,_="false"!=e.pnLoop&&0!=e.pnLoop,k="false"!=e.mouseOverStop&&0!=e.mouseOverStop,x="false"!=e.defaultPlay&&0!=e.defaultPlay,j="false"!=e.returnDefault&&0!=e.returnDefault,C=0,S=0,T=0,I=0,q=e.easing,V=null,$=null,M=null,P=e.titOnClassName,O=U.index(t.find("."+P)),E=p=-1==O?p:O,D=p,F=p,Q=v<=u?0!=u%g?u%g:g:0,H="leftMarquee"==s||"topMarquee"==s,W=function(){ct.isFunction(e.startFun)&&e.startFun(p,l,t,ct(e.titCell,t),c,f,n,r)},L=function(){ct.isFunction(e.endFun)&&e.endFun(p,l,t,ct(e.titCell,t),c,f,n,r)},A=function(){U.removeClass(P),x&&U.eq(D).addClass(P)};if("menu"==e.type)return x&&U.removeClass(P).eq(p).addClass(P),U.hover(function(){m=ct(this).find(e.targetCell);var t=U.index(ct(this));$=setTimeout(function(){switch(p=t,U.removeClass(P).eq(p).addClass(P),W(),s){case"fade":m.stop(!0,!0).animate({opacity:"show"},h,q,L);break;case"slideDown":m.stop(!0,!0).animate({height:"show"},h,q,L)}},e.triggerTime)},function(){switch(clearTimeout($),s){case"fade":m.animate({opacity:"hide"},h,q);break;case"slideDown":m.animate({height:"hide"},h,q)}}),void(j&&t.hover(function(){clearTimeout(M)},function(){M=setTimeout(A,h)}));if(0==l&&(l=u),H&&(l=2),b){if(v<=u)if("leftLoop"==s||"topLoop"==s)l=0!=u%g?1+(0^u/g):u/g;else{var z=u-v;(l=1+parseInt(0!=z%g?z/g+1:z/g))<=0&&(l=1)}else l=1;U.html("");var R="";if(1==e.autoPage||"true"==e.autoPage)for(var B=0;B"+(B+1)+"";else for(B=0;BT&&(T=ct(this).width(),S=ct(this).outerWidth(!0)),ct(this).height()>I&&(I=ct(this).height(),C=ct(this).outerHeight(!0))});var N=c.children(),Z=function(){for(var t=0;t').css({top:-p*g*C,position:"relative",padding:"0",margin:"0"}).children().css({height:I});break;case"left":c.wrap('
').css({width:u*S,left:-p*g*S,position:"relative",overflow:"hidden",padding:"0",margin:"0"}).children().css({float:"left",width:T});break;case"leftLoop":case"leftMarquee":Z(),c.wrap('
').css({width:(u+v+Q)*S,position:"relative",overflow:"hidden",padding:"0",margin:"0",left:-(Q+p*g)*S}).children().css({float:"left",width:T});break;case"topLoop":case"topMarquee":Z(),c.wrap('
').css({height:(u+v+Q)*C,position:"relative",padding:"0",margin:"0",top:-(Q+p*g)*C}).children().css({height:I})}}var G=function(t){var e=t*g;return t==l?e=u:-1==t&&0!=u%g&&(e=-u%g),e},J=function(i){var t=function(t){for(var e=t;e"+(p+1)+"/"+l)}};x&&K(!0),j&&t.hover(function(){clearTimeout(M)},function(){M=setTimeout(function(){p=D,x?K():"slideDown"==s?m.slideUp(h,A):m.animate({opacity:"hide"},h,A),E=p},300)});var X=function(t){V=setInterval(function(){y?p--:p++,K()},t||a)},Y=function(t){V=setInterval(K,t||a)},tt=function(){k||(clearInterval(V),X())},et=function(){(_||p!=l-1)&&(p++,K(),H||tt())},it=function(){(_||0!=p)&&(p--,K(),H||tt())},at=function(){clearInterval(V),H?Y():X(),i.removeClass("pauseState")},nt=function(){clearInterval(V),i.addClass("pauseState")};if(w?H?(y?p--:p++,Y(),k&&c.hover(nt,at)):(X(),k&&t.hover(nt,at)):(H&&(y?p--:p++),i.addClass("pauseState")),i.click(function(){i.hasClass("pauseState")?at():nt()}),"mouseover"==e.trigger?U.hover(function(){var t=U.index(this);$=setTimeout(function(){p=t,K(),tt()},e.triggerTime)},function(){clearTimeout($)}):U.click(function(){p=U.index(this),K(),tt()}),H){if(r.mousedown(et),n.mousedown(it),_){var rt,st=function(){rt=setTimeout(function(){clearInterval(V),Y(0^a/10)},150)},ot=function(){clearTimeout(rt),clearInterval(V),Y()};r.mousedown(st),r.mouseup(ot),n.mousedown(st),n.mouseup(ot)}"mouseover"==e.trigger&&(r.hover(et,function(){}),n.hover(it,function(){}))}else r.click(et),n.click(it)})}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,i,a,n){return jQuery.easing[jQuery.easing.def](t,e,i,a,n)},easeInQuad:function(t,e,i,a,n){return a*(e/=n)*e+i},easeOutQuad:function(t,e,i,a,n){return-a*(e/=n)*(e-2)+i},easeInOutQuad:function(t,e,i,a,n){return(e/=n/2)<1?a/2*e*e+i:-a/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,a,n){return a*(e/=n)*e*e+i},easeOutCubic:function(t,e,i,a,n){return a*((e=e/n-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,a,n){return(e/=n/2)<1?a/2*e*e*e+i:a/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,a,n){return a*(e/=n)*e*e*e+i},easeOutQuart:function(t,e,i,a,n){return-a*((e=e/n-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,a,n){return(e/=n/2)<1?a/2*e*e*e*e+i:-a/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,a,n){return a*(e/=n)*e*e*e*e+i},easeOutQuint:function(t,e,i,a,n){return a*((e=e/n-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,a,n){return(e/=n/2)<1?a/2*e*e*e*e*e+i:a/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,a,n){return-a*Math.cos(e/n*(Math.PI/2))+a+i},easeOutSine:function(t,e,i,a,n){return a*Math.sin(e/n*(Math.PI/2))+i},easeInOutSine:function(t,e,i,a,n){return-a/2*(Math.cos(Math.PI*e/n)-1)+i},easeInExpo:function(t,e,i,a,n){return 0==e?i:a*Math.pow(2,10*(e/n-1))+i},easeOutExpo:function(t,e,i,a,n){return e==n?i+a:a*(1-Math.pow(2,-10*e/n))+i},easeInOutExpo:function(t,e,i,a,n){return 0==e?i:e==n?i+a:(e/=n/2)<1?a/2*Math.pow(2,10*(e-1))+i:a/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,a,n){return-a*(Math.sqrt(1-(e/=n)*e)-1)+i},easeOutCirc:function(t,e,i,a,n){return a*Math.sqrt(1-(e=e/n-1)*e)+i},easeInOutCirc:function(t,e,i,a,n){return(e/=n/2)<1?-a/2*(Math.sqrt(1-e*e)-1)+i:a/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,a,n){var r=1.70158,s=0,o=a;if(0==e)return i;if(1==(e/=n))return i+a;if(s||(s=.3*n),o
'+v.tit+'χ
').appendTo("body")).find("a.Validform_close").click(function(){return n.hide(),r=!0,h&&h.focus().addClass("Validform_error"),!1}).focus(function(){this.blur()}),p(window).bind("scroll resize",function(){!r&&s(n,400)})}w.defaults={tiptype:1,tipSweep:!1,showAllError:!1,postonce:!1,ajaxPost:!1},w.util={dataType:{"*":/[\w\W]+/,"*6-16":/^[\w\W]{6,16}$/,n:/^\d+$/,"n6-16":/^\d{6,16}$/,s:/^[\u4E00-\u9FA5\uf900-\ufa2d\w\.\s]+$/,"s6-18":/^[\u4E00-\u9FA5\uf900-\ufa2d\w\.\s]{6,18}$/,p:/^[0-9]{6}$/,m:/^13[0-9]{9}$|14[0-9]{9}|15[0-9]{9}$|18[0-9]{9}$/,e:/^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,url:/^(\w+:\/\/)?\w+(\.\w+)+.*$/},toString:Object.prototype.toString,isEmpty:function(t){return""===t||t===p.trim(this.attr("tip"))},getValue:function(t){var e;return t.is(":radio")?e=(e=this.find(":radio[name='"+t.attr("name")+"']:checked").val())===g?"":e:t.is(":checkbox")?(e="",this.find(":checkbox[name='"+t.attr("name")+"']:checked").each(function(){e+=p(this).val()+","}),e=e===g?"":e):e=t.val(),e=p.trim(e),w.util.isEmpty.call(t,e)?"":e},enhance:function(t,e,i,a){var n=this;n.find("[datatype]").each(function(){2==t?0==p(this).parent().next().find(".Validform_checktip").length&&(p(this).parent().next().append(""),p(this).siblings(".Validform_checktip").remove()):3!=t&&4!=t||0==p(this).siblings(".Validform_checktip").length&&(p(this).parent().append(""),p(this).parent().next().find(".Validform_checktip").remove())}),n.find("input[recheck]").each(function(){if("inited"==this.validform_inited)return!0;this.validform_inited="inited";var t=p(this),e=n.find("input[name='"+p(this).attr("recheck")+"']");e.bind("keyup",function(){if(e.val()==t.val()&&""!=e.val()){if(e.attr("tip")&&e.attr("tip")==e.val())return!1;t.trigger("blur")}}).bind("blur",function(){if(e.val()!=t.val()&&""!=t.val()){if(t.attr("tip")&&t.attr("tip")==t.val())return!1;t.trigger("blur")}})}),n.find("[tip]").each(function(){if("inited"==this.validform_inited)return!0;this.validform_inited="inited";var t=p(this).attr("tip"),e=p(this).attr("altercss");p(this).focus(function(){p(this).val()==t&&(p(this).val(""),e&&p(this).removeClass(e))}).blur(function(){""===p.trim(p(this).val())&&(p(this).val(t),e&&p(this).addClass(e))})}),n.find(":checkbox[datatype],:radio[datatype]").each(function(){if("inited"==this.validform_inited)return!0;this.validform_inited="inited";var t=p(this),e=t.attr("name");n.find("[name='"+e+"']").filter(":checkbox,:radio").bind("click",function(){setTimeout(function(){t.trigger("blur")},0)})}),n.find("select[datatype][multiple]").bind("click",function(){var t=p(this);setTimeout(function(){t.trigger("blur")},0)}),w.util.usePlugin.call(n,e,t,i,a)},usePlugin:function(e,a,n,t){var r=this;e=e||{};if(r.find("input[plugin='swfupload']").length&&"undefined"!=typeof swfuploadhandler){var i={custom_settings:{form:r,showmsg:function(t,e,i){w.util.showmsg.call(r,t,a,{obj:r.find("input[plugin='swfupload']"),type:e,sweep:n})}}};i=p.extend(!0,{},e.swfupload,i),r.find("input[plugin='swfupload']").each(function(t){if("inited"==this.validform_inited)return!0;this.validform_inited="inited",p(this).val(""),swfuploadhandler.init(i,t)})}if(r.find("input[plugin='datepicker']").length&&p.fn.datePicker&&(e.datepicker=e.datepicker||{},e.datepicker.format&&(Date.format=e.datepicker.format,delete e.datepicker.format),e.datepicker.firstDayOfWeek&&(Date.firstDayOfWeek=e.datepicker.firstDayOfWeek,delete e.datepicker.firstDayOfWeek),r.find("input[plugin='datepicker']").each(function(t){if("inited"==this.validform_inited)return!0;this.validform_inited="inited",e.datepicker.callback&&p(this).bind("dateSelected",function(){var t=new Date(p.event._dpCache[this._dpId].getSelected()[0]).asString(Date.format);e.datepicker.callback(t,this)}),p(this).datePicker(e.datepicker)})),r.find("input[plugin*='passwordStrength']").length&&p.fn.passwordStrength&&(e.passwordstrength=e.passwordstrength||{},e.passwordstrength.showmsg=function(t,e,i){w.util.showmsg.call(r,e,a,{obj:t,type:i,sweep:n})},r.find("input[plugin='passwordStrength']").each(function(t){if("inited"==this.validform_inited)return!0;this.validform_inited="inited",p(this).passwordStrength(e.passwordstrength)})),"addRule"!=t&&e.jqtransform&&p.fn.jqTransSelect){if("true"==r[0].jqTransSelected)return;r[0].jqTransSelected="true";var s=function(t){var e;0===p(t.target).parents(".jqTransformSelectWrapper").length&&(e=p(t.target),p(".jqTransformSelectWrapper ul:visible").each(function(){var t=p(this).parents(".jqTransformSelectWrapper:first").find("select").get(0);e&&t.oLabel&&t.oLabel.get(0)==e.get(0)||p(this).hide()}))};e.jqtransform.selector?(r.find(e.jqtransform.selector).filter('input:submit, input:reset, input[type="button"]').jqTransInputButton(),r.find(e.jqtransform.selector).filter("input:text, input:password").jqTransInputText(),r.find(e.jqtransform.selector).filter("input:checkbox").jqTransCheckBox(),r.find(e.jqtransform.selector).filter("input:radio").jqTransRadio(),r.find(e.jqtransform.selector).filter("textarea").jqTransTextarea(),0=e.forms.length?null:(t in e.objects||(e.objects[t]=new w(p(e.forms[t]).get(),{},!0)),e.objects[t])},resetStatus:function(){return p(this.forms).each(function(){this.validform_status="normal"}),this},setStatus:function(t){return p(this.forms).each(function(){this.validform_status=t||"posting"}),this},getStatus:function(){return p(this.forms)[0].validform_status},ignore:function(t){t=t||"[datatype]";return p(this.forms).find(t).each(function(){p(this).data("dataIgnore","dataIgnore").removeClass("Validform_error")}),this},unignore:function(t){t=t||"[datatype]";return p(this.forms).find(t).each(function(){p(this).removeData("dataIgnore")}),this},addRule:function(t){t=t||[];for(var e=0;en&&(n=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}i.each(function(){var t=l(this),e=0;r.target&&t.is(r.target)||("border-box"!==t.css("box-sizing")&&(e+=c(t.css("border-top-width"))+c(t.css("border-bottom-width")),e+=c(t.css("padding-top"))+c(t.css("padding-bottom"))),t.css(r.property,n-e+"px"))})}),o.each(function(){var t=l(this);t.attr("style",t.data("style-cache")||null)}),f._maintainScroll&&l(window).scrollTop(n/s*l("html").outerHeight(!0)),this},f._applyDataApi=function(){var i={};l("[data-match-height], [data-mh]").each(function(){var t=l(this),e=t.attr("data-mh")||t.attr("data-match-height");i[e]=e in i?i[e].add(t):t}),l.each(i,function(){this.matchHeight(!0)})};var r=function(t){f._beforeUpdate&&f._beforeUpdate(t,f._groups),l.each(f._groups,function(){f._apply(this.elements,this.options)}),f._afterUpdate&&f._afterUpdate(t,f._groups)};f._update=function(t,e){if(e&&"resize"===e.type){var i=l(window).width();if(i===a)return;a=i}t?-1===n&&(n=setTimeout(function(){r(e),n=-1},f._throttle)):r(e)},l(f._applyDataApi);var t=l.fn.on?"on":"bind";l(window)[t]("load",function(t){f._update(!1,t)}),l(window)[t]("resize orientationchange",function(t){f._update(!0,t)})}),$(window).scroll(function(){150<=$(window).scrollTop()?($(".top_nav").addClass("move"),$("#bactotop a").addClass("show")):($(".top_nav").addClass("move").removeClass("move"),$("#bactotop a").addClass("show").removeClass("show"))}),$(document).ready(function(){function t(){$windowW=$(window).width(),$windowH=$(window).height(),$headerH=$("header").height(),$(".WinH").css("width","100%").css("height",$windowH),$("#index_banner .item .img").css("width","100%").css("height",$windowH-$headerH)}$("nav").slide({type:"menu",titCell:".m",targetCell:".sub",effect:"slideDown",delayTime:300,triggerTime:0,returnDefault:!0,defaultPlay:!0}),$("select.spec").niceSelect(),$(".nav_search .btn_search").on("click",function(){event.stopPropagation(),$(".nav_search").toggleClass("toggled")}),$("#index_banner").owlCarousel({singleItem:!0,autoPlay:!0,autoPlay:5e3,lazyLoad:!0,slideSpeed:300,paginationSpeed:400,pagination:!0,transitionStyle:"fade",navigation:!0,navigationText:["",""]}),$("#in_news_list .list").each(function(t){$("#in_news_list .list").slice(3*t,3*t+3).wrapAll('
')}),$("#in_news_list").owlCarousel({singleItem:!0,autoPlay:!1,lazyLoad:!0,slideSpeed:300,pagination:!1,navigation:!0,navigationText:["",""]}),$("#bactotop").click(function(){return $("html,body").animate({scrollTop:"0px"},800),!1}),$(".partner_list").slide({mainCell:".bd ul",autoPlay:!0,effect:"leftMarquee",vis:6,interTime:20,trigger:"click"}),$(".zhuanti_pro_case_list").slick({centerMode:!0,centerPadding:"0px",slidesToShow:3,autoplay:!0,responsive:[{breakpoint:768,settings:{arrows:!1,centerMode:!0,centerPadding:"40px",slidesToShow:3}},{breakpoint:480,settings:{arrows:!1,centerMode:!0,centerPadding:"40px",slidesToShow:1}}]}),$("#product_d_slide").owlCarousel({singleItem:!0,autoPlay:!0,autoPlay:5e3,lazyLoad:!0,slideSpeed:300,paginationSpeed:400,pagination:!0,transitionStyle:"fade",navigation:!0,navigationText:["",""]}),$(".product_detail_content .txt table").removeAttr("style").addClass("table table-bordered"),t(),$(window).resize(t)});