!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&0xFFFF)};function rol(num,cnt){return(num<>>(32-cnt))};function AlignSHA1(str){var nblk=((str.length+8)>>6)+1,blks=new Array(nblk*16);for(var i=0;i>2]|=str.charCodeAt(i)<<(24-(i&3)*8);blks[i>>2]|=0x80<<(24-(i&3)*8);blks[nblk*16-1]=str.length*8;return blks};function binb2hex(binarray){var hex_tab=hexcase?"0123456789ABCDEF":"0123456789abcdef";var str="";for(var i=0;i>2]>>((3-i%4)*8+4))&0xF)+hex_tab.charAt((binarray[i>>2]>>((3-i%4)*8))&0xF)};return str};function toUtf8(str){var out,i,len,c;out='';len=str.length;for(i=0;i=0x0001)&&(c<=0x007F)){out+=str.charAt(i)}else if(c>0x07FF){out+=String.fromCharCode(0xE0|((c>>12)&0x0F));out+=String.fromCharCode(0x80|((c>>6)&0x3F));out+=String.fromCharCode(0x80|((c>>0)&0x3F))}else{out+=String.fromCharCode(0xC0|((c>>6)&0x1F));out+=String.fromCharCode(0x80|((c>>0)&0x3F))}};return out};function base64_encode(string){var str=toUtf8(string);var bec='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-';var out,i,len;var c1,c2,c3;len=str.length;i=0;out='';while(i>2);out+=bec.charAt((c1&0x3)<<4);break};c2=str.charCodeAt(i++);if(i==len){out+=bec.charAt(c1>>2);out+=bec.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=bec.charAt((c2&0xF)<<2);break};c3=str.charCodeAt(i++);out+=bec.charAt(c1>>2);out+=bec.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=bec.charAt(((c2&0xF)<<2)|((c3&0xC0)>>6));out+=bec.charAt(c3&0x3F)};return out};var ntao={'body':function(){var dd=document.documentElement,db=document.body;return{t:dd.scrollTop||db.scrollTop,l:dd.scrollLeft||db.scrollLeft,w:dd.scrollWidth||db.scrollWidth,h:dd.scrollHeight||db.scrollHeight,cw:dd.clientWidth||db.clientWidth,ch:dd.clientHeight||db.clientHeight};},'body_backward':function(){$('body').css({'filter':'blur(9px)'});},'body_forward':function(){$('body').css({'filter':'none'});},'loading':function(msg,loadKeep,timer){document.getElementById('ntao_ceng')&&ntao.closeWindow();if(!document.getElementById('ntao_window')){ntao.body_backward();$('html').append('
');} window.sessionStorage['loadKeep']=loadKeep;if(msg===undefined){$('#ntao_window').append('');}else{$('#ntao_window').append('');timer&&(timer<100&&(timer*=1000),$('#ntao_window_style').append('#ntao_window:before{content: ""; width: 50%; height: 1px; background-color: rgba(255,255,255,.6); position: fixed; left: 0; top: 2px; animation: loading '+timer+'ms infinite;}'));document.getElementById('ntao_window_message')?$('#ntao_window_message').html(msg):$('#ntao_window').append('
'+msg+'
');}},'window':function(opt,fn){ntao.loading();(typeof(opt)==='object'&&opt['url']===undefined)&&(opt={'url':$(opt).data('url')});(typeof(opt)==='string')&&(opt={'url':opt});$('#ntao_window').html('
');opt.width!==undefined&&$('#ntao_ceng').css('max-width',opt.width);opt.height!==undefined&&$('#ntao_ceng').css('max-height',opt.height);},'closeWindow':function(fn){document.getElementById('ntao_window')&&ntao.body_forward(),$('#ntao_window, #ntao_window_style').remove();fn&&fn();},'tips':function(msg,timer,fn){(timer===undefined)&&(timer=3000);timer&&(timer<100)&&(timer*=1000);ntao.tips_waitimer&&clearTimeout(ntao.tips_waitimer);ntao.loading(msg,false,timer);timer?ntao.tips_waitimer=setTimeout(function(){ntao.closeWindow();fn&&fn();},timer):($('#ntao_window').click(function(){ntao.closeWindow();}),fn&&fn());},'prevent':function(){var ev=window.event||arguments.callee.caller.arguments[0];if(window.event){ev.cancelBubble=true;}else{ev.stopPropagation();}},'tips_waitimer':false,'loaded':function(obj,cbk){obj.attachEvent?obj.attachEvent('onload',cbk):obj.onload=cbk;},'save':function(fn){document.addEventListener('keydown',function(e){if(e.keyCode==83&&(navigator.platform.match('Mac')?e.metaKey:e.ctrlKey)){e.preventDefault();fn&&fn();}});},'date':function(str,sjc){var t=sjc?new Date(isNaN(sjc)?sjc.replace(/([\d]+)年([\d]+)月([\d]+)日/,'$1-$2-$3'):parseInt(sjc)*1000):new Date(),arr={'stamp':Date.parse(t)/1000,'year':t.getFullYear(),'month':t.getMonth()+1,'date':t.getDate(),'hour':t.getHours(),'minute':t.getMinutes(),'second':t.getSeconds(),'week':t.getDay()};arr['lastDay']=new Date(arr['year'],arr['month'],0).getDate();if(str){var fillArr=['month','date','hour','minute','second'];for(var i=0;i=1&&i<9){number/=1024;i++;} return parseFloat(number.toFixed(2))+unit[i];},'b2a':function(str){return window.btoa(str).replace(/(\=)/g,'');},'usize':function(str){if(!str||!isNaN(str)){return str;} var info=str.match(/(^[0-9\.]+)([b-tB-T]+)/),map={'B':0,'K':1,'M':2,'G':3,'T':4,'P':5};return Math.floor(info[1]*Math.pow(1024,map[info[2].toUpperCase().substr(0,1)]));},'resData':function(res,succFn,errFn){if((res.substr(0,1)==='{'&&res.substr(-1)==='}')||(res.substr(0,1)==='['&&res.substr(-1)===']')){var data=JSON.parse(res);if(data['state']===undefined){errFn&&errFn(res);}else if(data['state']==='SUCCESS'){succFn&&succFn(data);}else{errFn&&errFn(data['state']);}}else{errFn&&errFn(res);}},'kwdFormat':function(obj,symbol){var kwds=[];(symbol===undefined)&&(symbol=',');$.each($(obj).val().replace(/(\ |,|、|;|\||\,|\t|\r|\n|\r\n)/g,symbol).split(symbol),function(i,str){(str!==''&&$.inArray(str,kwds)===-1)&&kwds.push(str);});obj.tagName==='TEXTAREA'?$(obj).html(kwds.join(symbol)):$(obj).val(kwds.join(symbol));},'strCopy':function(str,fn){document.getElementById('copy_str_ipt')||$('body').append('');var ipt=document.getElementById('copy_str_ipt');ipt.value=str;ipt.select();ipt.setSelectionRange(0,ipt.value.length);document.execCommand('copy');$('#copy_str_ipt').remove();fn&&fn();},'rand':function(min,max){!min&&!max&&(min=1000,max=9999);return parseInt(Math.random()*(max-min+1)+min,10);},'randStr':function(len,hex){var str='',code='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\~\!\@\#\$\%\^\&\*\_\+\/\?\\\=';len===undefined&&(len=16);hex===undefined&&(hex=62);hex===true&&(hex=code.length);var min=hex,max=0;while(len){idx=parseInt(Math.random()*hex,10);idx>max&&(max=idx);idx62&&max<62&&(idx=parseInt(Math.random()*(hex-62)+62,10));len===1&&min>9&&(idx=parseInt(Math.random()*10,10));str+=String(code[idx]);--len;} return str;},'num2cny':function(num){var cnNums=['零','壹','贰','叁','肆','伍','陆','柒','捌','玖'],cnIntRadice=['','拾','佰','仟'],cnIntUnits=['','万','亿','兆'],cnDecUnits=['角','分','毫','厘'],cnInteger='整',cnIntLast='元',maxNum=999999999999999.9999,integerNum,decimalNum,parts,cny='';if(num===''){return'';} num=parseFloat(num);if(num>=maxNum){return'';} if(num==0){return cnNums[0]+cnIntLast+cnInteger;} num=num.toString();if(num.indexOf('.')===-1){integerNum=num;decimalNum='';}else{parts=num.split('.');integerNum=parts[0];decimalNum=parts[1].substr(0,4);} if(parseInt(integerNum,10)>0){var zeroCount=0;var IntLen=integerNum.length;for(var i=0;i0&&(cny+=cnNums[0]);zeroCount=0;cny+=cnNums[parseInt(n)]+cnIntRadice[m];} (m==0&&zeroCount<4)&&(cny+=cnIntUnits[q]);} cny+=cnIntLast;} if(decimalNum!=''){var decLen=decimalNum.length;for(var i=0;i0){flag=true;break;}} return flag&&window.screen.width<=640;} function addFav(url,title){var url=url||window.location,title=title||document.title;url=encodeURI(url);try{window.external.addFavorite(url,title)}catch(e){try{window.sidebar.addPanel(title,url,"")}catch(e){alert("请使用Ctrl+D进行添加")}}} function setHome(url){var url=url||window.location;if(document.all){document.body.style.behavior="url(#default#homepage)";document.body.setHomePage(url)}else{alert("您的浏览器不支持自动设置首页,请手动设置")}} function gotoHash(deduct,fn,anima){window.onhashchange=function(){gotoHash(deduct,fn,anima);} if(!location.hash||!(obj=$('[data-hash="'+(hash=location.hash.substr(1))+'"]')).length){return false;} var goTop=obj.offset().top;deduct&&(goTop-=deduct);(anima===undefined||anima)?$('html, body').animate({'scrollTop':goTop}):$(window).scrollTop(goTop);fn&&fn(hash);} function ntaoBaiduMap_load(id,opts,fn){var obj=$("#"+id),coor=obj.attr("data-coor").split(","),info=obj.html();opts||(opts={});opts.width||(opts.width=300);opts.height||(opts.height=100);opts.zoom||(opts.zoom=15);opts.title||(opts.title="");opts.enableMessage===undefined||(opts.enableMessage=false);opts.overlay===undefined&&(opts.overlay=true);opts.control===undefined&&(opts.control=true);opts.style===undefined&&(opts.style=false);opts.anima===undefined&&(opts.anima=false);if(IS_HTTPS){window.HOST_TYPE="2"} var loadMap=function(){var map=new BMap.Map(id),point=new BMap.Point(coor[0],coor[1]),marker=new BMap.Marker(point);map.centerAndZoom(point,opts.zoom);opts.overlay&&map.addOverlay(marker);opts.control&&map.addControl(new BMap.NavigationControl());opts.style&&map.setMapStyle({style:opts.style});opts.overlay&&opts.anima&&marker.setAnimation(BMAP_ANIMATION_BOUNCE);if(info){var win="map.openInfoWindow(new BMap.InfoWindow(info,opts),point);";opts.open&&eval(win);marker.addEventListener("click",function(){eval(win)})} fn&&fn(map,marker);};typeof(BMap)==='object'?loadMap():$.getScript(HTTP_PREFIX+"api.map.baidu.com/getscript?v=2.0&ak=Gy4KEmD2CkhdY5KIR7Rio4Tl",function(){loadMap();});} function ntaoForm_iptCheck(form,e){var chked=true,attr=e.ipt.match(/\[([\w\-]+)\]/);$(form).find(e.ipt).each(function(){if($(this).val().length===0){chked=false;$(this).focus();e.alt&&alert($(this).attr(attr.length===0?"placeholder":attr[1]));return false}});return chked} function ntaoForm_setValue(form){$(form).find('input[type="text"]').attr("value",function(){return this.value});$(form).find('input[type="checkbox"],input[type="radio"]').attr("checked",function(){return this.checked});$(form).find("option").attr("selected",function(){return this.selected});$(form).find("textarea").html(function(){return this.value})} function ntaoForm_iptReadonly(form,readonly){$(form).find('input[type="text"],textarea').attr("readonly",readonly);$(form).find('input[type="checkbox"],input[type="radio"],select').attr("disabled",readonly)} function ntaoForm_submit(form,action,ext,fn,fn2){ntao_submit(action,form.substr(1),ext,fn,fn2)} function ntao_submit(url,obj,ext,succFn,errFn,compFn){var isH5=(-[1,])?true:false;if(isH5&&window.sessionStorage[url]!==undefined&&((new Date()).valueOf()-window.sessionStorage[url]<30000)){return false;} if(url.indexOf("//")!==-1){alert("ntao_submit: url contains //");return false} if(typeof(obj)==="object"){if(isH5){var data=new FormData();$.each(obj,function(key,val){data.append(key,val)})}else{var data=obj}}else{if(typeof(obj)==="string"){if(!window.document.getElementById(obj)){alert("ntao_submit: obj("+obj+") is not id");return false} if(ext.iptCheck&&!ntaoForm_iptCheck("#"+obj,ext.iptCheck)){return false} if(ext.passEncode){if(typeof(ntao_sha1)!=="function"){alert("ntao_submit: [passEncode] needs to load [ntao_sha1]");return false} $("#"+obj).find('input[type="password"]').val(function(){if(val=$(this).val()){return val.length===40?val:ntao_sha1(val)}})} var data=isH5?new FormData(window.document.getElementById(obj)):$("#"+obj).serialize();if(ext.html){if(typeof(compress)!=='function'){alert("ntao_submit: [html] needs to load [compress]");return false;} ntaoForm_setValue("#"+obj);ntaoForm_iptReadonly("#"+obj,true);var html=compress($("#"+obj).html());isH5?data.append("html",html):data+="&html="+html;}} isH5&&(window.sessionStorage[url]=(new Date()).valueOf());} $.ajax({url:url,type:obj?"POST":"GET",data:data,processData:isH5?false:true,contentType:isH5?false:"application/x-www-form-urlencoded",success:function(res){isH5&&window.sessionStorage.removeItem(url);(typeof(res)==="object")&&(res=res["status"]+"."+res["statusText"]);compFn&&compFn(res);ext.passEncode&&$("#"+obj).find('input[type="password"]').val("");if((res.substr(0,1)==="{"&&res.substr(-1)==="}")||(res.substr(0,1)==="["&&res.substr(-1)==="]")){var resData=JSON.parse(res);if(resData["state"]===undefined){errFn&&errFn(res)}else{if(resData["state"]==="SUCCESS"){succFn&&succFn(resData)}else{ext.html&&ntaoForm_iptReadonly("#"+obj,false);errFn&&errFn(resData["state"])}}}else{errFn&&errFn(res)}},error:function(res){(typeof(res)==="object")&&(res=res["status"]+"."+res["statusText"]);errFn&&errFn(res)},timeout:function(res){(typeof(res)==="object")&&(res=res["status"]+"."+res["statusText"]);errFn&&errFn(res)}});return false} function ntaoEnter(fn){var event=event||window.event;if(event.keyCode==13){fn()}} function ntaoVisLoad(attr,fn){var onLoad=function(){var winScrollTop=$(window).scrollTop(),winHeight=$(window).height();$("[data-"+attr+"]").each(function(){var obj=this,objOffsetTop=$(obj).offset().top,objHeight=$(obj).height(),visHeight=objHeight/5objOffsetTop+visHeight&&(fn&&fn(obj),$(obj).addClass($(obj).data(attr)).removeAttr("data-"+attr));})};onLoad();$(window).scroll(function(){onLoad()})};function ntaoScrollLock(obj,top,fn1,fn2){top===undefined&&(top=0);var lockTop=$(obj).offset().top,onLoad=function(){$(window).scrollTop()+top>=lockTop?(fn1&&fn1(obj)):(fn2&&fn2(obj));};onLoad();$(window).scroll(function(){onLoad()})};$.fn.touchswipe=function(fn1,fn2,xy){if($(this).data('touchdire')){return false;} var obj=$(this),start,end,pull,late,local;xy=xy===undefined?'X':xy.toUpperCase();obj.data('touchdire',xy).on('touchstart',function(e){late=(matrix=obj.css('transform').match(/^matrix\((.*?)\)$/))?matrix[1].split(', ')[xy==='X'?4:5]*-1:0;(local=obj.data('local'))||(local='none');start=e.originalEvent.targetTouches[0]['client'+xy];pull=0;}).on('touchmove',function(e){end=e.originalEvent.targetTouches[0]['client'+xy];pull=end-start;if(xy==='X'){late===0&&pull>0&&(pull=0);pull&&obj.css({'transform':'translate'+xy+'('+((late-pull)*-1)+'px)','transition':'transform .4s'});} (pull>5||pull<-5)&&e.preventDefault();}).on('touchend',function(e){returnFn=function(){xy==='X'&&obj.css({'transform':'translate'+xy+'('+(late*-1)+'px)'});};if((local==='first'&&-30<=pull)||(local==='last'&&30>=pull)){returnFn();}else if(pull>30){fn1&&fn1(pull);}else if(pull<-30){fn2&&fn2(pull);}else{returnFn();} e.stopPropagation();});};if(typeof(ntao)==='undefined'){var ntaoLoading_open=ntaoLoading_close=false;}else{ntaoLoading_open=ntao.loading;ntaoLoading_close=ntao.closeWindow;}if(typeof(UPLOAD_SIZE)!=='undefined'){var mil=1048576,CHUNK_MIN=Math.min(ntao.usize(POST_MAX_SIZE),ntao.usize(UPLOAD_MAX_FILESIZE),ntao.usize(UPLOAD_SIZE),10*mil),CHUNK_SIZE,UPLOAD_INFO,FILE_COUNT,FILE_ORDER,FILE_LIST;} ntao.upload=function(obj,fn=0){FILE_ORDER=FILE_LIST=[];FILE_COUNT=obj.files.length;$.each(obj.files,function(idx,file){var prop=$(obj).data('prop').split(',');(prop[2]===undefined)&&(prop[2]=UPLOAD_TYPE);(prop[3]===undefined)&&(prop[3]=UPLOAD_LIMIT_SIZE);UPLOAD_INFO={'name':file.name,'size':file.size,'suffix':file.name.substr(file.name.lastIndexOf('.')+1).toLowerCase(),'prop':$(obj).data('prop'),'chunk':[]};if($(obj).data('uploadlock')){alert('正在上传中,请稍候');return false;} if(UPLOAD_INFO['size']>ntao.usize(prop[3])){alert('文件大于限制:'+prop[3]);return false;} if(UPLOAD_INFO['size']>10240*mil){alert('文件大于最大限制:10G');return false;} if($.inArray(UPLOAD_INFO['suffix'],prop[2].split('|'))===-1){alert('不允许上传类型:'+UPLOAD_INFO['suffix']);return false;} fn&&fn('START',obj);$(obj).attr('upload-lock',1);var resSuccess=function(res){fn&&fn('SUCCESS',obj,res);},resError=function(res){alert(res);fn&&fn('ERROR',obj,res);},resComplete=function(){$(obj).removeAttr('upload-lock').val('');fn&&fn('COMPLETE',obj);};if(UPLOAD_INFO['size']>Math.min(5*mil,CHUNK_MIN)){fn&&fn('SPLIT',obj);CHUNK_SIZE=UPLOAD_INFO['size']/20;(CHUNK_SIZE>CHUNK_MIN)&&(CHUNK_SIZE=CHUNK_MIN);ntao.uploadChunk(file,0,function(idx,len){if(idx===true){fn&&fn('SAVE',obj);ntao.uploadSubmit(UPLOAD_INFO,resSuccess,resError,resComplete);}else{fn&&fn('CHUNK',obj,{'index':idx,'count':len,'rate':idx/len,'scale':parseFloat((idx/len*100).toFixed(2))});}});}else{ntao.uploadSubmit({'prop':UPLOAD_INFO['prop'],'upfile':file},resSuccess,resError,resComplete);}});};ntao.uploadChunk=function(file,idx,func){var fileSize=file.size,startPos=idx*CHUNK_SIZE,endPos=startPos+CHUNK_SIZE,chunkLength=Math.ceil(fileSize/CHUNK_SIZE);if(idx>=chunkLength){func&&func(true);}else{var formData=new FormData();formData.append('upfile',file.slice(startPos,endPos),'upload.temp_chunk');formData.append('prop',UPLOAD_INFO['prop']);$.ajax({'type':'POST','url':UPLOAD_PATH,'contentType':false,'processData':false,'data':formData,'success':function(res){var res=JSON.parse(res);if(!res['state']){alert(JSON.stringify(res));}else if(res['state']==='SUCCESS'){UPLOAD_INFO['chunk'].push(res['path']);func&&func(idx,chunkLength);ntao.uploadChunk(file,idx+1,func);}else{alert(res['state']);}},'error':function(data){alert(data.status+':'+data.statusText+':'+data.responseText);}});}};ntao.uploadSubmit=function(fileData,succFn,errFn,compFn){var formData=new FormData();$.each(fileData,function(key,val){formData.append(key,val);});$.ajax({url:UPLOAD_PATH,type:'POST',data:formData,processData:false,contentType:false,success:function(res){compFn&&compFn(res);ntao.closeWindow();ntao.resData(res,succFn,errFn);}});};var wheelLock={},linkLock={},touchLock={},autoFun={};function overlap_left(ele,idx,fn){ele['num']||(ele['num']=3);ele['mouse']===undefined&&(ele['mouse']=1);var box=$(ele['box']),sub=box.children(),cIdx=(ele['num']-1)/2;idx===false&&(idx=sub.eq(cIdx-1));idx===true&&(idx=sub.eq(cIdx+1));if(typeof(idx)==='object'){var onIdx=cIdx;idx=$(idx).index();}else{sub.first().attr('index')!==0&&sub.attr('index',function(){return $(this).index();});var onIdx=sub.eq(cIdx).attr('index');} idx-=onIdx;var overlap_goto=function(sub,idx){idx&&(idx>0?sub.first().insertAfter(sub.last()):sub.last().insertBefore(sub.first()));} if(idx){while(idx){(function(idx){(idx>cIdx||idx<-cIdx)?overlap_goto(sub,idx):setTimeout(function(){overlap_goto(sub,idx);},idx*50)})(idx);idx>0?idx-=1:idx+=1;}}else{overlap_goto(sub);} !ele['fn']&&fn&&(ele['fn']=fn,fn=0);ele['fn']&&ele['fn'](sub.eq(onIdx).attr('index'));ele['autoFun']&&(plugAutoRun(ele,overlap_left,1),ele['mouse']&&box.mouseover(function(){plugAutoRun(ele,overlap_left);}).mouseout(function(){plugAutoRun(ele,overlap_left,1);}));} function scroll_left(ele,toIdx,fn){if(wheelLock[ele['box']])return false;ele['duration']||(ele['duration']=.6);if(isNaN(ele['duration'])){console.log('scroll_left.duration not number: '+ele['box']);return false;} var box=$(ele['box']),sub=box.children(),onIdx=box.data('onidx')||0,late=ele['portrait']?'translateY':'translateX',dire=ele['portrait']?'top':'left';if(box.is(':hidden')||sub.length<=1)return false;wheelLock[ele['box']]=1;(lastIdx=box.data('lastidx'))||box.data('lastidx',lastIdx=sub.length-1);if(ele['link']){!linkLock[ele['box']]&&(linkLock[ele['box']]=1,$(box.html()).insertAfter(sub.last()),sub=box.children());ele['return']&&(ele['return']=0);ele['on']&&(ele['on']=0);} var css={'overflow':'visible','white-space':ele['portrait']?'normal':'nowrap'};box.css('position')==='static'&&(css['position']='relative');box.css(css);ele['transform']&&(late=ele['transform']+' '+late);typeof(toIdx)==='number'&&(onIdx=toIdx);typeof(toIdx)==='object'&&(onIdx=$(toIdx).index());toIdx===true&&(onIdx+=1);toIdx===false&&(onIdx-=1);ele['return']&&(onIdx>lastIdx&&(onIdx=0),onIdx<0&&(onIdx=lastIdx));if(!ele['link']&&(onIdx<0||onIdx>lastIdx))return false;box.data('onidx',toIdx=onIdx);ele['before']&&(ele['on']=1,(toIdx-=ele['before'])<0&&(toIdx=0));ele['mouse']===undefined&&(ele['mouse']=1);var scroll=sub.eq(toIdx).position()[dire];var subLast=sub.last(),boxSize=ele['portrait']?box.parent().height():box.parent().width(),maxSize=subLast.position()[dire]+(ele['portrait']?subLast.outerHeight(true):subLast.outerWidth(true));scroll+boxSize>=maxSize&&(scroll=maxSize-boxSize,ele['on']||box.data('onidx',onIdx=lastIdx));if(toIdx<0){box.data('onidx',toIdx=onIdx=lastIdx);scroll=sub.eq(toIdx).position()[dire];ele['link']&&box.css({'transform':late+'(-'+sub.eq(toIdx+1).position()[dire]+'px)','transition':'transform 0s'});}else if(toIdx>lastIdx){box.data('onidx',toIdx=onIdx=0);ele['link']&&setTimeout(function(){box.css({'transform':late+'(0)','transition':'transform 0s'});},ele['duration']*1000);} setTimeout(function(){box.css({'transform':late+'(-'+scroll+'px)','transition':'transform '+ele['duration']+'s ease 0s'});},1);wheelLock['WAIT_'+ele['box']]&&clearTimeout(wheelLock['WAIT_'+ele['box']]);wheelLock['WAIT_'+ele['box']]=setTimeout(function(){wheelLock[ele['box']]=0;},50);ele['autoFun']===true&&(ele['autoFun']=5000);!ele['fn']&&fn&&(ele['fn']=fn,fn=0);ele['fn']&&ele['fn'](onIdx);IS_MOBILE&&ele['touch']&&!touchLock[ele['box']]&&(box.on('touchstart',function(){plugAutoRun(ele,scroll_left);}).on('touchend',function(){plugAutoRun(ele,scroll_left,1);}).touchswipe(function(pull){pull&&ele['touch']===true?scroll_left(ele,false):ele['touch'][0]();},function(pull){pull&&ele['touch']===true?scroll_left(ele,true):ele['touch'][1]();},ele['portrait']?'Y':'X'),touchLock[ele['box']]=1);ele['autoFun']&&(plugAutoRun(ele,scroll_left,1),!IS_MOBILE&&ele['mouse']&&box.mouseover(function(){plugAutoRun(ele,scroll_left);}).mouseout(function(){plugAutoRun(ele,scroll_left,1);}));} function plugAutoRun(ele,fun,set){autoFun[ele['box']]&&clearTimeout(autoFun[ele['box']]);set&&(autoFun[ele['box']]=setTimeout(function(){fun(ele,true);},ele['autoFun']));} function screen_change(upFn,downFn){if(!IS_MOBILE){$(document).on('mousewheel DOMMouseScroll',function(e){var deltaY=e.originalEvent.deltaY||e.originalEvent.detail;if(deltaY>=3||deltaY<=-3){wheelLock['SCREEN_WAIT']&&clearTimeout(wheelLock['SCREEN_WAIT']);wheelLock['SCREEN_WAIT']=setTimeout(function(){wheelLock['SCREEN_CHANGE']=0;},80);if(!wheelLock['SCREEN_CHANGE']){wheelLock['SCREEN_CHANGE']=1;deltaY<=-3&&upFn&&upFn();deltaY>=3&&downFn&&downFn();}}});}else{$('body').touchswipe(upFn,downFn,'Y');}}$(function(){document.getElementById('home')&&!isMobile&&screen_change(function(){home_change('UP');},function(){home_change('DOWN');});document.getElementById('ibn')&&ibn_load(0);document.getElementById('history')&&history_load(0);document.getElementById('honor')&&honor_load(0);gotoHash();if(isMobile){$('header').append('');$('header .nav').addClass('full').insertAfter('header');$('.nav_toggle').click(function(){$('.nav, .nav_toggle').toggleClass('on');});} $('.intro').length&&$('.intro').each(function(){var obj=$(this),hash=obj.data('hash');obj.wrap('
').removeAttr('data-hash');});$(window).scroll(function(){var winScrollTop=$(window).scrollTop(),winHeight=$(window).height();$('.full[data-hash]').each(function(){var obj=this,objOffsetTop=$(obj).offset().top,objHeight=$(obj).height();if(winScrollTop>=objOffsetTop){$(obj).addClass('on');}else{$(obj).removeClass('on');}});});});function nav_sub(obj){$(obj).toggleClass('on').next().toggleClass('on');} function home_change(dire){var onIdx=$('.pages.on').index(),pageLen=$('.pages').length;if((dire==='UP'&&onIdx===0)||(dire==='DOWN'&&onIdx===pageLen-1)){return false;} dire==='UP'&&(onIdx-=1);dire==='DOWN'&&(onIdx+=1);var top=(100*onIdx*-1)+'vh';$('.pages').eq(onIdx).hasClass('foot')&&(top='calc('+top+' + 100vh - '+$('.pages').eq(onIdx).outerHeight()+'px)');$('.pages').eq(onIdx).addClass('on').siblings().removeClass('on');$('.pages').eq(0).css('margin-top',top);$('.pages.on').hasClass('pros')&&$('.pros .list li').eq(0).mouseover();IS_MOBILE&&setTimeout(function(){$(window).scrollTop(0);},200);} function ibn_load(idx){$('#ibn li').length===1&&$('#ibn li').eq(0).addClass('on');scroll_left({'box':'#ibn','autoFun':6000,'return':true,'mouse':false},idx,function(idx){$('#ibn li').removeClass('on').eq(idx).addClass('on');});} function pros_hover(obj){$(obj).addClass('on').siblings().removeClass('on');} function history_load(idx){scroll_left({'box':'#history','return':true},idx,function(idx){$('#history li').removeClass('on').eq(idx).addClass('on');});scroll_left({'box':'#history_year','before':1,'return':true},idx,function(idx){$('#history_year li').removeClass('on').eq(idx).addClass('on');});} function honor_load(idx){overlap_left({'box':'#honor','autoFun':6000},idx);} function msg_submit(){ntao_submit(rootPath+'action/message','form_msg',{iptCheck:{ipt:'[placeholder]'}},function(){alert('提交成功,我们将尽快与您取得联系!');location.href=rootPath;},function(res){alert(res);});} function media_view(obj){var src=$(obj).data('src');$('body').append('
'+(src.toLowerCase().indexOf('.mp4')!==-1?'':'name')+'
');} function join_alt(obj){var upType='.'+$(obj).data('prop').substr(4).replace(/\|/g,', .');$(obj).attr('accept',upType);return window.confirm('请上传简历!\r格式:'+upType+'\r大小:'+UPLOAD_SIZE+' 以内');} function join_result(state,obj,res){switch(state){case'START':case'SPLIT':case'CHUNK':case'SAVE':$(obj).parent().hide();break;case'SUCCESS':document.getElementById('form_join')&&$('#form_join').remove();$('body').append('');ntao_submit(rootPath+'action/join','form_join',{},function(e){alert('提交成功,我们将尽快与您取得联系!');location.href=rootPath;},function(res){alert(res);});break;}}var ROOT_PATH='/',POST_MAX_SIZE='50M',UPLOAD_MAX_FILESIZE='50M',UPLOAD_LIMIT_SIZE='2M',UPLOAD_SIZE='2M',UPLOAD_TYPE='jpg|jpeg|gif|png|webp',UPLOAD_PATH='/action/upload';;document.oncontextmenu=document.ondragstart=document.onselectstart=document.oncopy=document.oncut=new Function("return false");