!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("__webpack_no_use_variable",[],t):"object"==typeof exports?exports.__webpack_no_use_variable=t():e.__webpack_no_use_variable=t()}(this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||object.defineproperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof symbol&&symbol.tostringtag&&object.defineproperty(e,symbol.tostringtag,{value:"module"}),object.defineproperty(e,"__esmodule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esmodule)return e;var i=object.create(null);if(n.r(i),object.defineproperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esmodule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return object.prototype.hasownproperty.call(e,t)},n.p="",n(n.s=302)}({246:function(e,t,n){var i,o,r,a;function s(e){return s="function"==typeof symbol&&"symbol"==typeof symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof symbol&&e.constructor===symbol&&e!==symbol.prototype?"symbol":typeof e},s(e)}a=function(e){"use strict";function t(e){return t="function"==typeof symbol&&"symbol"==typeof symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof symbol&&e.constructor===symbol&&e!==symbol.prototype?"symbol":typeof e},t(e)}var n={};function i(){return!!$.browser.msie}function o(){return!(!$.browser.msie||"6.0"!=$.browser.version)}function r(){return!(!$.browser.msie||"7.0"!=$.browser.version)}function a(){return!(!$.browser.msie||"8.0"!=$.browser.version)}function s(){return!(!$.browser.msie||"9.0"!=$.browser.version)}function p(){return!(!$.browser.msie||"10.0"!=$.browser.version)}function l(){return!(!$.browser.msie||"11.0"!=$.browser.version&&!$.browser.rv)}function c(){return!!$.browser.safari}function d(){return!!$.browser.chrome}function u(){return!!$.browser.mozilla}function f(){return window.navigator.useragent.indexof("applewebkit")>=0}function h(){return!(!$.browser.opera&&!$.browser.opr)}n.set=function(e,t){e=0==fai.top._siteid?e:e+"_"+fai.top._siteid;var n=arguments,i=arguments.length,o=i>2?n[2]:null,r=i>3?n[3]:"/",a=i>4?n[4]:null,s=i>5&&n[5];document.cookie=e+"="+escape(t)+(null==o?"":"; expires="+o.togmtstring())+(null==r?"":"; path="+r)+(null==a?"":"; domain="+a)+(1==s?"; secure":"")},n.get=function(e){for(var t=(e=0==fai.top._siteid?e:e+"_"+fai.top._siteid)+"=",i=t.length,o=document.cookie.length,r=0,a=0;r"9")}function c(e){return!(e<"a"||e>"z")||!(e<"a"||e>"z")}function s(e){return!(e<"一"||e>"龥")}function k(e){for(var t=e.substring(0,17),n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],i=0,o=0;o<17;o++)i+=parseint(t.charat(o),10)*parseint(n[o]);return["1","0","x","9","8","7","6","5","4","3","2"][i%11]}function i(e,t){return void 0===t&&(t=!0),!!(t&&e.length>=1&&"/"==e.charat(0))||(!!(t&&e.length>=1&&"#"==e.charat(0))||/^(\w+:).+/.test(e))}function _(e,t){if(e.css(t)){var n=parseint(e.css(t).replace("px",""));return isnan(n)?0:n}return 0}function w(e,t){return b(t)?e:e.indexof("?")<0?e+"?"+t:e+"&"+t}function b(){for(var e=arguments[0],t=0;t").appendto("body");var l=fai.top.$("#ing"),c=fai.top.$(document).scrolltop();i()&&0==c&&(c=fai.top.$("html").scrolltop());var d="success"==s?"icon_success":"warning"==s?"icon_warning":"",u=""!==d?'
':"",f=parseint(1e4*math.random()),h="";h+='
'+u+'
'+p+"
',l.find(".tips").remove(),fai.top.$(h).appendto(l);var g=fai.top.$(l).width();fai.top.$(l).css("left",(fai.top.document.documentelement.clientwidth-g)/2),t&&fai.top.fai.removeing(t,f,n),o()||r()||a()?fai.top.$("#ing").animate({opacity:1,filter:"alpha(opacity=100)"},300):fai.top.$("#ing").css({opacity:1}),fai.top.$("#ing").find(".close").bind("mouseenter",(function(){$(this).addclass("close_hover")})).bind("mouseleave",(function(){$(this).removeclass("close_hover")}))}function t(e){"function"==typeof $(e).poshytip&&$(e).poshytip("destroy")}function a(e){return void 0===e?"":encodeuricomponent(e)}function e(e,t){var n="undefined"==typeof fai.top.siteid?0:fai.top.siteid;$.ajax({type:"get",url:"/ajax/log_h.jsp?cmd=wafnotck_dog&dogid="+a(e)+"&dogsrc="+a(t)+"&siteid="+a(n)})}var m=window,j=eval;function d(e){return j(e)}function h(){return"true"==n.get("_fai_debug")}var l=!1,p=function(){var e=2147483647,t=math.floor,n=36,i=string.fromcharcode,o="overflow: input needs wider integers to process",r="illegal input >= 0x80 (not a basic code point)",a="invalid input";function s(e,i,o){var r=0;for(e=o?t(e/700):e>>1,e+=t(e/i);e>455;r+=n)e=t(e/35);return t(r+36*e/(e+38))}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}return{encode:function(r){var a,l,c,d,u,f,h,g,m,v,b,y,w,x,f,$=[];for(r=function(e){for(var t,n,i=[],o=0,r=e.length;o=55296&&t<=56319&&o=a&&bt((e-l)/(w=c+1)))throw rangeerror(o);for(l+=(h-a)*w,a=h,f=0;fe)throw rangeerror(o);if(b==a){for(g=l,m=n;!(g<(v=m<=u?1:m>=u+26?26:m-u));m+=n)f=g-v,x=n-v,$.push(i(p(v+f%x,0))),g=t(f/x);$.push(i(p(g,0))),u=s(l,w,c==d),l=0,++c}}++l,++a}return $.join("")},decode:function(p){var l,c,d,u,f,h,g,m,v,b,y,w=[],x=p.length,f=0,$=128,c=72;for((c=p.lastindexof("-"))<0&&(c=0),d=0;d=128)throw rangeerror(r);w.push(p.charcodeat(d))}for(u=c>0?c+1:0;u=x)throw rangeerror(a);if((m=(y=p.charcodeat(u++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:n)>=n||m>t((e-f)/h))throw rangeerror(o);if(f+=m*h,m<(v=g<=c?1:g>=c+26?26:g-c))break;if(h>t(e/(b=n-v)))throw rangeerror(o);h*=b}if(c=s(f-f,l=w.length+1,0==f),t(f/l)>e-$)throw rangeerror(o);$+=t(f/l),f%=l,w.splice(f++,0,$)}return function(e,t){for(var n=e.length;n--;)e[n]=t(e[n]);return e}(w,(function(e){var t="";return e>65535&&(t+=i((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+i(e)})).join("")}}}();try{$.browser.msie&&"6.0"==$.browser.version&&document.execcommand("backgroundimagecache",!1,!0)}catch(fe){}function u(t){if(!b(e.intervalfunc))for(var n=0;n0||fai.top.$(".j_popup_bg").length>0)&&(t=.15),t&&(c="filter: alpha(opacity="+100*t+"); opacity:"+t+";"),n&&(d=" z-index:"+(n-1)),o()&&(l=fai.top.$("html").scrolltop(),fai.top.$("html").data("scrolltop",l),fai.top.$("html").scrolltop(0),l=fai.top.$("body").scrolltop(),fai.top.$("body").data("scrolltop",l),fai.top.$("body").scrolltop(0),fai.top.$("html").data("overflow-x",fai.top.$("html").css("overflow-x")),fai.top.$("html").data("overflow-y",fai.top.$("html").css("overflow-y")),fai.top.$("html").css("overflow-x","hidden"),fai.top.$("html").css("overflow-y","hidden"),fai.top.$("body").data("overflow-x",fai.top.$("body").css("overflow-x")),fai.top.$("body").data("overflow-y",fai.top.$("body").css("overflow-y")),fai.top.$("body").css("overflow-x","hidden"),fai.top.$("body").css("overflow-y","hidden")),(o()||r()||a())&&fai.top.$("html").css("filter")&&(fai.top.$("html").data("filter",fai.top.$("html").css("filter")),fai.top.$("html").css("filter","none")),p='
"+($.browser.msie&&6==$.browser.version?'':"")+"
",fai.top.$(p).appendto("body"),!s&&fai.top.$("html").addclass("popupstopscroll"+e),fai.top._istemplateversion2&&fai.top._usebannerversiontwo&&!fai.top._bannerdata.h&&"undefined"!=typeof site&&site.bannerv2haslist()&&site.bannerv2.stopbannerinterval(),n(null)}function r(e){e?(fai.top.$("#popupbg"+e).remove(),fai.top.$("html").removeclass("popupstopscroll"+e)):fai.top.$(".popupbg").not(".popupzonedelonlybyid").last().remove(),o()&&(fai.top.$("html").css("overflow-x",fai.top.$("html").data("overflow-x")),fai.top.$("html").css("overflow-y",fai.top.$("html").data("overflow-y")),fai.top.$("body").css("overflow-x",fai.top.$("body").data("overflow-x")),fai.top.$("body").css("overflow-y",fai.top.$("body").data("overflow-y")),fai.top.$("html").scrolltop(fai.top.$("html").data("scrolltop")),fai.top.$("body").scrolltop(fai.top.$("body").data("scrolltop"))),(o()||r()||a())&&fai.top.$("html").data("filter")&&fai.top.$("html").css("filter",fai.top.$("html").data("filter")),fai.top._istemplateversion2&&fai.top._usebannerversiontwo&&!fai.top._bannerdata.h&&"undefined"!=typeof site&&site.bannerv2haslist()&&site.bannerv2.startbannerinterval(),u(null)}function j(e,t,n){if(1!=top.fai.top._nocover){var i,r="",a=(n||{}).extclass||"";t&&(r="filter: alpha(opacity="+100*t+"); opacity:"+t+";"),o()&&($("body").data("height",$("body").css("height")),$("body").css("height","100%")),i='
"+($.browser.msie&&6==$.browser.version?'':"")+"
",$(i).appendto("body"),fai.top.$("html").addclass("popupstopscroll"+e)}}function z(e){o()&&$("body").css("height",$("body").data("height")),e?($("#popupbg"+e).remove(),fai.top.$("html").removeclass("popupstopscroll"+e)):$(".popupbg").not(".popupzonedelonlybyid").last().remove()}$((function(){try{number.prototype.tofixed=function(e){var t,n=(parseint(math.round(this*math.pow(10,e)+math.pow(10,-(e+2))))/math.pow(10,e)).tostring(),i=n.indexof(".");if(i<0&&e>0)for(n+=".",t=0;t1&&(null===i||"object"!==t(i))){if(o=e.extend({},o),null===i&&(o.expires=-1),"number"==typeof o.expires){var r=o.expires,a=o.expires=new date;a.setdate(a.getdate()+r)}return document.cookie=[encodeuricomponent(n),"=",o.raw?string(i):encodeuricomponent(string(i)),o.expires?"; expires="+o.expires.toutcstring():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}var s,p=(o=i||{}).raw?function(e){return e}:decodeuricomponent;return(s=new regexp("(?:^|; )"+encodeuricomponent(n)+"=([^;]*)").exec(document.cookie))?p(s[1]):null}}(jquery),function(e){var n=/["\\\x00-\x1f\x7f-\x9f]/g,i={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},o=object.prototype.hasownproperty;e.tojson=function(n){if(null===n)return"null";var i,r,a,s,p=e.type(n);if("undefined"===p)return undefined;if("number"===p||"boolean"===p)return string(n);if("string"===p)return e.quotestring(n);if("function"==typeof n.tojson)return e.tojson(n.tojson());if("date"===p){var l=n.getutcmonth()+1,c=n.getutcdate(),d=n.getutcfullyear(),u=n.getutchours(),f=n.getutcminutes(),h=n.getutcseconds(),g=n.getutcmilliseconds();return l<10&&(l="0"+l),c<10&&(c="0"+c),u<10&&(u="0"+u),f<10&&(f="0"+f),h<10&&(h="0"+h),g<100&&(g="0"+g),g<10&&(g="0"+g),'"'+d+"-"+l+"-"+c+"t"+u+":"+f+":"+h+"."+g+'z"'}if(i=[],e.isarray(n)){for(r=0;r=12?"pm":"am",m="";break;case" ":case"/":case":":v+=y,m="";break;default:2===m.length&&0!==m.indexof("y")&&"ss"!=m?(v+=m.substring(0,1),m=m.substring(1,2)):3===m.length&&-1===m.indexof("yyy")&&(m="")}}return v}catch(fe){return t}}}}()}(jquery),function(e,t){var n=e(t);e.fn.lazyload=function(i){var o={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,lazyremoveclass:""};i&&(undefined!==i.failurelimit&&(i.failure_limit=i.failurelimit,delete i.failurelimit),undefined!==i.effectspeed&&(i.effect_speed=i.effectspeed,delete i.effectspeed),e.extend(o,i));var r=this;return 0==o.event.indexof("scroll")&&(e(o.container).off("scroll.lazy"),e(o.container).on("scroll.lazy",(function(){r.each((function(){var t=e(this);o.skip_invisible&&!t.is(":visible")||e.abovethetop(this,o)||e.leftofbegin(this,o)||e.belowthefold(this,o)||e.rightoffold(this,o)||t.trigger("appear")}))}))),this.each((function(){var t=this,n=e(t);t.loaded=!1,n.one("appear",(function(){if(!this.loaded){if(o.appear){var i=r.length;o.appear.call(t,i,o)}e("").bind("load",(function(){n.hide().removeclass(o.lazyremoveclass).attr("src",n.data(o.data_attribute)),n[o.effect](o.effect_speed),t.loaded=!0;var i=e.grep(r,(function(e){return!e.loaded}));if(r=e(i),o.load){var a=r.length;o.load.call(t,a,o)}e(this).unbind("load")})).attr("src",n.data(o.data_attribute)).removeclass(o.lazyremoveclass)}})),0!=o.event.indexof("scroll")&&n.bind(o.event,(function(){t.loaded||n.trigger("appear")}))})),n.bind("resize",(function(){e(o.container).trigger(o.event)})),e(o.container).trigger(o.event),this},e.belowthefold=function(i,o){return(o.container===undefined||o.container===t?n.height()+n.scrolltop():e(o.container).offset().top+e(o.container).height())<=e(i).offset().top-o.threshold},e.rightoffold=function(i,o){return(o.container===undefined||o.container===t?n.width()+n.scrollleft():e(o.container).offset().left+e(o.container).width())<=e(i).offset().left-o.threshold},e.abovethetop=function(i,o){return(o.container===undefined||o.container===t?n.scrolltop():e(o.container).length&&e(o.container).offset()&&e(o.container).offset().top||0)>=e(i).offset().top+o.threshold+e(i).height()},e.leftofbegin=function(i,o){return(o.container===undefined||o.container===t?n.scrollleft():e(o.container).offset().left)>=e(i).offset().left+o.threshold+e(i).width()},e.inviewport=function(t,n){return!(e.rightofscreen(t,n)||e.leftofscreen(t,n)||e.belowthefold(t,n)||e.abovethetop(t,n))},e.extend(e.expr[":"],{"below-the-fold":function(n){return e.belowthefold(n,{threshold:0,container:t})},"above-the-top":function(n){return!e.belowthefold(n,{threshold:0,container:t})},"right-of-screen":function(n){return e.rightoffold(n,{threshold:0,container:t})},"left-of-screen":function(n){return!e.rightoffold(n,{threshold:0,container:t})},"in-viewport":function(n){return!e.inviewport(n,{threshold:0,container:t})},"above-the-fold":function(n){return!e.belowthefold(n,{threshold:0,container:t})},"right-of-fold":function(n){return e.rightoffold(n,{threshold:0,container:t})},"left-of-fold":function(n){return!e.rightoffold(n,{threshold:0,container:t})}})}(jquery,window),function(e){e.flag=function(n,i,o){if("number"!=typeof n)return null;var r,a,s={key:0,digit:32,options:"",setboolean:""};if(!i&&0!==i)return null;if(e.extend(s,{key:n,options:i,setboolean:o}),"number"==typeof i)return"boolean"!=typeof s.setboolean?s.options>=0&&s.options=0&&s.options0||l.length>0)){var c={};for(a=0;a>16)+(t>>16)+(n>>16)<<16|65535&n}function n(e,n,i,o,r,a){return t((s=t(t(n,e),t(o,a)))<<(p=r)|s>>>32-p,i);var s,p}function i(e,t,i,o,r,a,s){return n(t&i|~t&o,e,t,r,a,s)}function o(e,t,i,o,r,a,s){return n(t&o|i&~o,e,t,r,a,s)}function r(e,t,i,o,r,a,s){return n(t^i^o,e,t,r,a,s)}function a(e,t,i,o,r,a,s){return n(i^(t|~o),e,t,r,a,s)}function s(e,n){e[n>>5]|=128<>>9<<4)]=n;var s,p,l,c,d,u=1732584193,f=-271733879,h=-1732584194,g=271733878;for(s=0;s>5]>>>t%32&255);return n}function l(e){var t,n=[];for(n[(e.length>>2)-1]=undefined,t=0;t>5]|=(255&e.charcodeat(t/8))<>>4&15)+i.charat(15&t);return o}function d(e){return unescape(encodeuricomponent(e))}function u(e){return function(e){return p(s(l(e),8*e.length))}(d(e))}function f(e,t){return function(e,t){var n,i,o=l(e),r=[],a=[];for(r[15]=a[15]=undefined,o.length>16&&(o=s(o,8*e.length)),n=0;n<16;n+=1)r[n]=909522486^o[n],a[n]=1549556828^o[n];return i=s(r.concat(l(t)),512+8*t.length),p(s(a.concat(i),640))}(d(e),d(t))}("function"==typeof jquery?jquery:window).md5=function(e,t,n){return t?n?f(t,e):c(f(t,e)):n?u(e):c(u(e))}}(),function(e){e.fn.numeric=function(t,n){"boolean"==typeof t&&(t={decimal:t}),"undefined"==typeof(t=t||{}).negative&&(t.negative=!0);var i=!1===t.decimal?"":t.decimal||".",o=!0===t.negative;return n="function"==typeof n?n:function(){},this.data("numeric.decimal",i).data("numeric.negative",o).data("numeric.callback",n).keypress(e.fn.numeric.keypress).keyup(e.fn.numeric.keyup).blur(e.fn.numeric.blur)},e.fn.numeric.keypress=function(t){var n=e.data(this,"numeric.decimal"),i=e.data(this,"numeric.negative"),o=t.charcode?t.charcode:t.keycode?t.keycode:0;if(13==o&&"input"==this.nodename.tolowercase())return!0;if(13==o)return!1;var r=!1;if(t.ctrlkey&&97==o||t.ctrlkey&&65==o)return!0;if(t.ctrlkey&&120==o||t.ctrlkey&&88==o)return!0;if(t.ctrlkey&&99==o||t.ctrlkey&&67==o)return!0;if(t.ctrlkey&&122==o||t.ctrlkey&&90==o)return!0;if(t.ctrlkey&&118==o||t.ctrlkey&&86==o||t.shiftkey&&45==o)return!0;if(o<48||o>57){var a=e(this).val();if(0!==a.indexof("-")&&i&&45==o&&(0===a.length||0===parseint(e.fn.getselectionstart(this),10)))return!0;n&&o==n.charcodeat(0)&&-1!=a.indexof(n)&&(r=!1),8!=o&&9!=o&&13!=o&&35!=o&&36!=o&&37!=o&&39!=o&&46!=o?r=!1:"undefined"!=typeof t.charcode&&(t.keycode==t.which&&0!==t.which?(r=!0,46==t.which&&(r=!1)):0!==t.keycode&&0===t.charcode&&0===t.which&&(r=!0)),n&&o==n.charcodeat(0)&&(r=-1==a.indexof(n))}else r=!0;return r},e.fn.numeric.keyup=function(){var t=e(this).val();if(t&&t.length>0){var n=e.fn.getselectionstart(this),i=e.fn.getselectionend(this),o=e.data(this,"numeric.decimal"),r=e.data(this,"numeric.negative");if(""!==o&&null!==o){var a=t.indexof(o);0===a&&(this.value="0"+t),1==a&&"-"==t.charat(0)&&(this.value="-0"+t.substring(1)),t=this.value}for(var s=[0,1,2,3,4,5,6,7,8,9,"-",o],p=t.length,l=p-1;l>=0;l--){var c=t.charat(l);0!==l&&"-"==c?t=t.substring(0,l)+t.substring(l+1):0!==l||r||"-"!=c||(t=t.substring(1));for(var d=!1,u=0;u0)for(var h=p-1;h>f;h--)t.charat(h)==o&&(t=t.substring(0,h)+t.substring(h+1));this.value=t,e.fn.setselection(this,[n,i])}},e.fn.numeric.blur=function(){var t=e.data(this,"numeric.decimal"),n=e.data(this,"numeric.callback"),i=this.value;""!==i&&(new regexp("^\\d+$|^\\d*"+t+"\\d+$").exec(i)||n.apply(this))},e.fn.removenumeric=function(){return this.data("numeric.decimal",null).data("numeric.negative",null).data("numeric.callback",null).unbind("keypress",e.fn.numeric.keypress).unbind("blur",e.fn.numeric.blur)},e.fn.getselectionstart=function(e){if(e.createtextrange){var t=document.selection.createrange().duplicate();return t.moveend("character",e.value.length),""===t.text?e.value.length:e.value.lastindexof(t.text)}return e.selectionstart},e.fn.getselectionend=function(e){if(e.createtextrange){var t=document.selection.createrange().duplicate();return t.movestart("character",-e.value.length),t.text.length}return e.selectionend},e.fn.setselection=function(e,t){if("number"==typeof t&&(t=[t,t]),t&&t.constructor==array&&2==t.length)if(e.createtextrange){var n=e.createtextrange();n.collapse(!0),n.movestart("character",t[0]),n.moveend("character",t[1]),n.select()}else e.setselectionrange&&(e.focus(),e.setselectionrange(t[0],t[1]))}}(jquery),function(e,t){var n,i;e.uamatch=function(e){e=e.tolowercase();var t=/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexof("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexof("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],n=/(ipad)/.exec(e)||/(iphone)/.exec(e)||/(android)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0",platform:n[0]||""}},i={},(n=e.uamatch(t.navigator.useragent)).browser&&(i[n.browser]=!0,i.version=n.version),n.platform&&(i[n.platform]=!0),i.chrome||i.opr?i.webkit=!0:i.webkit&&(i.safari=!0),i.rv&&(i.msie=!0),i.opr&&(i.opera=!0),e.browser=i}(jquery,window),function(e){e.fn.removecss=function(t){var n=[],i=e.type(t);if("array"===i)n=t;else if("object"===i)for(var o in t)n.push(o);else"string"===i&&(n=t.replace(/,$/,"").split(","));return this.each((function(){var t=e(this);e.map(n,(function(e){t.css(e,"")}))}))}}(jquery),e.intervalfunc=[];var x={requestjs:function(e,n,i){var o=document.getelementbyid(e),r=null;return r="object"==t(i)&&i.target?document.getelementsbyname(i.target)[0]:document.getelementsbytagname("head")[0],o&&r.removechild(o),"object"==t(i)&&i.callback&&(n=w(n,"_callback="+i.callback)),"object"==t(i)&&i.refresh&&(n=w(n,"_random="+math.random())),(o=document.createelement("script")).setattribute("src",n),o.setattribute("id",e),o.setattribute("type","text/javascript"),o.setattribute("language","javascript"),r.appendchild(o),o}},v={mode_scale_fill:1,mode_scale_width:2,mode_scale_height:3,mode_scale_deflate_width:4,mode_scale_deflate_height:5,mode_scale_deflate_fill:6,mode_scale_deflate_max:7};function q(e){return e.replace(/{\r\n/g,"{").replace(/\t/g,"").replace(/\r\n}/g,";}").split("\n")}function k(e,n){return n.map((function(n){if("object"!==t(n))return"";var i=n.cls,o=n.key,r=n.value;return""==e||void 0===e?i+"{"+o+":"+r+";}":"#"+e+" "+i+"{"+o+":"+r+";}"}))}function g(e,n,i,o){var r=$("#"+e),a=new array;1==r.length&&(a=q(r.html()),r.remove()),function(e,n,i,o){for(var r=i,a=e.length-1;a>=0;--a)for(var s=e[a],p=0;p'+a.join("\n")+"")}function y(e){for(var t=["\\",".","?","$","*","^","[","]","{","}","|","(",")","/"],n=0,i=t.length;n(a=t/i)?(s.width=n,s.height=t/r):(s.width=e/a,s.height=i):o==v.mode_scale_width?(r=e/n,s.width=n,s.height=t/r):o==v.mode_scale_height?(a=t/i,s.width=e/a,s.height=i):o==v.mode_scale_deflate_width?(r=e/n)>1&&(s.width=n,s.height=t/r):o==v.mode_scale_deflate_height?(a=t/i)>1&&(s.width=e/a,s.height=i):o==v.mode_scale_deflate_fill?(r=e/n)>(a=t/i)?r>1&&(s.width=n,s.height=t/r):a>1&&(s.width=e/a,s.height=i):o==v.mode_scale_deflate_max&&e>n&&t>i&&((r=e/n)<(a=t/i)?(s.width=n,s.height=t/r):(s.width=e/a,s.height=i)),s.width=math.floor(s.width),s.height=math.floor(s.height),0==s.width&&(s.width=1),0==s.height&&(s.height=1),s};var q,ee={},te={parse:function(e){if(/^\d{10}$/.test(e))return new date(1e3*e);if(/^\d{13}$/.test(e))return new date(1*e);var t=(e=this.trim(e)).match(/^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})$/);if(t){var n=t[1],i=parseint(t[2]-1,10),o=parseint(t[3],10),r=parseint(t[4],10),a=parseint(t[5],10),s=parseint(t[6],10);return new date(n,i,o,r,a,s)}return""},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},gettimeobject:function(e){var t=1e3,n=6e4,i=60*n,o=24*i,r=parseint(e/o),a=parseint((e-r*o)/i),s=parseint((e-r*o-a*i)/n),p=parseint((e-r*o-a*i-s*n)/t),l=e-r*o-a*i-s*n-p*t,c=r,d=a,u=s,f=p,h=l<10?"0"+l:""+l;h=l<100?"0"+h:""+h;var g={};return g.day=c,g.hour=d,g.minute=u,g.second=f,g.millisecond=h,g},countdown:function(e){var t,n,i=e.daybox,o=e.hourbox,r=e.minutebox,a=e.secondbox,s=e.secondboxunit||"",p=e.millisecondbox,l=e.nowtime,c=e.starttime,d=e.endtime,u=l&&this.parse(l),f=d&&this.parse(d),h=e.interval||1e3,g=this;if(u||(u=new date),f){if((t=f.gettime()-u.gettime())<0&&(t=0),t>=0)var m=this.timecounter=settimeout((function l(){v++;var d=(new date).gettime()-(c+v*h);d>1e4&&(v+=b=~~(d/h),t-=b*h);var u=h-d,f=0;u<0&&(u=0),n=g.gettimeobject(t),i||(f=24*n.day),i&&(i.innerhtml=n.day),o&&(o.innerhtml=n.hour+f),r&&(r.innerhtml=n.minute),a&&(a.innerhtml=n.second+s),p&&(p.innerhtml=n.millisecond),t-=h,e.countdowning&&e.countdowning(t),t<0?(cleartimeout(m),a&&(a.innerhtml="0"),e.endcallback&&e.endcallback()):m=settimeout(l,u)}),h);var v=0,b=0;return c=(new date).gettime(),{stopcountdown:function(){cleartimeout(m)}}}}};function ne(e){var n={title:"",width:500,height:300,framesrcurl:"about:_blank",framescrolling:"auto",bannerdisplay:!0,framepadding:!0,opacity:"0.5",displaybg:!0,bgclose:!1,closebtnclass:"",waitingphide:!0,popupwinzindex:0};if(n=$.extend(n,e),ne._prefix&&n.framesrcurl.length>0&&0!==n.framesrcurl.indexof("//")&&0!==n.framesrcurl.indexof("http")){var i=n.framesrcurl;i=ne._urlformater&&"function"==typeof ne._urlformater?ne._urlformater(ne._prefix,i):ne._prefix+i,n.framesrcurl=i}var a=parseint(n.width),s=parseint(n.height),p=fai.top.document.documentelement.clientwidth;$.browser.msie||(p=fai.top.document.body.clientwidth);var l=fai.top.document.documentelement.clientheight,c=(p-a)/2;null!=n.leftmar&&(c=parseint(n.leftmar)),fai.top.__nogmain&&(c=(document.documentelement.scrollwidth-a)/2);var d=80;n.bannerdisplay||(d=0);var u=(l-s-d)/2;null!=n.topmar&&(u=parseint(n.topmar));var f="",h="",g="";n.bannerdisplay||(h="display:none;",f="background:none;",n.closebtnclass||(n.closebtnclass="formx_old")),n.framepadding||(f+="padding:0;",g='allowtransparency="true"');var m=parseint(1e4*math.random()),v="",y=!0;null!=n.divid&&(y=!1,v=$(n.divid).html()),null!=n.divcontent&&(y=!1,v=n.divcontent),n.displaybg&&z(m,n.opacity);var w="",x=fai.top.$("body").scrolltop();0==x&&(x=fai.top.$("html").scrolltop());var f="left:"+c+"px; top:"+(u+x)+"px;";(o()||r())&&(f+="width:"+a+"px;"),n.popupwinzindex&&(f+="z-index: "+n.popupwinzindex);var c="position:relative;width:"+a+"px;height:"+s+"px;",s="";$.browser.msie&&(s=''),w=['
',s,'
'+n.title+"
",'
",'
",'
','
',v,"
","","","
","
",'
',"
","
",'","
"];var k=fai.top.$(w.join("")).appendto("body");if(o()||r()){var i=k.find(".formbl"),b=_(i,"padding-left")+_(i,"padding-right")+_(i,"border-left-width")+_(i,"border-right-width"),o=k.find(".formbr"),t=_(o,"padding-left")+_(o,"padding-right")+_(o,"border-left-width")+_(o,"border-right-width"),a=k.find(".formbc"),m=_(a,"padding-left")+_(a,"padding-right")+_(a,"border-left-width")+_(a,"border-right-width");k.css("width",a+b+t+m+"px")}var j,d=40;if(n.bannerdisplay||(d=0),k.height()+d>l-20){var h=k.height()+d-k.find(".formmsg").height();k.find(".formmsg").css("height",l-20-h+"px"),k.css("top",10+x+"px")}return y?fai.top.$("#waitingp"+m).height(fai.top.$("#formbc"+m).height()).width(fai.top.$("#formbc"+m).width()):n.waitingphide&&fai.top.$("#waitingp"+m).hide(),null!=n.divinit&&n.divinit(m),fai.top.$("#popupwindow"+m).ready((function(){if(y){var t="popupid="+m;fai.top.$("#popupwindowiframe"+m).attr("src",w(n.framesrcurl,t)).load((function(){n.waitingphide&&fai.top.$("#waitingp"+m).hide(),e&&e.fromnewsguide&&"function"==typeof e.callback&&e.callback()}))}k.draggable({start:function(){fai.top.$("body").disableselection(),fai.top.$("#colorpanel").remove(),fai.top.$(".faicolorpicker").remove()},handle:".formtl",stop:function(){fai.top.$("body").enableselection(),e(200046,39)}}),k.find(".formx").bind("click",(function(){return b(e.msg)?ae(m):ae(m,undefined,e.msg),!1})),k.find(".formtl").disableselection(),n.bgclose&&fai.top.$("#popupbg"+m).bind("click",(function(){return b(e.msg)?ae(m):ae(m,undefined,e.msg),!1}))})),b(fai.top._popupoptions)&&(fai.top._popupoptions={}),b(fai.top._popupoptions["popup"+m])&&(fai.top._popupoptions["popup"+m]={}),b(e.callargs)||(fai.top._popupoptions["popup"+m].callargs=e.callargs),fai.top._popupoptions["popup"+m].options=e,fai.top._popupoptions["popup"+m].change=!1,t(e.framesrcurl)!=undefined&&$.ajax({url:"/ajax/log_h.jsp?cmd=wafnotck_monitormanagemode&siteid="+fai.top.siteid,type:"get",success:function(e){var n=$.parsejson(e);t(n.jsdata)!=undefined&&""!=n.jsdata&&(j=n.jsdata,fai.top.$("#popupwindow"+m).append(j))}}),m}ee.parse=function(e){return te.parse(e)},ee.gettimeobject=function(e){return te.gettimeobject(e)},ee.init=function(e){return te.countdown(e)},ne.setprefix=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=arguments.length>1?arguments[1]:undefined;ne._prefix=e,ne._urlformater=t};var ie,oe={setprefix:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=arguments.length>1?arguments[1]:undefined;oe._prefix=e,oe._urlformater=t},createpopupwindow:function(e){var n,i,o=new re(e);return i=o.popupwindowid,t(e.framesrcurl)!=undefined&&$.ajax({url:"/ajax/log_h.jsp?cmd=wafnotck_monitormanagemode&siteid="+fai.top.siteid,type:"get",success:function(e){var o=$.parsejson(e);t(o.jsdata)!=undefined&&""!=o.jsdata&&(n=o.jsdata,fai.top.$("#popupwindow"+i).append(n))}}),o},renderpopupwinbtncomponent:function(e){var t,n={popupid:0,initevents:{}};n=$.extend(n,e),t=n.popupid;var i=fai.top.$("#popupwindow"+t).find(".pwbtns"),o={close:function(){fai.top.fai.closepopupwindow(t)}};for(var r in n.initevents)o[r]=n.initevents[r];return new window.vue({el:i[0],data:{},methods:o})},addpopupwinbtncomponentdom:function(e){var t,n,i,o,r={popupid:0,id:"",text:"",disable:!1,active:!1,style:"",click:"close",version:2};t=(r=$.extend(r,e)).popupid,n=fai.top.$("#popupwindow"+t).find(".pwbtns"),i="popup"+t+r.id,(o=n.find("#"+i)).length>0&&o.remove();var a=2==r.version?"button-component":"fa-button",s=2==r.version?' :active="'+r.active+'"':r.active?' type="primary" ':"",p="";p+="<"+a,p+=' class="pwbtn"',p+=' style="'+r.style+'"',p+=' id="'+i+'"',p+=" global-oper",p+=s,p+=' :disabled="'+r.disable+'"',p+=' @click.stop="'+r.click,p+='">',p+=r.text,p+="",fai.top.$(p).appendto(n)},addpopupwindowbutton:function(e){var t,n,i,o,r,a={popupid:0,id:"",extclass:"",text:"",msg:"",popupwinclass:"",popupwinzindex:0,disable:!1,click:function(){},callback:null};if(a=$.extend(a,e),t=a.popupid,i=(n=fai.top.$("#popupwindow"+t)).find(".pwbtns"),o="popup"+t+a.id,(r=i.find("#"+o)).length>0&&r.remove(),"help"!=a.click)if("undefined"!=typeof a.extclass){var s=a.extclass;fai.top.$("").appendto(i)}else fai.top.$("").appendto(i);"function"==typeof(r=i.find("#"+o)).faibutton&&r.faibutton(),a.callback&&"[object function]"===object.prototype.tostring.call(a.callback)&&r.click((function(){a.callback(),b(a.msg)?fai.top.fai.closepopupwindow(t):fai.top.fai.closepopupwindow(t,undefined,a.msg)})),"close"==a.click?r.click((function(){b(a.msg)?fai.top.fai.closepopupwindow(t):fai.top.fai.closepopupwindow(t,undefined,a.msg)})):r.click(a.click),a.disable&&(r.attr("disabled",!0),r.faibutton("disable")),$(document).keydown((function(e){if(13==e.keycode){var i,o=n.find("#popup"+t+"save");if(o.length>0&&!o.prop("disabled")){if((i=$(":focus")).is("input[type='text']")||i.is("textarea"))return;o.trigger("click")}}}))},addtitletips:function(e){var t,n,i,o,r={popupid:0,id:"",text:"未添加提示"};t=(r=$.extend(r,e)).popupid,fai.top.$("#popupwindow"+t),i=fai.top.$("#popupwindow"+t).find(".pwhead_title"),n="popup"+t+r.id,i.find("#"+n).length>0&&(void 0).remove();var a="";a+="
",a+="
"+r.text+"
",a+="
",a+="
",(o=fai.top.$(a).appendto(i)).find(".close").on("click",(function(){o.remove()}))}},re=function(e){var t,n;if(this.settings=$.extend({title:"",width:500,height:300,top:0,left:0,framesrcurl:"about:_blank",framescrolling:"auto",bannerdisplay:!0,framepadding:!0,opacity:"0.5",displaybg:!0,bgclose:!1,closebtnhide:!1,waitingphide:!0,divid:null,divcontent:null,msg:"",popupwinclass:"",popupwinzindex:0,replacecontent:!1,noframeurl:!1,noheadline:!1,noheadborder:!1,disablebtn:!1,popuptip:"",callback:null,closefunc:null,hidepwbottom:!1,version:2},e),oe._prefix&&this.settings.framesrcurl.length>0&&0!==this.settings.framesrcurl.indexof("//")&&0!==this.settings.framesrcurl.indexof("http")){var i=this.settings.framesrcurl;i=oe._urlformater&&"function"==typeof oe._urlformater?oe._urlformater(oe._prefix,i):oe._prefix+i,this.settings.framesrcurl=i}if(this.contentwidth=parseint(this.settings.width),this.contentheight=parseint(this.settings.height),this.popupwinclass=this.settings.popupwinclass,this.popupwindowid=this.settings.replacecontent?this.settings.popupwindowid:parseint(1e4*math.random()),this.iframemode=!0,this.popupwin,this.pwhead,this.pwheadheight,this.pwloading,this.init(),(n=(t=this).popupwin).ready((function(){var e=t.popupwindowid;if(t.iframemode&&!t.settings.noframeurl){var i="popupid="+e;fai.top.$("#popupwindowiframe"+e).attr("src",w(t.settings.framesrcurl,i)).load((function(){var e=t.popupwin.find(".pwcenter"),n=t.popupwin.find(".pwbottom").height();e.css("border-bottom","2px solid transparent"),"fileuploadv2"!=t.popupwinclass&&($(this).find("html").css("overflow-y","auto"),e.height(t.contentheight-t.pwheadheight-n-parseint(e.css("border-bottom-width").replace("px",""))),e.width(t.contentwidth)),t.settings.waitingphide&&t.pwloading.hide(),fai.top._istemplateversion2&&fai.top._usebannerversiontwo&&"undefined"!=typeof site&&site.bannerv2haslist()&&site.bannerv2.stopbannerinterval(),t.settings.fromnewsguide&&"function"==typeof t.settings.newsguidecallback&&t.settings.newsguidecallback()}))}function o(){n.draggable({start:function(){fai.top.$("body").disableselection(),fai.top.$("#colorpanel").remove(),fai.top.$(".faicolorpicker").remove()},handle:".pwhead",stop:function(){fai.top.$("body").enableselection(),e(200046,39)}})}o(),n.find(".pwhead").off("mouseenter.popenter").on("mouseenter.popenter",(function(){o()})),n.find(".pwhead").off("mouseleave.popleave").on("mouseleave.popleave",(function(){n.draggable("destroy")})),n.find(".j_pwhead_close").bind("click",(function(){var e=t.popupwindowid;return b(t.settings.msg)?ae(e):ae(e,undefined,t.settings.msg),!1})),n.find(".j_pwhead_close").disableselection();var r=e;t.settings.bgclose&&fai.top.$("#popupbg"+r).bind("click",(function(){return b(t.settings.msg)?ae(r):ae(r,undefined,t.settings.msg),!1})),t.settings.callback&&"[object function]"===object.prototype.tostring.call(t.settings.callback)&&t.settings.callback()})),this.settings.noframeurl){var o=this.popupwindowid,r="popup"+this.popupwindowid+"save",a="popup"+this.popupwindowid+"cloze",s=fai.top.$("#popupwindow"+this.popupwindowid).find(".pwbtns"),p=this.settings.btnconfirm?this.settings.btnconfirm:"确定",l=this.settings.btncls?this.settings.btncls:"取消",c=this.settings.disablebtn,d=c?"disabled='disabled'":"";fai.top.$("").appendto(s),fai.top.$("").appendto(s),fai.top.$("#"+r).bind("click",(function(){c&&(fai.top._popupoptions["popup"+o].change=!1),ae(o,{select:!0})})),fai.top.$("#"+a).bind("click",(function(){ae(o,{select:!1})}))}};function ae(e,t,n){if(e){if(b(fai.top._popupoptions["popup"+e]))return;var i=fai.top._popupoptions["popup"+e];if(i.customchange&&i.customconfirm)return void i.customconfirm((function(){i.customchange=!1,ae(e,t,n)}));if(i.change&&!i.options.closenoconfirm){var o="";o="undefined"==typeof i.msg||""==i.msg?void 0===n||""==n?"您的修改尚未保存,确定要离开吗?":n:i.msg,"undefined"!=typeof window.vue&&window.vue.prototype.$createdialog?(new window.vue).$createdialog({content:o,confirmbutton:{text:"确 定"},cancelbutton:{text:"取 消"},onconfirm:function(){r(e)}}):window.confirm(o)&&r(e)}else r(e)}else r(),fai.top.$(".formdialog").remove(),fai.top.$(fai.top.window).off("scroll.popup");function r(e){var n=fai.top._popupoptions["popup"+e];if(!b(n)&&!$.isemptyobject(n))if(n.refresh)fai.top.location.reload();else{fai.top.$("#ing").remove();var i=n.options;b(i.closefunc)||(t?i.closefunc(t):i.closefunc(fai.top._popupoptions["popup"+e].closeargs)),fai.top._popupoptions["popup"+e]={};var o=fai.top.$("#popupwindow"+e);i.animate&&fai.top.fai.closepopupwindowanimate(o,i.animatetarget,i.animateonclose),fai.top.settimeout("fai.closepopupwindow_internal('"+e+"')"),fai.top.$(fai.top.window).off("scroll.popup")}}}function se(e){if(e){z(e);var t=$("#popupwindow"+e),n=t.data("settings");n&&"function"==typeof n.closefunc&&n.closefunc(),t.remove(),$("body").focus()}else z(),$(".formdialog").remove()}function pe(e,t,n,i){var o=e[i],r=t[i];return"number"!=typeof o&&"boolean"!=typeof o||(o=o.tostring()),"number"!=typeof r&&"boolean"!=typeof r||(r=r.tostring()),"asc"==n?o.localecompare(r):r.localecompare(o)}function le(e,t,n){return e===t?0:"asc"==n?e>t?1:-1:e>t?-1:1}function ce(e,t,n){"number"!=typeof e&&"boolean"!=typeof e||(e=e.tostring()),"number"!=typeof t&&"boolean"!=typeof t||(t=t.tostring());for(var i={str1:e,str2:t,len1:e.length,len2:t.length,pos1:0,pos2:0},o=0;0==o&&i.pos1e.pos2&&(a=e.pos2);a",null!=this.settings.divid?(this.iframemode=!1,e=$(this.settings.divid).html()):null!=this.settings.divcontent?(this.iframemode=!1,e=this.settings.divcontent):this.settings.noframeurl&&(this.iframemode=!1,e="

"+this.settings.popuptip+"

"),this.settings.noheadline&&(o="display:none;",p="height: 90px;"),this.settings.noheadborder&&(r="border-bottom-color:#ffffff;"),s=(s=o+r)?" style='"+s+"'":"",this.settings.displaybg&&!this.settings.replacecontent&&z(t,this.settings.opacity,this.settings.popupwinzindex);var c="";this.settings.popupwinzindex&&(c="z-index: "+this.settings.popupwinzindex),this.settings.replacecontent&&(c="animation: initial;"),i=fai.top.document.body.clientheight||fai.top.document.documentelement.clientheight,fai.top.document.body.clientwidth||fai.top.document.documentelement.clientwidth,(fai.top.root||fai.top.__nogmain)&&(i=fai.top.document.documentelement.clientheight,fai.top.document.documentelement.clientwidth),this.contentheight>i&&(this.contentheight=i,l=!0),0!==this.settings.top||0!==this.settings.left?a="left: "+this.settings.left+"px;top: "+this.settings.top+"px;":(a="left: "+(fai.top.document.documentelement.clientwidth-this.contentwidth)/2+"px;",a+="top: "+(fai.top.document.documentelement.clientheight-this.contentheight)/2+"px;");var d="";this.settings.hidepwbottom||(d="
");var u="
";3===this.settings.version&&(u=""),n='
"+this.settings.title+"
"+u+"
"+e+"
"+d+'
",this.settings.replacecontent?(fai.top.$("#popupwindow"+t).css("animation","initial"),fai.top.$("#popupwindow"+t).replacewith(n)):fai.top.$("body").append(n),this.popupwin=fai.top.$("#popupwindow"+t),this.pwhead=this.popupwin.find(".pwhead:visible"),this.pwheadheight=this.pwhead.height(),this.pwloading=this.popupwin.find("#pwloading"+t),this.iframemode?this.pwloading.height(this.contentheight-this.pwheadheight).width(this.contentwidth):this.settings.waitingphide&&this.pwloading.hide(),b(fai.top._popupoptions)&&(fai.top._popupoptions={}),b(fai.top._popupoptions["popup"+t])&&(fai.top._popupoptions["popup"+t]={}),b(this.settings.callargs)||(fai.top._popupoptions["popup"+t].callargs=this.settings.callargs),fai.top._popupoptions["popup"+t].options=this.settings,fai.top._popupoptions["popup"+t].change=!1},getpopupwindowid:function(){return this.popupwindowid}});var ue={};e.conn=x,e.cookie=n,e.img=v,e.screen=function(){return{width:window.screen.width,height:window.screen.height}},e.addarrelementsnorepeat=function(e,t){if(e.length>0){var n=0;$.each(e,(function(i){e[i]==t&&n++})),0==n&&(e[e.length]=t)}else e[e.length]=t;return e},e.addbookmark=function(e,t){e=""==e?document.title:e,t=""==t?"http://"+window.location.host:t;try{try{window.sidebar.addpanel(e,t,"")}catch(fe){window.external.addfavorite(t,e)}}catch(n){alert("收藏网站失败,请使用ctrl+d进行添加。")}},e.addctrlstyle=function(e,t){var n=$("#"+e),i=new array;if(1==n.length){var o=n.html();i=(o=o.replace(/{\r\n/g,"{").replace(/\t/g,"").replace(/\r\n}/g,";}")).split("\n"),n.remove()}i.push(t),$("head").append('")},e.addctrlstylecsslist=function(e,t,n){var i=$("#"+e),o=new array;1==i.length&&(o=q(i.html()),i.remove()),o=o.concat(k(t,n)),$("head").append('")},e.addinterval=function(t,n,i){for(var o=0;o0&&a.remove(),1!=n.find(".popupbuttons").length&&$("").appendto(r),1===n.find(".popupcheckboxs").length&&($(n.find(".popupbuttons")[0]).css("margin-right","10px").css("float","right").css("margin-top","-3px"),o()&&$(n.find(".popupbuttons")[0]).css("margin-top","-20px"));var s="";if("undefined"!=typeof t.extclass){var p=" "+t.extclass;s=""}else s="";$(s).appendto($(r).find(".popupbuttons")),"function"==typeof(a=r.find("#"+i)).faibutton&&a.faibutton(),"close"==t.click?a.click((function(){se(e)})):a.click(t.click),t.disable&&(a.attr("disabled",!0),a.faibutton("disable"))},e.addpopupbodywindowcheckbox=function(e,t){var n=$("#popupwindow"+e);n.find(".formbtns").show();var i="popup"+e+t.id,o=n.find(".formbtns td"),r=o.find("#"+i);r.length>0&&r.remove();var a="";1!=n.find(".popupcheckboxs").length?(o.removeattr("align").css("line-height","22px"),$(o.find(".popupbuttons")[0]).css("margin-right","10px").css("float","right"),$(""+a+"").appendto(o)):$(a).appendto($(n.find(".popupcheckboxs")[0])),"checked"===t.init&&$("#"+i).attr("checked","checked"),(r=o.find("#"+i)).click(t.click),t.disable&&r.attr("disabled",!0)},e.addpopupwindowbtn=function(e,t){var n=fai.top.$("#popupwindow"+e);n.find(".formbtns").show();var i="popup"+e+t.id,o=n.find(".formbtns td"),r=o.find("#"+i);if(r.length>0&&r.remove(),"help"!=t.click)if("undefined"!=typeof t.extclass){var a=t.extclass;fai.top.$("").appendto(o)}else fai.top.$("").appendto(o);"function"==typeof(r=o.find("#"+i)).faibutton&&r.faibutton(),t.callback&&"[object function]"===object.prototype.tostring.call(t.callback)&&r.click((function(){t.callback(),b(t.msg)?fai.top.fai.closepopupwindow(e):fai.top.fai.closepopupwindow(e,undefined,t.msg)})),"close"==t.click?r.click((function(){b(t.msg)?fai.top.fai.closepopupwindow(e):fai.top.fai.closepopupwindow(e,undefined,t.msg)})):"help"==t.click?0==n.find("a.formh").length&&n.append(""):r.click(t.click),t.disable&&(r.attr("disabled",!0),r.faibutton("disable")),$(document).keydown((function(t){if(13==t.keycode){var i,o=n.find("#popup"+e+"save");if(o.length>0&&!o.prop("disabled")){if((i=$(":focus")).is("input[type='text']")||i.is("textarea"))return;o.trigger("click")}}}))},e.addtimeout=function(t,n,i){b(e.intervalfunc)&&(e.intervalfunc=(function(e){throw new error('"'+e+'" is read-only')}("intervalfunc"),new array));for(var o=0;o2147483647||e<0||t>2147483647||t<0)&&(n=!1),n)return e&t;var i,o,r,a,s,p,l=e.tostring(2),c=t.tostring(2);if(l.length>62||c.length>62)return alert("does not support more than 62 bit. flagbinary.length="+l.length+",bitflagbinary.length"+c.length+"."),0;for(a=i=o=r=0,l.length>31?(p=l.slice(0,l.length-31),s=l.slice(l.length-31),a=parseint(p,"2"),i=parseint(s,"2")):i=parseint(l.slice(0,l.length),"2"),c.length>31?(p=c.slice(0,c.length-31),s=c.slice(c.length-31),o=parseint(p,"2"),r=parseint(s,"2")):r=parseint(c.slice(0,c.length),"2"),a&=o,l=(i&=r).tostring(2);l.length<31;)l="0"+l;return l=a.tostring(2)+l,parseint(l,"2")},e.ber=le,e.bg=z,e.bodybg=j,e.browser=m,e.checkbit=function(e,t){var n=!0;if((e>2147483647||e<0||t>2147483647||t<0)&&(n=!1),n)return(e&t)==t;var i,o,r,a,s,p,l=e.tostring(2),c=t.tostring(2);if(l.length>62||c.length>62)return alert("does not support more than 62 bit. flagbinary.length="+l.length+",bitflagbinary.length"+c.length+"."),!1;a=i=o=r=0,l.length>31?(p=l.slice(0,l.length-31),s=l.slice(l.length-31),a=parseint(p,"2"),i=parseint(s,"2")):i=parseint(l.slice(0,l.length),"2"),c.length>31?(p=c.slice(0,c.length-31),s=c.slice(c.length-31),o=parseint(p,"2"),r=parseint(s,"2")):r=parseint(c.slice(0,c.length),"2");var d=(i&r)==r;return d&&(d=(a&o)==o),d},e.checkonedecimal=function(e,t){var n=$("#"+t).val(),i=/^[0-9]\d*(?:\.\d{1}|\d*)$/;if($.browser.msie){if(event.keycode>47&&event.keycode<58)return n=n+""+string.fromcharcode(e.which),i.test(n)}else if(e.which>47&&e.which<58)return n=n+""+string.fromcharcode(e.which),i.test(n)},e.checktwodecimal=function(e,t){var n=$("#"+t).val(),i=/^[0-9]\d*(?:\.\d{1,2}|\d*)$/;if($.browser.msie){if(event.keycode>47&&event.keycode<58)return n=n+""+string.fromcharcode(e.which),i.test(n)}else if(e.which>47&&e.which<58)return n=n+""+string.fromcharcode(e.which),i.test(n)},e.checkvalid=function(e,t,n,i,o){var r;!e&&i>0?r=b("您还未输入{0}",t):e.lengtho&&(r=b("{0}不能多于{1}个字,请裁减后重试。",t,o));var a=$("#"+n);return r?(a.show(),a.text(r)):a.hide(),!r},e.closepopupbodywindow=se,e.closepopupwindow=ae,e.closepopupwindowanimate=function(e,t,n){var i=$("
");fai.top.$("body").append(i),i.css({border:"1px solid #ff4400",position:"absolute","z-index":"9999",top:e.offset().top,left:e.offset().left,height:e.height()+"px",width:e.width()+"px"});var o=fai.top.$("body").find(t);o.length<1&&(o=i),i.animate({top:o.offset().top+"px",left:o.offset().left+"px",width:o.width()+"px",height:o.height()+"px"},"slow",(function(){"function"==typeof n&&n(),i.remove()}))},e.closepopupwindow_internal=function(e){var t,n;if(void 0===e){if($.browser.msie&&10==$.browser.version&&(t=fai.top.$(".formdialog").find(".popupwindowiframe")[0])&&(n=t.contentwindow))try{n.swfobj&&n.swfobj.destroy(),n.editor&&n.editor.swfobj&&n.editor.swfobj.destroy()}catch(fe){}fai.top.$(".popupbg").not(".popupzonedelonlybyid").last().remove();var i=fai.top.$(".formdialog").last(),o=i.attr("id");o&&o.replace("popupwindow","")&&fai.top.$("html").removeclass("popupstopscroll"+o.replace("popupwindow","")),i.remove()}else{if($.browser.msie&&10==$.browser.version&&(t=fai.top.document.getelementbyid("popupwindowiframe"+e))&&(n=t.contentwindow))try{n.swfobj&&n.swfobj.destroy(),n.editor&&n.editor.swfobj&&n.editor.swfobj.destroy()}catch(fe){}fai.top.fai.removebg(e),fai.top.$("#popupwindowiframe"+e).remove(),fai.top.$("#popupwindow"+e).remove(),fai.top.$("html").removeclass("popupstopscroll"+e)}},e.closetip=t,e.compareobj=function(e,t,n){if(""===e)return""===t?0:1;if(""===t)return-1;if(isnan(e)){if(!isnan(t))return n?-1:1}else{if(isnan(t))return n?1:-1;e=math.floor(e),t=math.floor(t)}return e>t?n?-1:1:e==t?0:n?1:-1},e.compareobjlocale=pe,e.compareobjnew=function(e,t,n,i,s){var p=e[i],l=t[i];if(void 0!==p&&void 0!==l)return"number"===s?le(p,l,n):o()||r()||a()?pe(e,t,n,i):ce(p,l,n)},e.comparestrings=ce,e.countdown=ee,e.decodehtml=function(e){return e&&e.replace?e.replace(/ /gi," ").replace(/</gi,"<").replace(/>/g,">").replace(/\/gi,"\\").replace(/'/gi,"'").replace(/"/gi,'"').replace(/\/gi,"\n").replace(/&/gi,"&"):e},e.decodehtmlattr=function(e){return e&&e.replace?e.replace(/"/gi,'"').replace(/'/gi,"'").replace(/</gi,"<").replace(/>/gi,">").replace(/&/gi,"&").replace(/c;/gi,"\\"):e},e.decodeurl=function(e){var t="";try{t=void 0===e?"":decodeuricomponent(e)}catch(fe){t=""}return t},e.delayloadimg=function(e){(void 0===e||e<=0)&&(e=10),settimeout("fai.dodelayloadimg("+e+")",200)},e.dodelayloadimg=function(e){var t=0;$("img").each((function(){var n=$(this).attr("faisrc");if(!b(n)&&""!=n&&n!=$(this).attr("src")&&(++t,$(this).show(),$(this).attr("src",n),t>=e))return!1})),t>=e&&settimeout("fai.dodelayloadimg("+e+")",200)},e.dodelayloadmaterial=function(e){var t=0,n=[];$("img").each((function(){var i=$(this).attr("faisrc");if(!b(i)&&""!=i&&i!=$(this).attr("src")){++t,$(this).show(),$(this).attr("src",i);var o=parseint($(this).attr("dog"));if(isnan(o)||n.push(o),t>=e)return!1}})),0!=n.length&&site.logdog(200167,$.tojson(n)),t>=e&&settimeout("fai.dodelayloadmaterial("+e+")",200)},e.enablepopupbodywindowbtn=function(e,t,n){t="popup"+e+t;var i=$("#popupwindow"+e).find("#"+t);n?(i.removeattr("disabled"),i.faibutton("enable")):(i.attr("disabled",!0),i.faibutton("disable"))},e.enablepopupwindowbtn=function(e,t,n){t="popup"+e+t;var i=fai.top.$("#popupwindow"+e).find("#"+t);n?(i.removeattr("disabled"),"function"==typeof i.faibutton&&i.faibutton("enable")):(i.attr("disabled",!0),"function"==typeof i.faibutton&&i.faibutton("disable"))},e.encodehtml=function(e){return e&&e.replace?e.replace(/&/g,"&").replace(/ /g," ").replace(/\b +/g," ").replace(//g,">").replace(/\\/g,"\").replace(/\'/g,"'").replace(/\"/g,""").replace(/\n/g,"
").replace(/\r/g,""):e},e.encodehtmlattr=function(e){return e&&e.replace?e.replace(/\"/g,""").replace(/\'/g,"'").replace(//g,">").replace(/&/g,"&").replace(/\\/g,"c;"):e},e.encodehtmljs=function(e){return e&&e.replace?e.replace(/\\/g,"\\\\").replace(/\'/g,"\\x27").replace(/\"/g,"\\x22").replace(/\n/g,"\\n").replace(//g,"\\x3e"):e},e.encodeurl=a,e.filterhtml=function(e){return"string"===t(e).tolowercase()&&(e=(e=(e=e.replace(/<\/?[^>]*>/g,"")).replace(/[ | ]*\n/g,"")).replace(/ \n/gi,"")),e},e.fixurl=function(e,t){return i(e,t)?e:"http://"+e},e.fkeval=d,e.flashchecker=function(){var e,t=0,n=0;if(navigator.plugins&&navigator.plugins.length>0&&(e=navigator.plugins["shockwave flash"])){t=1;for(var i=e.description.split(" "),o=0;o=0&&t<=20?t:2,e=n?parsefloat((e+"").replace(/[^\d\.-]/g,""))+"":parsefloat((e+"").replace(/[^\d\.-]/g,"")).tofixed(t)+"",0==t||n&&e.indexof(".")<0){var i=e.split("").reverse(),o="";for(p=0;p=0;--s){var p=r[s].match(a);if(p&&p.length>=2)return p[1]}return""},e.gethashparam=function(e,t){var n,i=e.substring(e.indexof("#")+1,e.length).split("&");return $.each(i,(function(e,i){if(decodeuricomponent(i.substring(0,i.indexof("=")))===t)return n=decodeuricomponent(i.substring(i.indexof("=")+1,i.length)),!1})),n},e.getlancode=function(){var e=top.fai.top._lcid,t="";return 2052==(e=e||2052)&&(t="cn"),1033==e?t="en":1028==e?t="tcn":1041==e?t="jp":1042==e?t="kor":1108==e?t="lo":1054==e?t="th":11274==e?t="es":1049==e?t="ru":1036==e?t="fra":1040==e?t="it":1031==e?t="de":20521==e&&(t="ug"),string.prototype.startswith||(string.prototype.startswith=function(e,t){return t=t||0,this.indexof(e,t)===t}),window.location.pathname.startswith("/"+t)||(t=""),t},e.getscreentype=function(e,t){var n={other:0,w1920h1080:1,w1680h1050:2,w1600h1200:3,w1600h1024:4,w1600h900:5,w1440h900:6,w1366h768:7,w1360h768:8,w1280h1024:9,w1280h960:10,w1280h800:11,w1280h768:12,w1280h720:13,w1280h600:14,w1152h864:15,w1024h768:16,w800h600:17};return n["w"+$.trim(string(e))+"h"+$.trim(string(t))]||n.other},e.getscrollbarsize=de,e.getscrollwidth=function(){var e,t=document.createelement("div");return t.style.csstext="overflow:scroll; width:100px; height:100px; background:transparent;",document.body.appendchild(t),e=t.offsetwidth-t.clientwidth,document.body.removechild(t),e},e.geturlparam=function(e,t){var n,i=e.substring(e.indexof("?")+1,e.length).split("&");return $.each(i,(function(e,i){if(decodeuricomponent(i.substring(0,i.indexof("=")))===t)return n=decodeuricomponent(i.substring(i.indexof("=")+1,i.length)),!1})),n},e.geturlrooturl=function(e){var t=e.indexof("://");return t<0?e:(t=e.indexof("/",t+3))<0?"/":e.substring(t)},e.hex2rgb=function(e){var t=e.tolowercase();if(t&&/^#([0-9a-fa-f]{3}|[0-9a-fa-f]{6})$/.test(t)){if(4===t.length){for(var n="#",i=1;i<4;i+=1)n+=t.slice(i,i+1).concat(t.slice(i,i+1));t=n}var o=[];for(i=1;i<7;i+=2)o.push(parseint("0x"+t.slice(i,i+2)));return"rgb("+o.join(",")+")"}return t},e.hexadecimaltorgb=function(e){var t,n="#",i=[];if((e=e.tolowercase())&&/^#([0-9a-fa-f]{3}|[0-9a-fa-f]{6})$/.test(e)){if(4===e.length){for(t=1;t<4;t+=1)n+=e.slice(t,t+1).concat(e.slice(t,t+1));e=n}for(t=1;t<7;t+=2)i.push(parseint("0x"+e.slice(t,t+2)));return i.join(",")}return e},e.hsv2rgb=function(e,t){var n,i,o,r,a=e[0],s=e[1],p=e[2];if(0==s)n=i=o=math.round(255*p/100);else{s/=100,p/=100;var l=a/60-(r=math.floor(a/60)%6),c=p*(1-s),d=p*(1-s*l),u=p*(1-s*(1-l));switch(r){case 0:n=p,i=u,o=c;break;case 1:n=d,i=p,o=c;break;case 2:n=c,i=p,o=u;break;case 3:n=c,i=d,o=p;break;case 4:n=u,i=c,o=p;break;case 5:n=p,i=c,o=d}n=math.round(255*n),i=math.round(255*i),o=math.round(255*o)}return t!=undefined?t>=0&&t<1?"rgba("+n+","+i+","+o+","+t+")":"rgba("+n+","+i+","+o+","+(100-t)/100+")":"rgb("+n+","+i+","+o+")"},e.ing=o,e.ing2=function(e,t,n){var s=null==e||""==e?"正在处理...":e;0==fai.top.$("#ing2").length&&fai.top.$("
").appendto("body");var p=fai.top.$("#ing2"),l=fai.top.$("body").scrolltop();i()&&0==l&&(l=fai.top.$("html").scrolltop()),l>0?p.css("top",l+50+"px"):p.css("top",l+200+"px");var c=parseint(1e4*math.random()),d="";d+='
'+s+"
',p.find(".tips2").remove(),fai.top.$(d).appendto(p);var u=fai.top.$(p).width();fai.top.$(p).css("left",(fai.top.document.documentelement.clientwidth-u)/2),t&&fai.top.fai.removeing(t,c,n),o()||r()||a()?fai.top.$("#ing2").animate({opacity:1,filter:"alpha(opacity=100)"},300):fai.top.$("#ing2").css({opacity:1}),fai.top.$("#ing2").find(".close").bind("mouseenter",(function(){$(this).addclass("close_hover")})).bind("mouseleave",(function(){$(this).removeclass("close_hover")}))},e.int2hex=function(e){for(var t=e.tostring(16);t.length<6;)t="0"+t;return"#"+t},e.isandroid=function(){return!!$.browser.android},e.isapplewebkit=f,e.iscardno=function(e){if(/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|x|x)$)/.test(e)){15==e.length&&(e=e.substring(0,6)+"19"+e.substring(6),e+=k(e));var t=e.charat(17).touppercase();return k(e)==t}return!1},e.ischinese=s,e.ischrome=d,e.isdbg=h,e.isdigit=f,e.isdomain=function(e){return!(!/^[a-za-z0-9][a-za-z0-9\-]*[a-za-z0-9]$/.test(e)||e.indexof("--")>=0)},e.isemail=function(e){return/^[a-za-z0-9][a-za-z0-9_=\&\-\.\+]*[a-za-z0-9]*@[a-za-z0-9][a-za-z0-9_\-\.]+[a-za-z0-9]$/.test(e)},e.isemaildomain=function(e){return/^[a-za-z0-9][a-za-z0-9_\-]*\.[a-za-z0-9\-][a-za-z0-9_\-\.]*[a-za-z0-9]$/.test(e)},e.isenterkey=function(e){return $.browser.msie?13==event.keycode:13==e.which},e.isfloat=function(e){return/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(e)},e.isfloatkey=function(e){return $.browser.msie?event.keycode>47&&event.keycode<58||8==event.keycode||46==event.keycode:e.which>47&&e.which<58||8==e.which||46==e.which},e.isfonticon=function(e){return!(!e||0==e.length||e.length<"fonticon_".length||"newfonticon_"!=e.substring(0,"newfonticon_".length)&&"fonticon_"!=e.substring(0,"fonticon_".length))},e.isie=i,e.isie10=p,e.isie11=l,e.isie6=o,e.isie7=r,e.isie8=a,e.isie9=s,e.isinteger=function(e){return/^-?\d+$/.test(e)},e.isip=function(e){if("string"!=typeof e||""==$.trim(e))return!1;var t=e.split(".");if(4!=t.length)return!1;var n=!0;return $.each(t,(function(e,t){if(!y(t)||parseint(t)<0||parseint(t)>255)return n=!1,!0})),n},e.isipad=function(){return!!$.browser.ipad},e.isiphone=function(){return!!$.browser.iphone},e.isletter=c,e.islimitedrangenationmobile=function(e,t,n){return new regexp("^\\d{"+t+","+n+"}$").test(e)},e.islowercase=w,e.ismobile=function(e){return/^1[3456789]\d{9}$/.test(e)},e.ismozilla=u,e.isnationmobile=function(e){return/^\d{7,11}$/.test(e)},e.isnewuser=function(e){var t=void 0;if(e===t)return t;var n=fai.top._acctcreatetime;if(void 0!==n){var i,o=(new date).gettime()-n;if(!(n<=0||o<0))return i=o,(o=math.ceil(i/864e5)||0)<=e}},e.isnull=b,e.isnumber=y,e.isnumberkey=function(e,t){return $.browser.msie?!(!t||45!=event.keycode)||event.keycode>47&&event.keycode<58||8==event.keycode:!(!t||45!=e.which)||e.which>47&&e.which<58||8==e.which},e.isnumberkey2=function(e,t){t?$(e).val($(e).val().replace(/[^0-9\-]/g,"")):$(e).val($(e).val().replace(/[^0-9]/g,""))},e.isopera=h,e.ispc=function(){for(var e=navigator.useragent,t=["android","iphone","symbianos","windows phone","ipad","ipod"],n=!0,i=0;i0){n=!1;break}return n},e.isphone=function(e){return!/^([^\d])+([^\d])*([^\d])$/.test(e)&&/^([\d\+\s\(\)-])+([\d\+\s\(\)-])*([\d\+\s\(\)-])$/.test(e)},e.isphonenumberkey=function(e,t){return $.browser.msie?!(!t||45!=event.keycode)||event.keycode>47&&event.keycode<58||8==event.keycode||44==event.keycode:!(!t||45!=e.which)||e.which>47&&e.which<58||8==e.which||44==e.which},e.issafari=c,e.issupportwebp=function(){return void 0!==q?q:function(){try{q=0==document.createelement("canvas").todataurl("image/webp").indexof("data:image/webp")}catch(e){console.log(e)}}()},e.isuppercase=x,e.isurl=i,e.iswebkit=function(){return!!$.browser.webkit},e.isweixin=function(){return-1!=navigator.useragent.tolowercase().indexof("micromessenger")},e.isword=function(e){return/^[a-za-z0-9_]+$/.test(e)},e.logalert=function(){var e=n.get("_fai_debug");if("true"==e){var t=$.makearray(arguments);alert(t.join(""))}},e.logdbg=function(){var e=h();if(e){var t=$.makearray(arguments);if(i()){var n='
',o=fai.top.$("#faidebugmsg");0==o.length&&(o=fai.top.$(n)).appendto("body"),fai.top.$('
'+t.join("")+"
").appendto(o)}else console.log(t.join(""))}},e.logdog=e,e.openlog=l,e.orbit=function(e,t){var n=!0;if((e>2147483647||e<0||t>2147483647||t<0)&&(n=!1),n)return e|t;var i,o,r,a,s,p,l=e.tostring(2),c=t.tostring(2);if(l.length>62||c.length>62)return alert("does not support more than 62 bit. flagbinary.length="+l.length+",bitflagbinary.length"+c.length+"."),0;for(a=i=o=r=0,l.length>31?(p=l.slice(0,l.length-31),s=l.slice(l.length-31),a=parseint(p,"2"),i=parseint(s,"2")):i=parseint(l.slice(0,l.length),"2"),c.length>31?(p=c.slice(0,c.length-31),s=c.slice(c.length-31),o=parseint(p,"2"),r=parseint(s,"2")):r=parseint(c.slice(0,c.length),"2"),a|=o,l=(i|=r).tostring(2);l.length<31;)l="0"+l;return l=a.tostring(2)+l,parseint(l,"2")},e.parsefilename=function(e,t){var n=e.lastindexof("/");if(n<0&&(n=e.lastindexof("\\")),n>=0&&(e=e.substring(n+1)),t)return e;var i=e.lastindexof(".");return i>=0?e.substring(0,i):e},e.parsefilesize=function(e){return void 0!==e&&"number"==typeof e?e<1024?e+"b":e<1048576?(e/1024).tofixed(2)+"kb":(e/1048576).tofixed(2)+"mb":"-"},e.popupbodywindow=function(e){var t={title:"",width:500,height:300,bannerdisplay:!0,overflow_y:"inherit",opacity:"0.3",displaybg:!0,window_extclass:"",bg_extclass:""};t=$.extend(t,e);var n=parseint(t.width),i=parseint(t.height),a=$("body").scrolltop();0==a&&(a=$("html").scrolltop());var s=document.documentelement.clientwidth;$.browser.msie||(s=document.body.clientwidth);var p=document.documentelement.clientheight,l="",c="";t.bannerdisplay||(l="display:none;",c="background:none;");var d=20;d=null!=t.leftmar?t.leftmar:fai.top.__nogmain?(document.documentelement.scrollwidth-n)/2:(s-n)/2;var u=20;u=null!=t.topmar?t.topmar:(p-i-80)/2;var f="";null!=t.content&&(f=t.content);var h=parseint(1e4*math.random());t.displaybg&&j(h,t.opacity,{extclass:t.bg_extclass});var g="left:"+d+"px; top:"+(u+a)+"px;";(o()||r())&&(g+="width:"+n+"px;");var m="position:relative;width:"+n+"px;height:"+i+"px;overflow-y:"+t.overflow_y,v=['
','
",'
','
'+t.title+"
","
","
",'
",'
",'
','
',f,"
","","","
","
","
","
","","
"];$(v.join("")).appendto("body");var b=$("#popupwindow"+h);if(o()||r()){var y=b.find(".formbl"),w=_(y,"padding-left")+_(y,"padding-right")+_(y,"border-left-width")+_(y,"border-right-width"),x=b.find(".formbr"),f=_(x,"padding-left")+_(x,"padding-right")+_(x,"border-left-width")+_(x,"border-right-width"),c=b.find(".formbc"),s=_(c,"padding-left")+_(c,"padding-right")+_(c,"border-left-width")+_(c,"border-right-width"),k=b.find(".formmsg"),i=_(k,"margin-left")+_(k,"margin-right")+_(k,"border-left-width")+_(k,"border-right-width");b.css("width",n+w+f+s+i+"px")}return b.ready((function(){$(".formdialog").draggable({handle:".formtl"}),$(".formtl").disableselection(),$(".formx").click((function(){t.beforeclose&&t.beforeclose(),se(h),fai.top.$("#popupbgtitle"+h).remove()}))})),b.data("settings",t),h},e.popupwindow=ne,e.popupwindowversiontwo=oe,e.ptinrect=function(e,t){return e.x>=t.left&&e.x<=t.left+t.width&&e.y>=t.top&&e.y<=t.top+t.height},e.punycode=p,e.refreshclass=function(e){e(201039,6)},e.refreshtip=function(e){$(e).poshytip("hide"),$(e).poshytip("show")},e.removealling=function(){fai.top.$("#ing").remove()},e.removebg=r,e.removebodybg=z,e.removectrlstylecss=function(e,t,n,i){var o=$("#"+e),r=new array;if(1==o.length){var a=o.html();r=(a=a.replace(/{\r\n/g,"{").replace(/\t/g,"").replace(/\r\n}/g,";}")).split("\n"),o.remove()}var s=new regexp("#"+t+" +"+y(n)+" *{ *"+i+"s*:[^;]*;","gi");""!=t&&"undefined"!=t||(s=new regexp(y(n)+" *{ *"+i+"s*:[^;]*;","gi"));for(var p=r.length-1;p>=0;--p){var l=r[p];(0==l.length||/^\s$/.test(l)||s.test(l))&&r.splice(p,1)}$("head").append('")},e.removectrlstylecsslist=function(e,t,n){var i=$("#"+e),o=new array;if(1==i.length){var r=i.html();o=(r=r.replace(/{\r\n/g,"{").replace(/\t/g,"").replace(/\r\n}/g,";}")).split("\n"),i.remove()}for(var a=o.length-1;a>=0;--a)for(var s=o[a],p=0;p'+o.join("\n")+"")},e.removeing=function(e,t,n){e?void 0!==t&&fai.top.$("#"+t).length>0?(fai.top.window.settimeout((function(){$("#"+t).fadeout(1e3)}),n||3e3),fai.top.window.settimeout((function(){$("#"+t).remove()}),n?n+1500:4500)):(fai.top.$(".tips").fadeout(1e3),fai.top.window.settimeout((function(){$("#ing").remove()}),n||3e3)):void 0!==t&&fai.top.$("#"+t).length>0?(fai.top.$("#"+t).fadeout(500),fai.top.window.settimeout((function(){$("#"+t).remove()}),1e3)):(fai.top.$(".tips").fadeout(500),fai.top.window.settimeout((function(){$("#ing").remove()}),1e3)),fai.top.$("#ing").css("opacity",0)},e.removeing2=function(e,t,n){e?void 0!==t&&fai.top.$("#"+t).length>0?(fai.top.window.settimeout((function(){$("#"+t).fadeout(1e3)}),n||3e3),fai.top.window.settimeout((function(){$("#"+t).remove()}),n?n+1500:4500)):(fai.top.$(".tips").fadeout(1e3),fai.top.window.settimeout((function(){$("#ing2").remove()}),n||3e3)):void 0!==t&&fai.top.$("#"+t).length>0?(fai.top.$("#"+t).fadeout(500),fai.top.window.settimeout((function(){$("#"+t).remove()}),1e3)):(fai.top.$(".tips").fadeout(500),fai.top.window.settimeout((function(){$("#ing2").remove()}),1e3)),fai.top.$("#ing2").css("opacity",0)},e.rgb2hex=function(e){if("#"==e.charat(0))return e;for(var t=e.split(/\d+/),n=(65536*number(t[1])+256*number(t[2])+number(t[3])).tostring(16);n.length<6;)n="0"+n;return"#"+n},e.rgb2hsv=function(e){if(4==(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i)).length){var t,n,i=number(e[1]),o=number(e[2]),r=number(e[3]),a=math.max(i,o,r),s=math.min(i,o,r),p=a-s;if(i==o&&o==r)t=0,n=0;else{switch(a){case i:t=(o-r)/p;break;case o:t=2+(r-i)/p;break;case r:t=4+(i-o)/p}(t*=60)<0&&(t+=360),t=math.round(t),n=math.round(100*(a-s)/a)}return[t,n,math.round(100*a/255)]}},e.scrolltop=function(){fai.top.$(window).animate({scrolltop:0},{duration:500,easing:"swing"}),fai.top.$("html, body").animate({scrolltop:0},{duration:500,easing:"swing"})},e.setctrlstylecss=function(e,t,n,i,o){g(e,t,[{cls:n,key:i,value:o}])},e.setctrlstylecsslist=g,e.sethomepage=function(e){void 0===e&&(e=location.protocol+"//"+location.host);var t=!1;if("undefined"!=typeof ls&&"undefined"!=typeof ls.sethomepagesuccess||(t=!0),$.browser.msie)try{document.body.style.behavior="url(#default#homepage)",document.body.sethomepage(e)}catch(fe){var n="您的浏览器暂时不支持自动设为首页,请手动添加。";t||(o=ls.sethomepagenotsupport),alert(n)}else if($.browser.mozilla)try{netscape.security.privilegemanager.enableprivilege("universalxpconnect"),components.classes["@mozilla.org/preferences-service;1"].getservice(components.interfaces.nsiprefbranch).setcharpref("browser.startup.homepage",e);var i="添加首页成功。";t||(i=ls.sethomepagesuccess),alert(i)}catch(fe){var o="设置失败,请手动添加。";t||(o=ls.sethomepageerror),alert(o)}else n="您的浏览器暂时不支持自动设为首页,请手动添加。",t||(n=ls.sethomepagenotsupport),alert(n)},e.setpopupcustomchange=function(e,t){b(fai.top._popupoptions)||b(fai.top._popupoptions["popup"+e])||(fai.top._popupoptions["popup"+e].customchange=t)},e.setpopupcustomconfirm=function(e,t){b(fai.top._popupoptions)||b(fai.top._popupoptions["popup"+e])||"function"==typeof t&&(fai.top._popupoptions["popup"+e].customconfirm=t)},e.setpopupwindowchange=function(e,t){b(fai.top._popupoptions)||b(fai.top._popupoptions["popup"+e])||(fai.top._popupoptions["popup"+e].change=t)},e.showtip=function(e){var t=new array;e.content||(e.content=""),t.push("
"),e.closeswitch?(t.push("
"),t.push("")):t.push("
"),t.push(e.content),t.push("
");var n={content:t.join(""),classname:"tip-yellowsimple",showtimeout:1,hidetimeout:0,alignto:"target",alignx:"center",aligny:"top",offsety:5,showon:"none",hideaniduration:0,id:"tip-yellowsimple"+parseint(1e4*math.random())};e.id&&$.extend(n,{id:e.id}),e.showmode&&("left"==e.showmode?$.extend(n,{alignx:"left",aligny:"center",offsety:0,offsetx:5}):"right"==e.showmode?$.extend(n,{alignx:"right",aligny:"center",offsety:0,offsetx:5}):"top"==e.showmode?$.extend(n,{alignx:"center",aligny:"top",offsety:0,offsetx:5}):"bottom"==e.showmode&&$.extend(n,{alignx:"center",aligny:"bottom",offsety:0,offsetx:5})),e.data&&$.extend(n,e.data),e.appendtoid&&$.extend(n,{appendtoid:e.appendtoid}),e.autolocation&&$.extend(n,{autolocation:e.autolocation}),e.cusstyle&&$.extend(n,{cusstyle:e.cusstyle});var i=$(e.tid);i.poshytip("destroy"),i.poshytip(n),i.poshytip("show"),e.cls&&$("#"+n.id).addclass(e.cls),$("#"+n.id).find(".tip-btnclose").live("click",(function(){e.beforeclose&&e.beforeclose(),t(e.tid)})),e.autotimeout&&window.settimeout((function(){e.beforeclose&&e.beforeclose(),t(e.tid)}),e.autotimeout)},e.singletextareaaddmaxlength=function(e,t){if(void 0!==e&&void 0!==t){var n=$("#"+e);n.attr("maxlength",t),n.bind("keydown keyup change blur",(function(){var e=n.val();if(e.length>t){var i=e.substr(0,t);n.val(i)}}))}},e.startinterval=u,e.stopinterval=n,e.successhandle=function(e,t,n,i,o,r){fai.top.$("#ing").find(".tips").remove();var a=$.parsejson(e),s="";if(a.success){if(a.msg&&(s=a.msg),""!=t&&(s=t),s&&""!=s&&(0==r?(fai.top.fai.removeing(!0),alert(s)):1==r?o(s,!0):2==r?o(s,!1):3==r||(fai.top.fai.removeing(!0),alert(s))),""!=i)if(1==o)i=i.replace(/#.*/,""),fai.top.location.href==i?fai.top.location.reload():fai.top.location.href=i;else if(2==o)i=i.replace(/#.*/,""),parent.location.href==i?parent.location.reload():parent.location.href=i;else{if(3==o)return a.success;4==o?d(i):5==o?fai.top.location.href==i?fai.top.location.reload():fai.top.location.href=i:(i=i.replace(/#.*/,""),document.location.href==i?document.location.reload():document.location.href=i)}}else a.msg&&(s=a.msg),""==s&&(s=n),""==s&&(s="系统错误"),0==r?alert(s):1==r||2==r?1==r&&-4===a.rt&&"undefined"!=typeof site?function(e,t){var n=parseint(1e4*math.random()),i=[];if(e=e||{},t=t||"",!$.isemptyobject(e)){var o=e.name,r=e.maxlimit,a=e.nextmaxlimit,s=e.nextvername,p=!1,l="#cancel";0===a&&""===s&&(p=!0,l="#cancel, #confirm"),i.push("
"),i.push("
"),i.push(""),i.push(""),i.push("
"),i.push("
"),i.push("
"),i.push("
"),p?i.push("您已达到版本自定义模块数量限制,无法继续添加模块。"):i.push("您已达到"+o+"自定义模块"+r+"个,升级"+s+"可扩容到"+a+"个。"),i.push("
"),i.push("
(如果您已删除模块,请保存网站设计后再添加)
"),i.push("
"),i.push("
"),i.push(""),i.push(""),i.push("
");var c={boxid:n,htmlcontent:i.join(""),width:580,height:420},d=site.popupbox(c),u=d.find("button");site.logdog(200355,2),d.on("click",l,(function(){d.find(".popupbclose").click()})),u.hover((function(){$(this).css({background:"#5874d8","border-color":"#5874d8",color:"#fff"}),$(this).find("a").css({"border-color":"#5874d8",color:"#fff"})}),(function(){$(this).css({background:"#fff","border-color":"#e3e2e8",color:"#333"}),$(this).find("a").css({"border-color":"#e3e2e8",color:"#333"})}))}}(a.sitemodulelimitinfo,a.href):o(s,!1):o(s);return a.success},e.successing=function(e,t,n){o(e,t,n,"success")},e.switchscrollingeffect=function(e){if(e&&(ue.overflow!==undefined&&(document.body.style.overflow=ue.overflow),ue.overflowx!==undefined&&(document.body.style.overflowx=ue.overflowx),ue.overflowy!==undefined&&(document.body.style.overflowy=ue.overflowy),ue={}),e)return document.body.style.position="",void(document.body.style.width="");var t=de();t&&(document.body.style.position="relative",document.body.style.width="calc(100% - ".concat(t,"px)")),ue={overflowx:document.body.style.overflowx,overflowy:document.body.style.overflowy,overflow:document.body.style.overflow},document.body.style.overflow="hidden"},e.system=v,e.tolowercasefirstone=function(e){return void 0===e||w(e.charat(0))?e:e.substring(0,1).tolowercase()+e.substring(1,e.length)},e.touppercasefirstone=function(e){return void 0===e||x(e.charat(0))?e:e.substring(0,1).touppercase()+e.substring(1,e.length)},e.tozhdigit=function(e){e="number"==typeof e?string(e):e;for(var t,n=["零","一","二","三","四","五","六","七","八","九"],i=["千","百","十",""],o=["万","亿","兆","京","垓","秭","穰","沟","涧","正","载","极","恒河沙","阿僧祗","那由他","不可思议","无量","大数"],r=math.ceil(e.length/4),a=e.length%4||4,s=[],p=[],l="";r>0;)if(l){t=e.slice(a,a+4),a+=4;for(var c=0;c0?(l+=0===c?o[r-1]+n[t[c]]+i[c]:"零"+n[t[c]]+i[c],s.length=0):l+=n[t[c]]+i[c],c===t.length-1&&r>1&&(l+=o[r-2])):(0===c&&s.length>0&&0===p.length?(l+=o[r-1],s.length=0,s.push(t[c])):p.length>0?1==r?l+="":s.length=0:s.push(t[c]),c===t.length-1&&4===s.length&&1!==r&&(1===r?(p.length=0,s.length=0,l+=o[r-1]):p.push(t[c])));--r}else for(var d=(t=e.slice(0,a)).length,u=0;u0?(l+="零"+n[t[u]]+i[4-d+u],u===d-1&&r>1&&(l+=o[r-2]),s.length=0):(l+=n[t[u]]+i[4-d+u],u===d-1&&r>1&&(l+=o[r-2]));else{if(1==d){l+=n[t[u]];break}s.push(t[u])}return 0==l.indexof("一十")&&(l=l.slice(1)),l},e.top=m,e.unique=function(e){if("string"==typeof e)return t(e.split("")).join("");if(e instanceof array)return t(e);throw"fai.unique:参数必须是字符串或者数组";function t(e){for(var t=[],n=0;n