!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)});