!function(_,$){"object"==typeof module&&"object"==typeof module.exports?module.exports=_.document?$(_,!0):function(_){if(!_.document)throw new Error("jQuery requires a window with a document");return $(_)}:$(_)}("undefined"!=typeof window?window:this,function(V0,S0){var T0=[],Q0=T0.slice,R0=T0.concat,N0=T0.push,O0=T0.indexOf,e0={},g0=e0.toString,b0=e0.hasOwnProperty,c0={},Y0="1.11.1",Z0=function(_,$){return new Z0.fn.init(_,$)},W0=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,X0=/^-ms-/,s0=/-([\da-z])/gi,r0=function(_,$){return $.toUpperCase()};Z0.fn=Z0.prototype={jquery:Y0,constructor:Z0,selector:"",length:0,toArray:function(){return Q0.call(this)},get:function($){return null!=$?0>$?this[$+this.length]:this[$]:Q0.call(this)},pushStack:function(_){var $=Z0.merge(this.constructor(),_);return $.prevObject=this,$.context=this.context,$},each:function(_,$){return Z0.each(this,_,$)},map:function($){return this.pushStack(Z0.map(this,function(_,A){return $.call(_,A,_)}))},slice:function(){return this.pushStack(Q0.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(A){var $=this.length,_=+A+(0>A?$:0);return this.pushStack(_>=0&&$>_?[this[_]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:N0,sort:T0.sort,splice:T0.splice},Z0.extend=Z0.fn.extend=function(){var E,C,D,A,B,$,_=arguments[0]||{},G=1,H=arguments.length,F=!1;for("boolean"==typeof _&&(F=_,_=arguments[G]||{},G++),"object"==typeof _||Z0.isFunction(_)||(_={}),G===H&&(_=this,G--);H>G;G++)if(null!=(B=arguments[G]))for(A in B)E=_[A],D=B[A],_!==D&&(F&&D&&(Z0.isPlainObject(D)||(C=Z0.isArray(D)))?(C?(C=!1,$=E&&Z0.isArray(E)?E:[]):$=E&&Z0.isPlainObject(E)?E:{},_[A]=Z0.extend(F,$,D)):void 0!==D&&(_[A]=D));return _},Z0.extend({expando:"jQuery"+(Y0+Math.random()).replace(/\D/g,""),isReady:!0,error:function($){throw new Error($)},noop:function(){},isFunction:function($){return"function"===Z0.type($)},isArray:Array.isArray||function($){return"array"===Z0.type($)},isWindow:function($){return null!=$&&$==$.window},isNumeric:function($){return!Z0.isArray($)&&$-parseFloat($)>=0},isEmptyObject:function(_){var $;for($ in _)return!1;return!0},isPlainObject:function(A){var $;if(!A||"object"!==Z0.type(A)||A.nodeType||Z0.isWindow(A))return!1;try{if(A.constructor&&!b0.call(A,"constructor")&&!b0.call(A.constructor.prototype,"isPrototypeOf"))return!1}catch(_){return!1}if(c0.ownLast)for($ in A)return b0.call(A,$);for($ in A);return void 0===$||b0.call(A,$)},type:function($){return null==$?$+"":"object"==typeof $||"function"==typeof $?e0[g0.call($)]||"object":typeof $},globalEval:function($){$&&Z0.trim($)&&(V0.execScript||function($){V0.eval.call(V0,$)})($)},camelCase:function($){return $.replace(X0,"ms-").replace(s0,r0)},nodeName:function(_,$){return _.nodeName&&_.nodeName.toLowerCase()===$.toLowerCase()},each:function(E,C,D){var A,B=0,$=E.length,_=p0(E);if(D){if(_){for(;$>B;B++)if(A=C.apply(E[B],D),A===!1)break}else for(B in E)if(A=C.apply(E[B],D),A===!1)break}else if(_){for(;$>B;B++)if(A=C.call(E[B],B,E[B]),A===!1)break}else for(B in E)if(A=C.call(E[B],B,E[B]),A===!1)break;return E},trim:function($){return null==$?"":($+"").replace(W0,"")},makeArray:function(A,$){var _=$||[];return null!=A&&(p0(Object(A))?Z0.merge(_,"string"==typeof A?[A]:A):N0.call(_,A)),_},inArray:function(B,_,A){var $;if(_){if(O0)return O0.call(_,B,A);for($=_.length,A=A?0>A?Math.max(0,$+A):A:0;$>A;A++)if(A in _&&_[A]===B)return A}return-1},merge:function(C,A){var B=+A.length,$=0,_=C.length;while(B>$)C[_++]=A[$++];if(B!==B)while(void 0!==A[$])C[_++]=A[$++];return C.length=_,C},grep:function(E,C,D){for(var A,B=[],$=0,_=E.length,F=!D;_>$;$++)A=!C(E[$],$),A!==F&&B.push(E[$]);return B},map:function(D,B,C){var A,$=0,_=D.length,E=p0(D),F=[];if(E){for(;_>$;$++)A=B(D[$],$,C),null!=A&&F.push(A)}else for($ in D)A=B(D[$],$,C),null!=A&&F.push(A);return R0.apply([],F)},guid:1,proxy:function(C,A){var B,_,$;return"string"==typeof A&&($=C[A],A=C,C=$),Z0.isFunction(C)?(B=Q0.call(arguments,2),_=function(){return C.apply(A||this,B.concat(Q0.call(arguments)))},_.guid=C.guid=C.guid||Z0.guid++,_):void 0},now:function(){return+new Date},support:c0}),Z0.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(_,$){e0["[object "+$+"]"]=$.toLowerCase()});function p0(A){var $=A.length,_=Z0.type(A);return"function"===_||Z0.isWindow(A)?!1:1===A.nodeType&&$?!0:"array"===_||0===$||"number"==typeof $&&$>0&&$-1 in A}var m0=function(y){var w,x,u,v,s,t,F0,G0,C0,D0,_0,A0,z,$0,Q0,P0,O0,N0,L0,K0="sizzle"+-new Date,J0=y.document,H0=0,V0=0,U0=_(),T0=_(),Q=_(),R=function(_,$){return _===$&&(_0=!0),0},S="undefined",M=1<<31,N={}.hasOwnProperty,O=[],P=O.pop,X=O.push,Z=O.push,a=O.slice,c=O.indexOf||function(A){for(var $=0,_=this.length;_>$;$++)if(this[$]===A)return $;return-1},T="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",U="[\\x20\\t\\r\\n\\f]",V="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=V.replace("w","w#"),j="\\["+U+"*("+V+")(?:"+U+"*([*^$|!~]?=)"+U+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+U+"*\\]",i=":("+V+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+j+")*)|.*)\\)|)",m=new RegExp("^"+U+"+|((?:^|[^\\\\])(?:\\\\.)*)"+U+"+$","g"),k=new RegExp("^"+U+"*,"+U+"*"),e=new RegExp("^"+U+"*([>+~]|"+U+")"+U+"*"),d=new RegExp("="+U+"*([^\\]'\"]*?)"+U+"*\\]","g"),h=new RegExp(i),g=new RegExp("^"+W+"$"),q={ID:new RegExp("^#("+V+")"),CLASS:new RegExp("^\\.("+V+")"),TAG:new RegExp("^("+V.replace("w","w*")+")"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+i),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+U+"*(even|odd|(([+-]|)(\\d*)n|)"+U+"*(?:([+-]|)"+U+"*(\\d+)|))"+U+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+U+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+U+"*((?:-\\d)?\\d*)"+U+"*\\)|)(?=[^-]|$)","i")},p=/^(?:input|select|textarea|button)$/i,r=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,n=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,S0=/[+~]/,E=/'|\\/g,$=new RegExp("\\\\([\\da-f]{1,6}"+U+"?|("+U+")|.)","ig"),F=function(B,_,A){var $="0x"+_-65536;return $!==$||A?_:0>$?String.fromCharCode($+65536):String.fromCharCode($>>10|55296,1023&$|56320)};try{Z.apply(O=a.call(J0.childNodes),J0.childNodes),O[J0.childNodes.length].nodeType}catch(Y){Z={apply:O.length?function(_,$){X.apply(_,a.call($))}:function(B,_){var A=B.length,$=0;while(B[A++]=_[$++]);B.length=A-1}}}function E0(D,C,_,A){var $,J,H,I,G,F,M,L,K,O;if((C?C.ownerDocument||C:J0)!==z&&A0(C),C=C||z,_=_||[],!D||"string"!=typeof D)return _;if(1!==(I=C.nodeType)&&9!==I)return[];if(Q0&&!A){if($=n.exec(D))if(H=$[1]){if(9===I){if(J=C.getElementById(H),!J||!J.parentNode)return _;if(J.id===H)return _.push(J),_}else if(C.ownerDocument&&(J=C.ownerDocument.getElementById(H))&&L0(C,J)&&J.id===H)return _.push(J),_}else{if($[2])return Z.apply(_,C.getElementsByTagName(D)),_;if((H=$[3])&&x.getElementsByClassName&&C.getElementsByClassName)return Z.apply(_,C.getElementsByClassName(H)),_}if(x.qsa&&(!P0||!P0.test(D))){if(L=M=K0,K=C,O=9===I&&D,1===I&&"object"!==C.nodeName.toLowerCase()){F=t(D),(M=C.getAttribute("id"))?L=M.replace(E,"\\$&"):C.setAttribute("id",L),L="[id='"+L+"'] ",G=F.length;while(G--)F[G]=L+B0(F[G]);K=S0.test(D)&&B(C.parentNode)||C,O=F.join(",")}if(O){try{return Z.apply(_,K.querySelectorAll(O)),_}catch(N){}finally{M||C.removeAttribute("id")}}}}return G0(D.replace(m,"$1"),C,_,A)}function _(){var _=[];function $(B,A){return _.push(B+" ")>u.cacheLength&&delete $[_.shift()],$[B+" "]=A}return $}function H($){return $[K0]=!0,$}function f(A){var $=z.createElement("div");try{return!!A($)}catch(_){return!1}finally{$.parentNode&&$.parentNode.removeChild($),$=null}}function I0(B,_){var A=B.split("|"),$=B.length;while($--)u.attrHandle[A[$]]=_}function C(B,_){var A=_&&B,$=A&&1===B.nodeType&&1===_.nodeType&&(~_.sourceIndex||M)-(~B.sourceIndex||M);if($)return $;if(A)while(A=A.nextSibling)if(A===_)return-1;return B?1:-1}function L($){return function(_){var A=_.nodeName.toLowerCase();return"input"===A&&_.type===$}}function l($){return function(_){var A=_.nodeName.toLowerCase();return("input"===A||"button"===A)&&_.type===$}}function M0($){return H(function(_){return _=+_,H(function(E,C){var D,A=$([],E.length,_),B=A.length;while(B--)E[D=A[B]]&&(E[D]=!(C[D]=E[D]))})})}function B($){return $&&typeof $.getElementsByTagName!==S&&$}x=E0.support={},s=E0.isXML=function(_){var $=_&&(_.ownerDocument||_).documentElement;return $?"HTML"!==$.nodeName:!1},A0=E0.setDocument=function(D){var B,A=D?D.ownerDocument||D:J0,_=A.defaultView;return A!==z&&9===A.nodeType&&A.documentElement?(z=A,$0=A.documentElement,Q0=!s(A),_&&_!==_.top&&(_.addEventListener?_.addEventListener("unload",function(){A0()},!1):_.attachEvent&&_.attachEvent("onunload",function(){A0()})),x.attributes=f(function($){return $.className="i",!$.getAttribute("className")}),x.getElementsByTagName=f(function($){return $.appendChild(A.createComment("")),!$.getElementsByTagName("*").length}),x.getElementsByClassName=G.test(A.getElementsByClassName)&&f(function($){return $.innerHTML="
",$.firstChild.className="i",2===$.getElementsByClassName("i").length}),x.getById=f(function($){return $0.appendChild($).id=K0,!A.getElementsByName||!A.getElementsByName(K0).length}),x.getById?(u.find.ID=function(A,$){if(typeof $.getElementById!==S&&Q0){var _=$.getElementById(A);return _&&_.parentNode?[_]:[]}},u.filter.ID=function(A){var _=A.replace($,F);return function($){return $.getAttribute("id")===_}}):(delete u.find.ID,u.filter.ID=function(A){var _=A.replace($,F);return function(A){var $=typeof A.getAttributeNode!==S&&A.getAttributeNode("id");return $&&$.value===_}}),u.find.TAG=x.getElementsByTagName?function(_,$){return typeof $.getElementsByTagName!==S?$.getElementsByTagName(_):void 0}:function(D,B){var C,_=[],A=0,$=B.getElementsByTagName(D);if("*"===D){while(C=$[A++])1===C.nodeType&&_.push(C);return _}return $},u.find.CLASS=x.getElementsByClassName&&function(_,$){return typeof $.getElementsByClassName!==S&&Q0?$.getElementsByClassName(_):void 0},O0=[],P0=[],(x.qsa=G.test(A.querySelectorAll))&&(f(function($){$.innerHTML="",$.querySelectorAll("[msallowclip^='']").length&&P0.push("[*^$]="+U+"*(?:''|\"\")"),$.querySelectorAll("[selected]").length||P0.push("\\["+U+"*(?:value|"+T+")"),$.querySelectorAll(":checked").length||P0.push(":checked")}),f(function(_){var $=A.createElement("input");$.setAttribute("type","hidden"),_.appendChild($).setAttribute("name","D"),_.querySelectorAll("[name=d]").length&&P0.push("name"+U+"*[*^$|!~]?="),_.querySelectorAll(":enabled").length||P0.push(":enabled",":disabled"),_.querySelectorAll("*,:x"),P0.push(",.*:")})),(x.matchesSelector=G.test(N0=$0.matches||$0.webkitMatchesSelector||$0.mozMatchesSelector||$0.oMatchesSelector||$0.msMatchesSelector))&&f(function($){x.disconnectedMatch=N0.call($,"div"),N0.call($,"[s!='']:x"),O0.push("!=",i)}),P0=P0.length&&new RegExp(P0.join("|")),O0=O0.length&&new RegExp(O0.join("|")),B=G.test($0.compareDocumentPosition),L0=B||G.test($0.contains)?function(B,_){var A=9===B.nodeType?B.documentElement:B,$=_&&_.parentNode;return B===$||!(!$||1!==$.nodeType||!(A.contains?A.contains($):B.compareDocumentPosition&&16&B.compareDocumentPosition($)))}:function(_,$){if($)while($=$.parentNode)if($===_)return!0;return!1},R=B?function(B,_){if(B===_)return _0=!0,0;var $=!B.compareDocumentPosition-!_.compareDocumentPosition;return $?$:($=(B.ownerDocument||B)===(_.ownerDocument||_)?B.compareDocumentPosition(_):1,1&$||!x.sortDetached&&_.compareDocumentPosition(B)===$?B===A||B.ownerDocument===J0&&L0(J0,B)?-1:_===A||_.ownerDocument===J0&&L0(J0,_)?1:D0?c.call(D0,B)-c.call(D0,_):0:4&$?-1:1)}:function(F,D){if(F===D)return _0=!0,0;var E,B=0,$=F.parentNode,_=D.parentNode,G=[F],H=[D];if(!$||!_)return F===A?-1:D===A?1:$?-1:_?1:D0?c.call(D0,F)-c.call(D0,D):0;if($===_)return C(F,D);E=F;while(E=E.parentNode)G.unshift(E);E=D;while(E=E.parentNode)H.unshift(E);while(G[B]===H[B])B++;return B?C(G[B],H[B]):G[B]===J0?-1:H[B]===J0?1:0},A):z},E0.matches=function(_,$){return E0(_,null,null,$)},E0.matchesSelector=function(B,A){if((B.ownerDocument||B)!==z&&A0(B),A=A.replace(d,"='$1']"),!(!x.matchesSelector||!Q0||O0&&O0.test(A)||P0&&P0.test(A))){try{var $=N0.call(B,A);if($||x.disconnectedMatch||B.document&&11!==B.document.nodeType)return $}catch(_){}}return E0(A,z,null,[B]).length>0},E0.contains=function(_,$){return(_.ownerDocument||_)!==z&&A0(_),L0(_,$)},E0.attr=function(B,A){(B.ownerDocument||B)!==z&&A0(B);var _=u.attrHandle[A.toLowerCase()],$=_&&N.call(u.attrHandle,A.toLowerCase())?_(B,A,!Q0):void 0;return void 0!==$?$:x.attributes||!Q0?B.getAttribute(A):($=B.getAttributeNode(A))&&$.specified?$.value:null},E0.error=function($){throw new Error("Syntax error, unrecognized expression: "+$)},E0.uniqueSort=function(C){var B,_=[],A=0,$=0;if(_0=!x.detectDuplicates,D0=!x.sortStable&&C.slice(0),C.sort(R),_0){while(B=C[$++])B===C[$]&&(A=_.push($));while(A--)C.splice(_[A],1)}return D0=null,C},v=E0.getText=function(C){var A,B="",_=0,$=C.nodeType;if($){if(1===$||9===$||11===$){if("string"==typeof C.textContent)return C.textContent;for(C=C.firstChild;C;C=C.nextSibling)B+=v(C)}else if(3===$||4===$)return C.nodeValue}else while(A=C[_++])B+=v(A);return B},u=E0.selectors={cacheLength:50,createPseudo:H,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_){return _[1]=_[1].replace($,F),_[3]=(_[3]||_[4]||_[5]||"").replace($,F),"~="===_[2]&&(_[3]=" "+_[3]+" "),_.slice(0,4)},CHILD:function($){return $[1]=$[1].toLowerCase(),"nth"===$[1].slice(0,3)?($[3]||E0.error($[0]),$[4]=+($[4]?$[5]+($[6]||1):2*("even"===$[3]||"odd"===$[3])),$[5]=+($[7]+$[8]||"odd"===$[3])):$[3]&&E0.error($[0]),$},PSEUDO:function(A){var $,_=!A[6]&&A[2];return q.CHILD.test(A[0])?null:(A[3]?A[2]=A[4]||A[5]||"":_&&h.test(_)&&($=t(_,!0))&&($=_.indexOf(")",_.length-$)-_.length)&&(A[0]=A[0].slice(0,$),A[2]=_.slice(0,$)),A.slice(0,3))}},filter:{TAG:function(A){var _=A.replace($,F).toLowerCase();return"*"===A?function(){return!0}:function($){return $.nodeName&&$.nodeName.toLowerCase()===_}},CLASS:function(_){var $=U0[_+" "];return $||($=new RegExp("(^|"+U+")"+_+"("+U+"|$)"))&&U0(_,function(_){return $.test("string"==typeof _.className&&_.className||typeof _.getAttribute!==S&&_.getAttribute("class")||"")})},ATTR:function(A,$,_){return function(B){var C=E0.attr(B,A);return null==C?"!="===$:$?(C+="","="===$?C===_:"!="===$?C!==_:"^="===$?_&&0===C.indexOf(_):"*="===$?_&&C.indexOf(_)>-1:"$="===$?_&&C.slice(-_.length)===_:"~="===$?(" "+C+" ").indexOf(_)>-1:"|="===$?C===_||C.slice(0,_.length+1)===_+"-":!1):!0}},CHILD:function(E,C,D,A,B){var $="nth"!==E.slice(0,3),_="last"!==E.slice(-4),F="of-type"===C;return 1===A&&0===B?function($){return!!$.parentNode}:function(C,D,M){var K,L,I,J,G,H,Q=$!==_?"nextSibling":"previousSibling",P=C.parentNode,O=F&&C.nodeName.toLowerCase(),N=!M&&!F;if(P){if($){while(Q){I=C;while(I=I[Q])if(F?I.nodeName.toLowerCase()===O:1===I.nodeType)return!1;H=Q="only"===E&&!H&&"nextSibling"}return!0}if(H=[_?P.firstChild:P.lastChild],_&&N){L=P[K0]||(P[K0]={}),K=L[E]||[],G=K[0]===H0&&K[1],J=K[0]===H0&&K[2],I=G&&P.childNodes[G];while(I=++G&&I&&I[Q]||(J=G=0)||H.pop())if(1===I.nodeType&&++J&&I===C){L[E]=[H0,G,J];break}}else if(N&&(K=(C[K0]||(C[K0]={}))[E])&&K[0]===H0)J=K[1];else while(I=++G&&I&&I[Q]||(J=G=0)||H.pop())if((F?I.nodeName.toLowerCase()===O:1===I.nodeType)&&++J&&(N&&((I[K0]||(I[K0]={}))[E]=[H0,J]),I===C))break;return J-=B,J===A||J%A===0&&J/A>=0}}},PSEUDO:function(B,_){var A,$=u.pseudos[B]||u.setFilters[B.toLowerCase()]||E0.error("unsupported pseudo: "+B);return $[K0]?$(_):$.length>1?(A=[B,B,"",_],u.setFilters.hasOwnProperty(B.toLowerCase())?H(function(E,D){var C,A=$(E,_),B=A.length;while(B--)C=c.call(E,A[B]),E[C]=!(D[C]=A[B])}):function(_){return $(_,0,A)}):$}},pseudos:{not:H(function(B){var _=[],A=[],$=F0(B.replace(m,"$1"));return $[K0]?H(function(E,C,D,B){var _,A=$(E,null,B,[]),F=E.length;while(F--)(_=A[F])&&(E[F]=!(C[F]=_))}):function(D,C,B){return _[0]=D,$(_,null,B,A),!A.pop()}}),has:H(function($){return function(_){return E0($,_).length>0}}),contains:H(function($){return function(_){return(_.textContent||_.innerText||v(_)).indexOf($)>-1}}),lang:H(function(_){return g.test(_||"")||E0.error("unsupported lang: "+_),_=_.replace($,F).toLowerCase(),function($){var A;do if(A=Q0?$.lang:$.getAttribute("xml:lang")||$.getAttribute("lang"))return A=A.toLowerCase(),A===_||0===A.indexOf(_+"-");while(($=$.parentNode)&&1===$.nodeType);return!1}}),target:function($){var _=y.location&&y.location.hash;return _&&_.slice(1)===$.id},root:function($){return $===$0},focus:function($){return $===z.activeElement&&(!z.hasFocus||z.hasFocus())&&!!($.type||$.href||~$.tabIndex)},enabled:function($){return $.disabled===!1},disabled:function($){return $.disabled===!0},checked:function(_){var $=_.nodeName.toLowerCase();return"input"===$&&!!_.checked||"option"===$&&!!_.selected},selected:function($){return $.parentNode&&$.parentNode.selectedIndex,$.selected===!0},empty:function($){for($=$.firstChild;$;$=$.nextSibling)if($.nodeType<6)return!1;return!0},parent:function($){return!u.pseudos.empty($)},header:function($){return r.test($.nodeName)},input:function($){return p.test($.nodeName)},button:function(_){var $=_.nodeName.toLowerCase();return"input"===$&&"button"===_.type||"button"===$},text:function(_){var $;return"input"===_.nodeName.toLowerCase()&&"text"===_.type&&(null==($=_.getAttribute("type"))||"text"===$.toLowerCase())},first:M0(function(){return[0]}),last:M0(function(_,$){return[$-1]}),eq:M0(function(A,$,_){return[0>_?_+$:_]}),even:M0(function(A,$){for(var _=0;$>_;_+=2)A.push(_);return A}),odd:M0(function(A,$){for(var _=1;$>_;_+=2)A.push(_);return A}),lt:M0(function(B,_,A){for(var $=0>A?A+_:A;--$>=0;)B.push($);return B}),gt:M0(function(B,_,A){for(var $=0>A?A+_:A;++$<_;)B.push($);return B})}},u.pseudos.nth=u.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})u.pseudos[w]=L(w);for(w in{submit:!0,reset:!0})u.pseudos[w]=l(w);function I(){}I.prototype=u.filters=u.pseudos,u.setFilters=new I,t=E0.tokenize=function(D,B){var C,A,$,_,G,H,E,F=T0[D+" "];if(F)return B?0:F.slice(0);G=D,H=[],E=u.preFilter;while(G){(!C||(A=k.exec(G)))&&(A&&(G=G.slice(A[0].length)||G),H.push($=[])),C=!1,(A=e.exec(G))&&(C=A.shift(),$.push({value:C,type:A[0].replace(m," ")}),G=G.slice(C.length));for(_ in u.filter)!(A=q[_].exec(G))||E[_]&&!(A=E[_](A))||(C=A.shift(),$.push({value:C,type:_,matches:A}),G=G.slice(C.length));if(!C)break}return B?G.length:G?E0.error(D):T0(D,H).slice(0)};function B0(B){for(var _=0,A=B.length,$="";A>_;_++)$+=B[_].value;return $}function b(D,B,C){var _=B.dir,A=C&&"parentNode"===_,$=V0++;return B.first?function(B,C,$){while(B=B[_])if(1===B.nodeType||A)return D(B,C,$)}:function(C,E,B){var G,H,F=[H0,$];if(B){while(C=C[_])if((1===C.nodeType||A)&&D(C,E,B))return!0}else while(C=C[_])if(1===C.nodeType||A){if(H=C[K0]||(C[K0]={}),(G=H[_])&&G[0]===H0&&G[1]===$)return F[2]=G[2];if(H[_]=F,F[2]=D(C,E,B))return!0}}}function J($){return $.length>1?function(B,C,_){var A=$.length;while(A--)if(!$[A](B,C,_))return!1;return!0}:$[0]}function A(C,A,B){for(var $=0,_=A.length;_>$;$++)E0(C,A[$],B);return B}function R0(E,C,D,A,B){for(var $,_=[],G=0,H=E.length,F=null!=C;H>G;G++)($=E[G])&&(!D||D($,A,B))&&(_.push($),F&&C.push(G));return _}function o(E,C,D,_,B,$){return _&&!_[K0]&&(_=o(_)),B&&!B[K0]&&(B=o(B,$)),H(function($,F,M,N){var K,L,I,J=[],G=[],H=F.length,Q=$||A(C||"*",M.nodeType?[M]:M,[]),P=!E||!$&&C?Q:R0(Q,J,E,M,N),O=D?B||($?E:H||_)?[]:F:P;if(D&&D(P,O,M,N),_){K=R0(O,G),_(K,[],M,N),L=K.length;while(L--)(I=K[L])&&(O[G[L]]=!(P[G[L]]=I))}if($){if(B||E){if(B){K=[],L=O.length;while(L--)(I=O[L])&&K.push(P[L]=I);B(null,O=[],K,N)}L=O.length;while(L--)(I=O[L])&&(K=B?c.call($,I):J[L])>-1&&($[K]=!(F[K]=I))}}else O=R0(O===F?O.splice(H,O.length):O),B?B(null,F,O,N):Z.apply(F,O)})}function K(D){for(var B,C,A,$=D.length,_=u.relative[D[0].type],H=_||u.relative[" "],I=_?1:0,G=b(function($){return $===B},H,!0),E=b(function($){return c.call(B,$)>-1},H,!0),F=[function(C,A,$){return!_&&($||A!==C0)||((B=A).nodeType?G(C,A,$):E(C,A,$))}];$>I;I++)if(C=u.relative[D[I].type])F=[b(J(F),C)];else{if(C=u.filter[D[I].type].apply(null,D[I].matches),C[K0]){for(A=++I;$>A;A++)if(u.relative[D[A].type])break;return o(I>1&&J(F),I>1&&B0(D.slice(0,I-1).concat({value:" "===D[I-2].type?"*":""})).replace(m,"$1"),C,A>I&&K(D.slice(I,A)),$>A&&K(D=D.slice(A)),$>A&&B0(D))}F.push(C)}return J(F)}function D(C,A){var B=A.length>0,_=C.length>0,$=function($,D,I,J,H){var F,G,E,R=0,Q="0",O=$&&[],N=[],M=C0,L=$||_&&u.find.TAG("*",H),K=H0+=null==M?1:Math.random()||0.1,S=L.length;for(H&&(C0=D!==z&&D);Q!==S&&null!=(F=L[Q]);Q++){if(_&&F){G=0;while(E=C[G++])if(E(F,D,I)){J.push(F);break}H&&(H0=K)}B&&((F=!E&&F)&&R--,$&&O.push(F))}if(R+=Q,B&&Q!==R){G=0;while(E=A[G++])E(O,N,D,I);if($){if(R>0)while(Q--)O[Q]||N[Q]||(N[Q]=P.call(J));N=R0(N)}Z.apply(J,N),H&&!$&&N.length>0&&R+A.length>1&&E0.uniqueSort(J)}return H&&(H0=K,C0=M),O};return B?H($):$}return F0=E0.compile=function(E,B){var C,_=[],A=[],$=Q[E+" "];if(!$){B||(B=t(E)),C=B.length;while(C--)$=K(B[C]),$[K0]?_.push($):A.push($);$=Q(E,D(A,_)),$.selector=E}return $},G0=E0.select=function(D,C,A,_){var L,J,K,H,I,E="function"==typeof D&&D,G=!_&&t(D=E.selector||D);if(A=A||[],1===G.length){if(J=G[0]=G[0].slice(0),J.length>2&&"ID"===(K=J[0]).type&&x.getById&&9===C.nodeType&&Q0&&u.relative[J[1].type]){if(C=(u.find.ID(K.matches[0].replace($,F),C)||[])[0],!C)return A;E&&(C=C.parentNode),D=D.slice(J.shift().value.length)}L=q.needsContext.test(D)?0:J.length;while(L--){if(K=J[L],u.relative[H=K.type])break;if((I=u.find[H])&&(_=I(K.matches[0].replace($,F),S0.test(J[0].type)&&B(C.parentNode)||C))){if(J.splice(L,1),D=_.length&&B0(J),!D)return Z.apply(A,_),A;break}}}return(E||F0(D,G))(_,C,!Q0,A,S0.test(D)&&B(C.parentNode)||C),A},x.sortStable=K0.split("").sort(R).join("")===K0,x.detectDuplicates=!!_0,A0(),x.sortDetached=f(function($){return 1&$.compareDocumentPosition(z.createElement("div"))}),f(function($){return $.innerHTML="","#"===$.firstChild.getAttribute("href")})||I0("type|href|height|width",function(A,$,_){return _?void 0:A.getAttribute($,"type"===$.toLowerCase()?1:2)}),x.attributes&&f(function($){return $.innerHTML="",$.firstChild.setAttribute("value",""),""===$.firstChild.getAttribute("value")})||I0("value",function(A,$,_){return _||"input"!==A.nodeName.toLowerCase()?void 0:A.defaultValue}),f(function($){return null==$.getAttribute("disabled")})||I0(T,function(B,_,A){var $;return A?void 0:B[_]===!0?_.toLowerCase():($=B.getAttributeNode(_))&&$.specified?$.value:null}),E0}(V0);Z0.find=m0,Z0.expr=m0.selectors,Z0.expr[":"]=Z0.expr.pseudos,Z0.unique=m0.uniqueSort,Z0.text=m0.getText,Z0.isXMLDoc=m0.isXML,Z0.contains=m0.contains;var k0=Z0.expr.match.needsContext,j0=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,i0=/^.[^:#\[\.,]*$/;function h0(A,$,_){if(Z0.isFunction($))return Z0.grep(A,function(B,A){return!!$.call(B,A,B)!==_});if($.nodeType)return Z0.grep(A,function(A){return A===$!==_});if("string"==typeof $){if(i0.test($))return Z0.filter($,A,_);$=Z0.filter($,A)}return Z0.grep(A,function(A){return Z0.inArray(A,$)>=0!==_})}Z0.filter=function(B,_,A){var $=_[0];return A&&(B=":not("+B+")"),1===_.length&&1===$.nodeType?Z0.find.matchesSelector($,B)?[$]:[]:Z0.find.matches(B,Z0.grep(_,function($){return 1===$.nodeType}))},Z0.fn.extend({find:function(C){var A,B=[],$=this,_=$.length;if("string"!=typeof C)return this.pushStack(Z0(C).filter(function(){for(A=0;_>A;A++)if(Z0.contains($[A],this))return!0}));for(A=0;_>A;A++)Z0.find(C,$[A],B);return B=this.pushStack(_>1?Z0.unique(B):B),B.selector=this.selector?this.selector+" "+C:C,B},filter:function($){return this.pushStack(h0(this,$||[],!1))},not:function($){return this.pushStack(h0(this,$||[],!0))},is:function($){return!!h0(this,"string"==typeof $&&k0.test($)?Z0($):$||[],!1).length}});var y0,x0=V0.document,w0=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,e=Z0.fn.init=function(B,_){var A,$;if(!B)return this;if("string"==typeof B){if(A="<"===B.charAt(0)&&">"===B.charAt(B.length-1)&&B.length>=3?[null,B,null]:w0.exec(B),!A||!A[1]&&_)return!_||_.jquery?(_||y0).find(B):this.constructor(_).find(B);if(A[1]){if(_=_ instanceof Z0?_[0]:_,Z0.merge(this,Z0.parseHTML(A[1],_&&_.nodeType?_.ownerDocument||_:x0,!0)),j0.test(A[1])&&Z0.isPlainObject(_))for(A in _)Z0.isFunction(this[A])?this[A](_[A]):this.attr(A,_[A]);return this}if($=x0.getElementById(A[2]),$&&$.parentNode){if($.id!==A[2])return y0.find(B);this.length=1,this[0]=$}return this.context=x0,this.selector=B,this}return B.nodeType?(this.context=this[0]=B,this.length=1,this):Z0.isFunction(B)?"undefined"!=typeof y0.ready?y0.ready(B):B(Z0):(void 0!==B.selector&&(this.selector=B.selector,this.context=B.context),Z0.makeArray(B,this))};e.prototype=Z0.fn,y0=Z0(x0);var f=/^(?:parents|prev(?:Until|All))/,g={children:!0,contents:!0,next:!0,prev:!0};Z0.extend({dir:function(C,A,B){var $=[],_=C[A];while(_&&9!==_.nodeType&&(void 0===B||1!==_.nodeType||!Z0(_).is(B)))1===_.nodeType&&$.push(_),_=_[A];return $},sibling:function(A,$){for(var _=[];A;A=A.nextSibling)1===A.nodeType&&A!==$&&_.push(A);return _}}),Z0.fn.extend({has:function(B){var _,A=Z0(B,this),$=A.length;return this.filter(function(){for(_=0;$>_;_++)if(Z0.contains(this,A[_]))return!0})},closest:function(E,C){for(var D,A=0,B=this.length,$=[],_=k0.test(E)||"string"!=typeof E?Z0(E,C||this.context):0;B>A;A++)for(D=this[A];D&&D!==C;D=D.parentNode)if(D.nodeType<11&&(_?_.index(D)>-1:1===D.nodeType&&Z0.find.matchesSelector(D,E))){$.push(D);break}return this.pushStack($.length>1?Z0.unique($):$)},index:function($){return $?"string"==typeof $?Z0.inArray(this[0],Z0($)):Z0.inArray($.jquery?$[0]:$,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(_,$){return this.pushStack(Z0.unique(Z0.merge(this.get(),Z0(_,$))))},addBack:function($){return this.add(null==$?this.prevObject:this.prevObject.filter($))}});function Z(_,$){do _=_[$];while(_&&1!==_.nodeType);return _}Z0.each({parent:function(_){var $=_.parentNode;return $&&11!==$.nodeType?$:null},parents:function($){return Z0.dir($,"parentNode")},parentsUntil:function(A,$,_){return Z0.dir(A,"parentNode",_)},next:function($){return Z($,"nextSibling")},prev:function($){return Z($,"previousSibling")},nextAll:function($){return Z0.dir($,"nextSibling")},prevAll:function($){return Z0.dir($,"previousSibling")},nextUntil:function(A,$,_){return Z0.dir(A,"nextSibling",_)},prevUntil:function(A,$,_){return Z0.dir(A,"previousSibling",_)},siblings:function($){return Z0.sibling(($.parentNode||{}).firstChild,$)},children:function($){return Z0.sibling($.firstChild)},contents:function($){return Z0.nodeName($,"iframe")?$.contentDocument||$.contentWindow.document:Z0.merge([],$.childNodes)}},function(_,$){Z0.fn[_]=function(C,A){var B=Z0.map(this,$,C);return"Until"!==_.slice(-5)&&(A=C),A&&"string"==typeof A&&(B=Z0.filter(A,B)),this.length>1&&(g[_]||(B=Z0.unique(B)),f.test(_)&&(B=B.reverse())),this.pushStack(B)}});var b=/\S+/g,c={};function d(_){var $=c[_]={};return Z0.each(_.match(b)||[],function(A,_){$[_]=!0}),$}Z0.Callbacks=function(E){E="string"==typeof E?c[E]||d(E):Z0.extend({},E);var C,D,A,B,$,_,H=[],I=!E.once&&[],F=function(J){for(D=E.memory&&J,A=!0,$=_||0,_=0,B=H.length,C=!0;H&&B>$;$++)if(H[$].apply(J[0],J[1])===!1&&E.stopOnFalse){D=!1;break}C=!1,H&&(I?I.length&&F(I.shift()):D?H=[]:G.disable())},G={add:function(){if(H){var A=H.length;!function $(_){Z0.each(_,function(A,B){var _=Z0.type(B);"function"===_?E.unique&&G.has(B)||H.push(B):B&&B.length&&"string"!==_&&$(B)})}(arguments),C?B=H.length:D&&(_=A,F(D))}return this},remove:function(){return H&&Z0.each(arguments,function(D,A){var _;while((_=Z0.inArray(A,H,_))>-1)H.splice(_,1),C&&(B>=_&&B--,$>=_&&$--)}),this},has:function($){return $?Z0.inArray($,H)>-1:!(!H||!H.length)},empty:function(){return H=[],B=0,this},disable:function(){return H=I=D=void 0,this},disabled:function(){return!H},lock:function(){return I=void 0,D||G.disable(),this},locked:function(){return!I},fireWith:function(_,$){return!H||A&&!I||($=$||[],$=[_,$.slice?$.slice():$],C?I.push($):F($)),this},fire:function(){return G.fireWith(this,arguments),this},fired:function(){return!!A}};return G},Z0.extend({Deferred:function(C){var A=[["resolve","done",Z0.Callbacks("once memory"),"resolved"],["reject","fail",Z0.Callbacks("once memory"),"rejected"],["notify","progress",Z0.Callbacks("memory")]],B="pending",$={state:function(){return B},always:function(){return _.done(arguments).fail(arguments),this},then:function(){var B=arguments;return Z0.Deferred(function(C){Z0.each(A,function(E,A){var D=Z0.isFunction(B[E])&&B[E];_[A[1]](function(){var _=D&&D.apply(this,arguments);_&&Z0.isFunction(_.promise)?_.promise().done(C.resolve).fail(C.reject).progress(C.notify):C[A[0]+"With"](this===$?C.promise():this,D?[_]:arguments)})}),B=null}).promise()},promise:function(_){return null!=_?Z0.extend(_,$):$}},_={};return $.pipe=$.then,Z0.each(A,function(E,C){var D=C[2],F=C[3];$[C[1]]=D.add,F&&D.add(function(){B=F},A[1^E][2].disable,A[2][2].lock),_[C[0]]=function(){return _[C[0]+"With"](this===_?$:this,arguments),this},_[C[0]+"With"]=D.fireWith}),$.promise(_),C&&C.call(_,_),_},when:function(D){var B=0,C=Q0.call(arguments),A=C.length,$=1!==A||D&&Z0.isFunction(D.promise)?A:0,_=1===$?D:Z0.Deferred(),G=function(C,A,B){return function(D){A[C]=this,B[C]=arguments.length>1?Q0.call(arguments):D,B===H?_.notifyWith(A,B):--$||_.resolveWith(A,B)}},H,E,F;if(A>1)for(H=new Array(A),E=new Array(A),F=new Array(A);A>B;B++)C[B]&&Z0.isFunction(C[B].promise)?C[B].promise().done(G(B,F,C)).fail(_.reject).progress(G(B,E,H)):--$;return $||_.resolveWith(F,C),_.promise()}});var m;Z0.fn.ready=function($){return Z0.ready.promise().done($),this},Z0.extend({isReady:!1,readyWait:1,holdReady:function($){$?Z0.readyWait++:Z0.ready(!0)},ready:function($){if($===!0?!--Z0.readyWait:!Z0.isReady){if(!x0.body)return setTimeout(Z0.ready);Z0.isReady=!0,$!==!0&&--Z0.readyWait>0||(m.resolveWith(x0,[Z0]),Z0.fn.triggerHandler&&(Z0(x0).triggerHandler("ready"),Z0(x0).off("ready")))}}});function n(){x0.addEventListener?(x0.removeEventListener("DOMContentLoaded",q,!1),V0.removeEventListener("load",q,!1)):(x0.detachEvent("onreadystatechange",q),V0.detachEvent("onload",q))}function q(){(x0.addEventListener||"load"===event.type||"complete"===x0.readyState)&&(n(),Z0.ready())}Z0.ready.promise=function(A){if(!m)if(m=Z0.Deferred(),"complete"===x0.readyState)setTimeout(Z0.ready);else if(x0.addEventListener)x0.addEventListener("DOMContentLoaded",q,!1),V0.addEventListener("load",q,!1);else{x0.attachEvent("onreadystatechange",q),V0.attachEvent("onload",q);var B=!1;try{B=null==V0.frameElement&&x0.documentElement}catch($){}B&&B.doScroll&&!function _(){if(!Z0.isReady){try{B.doScroll("left")}catch($){return setTimeout(_,50)}n(),Z0.ready()}}()}return m.promise(A)};var t="undefined",h;for(h in Z0(c0))break;c0.ownLast="0"!==h,c0.inlineBlockNeedsLayout=!1,Z0(function(){var B,_,A,$;A=x0.getElementsByTagName("body")[0],A&&A.style&&(_=x0.createElement("div"),$=x0.createElement("div"),$.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",A.appendChild($).appendChild(_),typeof _.style.zoom!==t&&(_.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",c0.inlineBlockNeedsLayout=B=3===_.offsetWidth,B&&(A.style.zoom=1)),A.removeChild($))}),function(){var _=x0.createElement("div");if(null==c0.deleteExpando){c0.deleteExpando=!0;try{delete _.test}catch($){c0.deleteExpando=!1}}_=null}(),Z0.acceptData=function(A){var $=Z0.noData[(A.nodeName+" ").toLowerCase()],_=+A.nodeType||1;return 1!==_&&9!==_?!1:!$||$!==!0&&A.getAttribute("classid")===$};var i=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,j=/([A-Z])/g;function l(C,A,B){if(void 0===B&&1===C.nodeType){var $="data-"+A.replace(j,"-$1").toLowerCase();if(B=C.getAttribute($),"string"==typeof B){try{B="true"===B?!0:"false"===B?!1:"null"===B?null:+B+""===B?+B:i.test(B)?Z0.parseJSON(B):B}catch(_){}Z0.data(C,A,B)}else B=void 0}return B}function A0(_){var $;for($ in _)if(("data"!==$||!Z0.isEmptyObject(_[$]))&&"toJSON"!==$)return!1;return!0}function $0(D,C,A,B){if(Z0.acceptData(D)){var $,_,G=Z0.expando,H=D.nodeType,E=H?Z0.cache:D,F=H?D[G]:D[G]&&G;if(F&&E[F]&&(B||E[F].data)||void 0!==A||"string"!=typeof C)return F||(F=H?D[G]=T0.pop()||Z0.guid++:G),E[F]||(E[F]=H?{}:{toJSON:Z0.noop}),("object"==typeof C||"function"==typeof C)&&(B?E[F]=Z0.extend(E[F],C):E[F].data=Z0.extend(E[F].data,C)),_=E[F],B||(_.data||(_.data={}),_=_.data),void 0!==A&&(_[Z0.camelCase(C)]=A),"string"==typeof C?($=_[C],null==$&&($=_[Z0.camelCase(C)])):$=_,$}}function C0(E,C,D){if(Z0.acceptData(E)){var A,B,$=E.nodeType,_=$?Z0.cache:E,F=$?E[Z0.expando]:Z0.expando;if(_[F]){if(C&&(A=D?_[F]:_[F].data)){Z0.isArray(C)?C=C.concat(Z0.map(C,Z0.camelCase)):C in A?C=[C]:(C=Z0.camelCase(C),C=C in A?[C]:C.split(" ")),B=C.length;while(B--)delete A[C[B]];if(D?!A0(A):!Z0.isEmptyObject(A))return}(D||(delete _[F].data,A0(_[F])))&&($?Z0.cleanData([E],!0):c0.deleteExpando||_!=_.window?delete _[F]:_[F]=null)}}}Z0.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function($){return $=$.nodeType?Z0.cache[$[Z0.expando]]:$[Z0.expando],!!$&&!A0($)},data:function(A,$,_){return $0(A,$,_)},removeData:function(_,$){return C0(_,$)},_data:function(A,$,_){return $0(A,$,_,!0)},_removeData:function(_,$){return C0(_,$,!0)}}),Z0.fn.extend({data:function(E,C){var D,A,B,$=this[0],_=$&&$.attributes;if(void 0===E){if(this.length&&(B=Z0.data($),1===$.nodeType&&!Z0._data($,"parsedAttrs"))){D=_.length;while(D--)_[D]&&(A=_[D].name,0===A.indexOf("data-")&&(A=Z0.camelCase(A.slice(5)),l($,A,B[A])));Z0._data($,"parsedAttrs",!0)}return B}return"object"==typeof E?this.each(function(){Z0.data(this,E)}):arguments.length>1?this.each(function(){Z0.data(this,E,C)}):$?l($,E,Z0.data($,E)):void 0},removeData:function($){return this.each(function(){Z0.removeData(this,$)})}}),Z0.extend({queue:function(B,_,A){var $;return B?(_=(_||"fx")+"queue",$=Z0._data(B,_),A&&(!$||Z0.isArray(A)?$=Z0._data(B,_,Z0.makeArray(A)):$.push(A)),$||[]):void 0},dequeue:function(E,C){C=C||"fx";var D=Z0.queue(E,C),A=D.length,B=D.shift(),$=Z0._queueHooks(E,C),_=function(){Z0.dequeue(E,C)};"inprogress"===B&&(B=D.shift(),A--),B&&("fx"===C&&D.unshift("inprogress"),delete $.stop,B.call(E,_,$)),!A&&$&&$.empty.fire()},_queueHooks:function(A,$){var _=$+"queueHooks";return Z0._data(A,_)||Z0._data(A,_,{empty:Z0.Callbacks("once memory").add(function(){Z0._removeData(A,$+"queue"),Z0._removeData(A,_)})})}}),Z0.fn.extend({queue:function(A,$){var _=2;return"string"!=typeof A&&($=A,A="fx",_--),arguments.length<_?Z0.queue(this[0],A):void 0===$?this:this.each(function(){var _=Z0.queue(this,A,$);Z0._queueHooks(this,A),"fx"===A&&"inprogress"!==_[0]&&Z0.dequeue(this,A)})},dequeue:function($){return this.each(function(){Z0.dequeue(this,$)})},clearQueue:function($){return this.queue($||"fx",[])},promise:function(E,C){var D,A=1,B=Z0.Deferred(),$=this,_=this.length,F=function(){--A||B.resolveWith($,[$])};"string"!=typeof E&&(C=E,E=void 0),E=E||"fx";while(_--)D=Z0._data($[_],E+"queueHooks"),D&&D.empty&&(A++,D.empty.add(F));return F(),B.promise(C)}});var B0=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,x=["Top","Right","Bottom","Left"],v=function(_,$){return _=$||_,"none"===Z0.css(_,"display")||!Z0.contains(_.ownerDocument,_)},z=Z0.access=function(E,C,D,A,B,$,_){var G=0,H=E.length,F=null==D;if("object"===Z0.type(D)){B=!0;for(G in D)Z0.access(E,C,G,D[G],!0,$,_)}else if(void 0!==A&&(B=!0,Z0.isFunction(A)||(_=!0),F&&(_?(C.call(E,A),C=null):(F=C,C=function(A,$,_){return F.call(Z0(A),_)})),C))for(;H>G;G++)C(E[G],D,_?A:A.call(E[G],G,C(E[G],D)));return B?E:F?C.call(E):H?C(E[0],D):$},y=/^(?:checkbox|radio)$/i;!function(){var B=x0.createElement("input"),_=x0.createElement("div"),A=x0.createDocumentFragment();if(_.innerHTML="
a",c0.leadingWhitespace=3===_.firstChild.nodeType,c0.tbody=!_.getElementsByTagName("tbody").length,c0.htmlSerialize=!!_.getElementsByTagName("link").length,c0.html5Clone="<:nav>"!==x0.createElement("nav").cloneNode(!0).outerHTML,B.type="checkbox",B.checked=!0,A.appendChild(B),c0.appendChecked=B.checked,_.innerHTML="",c0.noCloneChecked=!!_.cloneNode(!0).lastChild.defaultValue,A.appendChild(_),_.innerHTML="",c0.checkClone=_.cloneNode(!0).cloneNode(!0).lastChild.checked,c0.noCloneEvent=!0,_.attachEvent&&(_.attachEvent("onclick",function(){c0.noCloneEvent=!1}),_.cloneNode(!0).click()),null==c0.deleteExpando){c0.deleteExpando=!0;try{delete _.test}catch($){c0.deleteExpando=!1}}}(),function(){var _,A,$=x0.createElement("div");for(_ in{submit:!0,change:!0,focusin:!0})A="on"+_,(c0[_+"Bubbles"]=A in V0)||($.setAttribute(A,"t"),c0[_+"Bubbles"]=$.attributes[A].expando===!1);$=null}();var L0=/^(?:input|select|textarea)$/i,K0=/^key/,M0=/^(?:mouse|pointer|contextmenu)|click/,M=/^(?:focusinfocus|focusoutblur)$/,F0=/^([^.]*)(?:\.(.+)|)$/;function A2(){return!0}function J1(){return!1}function $1(){try{return x0.activeElement}catch($){}}Z0.event={global:{},add:function(E,C,D,A,B){var $,_,K,L,I,J,H,F,G,O,N,M=Z0._data(E);if(M){D.handler&&(L=D,D=L.handler,B=L.selector),D.guid||(D.guid=Z0.guid++),(_=M.events)||(_=M.events={}),(J=M.handle)||(J=M.handle=function($){return typeof Z0===t||$&&Z0.event.triggered===$.type?void 0:Z0.event.dispatch.apply(J.elem,arguments)},J.elem=E),C=(C||"").match(b)||[""],K=C.length;while(K--)$=F0.exec(C[K])||[],G=N=$[1],O=($[2]||"").split(".").sort(),G&&(I=Z0.event.special[G]||{},G=(B?I.delegateType:I.bindType)||G,I=Z0.event.special[G]||{},H=Z0.extend({type:G,origType:N,data:A,handler:D,guid:D.guid,selector:B,needsContext:B&&Z0.expr.match.needsContext.test(B),namespace:O.join(".")},L),(F=_[G])||(F=_[G]=[],F.delegateCount=0,I.setup&&I.setup.call(E,A,O,J)!==!1||(E.addEventListener?E.addEventListener(G,J,!1):E.attachEvent&&E.attachEvent("on"+G,J))),I.add&&(I.add.call(E,H),H.handler.guid||(H.handler.guid=D.guid)),B?F.splice(F.delegateCount++,0,H):F.push(H),Z0.event.global[G]=!0);E=null}},remove:function(E,C,D,A,B){var $,_,K,L,I,J,H,F,G,O,N,M=Z0.hasData(E)&&Z0._data(E);if(M&&(J=M.events)){C=(C||"").match(b)||[""],I=C.length;while(I--)if(K=F0.exec(C[I])||[],G=N=K[1],O=(K[2]||"").split(".").sort(),G){H=Z0.event.special[G]||{},G=(A?H.delegateType:H.bindType)||G,F=J[G]||[],K=K[2]&&new RegExp("(^|\\.)"+O.join("\\.(?:.*\\.|)")+"(\\.|$)"),L=$=F.length;while($--)_=F[$],!B&&N!==_.origType||D&&D.guid!==_.guid||K&&!K.test(_.namespace)||A&&A!==_.selector&&("**"!==A||!_.selector)||(F.splice($,1),_.selector&&F.delegateCount--,H.remove&&H.remove.call(E,_));L&&!F.length&&(H.teardown&&H.teardown.call(E,O,M.handle)!==!1||Z0.removeEvent(E,G,M.handle),delete J[G])}else for(G in J)Z0.event.remove(E,G+C[I],D,A,!0);Z0.isEmptyObject(J)&&(delete M.handle,Z0._removeData(E,"events"))}},trigger:function(C,D,A,B){var $,_,I,J,H,G,E,F=[A||x0],N=b0.call(C,"type")?C.type:C,L=b0.call(C,"namespace")?C.namespace.split("."):[];if(I=G=A=A||x0,3!==A.nodeType&&8!==A.nodeType&&!M.test(N+Z0.event.triggered)&&(N.indexOf(".")>=0&&(L=N.split("."),N=L.shift(),L.sort()),_=N.indexOf(":")<0&&"on"+N,C=C[Z0.expando]?C:new Z0.Event(N,"object"==typeof C&&C),C.isTrigger=B?2:3,C.namespace=L.join("."),C.namespace_re=C.namespace?new RegExp("(^|\\.)"+L.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,C.result=void 0,C.target||(C.target=A),D=null==D?[C]:Z0.makeArray(D,[C]),H=Z0.event.special[N]||{},B||!H.trigger||H.trigger.apply(A,D)!==!1)){if(!B&&!H.noBubble&&!Z0.isWindow(A)){for(J=H.delegateType||N,M.test(J+N)||(I=I.parentNode);I;I=I.parentNode)F.push(I),G=I;G===(A.ownerDocument||x0)&&F.push(G.defaultView||G.parentWindow||V0)}E=0;while((I=F[E++])&&!C.isPropagationStopped())C.type=E>1?J:H.bindType||N,$=(Z0._data(I,"events")||{})[C.type]&&Z0._data(I,"handle"),$&&$.apply(I,D),$=_&&I[_],$&&$.apply&&Z0.acceptData(I)&&(C.result=$.apply(I,D),C.result===!1&&C.preventDefault());if(C.type=N,!B&&!C.isDefaultPrevented()&&(!H._default||H._default.apply(F.pop(),D)===!1)&&Z0.acceptData(A)&&_&&A[N]&&!Z0.isWindow(A)){G=A[_],G&&(A[_]=null),Z0.event.triggered=N;try{A[N]()}catch(K){}Z0.event.triggered=void 0,G&&(A[_]=G)}return C.result}},dispatch:function(D){D=Z0.event.fix(D);var B,C,A,$,_,G=[],H=Q0.call(arguments),E=(Z0._data(this,"events")||{})[D.type]||[],F=Z0.event.special[D.type]||{};if(H[0]=D,D.delegateTarget=this,!F.preDispatch||F.preDispatch.call(this,D)!==!1){G=Z0.event.handlers.call(this,D,E),B=0;while(($=G[B++])&&!D.isPropagationStopped()){D.currentTarget=$.elem,_=0;while((A=$.handlers[_++])&&!D.isImmediatePropagationStopped())(!D.namespace_re||D.namespace_re.test(A.namespace))&&(D.handleObj=A,D.data=A.data,C=((Z0.event.special[A.origType]||{}).handle||A.handler).apply($.elem,H),void 0!==C&&(D.result=C)===!1&&(D.preventDefault(),D.stopPropagation()))}return F.postDispatch&&F.postDispatch.call(this,D),D.result}},handlers:function(E,C){var D,A,B,$,_=[],F=C.delegateCount,G=E.target;if(F&&G.nodeType&&(!E.button||"click"!==E.type))for(;G!=this;G=G.parentNode||this)if(1===G.nodeType&&(G.disabled!==!0||"click"!==E.type)){for(B=[],$=0;F>$;$++)A=C[$],D=A.selector+" ",void 0===B[D]&&(B[D]=A.needsContext?Z0(D,this).index(G)>=0:Z0.find(D,this,null,[G]).length),B[D]&&B.push(A);B.length&&_.push({elem:G,handlers:B})}return F]","i"),O=/^\s+/,g1=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,w1=/<([\w:]+)/,H1=/\s*$/g,e1={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:c0.htmlSerialize?[0,"",""]:[1,"X
","
"]},T1=N1(x0),D1=T1.appendChild(x0.createElement("div"));e1.optgroup=e1.option,e1.tbody=e1.tfoot=e1.colgroup=e1.caption=e1.thead,e1.th=e1.td;function u0(D,B){var C,_,A=0,$=typeof D.getElementsByTagName!==t?D.getElementsByTagName(B||"*"):typeof D.querySelectorAll!==t?D.querySelectorAll(B||"*"):void 0;if(!$)for($=[],C=D.childNodes||D;null!=(_=C[A]);A++)!B||Z0.nodeName(_,B)?$.push(_):Z0.merge($,u0(_,B));return void 0===B||B&&Z0.nodeName(D,B)?Z0.merge([D],$):$}function J0($){y.test($.type)&&($.defaultChecked=$.checked)}function U(_,$){return Z0.nodeName(_,"table")&&Z0.nodeName(11!==$.nodeType?$:$.firstChild,"tr")?_.getElementsByTagName("tbody")[0]||_.appendChild(_.ownerDocument.createElement("tbody")):_}function H($){return $.type=(null!==Z0.find.attr($,"type"))+"/"+$.type,$}function p1(_){var $=S.exec(_.type);return $?_.type=$[1]:_.removeAttribute("type"),_}function b1(B,_){for(var A,$=0;null!=(A=B[$]);$++)Z0._data(A,"globalEval",!_||Z0._data(_[$],"globalEval"))}function h1(E,C){if(1===C.nodeType&&Z0.hasData(E)){var D,A,B,$=Z0._data(E),_=Z0._data(C,$),F=$.events;if(F){delete _.handle,_.events={};for(D in F)for(A=0,B=F[D].length;B>A;A++)Z0.event.add(C,D,F[D][A])}_.data&&(_.data=Z0.extend({},_.data))}}function y1(C,A){var B,$,_;if(1===A.nodeType){if(B=A.nodeName.toLowerCase(),!c0.noCloneEvent&&A[Z0.expando]){_=Z0._data(A);for($ in _.events)Z0.removeEvent(A,$,_.handle);A.removeAttribute(Z0.expando)}"script"===B&&A.text!==C.text?(H(A).text=C.text,p1(A)):"object"===B?(A.parentNode&&(A.outerHTML=C.outerHTML),c0.html5Clone&&C.innerHTML&&!Z0.trim(A.innerHTML)&&(A.innerHTML=C.innerHTML)):"input"===B&&y.test(C.type)?(A.defaultChecked=A.checked=C.checked,A.value!==C.value&&(A.value=C.value)):"option"===B?A.defaultSelected=A.selected=C.defaultSelected:("input"===B||"textarea"===B)&&(A.defaultValue=C.defaultValue)}}Z0.extend({clone:function(F,D,E){var A,C,$,_,G,H=Z0.contains(F.ownerDocument,F);if(c0.html5Clone||Z0.isXMLDoc(F)||!B.test("<"+F.nodeName+">")?$=F.cloneNode(!0):(D1.innerHTML=F.outerHTML,D1.removeChild($=D1.firstChild)),!(c0.noCloneEvent&&c0.noCloneChecked||1!==F.nodeType&&11!==F.nodeType||Z0.isXMLDoc(F)))for(A=u0($),G=u0(F),_=0;null!=(C=G[_]);++_)A[_]&&y1(C,A[_]);if(D)if(E){for(G=G||u0(F),A=A||u0($),_=0;null!=(C=G[_]);_++)h1(C,A[_])}else h1(F,$);return A=u0($,"script"),A.length>0&&b1(A,!H&&u0(F,"script")),A=G=C=null,$},buildFragment:function(E,C,D,A){for(var B,$,_,K,L,J,I,G=E.length,H=N1(C),N=[],M=0;G>M;M++)if($=E[M],$||0===$)if("object"===Z0.type($))Z0.merge(N,$.nodeType?[$]:$);else if(X1.test($)){K=K||H.appendChild(C.createElement("div")),L=(w1.exec($)||["",""])[1].toLowerCase(),I=e1[L]||e1._default,K.innerHTML=I[1]+$.replace(g1,"<$1>")+I[2],B=I[0];while(B--)K=K.lastChild;if(!c0.leadingWhitespace&&O.test($)&&N.push(C.createTextNode(O.exec($)[0])),!c0.tbody){$="table"!==L||H1.test($)?""!==I[1]||H1.test($)?0:K:K.firstChild,B=$&&$.childNodes.length;while(B--)Z0.nodeName(J=$.childNodes[B],"tbody")&&!J.childNodes.length&&$.removeChild(J)}Z0.merge(N,K.childNodes),K.textContent="";while(K.firstChild)K.removeChild(K.firstChild);K=H.lastChild}else N.push(C.createTextNode($));K&&H.removeChild(K),c0.appendChecked||Z0.grep(u0(N,"input"),J0),M=0;while($=N[M++])if((!A||-1===Z0.inArray($,A))&&(_=Z0.contains($.ownerDocument,$),K=u0(H.appendChild($),"script"),_&&b1(K),D)){B=0;while($=K[B++])F.test($.type||"")&&D.push($)}return K=null,H},cleanData:function(D,C){for(var A,B,$,_,H=0,I=Z0.expando,G=Z0.cache,F=c0.deleteExpando,E=Z0.event.special;null!=(A=D[H]);H++)if((C||Z0.acceptData(A))&&($=A[I],_=$&&G[$])){if(_.events)for(B in _.events)E[B]?Z0.event.remove(A,B):Z0.removeEvent(A,B,_.handle);G[$]&&(delete G[$],F?delete A[I]:typeof A.removeAttribute!==t?A.removeAttribute(I):A[I]=null,T0.push($))}}}),Z0.fn.extend({text:function($){return z(this,function($){return void 0===$?Z0.text(this):this.empty().append((this[0]&&this[0].ownerDocument||x0).createTextNode($))},null,$,arguments.length)},append:function(){return this.domManip(arguments,function(_){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var $=U(this,_);$.appendChild(_)}})},prepend:function(){return this.domManip(arguments,function(_){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var $=U(this,_);$.insertBefore(_,$.firstChild)}})},before:function(){return this.domManip(arguments,function($){this.parentNode&&this.parentNode.insertBefore($,this)})},after:function(){return this.domManip(arguments,function($){this.parentNode&&this.parentNode.insertBefore($,this.nextSibling)})},remove:function(C,A){for(var B,$=C?Z0.filter(C,this):this,_=0;null!=(B=$[_]);_++)A||1!==B.nodeType||Z0.cleanData(u0(B)),B.parentNode&&(A&&Z0.contains(B.ownerDocument,B)&&b1(u0(B,"script")),B.parentNode.removeChild(B));return this},empty:function(){for(var _,$=0;null!=(_=this[$]);$++){1===_.nodeType&&Z0.cleanData(u0(_,!1));while(_.firstChild)_.removeChild(_.firstChild);_.options&&Z0.nodeName(_,"select")&&(_.options.length=0)}return this},clone:function(_,$){return _=null==_?!1:_,$=null==$?_:$,this.map(function(){return Z0.clone(this,_,$)})},html:function($){return z(this,function(D){var A=this[0]||{},C=0,$=this.length;if(void 0===D)return 1===A.nodeType?A.innerHTML.replace(d0,""):void 0;if(!("string"!=typeof D||E0.test(D)||!c0.htmlSerialize&&B.test(D)||!c0.leadingWhitespace&&O.test(D)||e1[(w1.exec(D)||["",""])[1].toLowerCase()])){D=D.replace(g1,"<$1>");try{for(;$>C;C++)A=this[C]||{},1===A.nodeType&&(Z0.cleanData(u0(A,!1)),A.innerHTML=D);A=0}catch(_){}}A&&this.empty().append(D)},null,$,arguments.length)},replaceWith:function(){var $=arguments[0];return this.domManip(arguments,function(_){$=this.parentNode,Z0.cleanData(u0(this)),$&&$.replaceChild(_,this)}),$&&($.length||$.nodeType)?this:this.remove()},detach:function($){return this.remove($,!0)},domManip:function(D,B){D=R0.apply([],D);var C,A,$,_,K,L,J=0,I=this.length,E=this,G=I-1,N=D[0],M=Z0.isFunction(N);if(M||I>1&&"string"==typeof N&&!c0.checkClone&&n0.test(N))return this.each(function(_){var $=E.eq(_);M&&(D[0]=N.call(this,_,$.html())),$.domManip(D,B)});if(I&&(L=Z0.buildFragment(D,this[0].ownerDocument,!1,this),C=L.firstChild,1===L.childNodes.length&&(L=C),C)){for(_=Z0.map(u0(L,"script"),H),$=_.length;I>J;J++)A=L,J!==G&&(A=Z0.clone(A,!0,!0),$&&Z0.merge(_,u0(A,"script"))),B.call(this[J],A,J);if($)for(K=_[_.length-1].ownerDocument,Z0.map(_,p1),J=0;$>J;J++)A=_[J],F.test(A.type||"")&&!Z0._data(A,"globalEval")&&Z0.contains(K,A)&&(A.src?Z0._evalUrl&&Z0._evalUrl(A.src):Z0.globalEval((A.text||A.textContent||A.innerHTML||"").replace(t1,"")));L=C=null}return this}}),Z0.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(_,$){Z0.fn[_]=function(D){for(var C,A=0,B=[],_=Z0(D),E=_.length-1;E>=A;A++)C=A===E?this:this.clone(!0),Z0(_[A])[$](C),N0.apply(B,C.get());return this.pushStack(B)}});var q1,$={};function N(B,C){var _,A=Z0(C.createElement(B)).appendTo(C.body),$=V0.getDefaultComputedStyle&&(_=V0.getDefaultComputedStyle(A[0]))?_.display:Z0.css(A[0],"display");return A.detach(),$}function Y(B){var _=x0,A=$[B];return A||(A=N(B,_),"none"!==A&&A||(q1=(q1||Z0("");if(D!="")DxURLPage.watResultToIFrame(C,E,A,D)};DxURLPage.sethtml=function(E,F,_){var D=top.E_clientModel.E_getWindow(E),C=WatCore.getWindowDoc(E,D),B=C.getElementById(F),A=$("#"+F+"iframe",B).get(0);if(A!=null){oIFrameDoc=A.contentWindow.document;if(top.isIE){oIFrameDoc.open();oIFrameDoc.write(_);oIFrameDoc.close()}else{oIFrameDoc.open();oIFrameDoc.write("");oIFrameDoc.close();oIFrameDoc.documentElement.innerHTML=_}}};DxURLPage.render=function(_,K,H){var E=H.getAttribute("cid"),A=H.selectNodes("*");for(var G=0;G1){jQuery.support.cors=true;$.ajax({type:"POST",url:B[0],data:{requestJson:B[1]},success:function($){window.open($)},error:function($){alert($.statusText)}})}else{B=I.split("^");var D="";if(B.length>1){I=B[0];D=B[1]}I=I+(I.indexOf("?")<0?"?":"&")+new Date().getTime();M.innerHTML="";var J=top.E_clientModel.E_getWindow(_),C=WatCore.getWindow(_,J);C.setTimeout("top.DxURLPage.setiframe('"+_+"','"+E+"','"+I+"','"+D+"')",1)}break;case top.DC.TEXT:DxURLPage.sethtml(_,E,L);break;case top.DC.VISIBLE:top.E_getObject(_,"E_SW_"+E,K).style.visibility=L;break;case top.DC.BORDERSTYLE:top.E_getObject(_,E,K).style.borderStyle=L;break;case top.DC.BORDERWIDTH:top.E_getObject(_,E,K).style.borderWidth=L;break;case top.DC.BORDERCOLOR:top.E_getObject(_,E,K).style.borderColor=L;break;case top.DC.X:top.E_getObject(_,"E_SW_"+E,K).style.left=L;break;case top.DC.Y:top.E_getObject(_,"E_SW_"+E,K).style.top=L;break;case top.DC.fontFamily:top.E_getObject(_,E,K).style.fontFamily=L;break;case top.DC.fontSize:top.E_getObject(_,E,K).style.fontSize=L;break;case top.DC.fontWeight:top.E_getObject(_,E,K).style.fontWeight=L;break;case top.DC.fontStyle:top.E_getObject(_,E,K).style.fontStyle=L;break;case top.DC.textDecoration:top.E_getObject(_,E,K).style.textDecoration=L;break;case top.DC.BACKGROUND:top.E_getObject(_,E,K).style.backgroundColor=L;break;case top.DC.FOREGROUND:top.E_getObject(_,E,K).style.color=L;break;case top.DC.UPDATE_DATA:DxURLPage.watResultToIFrame(_,E,K,L);break;case top.DC.PRINT:DxURLPage.watPrint(_,E,K);break;default:break}}};function DxSpinEdit(){}DxSpinEdit.MINVALUE="MINVALUE";DxSpinEdit.MAXVALUE="MAXVALUE";DxSpinEdit.ACTION="ACTION";DxSpinEdit.up=function(B,F){var D=top.E_clientModel.E_getWindow(B),A=WatCore.getWindowDoc(B,D),$=A.getElementById(F+"_t"),C=$.value,G=top.DxCache.getAttributeAsInt(B,F,DxSpinEdit.MAXVALUE);if(CA){var _=parseInt(D)-1;$.value=_;top.WatCore.setParameter(C,G,top.DC.VALUE,_);var F=top.DxCache.getAttributeAsInt(C,G,DxSpinEdit.ACTION);if(F==1)top.WatCore.call(C,G,"enter")}};DxSpinEdit._upMouseIn=function($){$.className="DxSpinEdit-up-image-mouseover"};DxSpinEdit._upMouseOut=function($){$.className="DxSpinEdit-up-image"};DxSpinEdit._downMouseIn=function($){$.className="DxSpinEdit-down-image-mouseover"};DxSpinEdit._downMouseOut=function($){$.className="DxSpinEdit-down-image"};DxSpinEdit.change=function(B,F){var D=top.E_clientModel.E_getWindow(B),A=WatCore.getWindowDoc(B,D),$=A.getElementById(F+"_t"),C=$.value,G=top.DxCache.getAttributeAsInt(B,F,DxSpinEdit.MAXVALUE),_=top.DxCache.getAttributeAsInt(B,F,DxSpinEdit.MINVALUE);if(C<=G&&C>=_){top.WatCore.setParameter(B,F,top.DC.VALUE,C);var E=top.DxCache.getAttributeAsInt(B,F,DxSpinEdit.ACTION);if(E==1)top.WatCore.call(B,F,"enter")}else{if(C>G)$.value=G;else if(C<_)$.value=_;else $.value=_;alert("\u8bbe\u7f6e\u503c\u4e0d\u80fd\u5927\u4e8e"+G+"\u5e76\u4e14\u4e0d\u80fd\u5c0f\u4e8e"+_)}};DxSpinEdit.init=function(_,B,$,C,A){top.DxCache.setAttribute(_,B,DxSpinEdit.MINVALUE,$);top.DxCache.setAttribute(_,B,DxSpinEdit.MAXVALUE,C);top.DxCache.setAttribute(_,B,DxSpinEdit.ACTION,A)};DxSpinEdit.clear=function(A,_,B){try{top.DxCache.removeAttribute(strWindowID,B.id,DxSpinEdit.MINVALUE);top.DxCache.removeAttribute(strWindowID,B.id,DxSpinEdit.MAXVALUE);top.DxCache.removeAttribute(strWindowID,B.id,DxSpinEdit.ACTION)}catch($){}};DxSpinEdit.setFocus=function(E,_,B,D){var A=B.getElementById(_+"_t");if(A.style.visibility!="hidden"&&!A.readOnly){try{A.focus();A.select()}catch($){}}else if(A.getAttribute("targetId")!=null)if(WatCore.isKeyCode(D,A.getAttribute("keyCode"))){stopEvent(D);var C=WatCore.getJsFunctionParams(D,A.getAttribute("targetId"),A.getAttribute("keyCode"),A.getAttribute("fname"));WatCore.jsFunctionCall(E,_,C[0],C[1],D)}};DxSpinEdit.jsFunctionCall=function(F,_,E,$,H,G){if(G.keyCode!=16&&G.keyCode!=17&&G.keyCode!=18&&G.keyCode!=9&&G.keyCode!=27){var C=top.E_clientModel.E_getWindow(F),B=WatCore.getWindowDoc(F,C),A=top.E_getObject(F,_,B);if(G.keyCode==38||G.keyCode==40){if(G.keyCode==38)DxSpinEdit.up(F,_);else if(G.keyCode==40)DxSpinEdit.down(F,_)}else if(WatCore.isKeyCode(G,$)){stopEvent(G);var D=WatCore.getJsFunctionParams(G,E,$,H);WatCore.jsFunctionCall(F,_,D[0],D[1],G);return true}}};DxSpinEdit.render=function(A,H,G){var B=G.getAttribute("cid"),_=G.selectNodes("*");for(var D=0;D<_.length;D++){var C=_[D].nodeName;C=C.substring(1,C.length);var I=top.isIE?_[D].text:_[D].textContent;switch(C){case top.DC.VALUE:var $=H.getElementById(B+"_t");$.value=I;break;case top.DC.ENABLED:var F=top.E_getObject(A,B,H),$=F.ownerDocument.getElementById(B+"_t"),E=F.ownerDocument.getElementById(B+"_up"),J=F.ownerDocument.getElementById(B+"_down");if(I=="true"){$.disabled=false;E.disabled=false;J.disabled=false}else{$.disabled=true;E.disabled=true;J.disabled=true}break;case top.DC.FOCUS:top.DxSpinEdit.setFocus(A,B,H);break;case top.DC.VISIBLE:top.E_getObject(A,B,H).style.visibility=I;break;case top.DC.DISPLAY:F=top.E_getObject(A,"E_SW_"+B,H);if(I=="true"){F.style.visibility="visible";F.style.display="block"}else{F.style.visibility="hidden";F.style.display="none"}break;case top.DC.X:top.E_getObject(A,"E_SW_"+B,H).style.left=I;break;case top.DC.Y:top.E_getObject(A,"E_SW_"+B,H).style.top=I;break;default:break}}};function DxResourceDownLoad(){}DxResourceDownLoad.DownLoadResource=function(F,G,D,_){var B=$("#__downloadresource");if(B.length==0){var A=top.E_getObject(F,G,D),E=A.getAttribute("wattarget"),C="";if(E!="")C="target='"+E+"'";$(document.body).append("
");B=$("#__downloadresource")}B[0].action=_;B.submit()};DxResourceDownLoad.render=function(D,C,A){var E=A.getAttribute("cid"),_=A.selectNodes("*");for(var G=0;G<_.length;G++){var F=_[G].nodeName;F=F.substring(1,F.length);var B=top.isIE?_[G].text:_[G].textContent;switch(F){case top.DC.FILEPATH:DxResourceDownLoad.DownLoadResource(D,E,C,B);break;case top.DC.TARGET:var $=top.E_getObject(D,E,C);$.wattarget=B;break;default:break}}};var ttime=0,tInfo=new Array(19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19415,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835),solarMonth=new Array(31,28,31,30,31,30,31,31,30,31,30,31),Gan=new Array("\u7532","\u4e59","\u4e19","\u4e01","\u620a","\u5df1","\u5e9a","\u8f9b","\u58ec","\u7678"),Zhi=new Array("\u5b50","\u4e11","\u5bc5","\u536f","\u8fb0","\u5df3","\u5348","\u672a","\u7533","\u9149","\u620c","\u4ea5"),Animals=new Array("\u9f20","\u725b","\u864e","\u5154","\u9f99","\u86c7","\u9a6c","\u7f8a","\u7334","\u9e21","\u72d7","\u732a"),solarTerm=new Array("\u5c0f\u5bd2","\u5927\u5bd2","\u7acb\u6625","\u96e8\u6c34","\u60ca\u86f0","\u6625\u5206","\u6e05\u660e","\u8c37\u96e8","\u7acb\u590f","\u5c0f\u6ee1","\u8292\u79cd","\u590f\u81f3","\u5c0f\u6691","\u5927\u6691","\u7acb\u79cb","\u5904\u6691","\u767d\u9732","\u79cb\u5206","\u5bd2\u9732","\u971c\u964d","\u7acb\u51ac","\u5c0f\u96ea","\u5927\u96ea","\u51ac\u81f3"),sTermInfo=new Array(0,21208,42467,63836,85337,107014,128867,150921,173149,195551,218072,240693,263343,285989,308563,331033,353350,375494,397447,419210,440795,462224,483532,504758),nStr1=new Array("\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341"),nStr2=new Array("\u521d","\u5341","\u5eff","\u5345","\u25a1"),monthName=new Array("\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"),sFtv=new Array(),lFtv=new Array(),wFtv=new Array(),offsetx=2,offsety=8,width="130";function DxCalendarNotepad(){}DxCalendarNotepad.htmlCall=function(_,G,C,B,E,F){var A=top.E_clientModel.E_getWindow(_),D=WatCore.getWindow(_,A),$=D.event;top.WatCore.setParameter(_,G,top.DC.TEXT,C+"$"+B+"$"+E);top.WatCore.call(_,G,"htmlCall#"+F,$)};DxCalendarNotepad.popmenu=function(_,H,C,B,E,G,F){var A=top.E_clientModel.E_getWindow(_),D=WatCore.getWindow(_,A),$=D.event;WatCore.setParameter(_,H,top.DC.TEXT,C+"$"+B+"$"+E);WatCore.setParameter(_,H,top.DC.KEY,G);top.DxMenu.onpop(_,H,F,$);return false};DxCalendarNotepad.init=function(Y,D,X){var G=top.E_getObject(Y,D,X);$(G).unbind("resize");$(G).bind(Y,"resize",function($){top.DxCalendarNotepad.resize(G,D)});var c=G.ownerDocument.createElement("tbody");c.id=D+"_content";G.appendChild(c);var A=c.insertRow(),C=A.insertCell();C.bgColor="#9DB5E6";C.colSpan="6";C.align="left";A.height="20px";A.style.height="20px";var i=G.ownerDocument.createElement("span");C.appendChild(i);i.style.align="center";var W=G.ownerDocument.createElement("font");i.appendChild(W);W.style.fontSize="9pt";W.color="#ffffff";W.size="2";W.innerText=" \u516c\u5143 ";var V=G.ownerDocument.createElement("select");V.style.fontSize="9pt";var E=function($,_){return function(){top.DxCalendarNotepad.changeCld($,_)}};if(window.attachEvent)V.attachEvent("onchange",E(Y,D));else V.addEventListener("change",E(Y,D),false);V.id=D+"_sy";for(var a=1900;a<2020;a++){var S=G.ownerDocument.createElement("OPTION");V.options.add(S);S.innerText=a;S.value=a}W.appendChild(V);var g=G.ownerDocument.createElement("span");g.innerText=" \u5e74 ";W.appendChild(g);var _=G.ownerDocument.createElement("select");_.style.fontSize="9pt";if(window.attachEvent)_.attachEvent("onchange",E(Y,D));else _.addEventListener("change",E(Y,D),false);_.id=D+"_sm";for(a=1;a<13;a++){S=G.ownerDocument.createElement("OPTION");_.options.add(S);S.innerText=a;S.value=a}W.appendChild(_);var R=G.ownerDocument.createElement("span");R.innerText=" \u6708 ";W.appendChild(R);var T=G.ownerDocument.createElement("font");i.appendChild(T);T.id=D+"_gz";T.face="\u5b8b\u4f53";T.color="#ffffff";T.size="2";var f=A.insertCell();f.bgColor="#9DB5E6";f.colSpan="1";f.align="right";var h=G.ownerDocument.createElement("button");h.style.width="77";h.style.height="20";h.innerText="\u56de\u5230\u4eca\u5929";f.appendChild(h);var F=c.insertRow();F.align="middle";F.bgColor="#ECF1FF";F.style.height="20";var P=F.insertCell();P.style.color="red";P.style.fontSize="12";P.innerText="\u661f\u671f\u65e5";var I=F.insertCell();I.style.color="#9B9FA8";I.style.fontSize="12";I.innerText="\u661f\u671f\u4e00";var L=F.insertCell();L.style.color="#9B9FA8";L.style.fontSize="12";L.innerText="\u661f\u671f\u4e8c";var K=F.insertCell();K.style.color="#9B9FA8";K.style.fontSize="12";K.innerText="\u661f\u671f\u4e09";var N=F.insertCell();N.style.color="#9B9FA8";N.style.fontSize="12";N.innerText="\u661f\u671f\u56db";var M=F.insertCell();M.style.color="#9B9FA8";M.style.fontSize="12";M.innerText="\u661f\u671f\u4e94";var Q=F.insertCell();Q.style.color="red";Q.style.fontSize="12";Q.innerText="\u661f\u671f\u516d";var b=function(_,B,A,$){return function(){top.DxCalendarNotepad.mOvr(_,B,A,$)}},d=function(_,A,$){return function(){top.DxCalendarNotepad.mOut(_,A,$)}},B=function(A,B,_,$){return function(){top.DxCalendarNotepad.dbl(A,B,_,$)}},O=function(A,B,_,$){return function(){top.DxCalendarNotepad.click(A,B,_,$)}},H=function(_,A,$){return function(){top.DxCalendarNotepad.todayclick(_,A,$)}};if(window.attachEvent)f.attachEvent("onclick",H(Y,D,G));else f.addEventListener("click",H(Y,D,G),false);var e;for(a=0;a<6;a++){var J=c.insertRow();J.align="center";J.height="16%";for(j=0;j<7;j++){e=a*7+j;var U=J.insertCell();U.id=D+"_gd"+e;if(window.attachEvent){U.attachEvent("onclick",O(Y,D,G,U));U.attachEvent("ondblclick",B(Y,D,G,U))}else{U.addEventListener("click",O(Y,D,G,U),false);U.addEventListener("dblclick",B(Y,D,G,U),false)}var Z=G.popupmenuid;if(Z!=null)U.innerHTML="
";else U.innerHTML="
";U.gNum=e}}};DxCalendarNotepad.mOvr=function(B,E,K,N){var I,O,F=N.ownerDocument.getElementById(E+"_sd"+K),_=F.innerHTML-1,L=top.E_clientModel.E_getWindow(B),C=WatCore.getWindowDoc(B,L),D=WatCore.getWindow(B,L),J=top.E_getObject(B,E,C),G=J.cld;if(N.nointype=="pre"){G=J.preld;var M=K-J.cld.firstWeek;_=M}else if(N.nointype=="next"){G=J.nextld;M=K-J.cld.firstWeek;_=M}if(F.innerHTML!=""){F.style.cursor="hand";var A=J.params[parseInt(_)+1];if(A==null||A==undefined||A=="");else if(J.snow==0){O=""+"
"+""+A+"
";var H=F.innerHTML-1;I="
"+"
"+G[H].sYear+" \u5e74 "+G[H].sMonth+" \u6708 "+G[H].sDay+" \u65e5"+"
"+O+"
";var $=top.E_getObject(B,E+"detail",C);$.innerHTML=I;J.dStyle.left=J.x+offsetx-(width/2);J.dStyle.top=J.y+offsety;J.dStyle.visibility="visible";J.snow=1}}};DxCalendarNotepad.mOut=function($,_,A){A.snow=0;A.dStyle.visibility="hidden"};DxCalendarNotepad.mEvn=function(_,$){_.x=$.clientX;_.y=$.clientY;if(_.snow){_.dStyle.left=_.x+offsetx-(width/2);_.dStyle.top=_.y+offsety}};DxCalendarNotepad.dbl=function(B,E,G,_){if(G.getAttribute("actionFlag")=="true"){var F,C,D=G.ownerDocument.getElementById(E+"_sy");F=D.selectedIndex+1900;G.tY=F;var $=G.ownerDocument.getElementById(E+"_sm");C=$.selectedIndex;G.tM=C;var A=G.ownerDocument.getElementById(E+"_sd"+_.gNum);WatCore.setParameter(B,E,top.DC.TEXT,F+"$"+C+"$"+A.innerText);WatCore.call(B,E,"dblclick")}};DxCalendarNotepad.click=function(A,C,E,$){if($.noin){var D=$.noyear,B=$.nomonth,_=E.ownerDocument.getElementById(C+"_sd"+$.gNum);WatCore.setParameter(A,C,top.DC.TEXT,D+"$"+B+"$"+_.innerText);WatCore.call(A,C,"change")}};DxCalendarNotepad.todayclick=function(_,C,E){var A=new Date(),D=(A.getYear()<1900)?(1900+A.getYear()):A.getYear(),B=A.getMonth(),$=A.getDate();WatCore.setParameter(_,C,top.DC.TEXT,D+"$"+B+"$"+$);WatCore.call(_,C,"change")};DxCalendarNotepad.contextmenu=function(C,G,$,E){var D=top.E_clientModel.E_getWindow(C),B=WatCore.getWindowDoc(C,D),_=top.E_getObject(C,G,B),H=$.noyear,F=$.nomonth;if(H==""||H==null){H=_.tY;F=_.tM;var A=_.ownerDocument.getElementById(G+"_sd"+$.gNum);WatCore.setParameter(C,G,top.DC.TEXT,H+"$"+F+"$"+A.innerText);top.DxMenu.onpop(C,G,_.popupmenuid,E);return false}};DxCalendarNotepad.changeCld=function(B,F){var C=top.E_clientModel.E_getWindow(B),A=WatCore.getWindowDoc(B,C),_=top.E_getObject(B,F,A),G,D,E=_.ownerDocument.getElementById(F+"_sy");G=E.selectedIndex+1900;_.tY=G;var $=_.ownerDocument.getElementById(F+"_sm");D=$.selectedIndex;_.tM=D;WatCore.setParameter(B,F,top.DC.TEXT,G+"$"+D+"$"+_.tD);WatCore.call(B,F,"change")};DxCalendarNotepad.putdata=function(C,F,D,_){var N=top.E_clientModel.E_getWindow(C),D=WatCore.getWindowDoc(C,N),K=top.E_getObject(C,F,D);K.dStyle=top.E_getObject(C,F+"detail",D).style;var Q=K.ownerDocument.getElementById(F+"_content");if(Q==null){Q=DxCalendarNotepad.init(C,F,D);K.dataDom=top.WatCore.createXmlDom("")}if(top.isIE)K.dataDom.loadXML(_);else K.dataDom=WatCore.createXmlDom(_);var L=K.dataDom.documentElement.selectSingleNode("date");if(L!=null){var M=top.isIE?L.text:L.textContent,G=top.DxDataGrid.timeToDate(M),P=K.ownerDocument.getElementById(F+"_sy"),R=parseInt(G.getFullYear());K.tY=R;P.selectedIndex=R-1900;var B=K.ownerDocument.getElementById(F+"_sm"),$=parseInt(G.getMonth());K.tM=$;B.selectedIndex=$;K.tD=G.getDate();var E=new Array(31),O=K.dataDom.documentElement.selectNodes("note");for(var I=0;I=120){E=F;D=parseInt(_)-1;if(D<0){D=11;E=parseInt(E)-1;if(E<1)E=1}}else if($<=-120){E=F;D=parseInt(_)+1;if(D>=12){D=0;E=parseInt(E)+1}}var A=H.ownerDocument.getElementById(G+"_sd"+1);WatCore.setParameter(C,G,top.DC.TEXT,E+"$"+D+"$2");WatCore.call(C,G,"change");return false};DxCalendarNotepad.drawCld=function(K,N,A,F,P,O){var T,C,W,S,D=new calendar(K,F,P),X=F,H=parseInt(P)-1;if(H<0){H=11;X=parseInt(X)-1;if(X<1)X=1}var L=new calendar(K,X,H),M=F,I=parseInt(P)+1;if(I>=12){I=0;M=parseInt(M)+1}var _=new calendar(K,M,I);K.cld=D;K.preld=L;K.nextld=_;if(F>1874&&F<1909)yDisplay="\u5149\u7eea"+(((F-1874)==1)?"\u5143":F-1874);if(F>1908&&F<1912)yDisplay="\u5ba3\u7edf"+(((F-1908)==1)?"\u5143":F-1908);if(F>1911)yDisplay="\u5efa\u56fd"+(((F-1949)==1)?"\u5143":F-1949);K.ownerDocument.getElementById(A+"_gz").innerHTML=yDisplay+"\u5e74 \u519c\u5386 "+cyclical(F-1900+36)+"\u5e74 \u3010"+Animals[(F-4)%12]+"\u5e74\u3011";var B=K.clientWidth;B=parseInt(B)/7;var G,Q,U,J,$,R;for(T=0;T<42;T++){G=K.ownerDocument.getElementById(A+"_gd"+T);Q=G.ownerDocument.getElementById(A+"_sd"+T);U=G.ownerDocument.getElementById(A+"_ld"+T);$=G.ownerDocument.getElementById(A+"_jd"+T);$.innerHTML="";$.style.backgroundColor="transparent";G.style.backgroundColor="#FFFFED";R=G.ownerDocument.getElementById(A+"_cd"+T);R.innerHTML="";G.noin=false;G.nomonth="";G.noyear="";G.nointype="";G.className="";R.innerHTML="";C=T-D.firstWeek;if(C>-1&&C"+V.fontcolor("green")+"";if(D[C].lDay==1)U.innerHTML=" "+(D[C].isLeap?"\u95f0":"")+D[C].lMonth+"\u6708"+(monthDays(D[C].lYear,D[C].lMonth)==29?"\u5c0f":"\u5927")+"";else U.innerHTML=" "+cDay(D[C].lDay);W=D[C].lunarFestival;if(W.length>0)W=W.fontcolor("red");else{W=D[C].solarFestival;if(W.length>0){S=(W.charCodeAt(0)>0&&W.charCodeAt(0)<128)?8:4;W=(W=="\u9ed1\u8272\u661f\u671f\u4e94")?W.fontcolor("black"):W.fontcolor("blue")}else{W=D[C].solarTerms;if(W.length>0)W=W.fontcolor("limegreen")}}if(D[C].solarTerms=="\u6e05\u660e")W="\u6e05\u660e\u8282".fontcolor("red");if(D[C].solarTerms=="\u8292\u79cd")W="\u8292\u79cd\u8282".fontcolor("red");if(D[C].solarTerms=="\u590f\u81f3")W="\u590f\u81f3\u8282".fontcolor("red");if(D[C].solarTerms=="\u51ac\u81f3")W="\u51ac\u81f3\u8282".fontcolor("red");if(W.length>0);}else{G=K.ownerDocument.getElementById(A+"_gd"+T);G.className="inefficeColor";G.style.backgroundColor="#F3F3F3";Q.innerHTML="";U.innerHTML="";if(C<0){var E=L.length+C;Q.innerText=(E+1);G.noin=true;G.nointype="pre";G.nomonth=H;G.noyear=X;Q.style.color=L[E].color;V=O[C+1];if(V!=null)R.innerHTML=V.fontcolor("green");if(L[E].lDay==1)U.innerHTML=" "+(L[E].isLeap?"\u95f0":"")+L[E].lMonth+"\u6708"+(monthDays(L[E].lYear,L[E].lMonth)==29?"\u5c0f":"\u5927")+"";else U.innerHTML=" "+cDay(L[E].lDay);W=L[E].lunarFestival;if(W.length>0)W=W.fontcolor("red");else{W=L[E].solarFestival;if(W.length>0){S=(W.charCodeAt(0)>0&&W.charCodeAt(0)<128)?8:4;W=(W=="\u9ed1\u8272\u661f\u671f\u4e94")?W.fontcolor("black"):W.fontcolor("blue")}else{W=L[E].solarTerms;if(W.length>0)W=W.fontcolor("limegreen")}}if(L[E].solarTerms=="\u6e05\u660e")W="\u6e05\u660e\u8282".fontcolor("red");if(L[E].solarTerms=="\u8292\u79cd")W="\u8292\u79cd\u8282".fontcolor("red");if(L[E].solarTerms=="\u590f\u81f3")W="\u590f\u81f3\u8282".fontcolor("red");if(L[E].solarTerms=="\u51ac\u81f3")W="\u51ac\u81f3\u8282".fontcolor("red");if(W.length>0);}else if(C>=D.length){G.noin=true;G.nointype="next";G.nomonth=I;G.noyear=M;E=C-D.length;Q.innerText=(E+1);if(_[E].isToday){$.innerText="\u4eca";$.style.backgroundColor="#FFFF00"}Q.style.color=_[E].color;V=O[C+1];if(V!=null)R.innerHTML=V.fontcolor("green");if(_[E].lDay==1)U.innerHTML=" "+(_[E].isLeap?"\u95f0":"")+_[E].lMonth+"\u6708"+(monthDays(_[E].lYear,_[E].lMonth)==29?"\u5c0f":"\u5927")+"";else U.innerHTML=" "+cDay(_[E].lDay);W=_[E].lunarFestival;if(W.length>0)W=W.fontcolor("red");else{W=_[E].solarFestival;if(W.length>0){S=(W.charCodeAt(0)>0&&W.charCodeAt(0)<128)?8:4;W=(W=="\u9ed1\u8272\u661f\u671f\u4e94")?W.fontcolor("black"):W.fontcolor("blue")}else{W=_[E].solarTerms;if(W.length>0)W=W.fontcolor("limegreen")}}if(_[E].solarTerms=="\u6e05\u660e")W="\u6e05\u660e\u8282".fontcolor("red");if(_[E].solarTerms=="\u8292\u79cd")W="\u8292\u79cd\u8282".fontcolor("red");if(_[E].solarTerms=="\u590f\u81f3")W="\u590f\u81f3\u8282".fontcolor("red");if(_[E].solarTerms=="\u51ac\u81f3")W="\u51ac\u81f3\u8282".fontcolor("red");if(W.length>0);}}}};function mOut(){if(cnt>=1)sw=0;if(sw==0){snow=0;dStyle.visibility="hidden"}else cnt++}function mEvn(){x=event.x;y=event.y;if(document.body.scrollLeft){x=event.x+document.body.scrollLeft;y=event.y+document.body.scrollTop}if(snow){dStyle.left=x+offsetx-(width/2);dStyle.top=y+offsety}}function easter(E){var C=sTerm(E,5),$=new Date(Date.UTC(E,2,C,0,0,0,0)),D=new Lunar($);if(D.day<15)var _=15-D.day;else _=(D.isLeap?leapDays(E):monthDays(E,D.month))-D.day+15;var A=new Date($.getTime()+86400000*_),B=new Date(A.getTime()+86400000*(7-A.getUTCDay()));this.m=B.getUTCMonth();this.d=B.getUTCDate()}function solarDays(_,$){if($==1)return(((_%4==0)&&(_%100!=0)||(_%400==0))?29:28);else return(solarMonth[$])}function cyclical($){return(Gan[$%10]+Zhi[$%12])}function sTerm(A,$){if(A==2009&&$==2)sTermInfo[$]=43467;var _=new Date((31556925974.7*(A-1900)+sTermInfo[$]*60000)+Date.UTC(1900,0,6,2,5));return(_.getUTCDate())}function lYearDays(_){var A,$=348;for(A=32768;A>8;A>>=1)$+=(tInfo[_-1900]&A)?1:0;return($+leapDays(_))}function leapDays($){if(leapMonth($))return((tInfo[$-1900]&65536)?30:29);else return(0)}function leapMonth($){return(tInfo[$-1900]&15)}function monthDays(_,$){return((tInfo[_-1900]&(65536>>$))?30:29)}function Lunar(_){var C,B=0,$=0,A=(Date.UTC(_.getFullYear(),_.getMonth(),_.getDate())-Date.UTC(1900,0,31))/86400000;for(C=1900;C<2050&&A>0;C++){$=lYearDays(C);A-=$}if(A<0){A+=$;C--}this.year=C;B=leapMonth(C);this.isLeap=false;for(C=1;C<13&&A>0;C++){if(B>0&&C==(B+1)&&this.isLeap==false){--C;this.isLeap=true;$=leapDays(this.year)}else $=monthDays(this.year,C);if(this.isLeap==true&&C==(B+1))this.isLeap=false;A-=$}if(A==0&&B>0&&C==B+1)if(this.isLeap)this.isLeap=false;else{this.isLeap=true;--C}if(A<0){A+=$;--C}this.month=C;this.day=A+1}function calElement(G,C,B,I,A,F,E,H,$,_,D){this.isToday=false;this.sYear=G;this.sMonth=C;this.sDay=B;this.week=I;this.lYear=A;this.lMonth=F;this.lDay=E;this.isLeap=H;this.cYear=$;this.cMonth=_;this.cDay=D;this.color="";this.lunarFestival="";this.solarFestival="";this.solarTerms=""}function calendar(I,Y,P){var G,Z,L,R,D=1,Q,K=0,V,U,W,_,C,H,$=new Array(3),N=0,E=0;G=new Date(Y,P,1,0,0,0,0);this.length=solarDays(Y,P);this.firstWeek=G.getDay();if(P<2)_=cyclical(Y-1900+36-1);else _=cyclical(Y-1900+36);var A=sTerm(Y,2),X=sTerm(Y,P*2);C=cyclical((Y-1900)*12+P+12);var S=Date.UTC(Y,P,1,0,0,0,0)/86400000+25567+10;for(var T=0;TK){G=new Date(Y,P,T+1);Z=new Lunar(G);L=Z.year;R=Z.month;D=Z.day;Q=Z.isLeap;K=Q?leapDays(L):monthDays(L,R);if(N==0)E=R;$[N++]=T-D+1}if(P==1&&(T+1)==A)_=cyclical(Y-1900+36);if((T+1)==X)C=cyclical((Y-1900)*12+P+13);H=cyclical(S+T);this[T]=new calElement(Y,P+1,T+1,nStr1[(T+this.firstWeek)%7],L,R,D++,Q,_,C,H)}V=sTerm(Y,P*2)-1;U=sTerm(Y,P*2+1)-1;this[V].solarTerms=solarTerm[P*2];this[U].solarTerms=solarTerm[P*2+1];if(Y==2009&&P==1)if(I.tD==3)this[V].solarTerms="";else if(I.tD==4)this[V].solarTerms="\u7acb\u6625";if(P==3)this[V].color="red";for(T in sFtv)if(sFtv[T].match(/^(\d{2})(\d{2})([\s\*])(.+)$/))if(Number(RegExp.$1)==(P+1)){this[Number(RegExp.$2)-1].solarFestival+=RegExp.$4+" ";if(RegExp.$3=="*")this[Number(RegExp.$2)-1].color="red"}for(T in wFtv)if(wFtv[T].match(/^(\d{2})(\d)(\d)([\s\*])(.+)$/))if(Number(RegExp.$1)==(P+1)){V=Number(RegExp.$2);U=Number(RegExp.$3);if(V<5)this[((this.firstWeek>U)?7:0)+7*(V-1)+U-this.firstWeek].solarFestival+=RegExp.$5+" ";else{V-=5;W=(this.firstWeek+this.length-1)%7;this[this.length-W-7*V+U-(U>W?7:0)-1].solarFestival+=RegExp.$5+" "}}for(T in lFtv)if(lFtv[T].match(/^(\d{2})(.{2})([\s\*])(.+)$/)){V=Number(RegExp.$1)-E;if(V==-11)V=1;if(V>=0&&V=0&&U0)P.heads[I].style.display="none";else P.heads[I].style.display="block"}P.selectHead=P.heads[0];for(I=0;I0)G.height(A+"px");else G.height(parseInt(B.attr("cheight"))+"%");var E=M.ownerDocument.getElementById(M.id+"tab_controlbuttons"),F=parseInt(L)-40;if(F<0)F=0;$(E).css("top",F+"px");WatWebContainerTab.changeLeftFormShow(M)}else if(_=="bottom"){if(parseInt(I)<=0)G.width(parseInt(B.attr("cwidth"))+"%");else G.width(parseInt(I)+"px");A=parseInt(L);if(top.isIE){if((A)>=32){G.height((parseInt(A)-32)+"px");$(M.tabHeadArea).css("top",parseInt(A)-34)}else G.height(parseInt(B.attr("cheight"))+"%")}else if((A)>=35)G.height((parseInt(A)-35)+"px");else G.height(parseInt(B.attr("cheight"))+"%");E=M.ownerDocument.getElementById(M.id+"tab_controlbuttons"),F=parseInt(I)-80;if(F<0)F=0;$(E).css("left",F+"px");var C=M.ownerDocument.getElementById(M.id+"closeAllPage"),F=(parseInt(I)-36)+"px";if(F<0)F=0;$(C).css("left",F);WatWebContainerTab.processResizeTopBottomTabShow(M)}else if(_=="right"){if(top.isIE){if(parseInt(I)<=32)G.width(B.attr("cwidth")+"%");else G.width((parseInt(I)-32)+"px")}else if(parseInt(I)<=34)G.width(B.attr("cwidth")+"%");else G.width((parseInt(I)-34)+"px");A=parseInt(L);if((A)>0)G.height(A+"px");else G.height(parseInt(B.attr("cheight"))+"%");E=M.ownerDocument.getElementById(M.id+"tab_controlbuttons"),F=parseInt(L)-40;if(F<0)F=0;$(E).css("top",F+"px");WatWebContainerTab.changeLeftFormShow(M)}else if(_=="top"){if(parseInt(I)<=0)G.width(parseInt(B.attr("cwidth"))+"%");else if(top.isIE)G.width(parseInt(I)+"px");else G.width((parseInt(I)-2)+"px");A=parseInt(L);if(D=="true"){if(top.isIE){if((A)>=32)G.height((parseInt(A)-32)+"px");else G.height(parseInt(B.attr("cheight"))+"%")}else if((A)>=35)G.height((parseInt(A)-35)+"px");else G.height(parseInt(B.attr("cheight"))+"%")}else if(top.isIE){if((A)>=32)G.height((parseInt(A))+"px");else G.height(parseInt(B.attr("cheight"))+"%")}else if((A)>=35)G.height((parseInt(A))+"px");else G.height(parseInt(B.attr("cheight"))+"%");E=M.ownerDocument.getElementById(M.id+"tab_controlbuttons"),F=(parseInt(I)-80)+"px";if(F<0)F=0;$(E).css("left",F);C=M.ownerDocument.getElementById(M.id+"closeAllPage"),F=(parseInt(I)-24)+"px";if(F<0)F=0;$(C).css("left",F);var J=M.ownerDocument.getElementById(M.id+"maxPage"),F=(parseInt(I)-30)+"px";if(F<0)F=0;$(J).css("left",F);WatWebContainerTab.processResizeTopBottomTabShow(M)}};WatWebContainerTab.changeLeftFormShow=function(C){var $=0;if(C.shows==null||C.shows==undefined)return;for(var D=0;DparseInt(C.tabWrap.clientHeight)-40){C.tabControlButton.style.visibility="visible";var _=C.tabControlButton.ownerDocument.getElementById("mright");_.disabled=false;var A=0;while(_.disabled==false&&A<40){WatWebContainerTab.moveTabToRight(_);A++}}else{var B=C.tabControlButton.ownerDocument.getElementById("mleft");B.disabled=false;A=0;while(B.disabled==false&&A<40){WatWebContainerTab.moveTabToLeft(B);A++}C.tabControlButton.style.visibility="hidden"}};WatWebContainerTab.changeTopFormShow=function(C){var B=0;if(C.shows==null||C.shows==undefined)return;for(var D=0;DparseInt(C.tabWrap.clientWidth)-90){C.tabControlButton.style.visibility="visible";var $=C.tabControlButton.ownerDocument.getElementById("mright");$.disabled=false;var _=0;while($.disabled==false&&_<40){WatWebContainerTab.moveTabToRight($);_++}}else{var A=C.tabControlButton.ownerDocument.getElementById("mleft");A.disabled=false;_=0;while(A.disabled==false&&_<100){WatWebContainerTab.moveTabToLeft(A);_++}C.tabControlButton.style.visibility="hidden"}};WatWebContainerTab.selectPageServer=function(_,$){var A=_.heads[$];WatWebContainerTab._select(_,A)};WatWebContainerTab.selectPage=function(C,B){var _=B.parentElement.parentElement.parentElement,$=B;if($.disabled==true)return;var A=B.class_name;WatWebContainerTab._select(_,$);if(A!=null)WatCore.setParameter(C,_.id,top.DC.SELECTED,A);if(_.sons[$.getAttribute("index")].show!="true"){if(A!=null)WatCore.call(C,_.id,"delayshow#"+A)}else if(_.selectAction=="true")if(A!=null)WatCore.sendTimerAsynCall(C,_.id,"select#"+A)};WatWebContainerTab.dblclickPage=function(C,B){var _=B.parentElement.parentElement.parentElement,$=B;if($.disabled==true)return;if($.id!=_.selectHead.id)return false;if(_.containerPageAction=="true"){var A=B.class_name;WatCore.call(C,_.id,"containerPage#"+A)}};WatWebContainerTab._initselect=function(C,A){var _=C.tabWrap.getAttribute("placement");if(_=="top")_="";else _="-"+_;for(var D=0;D0){A=B.shows[F-1];if(A!=null)if(A.getAttribute("index")!=E)$("#splitimage",A).css("visibility","visible");else $("#splitimage",A).css("visibility","hidden")}if(F0){A=B.shows[F-1];if(A!=null)$("#splitimage",A).css("visibility","hidden")}A=B.shows[F];if(A!=null)$("#splitimage",A).css("visibility","hidden")}break}}}};WatWebContainerTab.closemouseOut=function(_){$(_).attr("src",watLocation2+"/resources/core/subwindow_close.png")};WatWebContainerTab._mouseIn=function(C,_){if(C.parentElement.parentElement.parentElement.selectHead.getAttribute("index")!=C.getAttribute("index")){var B=C.parentElement.parentElement.parentElement;$("#left",C).attr("class","WatWebContainerTab-head-left-mouseover"+_);$("#mid",C).attr("class","WatWebContainerTab-head-mid-mouseover"+_);$("#right",C).attr("class","WatWebContainerTab-head-right-mouseover"+_);$("#splitimage",C).css("visibility","hidden");var A;for(var E=0;E0){A=B.shows[E-1];if(A!=null)$("#splitimage",A).css("visibility","hidden")}break}}}};WatWebContainerTab.closemouseIn=function(_){$(_).attr("src",watLocation2+"/resources/core/R_tabclose.png")};WatWebContainerTab._select=function(J,D,A){if(D==null)return false;var I=parseInt(J.selectHead.getAttribute("index")),G=parseInt(D.getAttribute("index"));if(D.id==J.selectHead.id){var E=J.sons[D.getAttribute("index")];if(top.isIE){E.style.visibility="visible";if(E.style.display=="none")E.style.display="inline-table";$(E).css({"left":"0px","top":"0px"})}else{$(E).css({"left":"0px","top":"0px"});E.style.visibility="visible";if(E.style.display=="none")$(E).fadeIn("fast")}return false}D.udate=new Date();var F=J.selectHead,_=J.tabWrap.getAttribute("placement");if(_=="top")_="";else _="-"+_;$("#left",F).attr("class","WatWebContainerTab-head-left"+_);$("#mid",F).attr("class","WatWebContainerTab-head-mid"+_);$("#right",F).attr("class","WatWebContainerTab-head-right"+_);$("#mid_text",F).attr("class","WatWebContainerTab-head-mid-text"+_);var B=J.sons[F.getAttribute("index")];if(top.isIE){B.style.visibility="hidden";$(B).css({"left":"-1111111px","top":"-1111111px"})}else if(A=="close")B.style.display="none";else{B.style.visibility="hidden";$(B).css({"left":"-1111111px","top":"0px"})}J.selectHead=D;$("#left",D).attr("class","WatWebContainerTab-head-left-selected"+_);$("#mid",D).attr("class","WatWebContainerTab-head-mid-selected"+_);$("#right",D).attr("class","WatWebContainerTab-head-right-selected"+_);$("#mid_text",D).attr("class","WatWebContainerTab-head-mid-text-selected"+_);B=J.sons[D.getAttribute("index")];if(top.isIE){B.style.visibility="visible";if(B.style.display=="none")B.style.display="inline-table";$(B).css({"left":"0px","top":"0px"})}else if(A=="add"){$(B).css({"left":"0px","top":"0px"});B.style.visibility="visible";if(B.style.display=="none")$(B).fadeIn("fast")}else{$(B).css({"left":"0px","top":"0px"});B.style.visibility="visible";if(B.style.display=="none")B.style.display="inline-table"}var C=J.heads[I];if(C!=null)if(J.shows[J.shows.length-1]!=null&&I!=J.shows[J.shows.length-1].getAttribute("index"))$("#splitimage",C).css("visibility","visible");else $("#splitimage",C).css("visibility","hidden");if(I>0){C;for(var H=0;H0){C=J.shows[H-1];if(C!=null)$("#splitimage",C).css("visibility","visible")}break}}}for(H=0;H0){C=J.shows[H-1];if(C!=null)$("#splitimage",C).css("visibility","hidden")}break}}};WatWebContainerTab.changeEnabled=function(C,E,$,_){var D=top.E_clientModel.E_getWindow(C),B=WatCore.getWindowDoc(C,D),A=B.getElementById(E);if(_=="true")A.heads[$].disabled=false;else A.heads[$].disabled=true};WatWebContainerTab.moveTabToRight=function(G){var I=G.parentElement.parentElement.parentElement.parentElement,_=I.ownerDocument.getElementById(I.id+"tab").getAttribute("placement");if(I.shows==null||I.shows==undefined)return;if(_=="left"||_=="right"){G.parentNode.children[0].disabled=false;var J=0,C;for(C=0;CparseInt(I.tabWrap.clientHeight)-50)G.disabled=false;else G.disabled=true}else{var H=WatWebContainerTab.getTopPageShowBeginAndEndIndex(I),D=H.begin,K=H.end,A=G.parentNode,F=$("#mleft",A);F.removeAttr("disabled");K++;if(K>=I.shows.length)$(G).attr("disabled","true");else{$(I.shows[K]).css("display","block");$(I.shows[D]).css("display","none");if(K==I.shows.length)$(G).attr("disabled","true")}}};WatWebContainerTab.getTopPageShowBeginAndEndIndex=function($){var B,A;for(i=0;i<$.shows.length;i++)if($.shows[i].style.display=="block"&&B==null)B=i;else if(B!=null)if($.shows[i].style.display=="none"){A=i-1;break}else if(i==$.shows.length-1)A=i;var _=new Object();_.begin=B;_.end=A;return _};WatWebContainerTab.moveTabToLeft=function(G){var I=G.parentElement.parentElement.parentElement.parentElement,_=I.ownerDocument.getElementById(I.id+"tab").getAttribute("placement");if(I.shows==null||I.shows==undefined)return;if(_=="left"||_=="right"){G.parentNode.children[1].disabled=false;var J=0,E;for(E=I.shows.length-1;E>=0;E--)if(I.shows[E].style.display=="none"){I.shows[E].style.display="block";I.shows[E].style.top=0;J=I.shows[E].style.height;break}for(var D=E+1;D=0;H--){G=top.E_dataChange.E_keys.E_list.E_contents[H];var B=top.E_dataChange.E_get(G);if(A==B)top.E_dataChange.E_remove(G)}D=top.E_htmldisplayChange.E_keys.E_list.E_contents.length;for(H=D-1;H>=0;H--){G=top.E_htmldisplayChange.E_keys.E_list.E_contents[H];B=top.E_htmldisplayChange.E_get(G);if(A==B)top.E_htmldisplayChange.E_remove(G)}D=top.E_emrshowChange.E_keys.E_list.E_contents.length;for(H=D-1;H>=0;H--){G=top.E_emrshowChange.E_keys.E_list.E_contents[H];B=top.E_emrshowChange.E_get(G);if(A==B)top.E_emrshowChange.E_remove(G)}Desktop.clear(A,_,C,"false");if(_.removeNode)_.removeNode(true);else $(_).remove();_.innerHTML="";_=null}top.E_removeObject(A)};WatWebContainerTab.delayShowForm=function(B,E,M,K,N){var C=N.split("@"),O=C[0],F=C[1],P;if(C.length>=2)P=C[2];var I=K.selectSingleNode("server/templates/template[@tid='"+F+"']"),L=top.isIE?I.selectNodes("content")[0].text:I.selectNodes("content")[0].textContent;L=Desktop.getWebFormContent(B,F,L);var _=-1,J=top.E_getObject(B,E,M);if(J.shows==null||J.shows==undefined)return;for(var H=0;H=0){J.sons[_].show="true";$(J.sons[_]).html(L);if(F)E_watwebformCacheList.push(F);var G=I.selectNodes("initial");if(G[0]!=null){var A=top.isIE?G[0].text:G[0].textContent;A=Desktop.getWebFormScript(B,F,A);top.WatCore.execInitScript(B,A)}}};WatWebContainerTab.processResizeTopBottomTabShow=function(M){var J=WatWebContainerTab.getTopPageShowBeginAndEndIndex(M),F=J.begin,S=J.end,L=0,R=M.wstate;for(var G=0;GA){if(minPageWidth*I>A){for(G=0;GP){var E=C-P;for(var _=0;_=B){for(_=0;_C){if(minPageWidth*A>C){for(I=0;IC)$(E).css("display","none");else $(E).css("display","block")}F.tabControlButton.style.visibility="visible";var _=$("#mright",F.tabControlButton).get(0);_.disabled=true;var B=$("#mleft",F.tabControlButton).get(0);B.disabled=false}else{var G=parseInt(C/A);for(I=0;I=5)M=a[4];var q;if(a.length>=6)q=a[5];var R=top.E_getObject(Z,J,o),X=-1,W,S,C;if(R.shows==null||R.shows==undefined){WatCore.sendTimerAsynCall(Z,J,"close#"+V);return}for(var i=0;i=parseInt(R.tabSize)){WatCore.sendTimerAsynCall(Z,J,"close#"+V);top.DxLabel.showLabel_("\u8bf7\u5173\u6389\u4e00\u4e9b\u4e0d\u5fc5\u8981\u7684\u9875\u9762\u518d\u5c1d\u8bd5\u6253\u5f00");return}else for(i=0;i0&&S==null){var L=R.shows[R.shows.length-1];if($(L).next().id!=b.id){$(b).remove();$(L).after(b)}}b.cid=g;b.class_name=V;b.style.display="block";b.title=O;b.udate=new Date();var e=b.getAttribute("canclose"),I=top.Desktop.textCounter(O),A=parseInt(b.style.width),H=R.ownerDocument.getElementById(R.id+"tab"),_=H.getAttribute("placement"),O=a[2],F=parseInt(9.5*I)+5;if(_=="left"||_=="right"){if(F>120){F=120;O=top.Desktop.getSltext(O,14)}}else if(F>160){F=160;O=top.Desktop.getSltext(O,22)}if(_=="left"||_=="right"){if("true"==e){$(b).height((parseInt(F)+16+12)+"px");$("#right",b).css("top",(F+8+12)+"px");$("#mid",b).height((F+12)+"px")}else{$(b).height((parseInt(F)+16)+"px");$("#right",b).css("top",(F+8)+"px");$("#mid",b).height(F+"px")}$("#mid_text",b).text(O)}else{if("true"==e){if(top.isIE){$("#closeimage",b).css("position","absolute");$("#splitimage",b).css("position","relative");$("#splitimage",b).css("top","4px")}else $("#splitimage",b).css("right","-3px");var c=parseInt(F)+16+12;$(b).width(c+"px");$(b).attr("currwidth",c);$("#mid",b).width((F+12)+"px");$("#mid_text",b).width(F)}else{if(top.isIE){$("#splitimage",b).css("position","relative");$("#splitimage",b).css("top","4px")}else $("#splitimage",b).css("right","-3px");c=parseInt(F)+16;$(b).width(c+"px");$(b).attr("currwidth",c);$("#mid",b).width(F+"px");$("#mid_text",b).width(F)}$("#mid_text",b).text(O)}if(W){var d=0;if(_=="left"||_=="right"){d=WatWebContainerTab.getPreTop(R.shows,0,R.shows.length-1);b.style.top=d+"px"}R.shows.push(R.heads[X])}else if(S>=0&&C==null){R.shows.splice(S,1);R.shows.push(b);for(i=0;iparseInt(R.tabWrap.clientHeight)-20){if(C==null){R.tabControlButton.style.visibility="visible";var m=R.tabControlButton.ownerDocument.getElementById("mright");m.disabled=false;var n=0;while(m.disabled==false&&n<100){WatWebContainerTab.moveTabToRight(m);n++}}else{var p=R.shows[X];if(parseInt(p.style.top)<0){var K=0;for(i=X;iN){N=Q;B=M.shows[I].getAttribute("index")}}if(O>=0){for(I=O+1;I=0){for(I=O+1;IparseInt(M.tabWrap.clientHeight)-20)K.disabled=false;else K.disabled=true}if(L.disabled==true){J=0;for(I=0;IparseInt(M.tabWrap.clientHeight)-20)M.tabControlButton.style.visibility="visible";else M.tabControlButton.style.visibility="hidden"}if(E=="true"){WatCore.sendTimerAsynCall(C,G,"close#"+R);return R}else return R};WatWebContainerTab.topcloseForm=function(O,D,N,L,A,E,C){if(L.shows==null||L.shows==undefined)return;var K=WatWebContainerTab.getTopPageShowBeginAndEndIndex(L),G=K.begin,P=K.end,M=-1,H=-1,J=false,I=false,_=false;for(var F=0;FP||M0)H=M-1;else _=true}if(_){L.heads[0].style.display="block";$("#mid_text",L.heads[0]).text("\u8d77\u59cb\u9875");WatWebContainerTab.selectPageServer(L,0)}else if(H>=0){$(L.shows[H]).css("display","block");WatWebContainerTab._select(L,L.shows[H],"close");var B=L.shows[H].class_name;if(B!=null)WatCore.setParameter(A,E,top.DC.SELECTED,B)}L.shows.splice(M,1);$(N).css("display","none");N.cid="";N.class_name="";N.title="";N.udate=null;WatWebContainerTab.processResizeTopBottomTabShow(L);if(C=="true"){WatCore.sendTimerAsynCall(A,E,"close#"+O);return O}else return O};WatWebContainerTab.closeForm=function(B,G,H,F,E){var D;if(E!=null){var C=top.E_clientModel.E_getWindow(B),A=WatCore.getWindowDoc(B,C),_=top.E_getObject(B,G,A);D=$("#"+E,_).get(0)}else D=H.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement;WatWebContainerTab.closeForm_(B,G,D,F,"true")};WatWebContainerTab.closeForm_=function(B,E,G,I,$){var J=G.class_name,D=G.cid;if(I!=null)stopEvent(I);if((J==""||J==null||D==""||D==null)&&G.ownerDocument.getElementById("mid_text").innerText=="\u8d77\u59cb\u9875"){alert("\u8d77\u59cb\u9875\u4e0d\u5141\u8bb8\u5173\u95ed");return}var H=top.E_clientModel.E_getWindow(B),C=WatCore.getWindowDoc(B,H),F=top.E_getObject(B,E,C);try{top.DxPopGridText.hideOnClick();DxDataGridPopGridTextCell.hideOnClick()}catch(A){}WatWebContainerTab.remove(B,C,F,D);var _=F.ownerDocument.getElementById(E+"tab").getAttribute("placement");if(_=="left"||_=="right")return WatWebContainerTab.leftcloseForm(J,D,G,F,B,E,$);else return WatWebContainerTab.topcloseForm(J,D,G,F,B,E,$)};WatWebContainerTab.selectForm=function(A,F,C,E){var B=top.E_getObject(A,F,C),_=-1;if(B.shows==null||B.shows==undefined)return;for(var G=0;G=0){D=K.substring(0,G);$=K.substring(G+1,K.length)}}var I=top.isIE?A[E].text:A[E].textContent;switch(D){case top.DC.WEBTAB_Add_FORM:case top.DC.WEBTAB_Add_FRAMESET:WatWebContainerTab.addForm(_,C,J,F,I);break;case top.DC.WEBTAB_SELECT_FORM:WatWebContainerTab.selectForm(_,C,J,I);break;case top.DC.WEBTAB_DELAY_SHOW_FORM:WatWebContainerTab.delayShowForm(_,C,J,F,I);break;case top.DC.ENABLED:WatWebContainerTab.enabledForm(_,C,J,$,I);break;case top.DC.CLOSEWINDOW:WatWebContainerTab.closeFormByServer(_,C,J,I);break;case top.DC.CLOSEALLWINDOW:WatWebContainerTab.closeAllFormByServer(_,C,J,true);break;case top.DC.CLOSEALLWINDOWNOENABLED:WatWebContainerTab.closeAllFormByServer(_,C,J,false);break;case top.DC.HEADERTEXT:WatWebContainerTab.setHeadTitle(_,C,J,$,I);break;case top.DC.SHOWNEW:WatWebContainerTab.setHeadShowNew(_,C,J,$,I);break;default:break}}};function DxGridjjReport(){}var GridReportCodeBase="codebase=\"./griectl.cab#Version=5,6,12,905\"";DxGridjjReport.init=function(D,E,F,$,G,_){var C=top.E_clientModel.E_getWindow(D),B=WatCore.getWindowDoc(D,C),A=top.E_getObject(D,E,B);A.username=$;A.serialno=G;A.fileserver=_};DxGridjjReport.clear=function(_,$,A){};DxGridjjReport.reportViewcreate_=function(H,I,C,_){var G=top.E_clientModel.E_getWindow(H),F=WatCore.getWindowDoc(H,G),D=top.E_getObject(H,I,F),B=parseInt(_);if(B>50)return;var E=$("#"+I+"_report",D).get(0);try{E.Stop();E.DataURL=C;E.Start()}catch(A){window.setTimeout("top.DxGridjjReport.reportViewcreate_('"+H+"','"+I+"','"+C+"','"+(B+1)+"')",500)}};DxGridjjReport.reportViewcreate=function(E,G,P){var Q=top.E_clientModel.E_getWindow(E),C=WatCore.getWindowDoc(E,Q),N=top.E_getObject(E,G,C),L=P.split("@"),D=L[0].split("#"),A,K=-1;if(L.length>=2){A=L[1];if(L.length==3)K=L[2]}var J=D[1],M=watLocation2+"/gridjjreport?reportkey="+D[0],I;if(D.length==5)I=D[4].split("|");else I=D[2].split("|");var F=new Array(I.length-1);for(var H=1;H=2){$=E[1];if(E.length==3)T=E[2]}var B=N[1],G=watLocation2+"/gridjjreport?reportkey="+N[0],C,M;if(N.length==5){C=N[4].split("|");if(V==null||V=="")M=watLocation2+"/"+N[2];else M=V+N[2]}else{C=N[2].split("|");if(V==null||V=="")M=watLocation2+"/"+C[0];else M=V+C[0]}var R=new Array(C.length-1);for(var S=1;S";H.innerHTML=html;X=O.getElementById(Q+"_report");X.LoadFromURL(M);X.LoadDataFromURL(G);if(R["paperName"]!=null)X.MyInterface.Printer.PaperName=R["paperName"];if(R["leftMargin"]!=null)X.MyInterface.Printer.LeftMargin=parseFloat(R["leftMargin"]);if(R["topMargin"]!=null)X.MyInterface.Printer.TopMargin=parseFloat(R["topMargin"]);if(R["rightMargin"]!=null)X.MyInterface.Printer.RightMargin=parseFloat(R["rightMargin"]);if(R["bottomMargin"]!=null)X.MyInterface.Printer.BottomMargin=parseFloat(R["bottomMargin"]);if(R["isPortrait"]=="true")X.MyInterface.Printer.PaperOrientation="2";else X.MyInterface.Printer.PaperOrientation="1";if(R["pageSize"]!=null)X.MyInterface.Printer.PaperSize=parseFloat(R["pageSize"]);if(R["pageWidth"]!=null)X.MyInterface.Printer.PaperWidth=parseFloat(R["pageWidth"]);if(R["pageLength"]!=null)X.MyInterface.Printer.PaperLength=parseFloat(R["pageLength"]);if(R["printerName"]!=null)X.MyInterface.Printer.PrinterName=R["printerName"];try{if($!=null&&$!="\u65e0"){var P=$.split("|");for(S=0;S\n";html+="\n";html+="\n";html+="\n";html+="\n";html+="\n";html+="";H.innerHTML=html;window.setTimeout("top.DxGridjjReport.reportViewcreate('"+A+"','"+Q+"','"+J+"')",300)}else if(B==3){html="\n";html+="\n";html+="\n";html+="\n";html+="\n";html+="";H.innerHTML=html;X=O.getElementById(Q+"_report");if(R["paperName"]!=null)X.Report.Printer.PaperName=R["paperName"];if(R["leftMargin"]!=null)X.Report.Printer.LeftMargin=parseFloat(R["leftMargin"]);if(R["topMargin"]!=null)X.Report.Printer.TopMargin=parseFloat(R["topMargin"]);if(R["rightMargin"]!=null)X.Report.Printer.RightMargin=parseFloat(R["rightMargin"]);if(R["bottomMargin"]!=null)X.Report.Printer.BottomMargin=parseFloat(R["bottomMargin"]);if(R["isPortrait"]=="true")X.Report.Printer.PaperOrientation="2";else X.Report.Printer.PaperOrientation="1";if(R["pageSize"]!=null)X.Report.Printer.PaperSize=parseFloat(R["pageSize"]);if(R["pageWidth"]!=null)X.Report.Printer.PaperWidth=parseFloat(R["pageWidth"]);if(R["pageLength"]!=null)X.Report.Printer.PaperLength=parseFloat(R["pageLength"]);X.Stop();X.DataURL=G;X.Start()}else if(B==4){var _=watLocation2+"/gridreport/11.grf";html="\n";html+="\n";html+="\n";html+="\n";html+="\n";html+="";H.innerHTML=html;X=O.getElementById(Q+"_report");var I;if(V==null||V=="")I=watLocation2+"/gridjjdesignwrite?report="+F[3];else I=V+"gridjjdesignwrite?report="+F[3];X.SaveReportURL=I}}else if(B==1){X.LoadDataFromURL(G);if(R["paperName"]!=null)X.Report.Printer.PaperName=R["paperName"];if(R["leftMargin"]!=null)X.Report.Printer.LeftMargin=parseFloat(R["leftMargin"]);if(R["topMargin"]!=null)X.Report.Printer.TopMargin=parseFloat(R["topMargin"]);if(R["rightMargin"]!=null)X.Report.Printer.RightMargin=parseFloat(R["rightMargin"]);if(R["bottomMargin"]!=null)X.Report.Printer.BottomMargin=parseFloat(R["bottomMargin"]);if(R["isPortrait"]=="true")X.Report.Printer.PaperOrientation="2";else X.Report.Printer.PaperOrientation="1";if(R["pageSize"]!=null)X.Report.Printer.PaperSize=parseFloat(R["pageSize"]);if(R["pageWidth"]!=null)X.Report.Printer.PaperWidth=parseFloat(R["pageWidth"]);if(R["pageLength"]!=null)X.Report.Printer.PaperLength=parseFloat(R["pageLength"]);U=N[3],W=N[4];if(U=="print"){if(W=="true")X.Print(true);else X.Print(false)}else if(U=="printview")if(W=="true")X.PrintPreview(true);else X.PrintPreview(false)}else if(B==2){X.Stop();if(R["paperName"]!=null)X.Report.Printer.PaperName=R["paperName"];if(R["leftMargin"]!=null)X.Report.Printer.LeftMargin=parseFloat(R["leftMargin"]);if(R["topMargin"]!=null)X.Report.Printer.TopMargin=parseFloat(R["topMargin"]);if(R["rightMargin"]!=null)X.Report.Printer.RightMargin=parseFloat(R["rightMargin"]);if(R["bottomMargin"]!=null)X.Report.Printer.BottomMargin=parseFloat(R["bottomMargin"]);if(R["isPortrait"]=="true")X.Report.Printer.PaperOrientation="2";else X.Report.Printer.PaperOrientation="1";if(R["pageSize"]!=null)X.Report.Printer.PaperSize=parseFloat(R["pageSize"]);if(R["pageWidth"]!=null)X.Report.Printer.PaperWidth=parseFloat(R["pageWidth"]);if(R["pageLength"]!=null)X.Report.Printer.PaperLength=parseFloat(R["pageLength"]);X.DataURL=G;X.LoadReportURL=M;X.QuickRefresh();X.Start()}else if(B==3){if(R["paperName"]!=null)X.Report.Printer.PaperName=R["paperName"];if(R["leftMargin"]!=null)X.Report.Printer.LeftMargin=parseFloat(R["leftMargin"]);if(R["topMargin"]!=null)X.Report.Printer.TopMargin=parseFloat(R["topMargin"]);if(R["rightMargin"]!=null)X.Report.Printer.RightMargin=parseFloat(R["rightMargin"]);if(R["bottomMargin"]!=null)X.Report.Printer.BottomMargin=parseFloat(R["bottomMargin"]);if(R["isPortrait"]=="true")X.Report.Printer.PaperOrientation="2";else X.Report.Printer.PaperOrientation="1";if(R["pageSize"]!=null)X.Report.Printer.PaperSize=parseFloat(R["pageSize"]);if(R["pageWidth"]!=null)X.Report.Printer.PaperWidth=parseFloat(R["pageWidth"]);if(R["pageLength"]!=null)X.Report.Printer.PaperLength=parseFloat(R["pageLength"]);X.Stop();X.DataURL=G;X.Start()}else if(B==4){I=N[3];X.SaveReportURL=I}H.reporttype=B};DxGridjjReport.render=function($,C,A){var F=A.getAttribute("cid"),_=A.selectNodes("*");for(var H=0;H<_.length;H++){var G=_[H].nodeName;G=G.substring(1,G.length);var B=top.isIE?_[H].text:_[H].textContent;switch(G){case top.DC.WIDTH:top.E_getObject($,F,C).style.width=B;var D=top.E_getObject($,"img_"+F,C);if(D!=null)D.style.width=B;break;case top.DC.UPDATE_DATA:DxGridjjReport.createReport($,F,B,C);break;case top.DC.HEIGHT:top.E_getObject($,F,C).style.height=B;D=top.E_getObject($,"img_"+F,C);if(D!=null)D.style.height=B;break;case top.DC.FILE_SERVER:var E=top.E_getObject($,F,C);if(E!=null)E.fileserver=B;break;default:break}}};function DxIDCard4DC(){}DxIDCard4DC.init=function(E,_){try{var C=top.E_clientModel.E_getWindow(E),B=WatCore.getWindowDoc(E,C),F=WatCore.getWindow(E,C),A=top.E_getObject(E,_,B),D="";A.innerHTML=D}catch($){alert($)}};DxIDCard4DC.read=function(H,B,F,E,R){var S,O,I,P=top.E_getObject(H,B,F),J=F.getElementById(B+"_rd");S=J.dc_init(E,R);if(S<=0){alert("\u5fb7\u5361\u521d\u8bc6\u5316\u9519\u8bef\uff0c\u8bf7\u67e5\u770b\u8bbe\u5907\u4e32\u53e3\u53f7\u662f\u5426\u8bbe\u7f6e\u6b63\u786e!");return}S=J.dc_setcpu(12);if(S<0){alert("dc_setcpu error!");J.dc_exit();return}var M=J.get_bstrRBuffer_asc;S=J.DC_find_i_d();if(S<0){alert("\u8bfb\u53d6\u8eab\u4efd\u8bc1\u4fe1\u606f\u5931\u8d25");return}S=J.DC_start_i_d();if(S<0)return;var Q=J.DC_i_d_query_name(),A=J.DC_i_d_query_sex(),K=J.DC_i_d_query_nation(),_=J.DC_i_d_query_birth(),N=J.DC_i_d_query_address(),G=J.DC_i_d_query_id_number(),D=J.DC_i_d_query_department(),$=J.DC_i_d_query_expire_day(),S=J.DC_i_d_query_photo_bmp_buffer(),C=J.get_bstrRBuffer_asc;J.DC_end_i_d();S=J.dc_exit();if(S<0){alert("dc_exit error!");return}var L=Q+"&"+A+"&"+K+"&"+_+"&"+N+"&"+G+"&"+D+"&"+$+"&"+C;WatCore.setParameter(H,B,top.DC.TEXT,L);WatCore.sendACallToChart(H,B,"enter")};DxIDCard4DC.clear=function(_,$,A){};DxIDCard4DC.cardInit=function(G,_,D,C,E){var H,B,F,A=top.E_getObject(G,_,D),I=D.getElementById(_+"_rd");H=I.dc_init(C,E);if(H<=0){alert("\u521d\u8bc6\u5316\u9519\u8bef\uff0c\u8bf7\u67e5\u770b\u8bbe\u5907\u4e32\u53e3\u53f7\u662f\u5426\u8bbe\u7f6e\u6b63\u786e!");return}H=I.dc_setcpu(12);if(H<0){alert("dc_setcpu error!");I.dc_exit();return}var $=I.get_bstrRBuffer_asc;H=I.DC_find_i_d();if(H<0){alert("\u8bfb\u53d6\u8eab\u4efd\u8bc1\u4fe1\u606f\u5931\u8d25");return}H=I.DC_start_i_d();if(H<0){alert("\u8bfb\u53d6\u8eab\u4efd\u8bc1\u4fe1\u606f\u5931\u8d25");return}H=I.dc_exit();if(H<0){alert("dc_exit error!");return}alert("\u5361\u521d\u8bc6\u5316\u6b63\u786e")};DxIDCard4DC.render=function(_,D,B){var E=B.getAttribute("cid"),A=B.selectNodes("*");for(var G=0;G=0){if(downloadocxid!=""&&isdelete=="true")top.DxMulThreadDownLoad.operatefile(strWinID,downloadocxid,oDoc,1,obj)}else alert(re.ErrStr)};DxPhoto.clear=function(_,$,A){};DxPhoto.render=function($,I,H){var C=H.getAttribute("cid"),A=H.selectNodes("*");for(var E=0;E-1){D=K.substring(0,B);M=K.substring(B+1,K.length);var F=M.split("-");M=F[0]}var J=top.isIE?A[E].text:A[E].textContent;switch(D){case top.DC.TAKEPHOTO:DxPhoto.takephoto($,C);break;case top.DC.SUBMITPHOTO:DxPhoto.SubmitHTTPUploadReq($,C);break;case top.DC.FILEPATH:var G=top.E_getObject($,C,I);G.filepath=J;break;case top.DC.FILE_SERVER:var L=top.E_getObject($,C,I);if(L!=null)L.fileserver=J;break;case top.DC.UPDATE_DATA:var _=J.split("@wat@");DxPhoto.updateFile($,C,I,_[0],_[1],_[2]);break;default:break}}};function DxNavegator(){}DxNavegator.clear=function(_,$,A){};DxNavegator.render=function($,D,B){var E=B.getAttribute("cid"),A=B.selectNodes("*");for(var G=0;G=C.m_oMin)&&(A<=C.m_oMax)}}return G};DxDataGridDateTimePickCell._getRealValue=function(_,$){var A;for(var B in m_oHolderInfo){A=m_oHolderInfo[B];if(A)_=($)?_replace(_,B,A.length,"*"):_replace(_,B,0,A)}return($)?_.replace(/\*/g,""):_};DxDataGridDateTimePickCell._replace=function(B,$,C,A){var _=B.substring(0,$)+A+B.substring($+C,B.length);return _};DxDataGridDateTimePickCell._selectRange=function(A,_,C,D){var B,$=A.value;B=$.substr(C,D);return B};DxDataGridDateTimePickCell._setSelText=function(C,$,_,E,D){var B=(D<0?E+D:E),F=(D<0?E:E+D),A=C.value;C.value=A.substring(0,B)+_+A.substring(F,A.length);DxDataGridDateTimePickCell._moveCursor(C,E+D)};DxDataGridDateTimePickCell._isHolderSign=function(_,B,A){var $=_.value.substring(B,B+A);return($)?DxDataGridDateTimePickCell.m_strSigns.indexof($)>=0:false};DxDataGridDateTimePickCell._getBlank=function($,_,A){var C=(DxDataGridDateTimePickCell.m_bFixedLen)?_:$.m_nFormatLen-($.value.length-_),B=$.m_strDefValue.substring(C,C+A);return B.replace(/^(\s)+/,"")};DxDataGridDateTimePickCell._isValidDate=function(A,_){var C=false;if(_.m=="00"||_.d=="00")C=true;else{var B=new Date(_.y,_.m,_.d),$=B.getMonth();C=($==_.m)}return C};DxDataGridDateTimePickCell._getDateValue=function(E,C){var G={},B,F,$,A,_,D=["y","m","d","h","i","s","f","ms"];for(var H=0;H1){var E=RegExp.$2,B=E.replace(/^0+/g,"");if(B.length>3){var $=E.length%3;if($>0){B=(($==1)?"00":"0")+B;$=($==1)?2:1}var D=B.match(/(\d{3})/g),B=D.join(",");if($>0)B=B.substring($)}A=_.replace(E,B)}return A};DxDataGridDateTimePickCell.timer=function(B,D){var C=top.E_clientModel.E_getWindow(B),A=WatCore.getWindowDoc(B,C),$=top.E_getObject(B,D,A),_=$.oThis;$.oThis=null;if(_.value==""){DxDataGridDateTimePickCell.timeToStr(_,"0");DxDataGridDateTimePickCell._moveCursor(_,0)}};DxDataGridDateTimePickCell._onMousedown2=function(B,F,G,D){var C=top.E_clientModel.E_getWindow(B),A=WatCore.getWindowDoc(B,C),_=G,$=top.E_getObject(B,F,A);$.oThis=_;var E=WatCore.getWindow(B,C);DxDataGridDateTimePickCell._moveCursor(_,0);E.setTimeout("top.DxDataGridDateTimePickCell.timer('"+B+"','"+F+"')",200)};DxDataGridDateTimePickCell._onMousedown=function(A,D,E,C){var B=top.E_clientModel.E_getWindow(A),_=WatCore.getWindowDoc(A,B),$=E;if(C==null)DxDataGridDateTimePickCell._moveCursor($,0);else DxDataGridDateTimePickCell._moveCursor($,C.offsetX)};DxDataGridDateTimePickCell._onSelect=function(C,G,F){var D=top.E_clientModel.E_getWindow(C),B=WatCore.getWindowDoc(C,D),A=B.getElementById(G);if(A.readOnly==true)return;var E=window,H=E.document.selection.createRange(),_,$=A.m_oRange;do{_=$.compareEndPoints("StartToStart",H);$.move("character",-_)}while(_!=0);$.moveEnd("character",H.text.length)};DxDataGridDateTimePickCell.up_onclick=function(A,C){var B=top.E_clientModel.E_getWindow(A),_=WatCore.getWindowDoc(A,B),$=_.getElementById(C);DxDataGridDateTimePickCell._clickArrow(A,C,$,true)};DxDataGridDateTimePickCell.down_onclick=function(A,C){var B=top.E_clientModel.E_getWindow(A),_=WatCore.getWindowDoc(A,B),$=_.getElementById(C);DxDataGridDateTimePickCell._clickArrow(A,C,$,false)};DxDataGridDateTimePickCell._clickArrow=function(E,H,D,J){if(DxDataGridDateTimePickCell.m_strType!="string"){var L;if(top.isIE)L=D.createTextRange();var C=D.value,N=C.length,M=(J)?DxDataGridDateTimePickCell.m_nInc:-DxDataGridDateTimePickCell.m_nInc,G=DxDataGridDateTimePickCell._getCursorPos(D);if(DxDataGridDateTimePickCell.m_bFixedLen&&DxDataGridDateTimePickCell.m_strType!="numeric"){var O=D.m_oSeg[G];if(O){var K=D.m_oSeg[O],I,N,B;I=K[0];var $=K[1],A=Number(DxDataGridDateTimePickCell._selectRange(D,L,I,$));if(!(A==1&&M<0)){A=A+M;while($-A.toString().length>0)A=DxDataGridDateTimePickCell.m_strBlank+A;if(DxDataGridDateTimePickCell._verify(D,A,I,$,true)){D.value=C.substring(0,I)+A+C.substring(I+$,C.length);DxDataGridDateTimePickCell._moveCursor(D,G);DxDataGridDateTimePickCell.blurFunction(E,H,D)}}}}else{var F=DxDataGridDateTimePickCell.m_bFixedLen?pareseInt(DxDataGridDateTimePickCell._getRealValue(C,true))+M:parseInt(C.replace(/,/g,""))+nstep,_=(D.m_oMin&&D.m_oMax)?(F>=D.m_oMin&&mReal<=D.m_oMax):true;if(_){C=DxDataGridDateTimePickCell.m_bFixedLen?DxDataGridDateTimePickCell._getRealValue(parseInt(F,false)):DxDataGridDateTimePickCell._convNumber(F.toString());if(C.length<=D.m_nFormatLen){DxDataGridDateTimePickCell._selectRange(L,-G,N);L.text=C;DxDataGridDateTimePickCell.blurFunction(E,H,D);G=DxDataGridDateTimePickCell._getCursorPos(D);DxDataGridDateTimePickCell._selectRange(L,-G,C.length)}}}}};DxDataGridDateTimePickCell._onClick=function(_,C,D,B){var A=DxDataGridDateTimePickCell._getCursorPos(D),$=D.m_oRange;$.select()};DxDataGridDateTimePickCell._onKeydown=function(Q,E,L,I){var P=L,Z=false,R,G=I.keyCode,F=P.m_oRange;switch(G){case 8:case 46:var D=(G==46);R=DxDataGridDateTimePickCell._getCursorPos(P);var T=(D)?0:1,J=D?1:-1,Y=P.value.length,X,K;if(DxDataGridDateTimePickCell.m_bFixedLen&&P.m_arrPlaceHolder[T][R]||(!DxDataGridDateTimePickCell.m_bFixedLen&&DxDataGridDateTimePickCell._isHolderSign(P,R,J))){step=(D)?1:-1;R+=step;DxDataGridDateTimePickCell._moveCursor(P,R)}else{X=(D)?1:-1;K=(DxDataGridDateTimePickCell.m_bFixedLen)?DxDataGridDateTimePickCell.m_strBlank:DxDataGridDateTimePickCell._getBlank(P,R,J);var W=(DxDataGridDateTimePickCell.m_bFixedLen||K.length>0)?X:0;if((D&&R0)B+=DxDataGridDateTimePickCell._getBlank(C,F+1,K);else{M=DxDataGridDateTimePickCell._getBlank(C,F,1);if(M!="."){K=M.length;H.move("character",K)}}var A=DxDataGridDateTimePickCell._replace(C.value,F,K,B);if(!m_oDotReg||(m_oDotReg&&A.match(m_oDotReg)))DxDataGridDateTimePickCell._setNumber(C,A)}DxDataGridDateTimePickCell.blurFunction(D,G,C)}catch(_){}L.returnValue=false};DxDataGridDateTimePickCell.blurFunction=function(A,B,_){var $=DxDataGridDateTimePickCell.strToTime(_);top.DxDataGrid.calendarChange(A,B,_,$)};DxDataGridDateTimePickCell.action=function($,_){WatCore.call($,_,"enter")};DxDataGridDateTimePickCell.onBlurDateTimePickChange=function(B){var _=B.value;if(_==""||_==null)return true;var $=_.split("-");if(parseInt($[0])==0&&parseInt($[1])==0&&parseInt($[2])==0){B.value="";return true}var A=DxDataGridDateTimePickCell._verify(B,_,0,_.length,false,true);if(A)if(B.stype=="date"||B.stype=="datetime"||B.stype=="datetime2"){arrDate=DxDataGridDateTimePickCell._getDateValue2(B,_);A=DxDataGridDateTimePickCell._isValidDate2(B,arrDate)}return A};DxDataGridDateTimePickCell.strToTime=function(D){var A=D.value,_=A.split("-");if("0000-00-00"==A||"0000-00-00 00:00"==A||"00:00"==A||"0000-00-00 00:00:00"==A||"00:00:00"==A)return 0;if(_.length!=3&&D.stype!="time"&&D.stype!="time2")alert("time is error");else{if(parseInt(_[0])==0&&parseInt(_[1])==0&&parseInt(_[2])==0)return 0;var C=_[1];if(D.stype=="date"){var $=_[2];if(C>0&&$>0)_[1]=C-1;return new Date(_[0],_[1],_[2],0,0,0,0).getTime()}else if(D.stype=="datetime"){var A=_[2],B=A.split(" "),$=B[0];if(C>0&&$>0)_[1]=C-1;var E=B[1].split(":");return new Date(_[0],_[1],$,E[0],E[1],0,0).getTime()}else if(D.stype=="time"){E=A.split(":"),$=new Date();$.setHours(E[0],E[1],0);return $.getTime()}else if(D.stype=="datetime2"){A=_[2],B=A.split(" "),$=B[0];if(C>0&&$>0)_[1]=C-1;E=B[1].split(":");return new Date(_[0],_[1],$,E[0],E[1],E[2],0).getTime()}else if(D.stype=="time2"){E=A.split(":"),$=new Date();$.setHours(E[0],E[1],E[2]);return $.getTime()}}};DxDataGridDateTimePickCell._upMouseIn=function($){$.className="DxDataGridDateTimePickCell-up-image-mouseover"};DxDataGridDateTimePickCell._upMouseOut=function($){$.className="DxDataGridDateTimePickCell-up-image"};DxDataGridDateTimePickCell._downMouseIn=function($){$.className="DxDataGridDateTimePickCell-down-image-mouseover"};DxDataGridDateTimePickCell._downMouseOut=function($){$.className="DxDataGridDateTimePickCell-down-image"};DxDataGridDateTimePickCell.setFocus=function(C,_,B){var A=top.E_getObject(C,_,B);try{A.focus();DxDataGridDateTimePickCell._moveCursor(A,0);A.onfocus()}catch($){}};DxDataGridDateTimePickCell.jsFunctionCall=function(B,_,A,$,D,C){if(WatCore.isKeyCode(C,$)){stopEvent(C);WatCore.jsFunctionCall(B,_,A,D)}};DxDataGridDateTimePickCell.render=function(C,I,H){var D=H.getAttribute("cid"),A=H.selectNodes("*");for(var F=0;F";A.innerHTML=D}catch($){alert($)}};DxICCardSCR28.readCardNo=function(F,_,D,C,A){var O=top.E_getObject(F,_,D),H=D.getElementById(_+"_rd");try{H.iComPort=C;H.iTimeOut=A;H.ReadCardNo();if(H.iStatus==22){alert("\u8bfb\u5361\u53f7\u9519\u8bef\u6216\u8005\u8d85\u65f6");return}var P="1",G="1",S="",N="1",I="1",M="1",Q="1",E="1",R="1",B="1",L="1",K="1";S=H.cCardNo;var J=P+"&"+G+"&"+S+"&"+N+"&"+I+"&"+M+"&"+Q+"&"+E+"&"+R+"&"+B+"&"+L+"&"+K;WatCore.setParameter(F,_,top.DC.TEXT,J);WatCore.sendACallToChart(F,_,"enter")}catch($){alert("\u5361\u5177\u521d\u59cb\u9519\u8bef\uff0c\u8bf7\u67e5\u662f\u5426\u5bf9\u5e94\u6b63\u786e\u5361\u5177\u6216\u5b89\u88c5\u9a71\u52a8")}};DxICCardSCR28.readCardInfo=function(F,_,D,C,A){var O=top.E_getObject(F,_,D),H=D.getElementById(_+"_rd");try{H.iComPort=C;H.iTimeOut=A;H.ReadCardInfo();if(H.iStatus==22){H.iComPort="2";H.ReadCardInfo();if(H.iStatus==22){alert("\u8bfb\u5361\u53f7\u9519\u8bef\u6216\u8005\u8d85\u65f6");return}}var P="1",G="2",S="",N="1",I="1",M="1",Q="1",E="1",R="1",B="1",L="1",K="1";P=H.iCardType;S=H.cCardNo;N=H.cIssuedeptid;I=H.cIssuedate;M=H.cIdtype;Q=H.cId;E=H.cName;G=H.iSex;R=H.cBirthDate;B=H.cCompany;L=H.cAddress;K=H.cTelephone;var J=P+"&"+G+"&"+S+"&"+N+"&"+I+"&"+M+"&"+Q+"&"+E+"&"+R+"&"+B+"&"+L+"&"+K;WatCore.setParameter(F,_,top.DC.TEXT,J);WatCore.sendACallToChart(F,_,"enter")}catch($){alert("\u5361\u5177\u521d\u59cb\u9519\u8bef\uff0c\u8bf7\u67e5\u662f\u5426\u5bf9\u5e94\u6b63\u786e\u5361\u5177\u6216\u5b89\u88c5\u9a71\u52a8")}};DxICCardSCR28.readCardStatus=function(D,_,C,B,$){var A=top.E_getObject(D,_,C),E=C.getElementById(_+"_rd");E.iComPort=B;E.iTimeOut=$;E.ReadCardStatus();if(E.iStatus!=0){alert("\u65e0\u5361");return}else{alert("\u6709\u5361");return}};DxICCardSCR28.clear=function(_,$,A){};DxICCardSCR28.render=function(_,D,B){var F=B.getAttribute("cid"),A=B.selectNodes("*");for(var H=0;H",B=H.split("&");E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";E+="\n";A.innerHTML=E;A.isInit=true}catch($){alert("1"+$.message)}};DxFjNhEyb.CAGInfo=function(G,B,F,_,H,D){var C=top.E_getObject(G,B,F),E=F.getElementById(B+"_rd"),$;try{$=E.CAGInfo(_,H,D)}catch(A){alert("2"+A.message)}WatCore.setParameter(G,B,top.DC.TEXT,$);WatCore.sendACallToChart(G,B,"enter");WatCore.setActiveState()};DxFjNhEyb.clear=function(C,B,D){var _=D.id,A=D.ownerDocument.getElementById(_+"_rd");try{if(A!=null)D.removeChild(A)}catch($){}};DxFjNhEyb.render=function(_,D,B){var E=B.getAttribute("cid"),A=B.selectNodes("*");for(var G=0;G";A.innerHTML=D}catch($){alert($)}};DxICCardFjYkt.readCardInfo=function(E,B,D,F){var C=top.E_getObject(E,B,D),G=D.getElementById(B+"_rd"),_,$=G.OpenDevice(12,9,3,"3508");if($==0);else alert("ylzerror:"+G.GetLastErrmsg());try{if(F=="1"){_=G.ReadOpenCardNo4442Local();if(_.length>0){if("L"!=_.substring(0,1)&&"l"!=_.substring(0,1))_=G.ReadOpenCardInfoLocal("3508","1234","")}else _=G.ReadOpenCardInfoLocal("3508","1234","")}else if(F=="2")_=G.ReadOpenCardInfoLocal("3508","1234","");G.CloseDevice();WatCore.setParameter(E,B,top.DC.TEXT,_);WatCore.sendACallToChart(E,B,"enter");WatCore.increaseShowflag()}catch(A){alert("ykt"+A.message)}};DxICCardFjYkt.clear=function(_,$,A){};DxICCardFjYkt.render=function(_,D,B){var F=B.getAttribute("cid"),A=B.selectNodes("*");for(var H=0;H";A.innerHTML=D}catch($){alert($)}};DxBoshiPrinter.clear=function(_,$,A){};DxBoshiPrinter.boshi_PConnect=function($){try{var A=$.PConnect();return A}catch(_){alert(_.message)}};DxBoshiPrinter.boshi_PDisConnect=function($){try{var A=$.PDisConnect();return A}catch(_){alert(_.message)}};DxBoshiPrinter.boshi_PAdvConnect=function(G,C,E,$,H,F){try{var D=top.E_getObject(G,C,E),_=E.getElementById(C+"_rd"),B=_.PAdvConnect($,H,F);return B}catch(A){alert(A.message)}};DxBoshiPrinter.boshi_PGetCardh=function(E,B,D){try{var C=top.E_getObject(E,B,D),_=D.getElementById(B+"_rd"),G=DxBoshiPrinter.boshi_PConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u8fde\u63a5\u5931\u8d25");return}var F,$=_.PGetCardh(F);if($==0)F="";WatCore.setParameter(E,B,top.DC.TEXT,F);WatCore.sendACallToChart(E,B,"boshi_PGetCardh");G=DxBoshiPrinter.boshi_PDisConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u65ad\u5f00\u8fde\u63a5\u5931\u8d25");return}}catch(A){alert(A.message)}};DxBoshiPrinter.boshi_PGetKpr=function(E,B,D){try{var C=top.E_getObject(E,B,D),_=D.getElementById(B+"_rd"),G=DxBoshiPrinter.boshi_PConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u8fde\u63a5\u5931\u8d25");return}var F,$=_.PGetKpr(F);if($==0)F="";WatCore.setParameter(E,B,top.DC.TEXT,F);WatCore.sendACallToChart(E,B,"boshi_PGetKpr");G=DxBoshiPrinter.boshi_PDisConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u65ad\u5f00\u8fde\u63a5\u5931\u8d25");return}}catch(A){alert(A.message)}};DxBoshiPrinter.boshi_PGetCurPj=function(E,B,D){try{var C=top.E_getObject(E,B,D),_=D.getElementById(B+"_rd"),G=DxBoshiPrinter.boshi_PConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u8fde\u63a5\u5931\u8d25");return}var F,$=_.PGetCurPj("",F);if($==0)F="";WatCore.setParameter(E,B,top.DC.TEXT,F);WatCore.sendACallToChart(E,B,"boshi_PGetCurPj");G=DxBoshiPrinter.boshi_PDisConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u65ad\u5f00\u8fde\u63a5\u5931\u8d25");return}}catch(A){alert(A.message)}};DxBoshiPrinter.boshi_PGetCurPh=function(F,B,E,D){try{var C=top.E_getObject(F,B,E),_=E.getElementById(B+"_rd"),H=DxBoshiPrinter.boshi_PConnect(_);if(H!="1"){alert("\u6253\u5370\u673a\u8fde\u63a5\u5931\u8d25");return}var G,$=_.PGetCurPh(D,G);if($==0)G="";WatCore.setParameter(F,B,top.DC.TEXT,G);WatCore.sendACallToChart(F,B,"boshi_PGetCurPh");H=DxBoshiPrinter.boshi_PDisConnect(_);if(H!="1"){alert("\u6253\u5370\u673a\u65ad\u5f00\u8fde\u63a5\u5931\u8d25");return}}catch(A){alert(A.message)}};DxBoshiPrinter.boshi_PDelPj=function(F,C,E,A){try{var D=top.E_getObject(F,C,E),_=E.getElementById(C+"_rd"),H=DxBoshiPrinter.boshi_PConnect(_);if(H!="1"){alert("\u6253\u5370\u673a\u8fde\u63a5\u5931\u8d25");return}var G,$=_.PDelPj(A,G);if($==0)G="";WatCore.setParameter(F,C,top.DC.TEXT,G);WatCore.sendACallToChart(F,C,"boshi_PDelPj");H=DxBoshiPrinter.boshi_PDisConnect(_);if(H!="1"){alert("\u6253\u5370\u673a\u65ad\u5f00\u8fde\u63a5\u5931\u8d25");return}}catch(B){alert(B.message)}};DxBoshiPrinter.boshi_PFindPh=function(F,C,E,A){try{var D=top.E_getObject(F,C,E),_=E.getElementById(C+"_rd"),H=DxBoshiPrinter.boshi_PConnect(_);if(H!="1"){alert("\u6253\u5370\u673a\u8fde\u63a5\u5931\u8d25");return}var G,$=_.PFindPh(A,G);if($==0)G="";else G=G.substring(0,$);WatCore.setParameter(F,C,top.DC.TEXT,G);WatCore.sendACallToChart(F,C,"boshi_PFindPh");H=DxBoshiPrinter.boshi_PDisConnect(_);if(H!="1"){alert("\u6253\u5370\u673a\u65ad\u5f00\u8fde\u63a5\u5931\u8d25");return}}catch(B){alert(B.message)}};DxBoshiPrinter.boshi_PZrPj=function(F,B,C,D,E,I){try{var H=top.E_getObject(F,B,C),_=C.getElementById(B+"_rd"),G=DxBoshiPrinter.boshi_PConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u8fde\u63a5\u5931\u8d25");return}var J,$=_.PZrPj(D,E,I,"",J);if($==0)J="";WatCore.setParameter(F,B,top.DC.TEXT,J);WatCore.sendACallToChart(F,B,"boshi_PZrPj");G=DxBoshiPrinter.boshi_PDisConnect(_);if(G!="1"){alert("\u6253\u5370\u673a\u65ad\u5f00\u8fde\u63a5\u5931\u8d25");return}}catch(A){alert(A.message)}};DxBoshiPrinter.render=function(_,D,B){var F=B.getAttribute("cid"),A=B.selectNodes("*");for(var H=0;H1877)?"POST":"POST";$.onreadystatechange=function(){var C=$.readyState,A=null;if(C==READY_STATE_COMPLETE){var _=$.status;if(_==200||_==0){var B=$.responseXML;if(B!=null&&B.documentElement)WatCore.process(B);else{var D=WatCore.stringtoxml($.responseText);WatCore.errorProcess(D);activeState=true;activeValueSendState=true}}else{activeState=true;activeValueSendState=true;stateIsReady=true;WatCore.hiddenLoadingDialog()}}};if(B=="GET"){$.open(B,A+"&content="+C,true);$.setRequestHeader("Content-Type","text/html;charset=utf-8");if(top.isIE){try{$.responseType="msxml-document"}catch(_){}}$.send()}else{$.open(B,A,true);$.setRequestHeader("Content-Type","text/html;charset=utf-8");if(top.isIE){try{$.responseType="msxml-document"}catch(_){}}$.send(C)}}};function DxFyetVml(){}DxFyetVml.setData=function(D,_,H,B){var I=top.E_getObject(D,_,B),J=$("#"+_+"_chart",I).get(0),A=I.issvg;if(J!=null){J.innerHTML="";if(H=="")return;var E=H.split("@"),K=[],F=[];if(!top.isIE||A=="true")K.push("");for(var G=0;G");K.push(F);$(J).html(K.join(""))}};DxFyetVml.drawquxian=function(i,X,L,B,C,R,V,h){var Y=X.split("&"),W=Y[1],I=Y[2],G=Y[3],E=Y[4],A=Y[5],$=Y[6],_=Y[7],U=W/$,H=I/_,g=Y[8],K=Y[9],N=Y[10],M=Y[11],e=L.split("&"),Z=new Array();if(B!=null)Z=B.split("&");var Q=new Array();if(C!=null)Q=C.split("&");var k=new Array();if(R!=null)k=R.split("&");var n=[],F=null,D=null;for(var c=0;c1)var m=parseFloat(I)+parseFloat(E)-parseFloat((parseFloat(O[0])-parseFloat(A))*H);else m=parseFloat(I)+parseFloat(E)-parseFloat((parseFloat(e[c])-parseFloat(A))*H);var o=parseFloat(G)+parseFloat(U*c);if(h)if(F!=null&&D!=null&&N=="true"){if(top.isIE)n.push("");if(!top.isIE||V=="true"){n.push("")}}var f=m;try{for(var a=1;a");if(!top.isIE||V=="true"){n.push("")}}var l=j[3];if(!h)if(l=="1")DxFyetVml.drawX(n,o,J,j[4],V);else if(l=="2")DxFyetVml.drawOva(n,o,J,j[4],j[5],V);else if(l=="3")DxFyetVml.drawDiamond(n,o,J,j[4],j[5],V);else if(l=="4")DxFyetVml.drawOvaX(n,o,J,j[4],j[5],V);else if(l=="5")DxFyetVml.drawOva2(n,o,J,j[4],j[5],V);else if(l=="6")DxFyetVml.drawOvaPoint(n,o,J,j[4],j[5],V);f=J}}catch(S){}var T=Z[c];if(T==null)T=K;var b=k[c];if(b==null)b="1";if(!h)if(b=="1")DxFyetVml.drawX(n,o,m,T,V);else if(b=="2"){var P=Q[c];if(P==null)P=K;DxFyetVml.drawOva(n,o,m,T,P,V)}else if(b=="3"){P=Q[c];if(P==null)P=K;DxFyetVml.drawDiamond(n,o,m,T,P,V)}else if(b=="4"){P=Q[c];if(P==null)P=K;DxFyetVml.drawOvaX(n,o,m,T,P,V)}else if(b=="5"){P=Q[c];if(P==null)P=K;DxFyetVml.drawOva2(n,o,m,T,P,V)}else if(b=="6"){P=Q[c];if(P==null)P=K;DxFyetVml.drawOvaPoint(n,o,m,T,P,V)}F=o;D=m}else if(e[c]=="*"){F=null;D=null}return n.join("")};DxFyetVml.drawtext=function(H,B){var C=B.split("&"),E=C[1],D=C[2],J=C[3],G=C[4],F=C[5],$=C[6],I=C[7],A="";if(top.isIE){if(I=="false")A=";width:1px;word-wrap:break-word;word-break:normal;white-space:normal;";else A="";return"
"+$+"
"}if(!top.isIE||issvg=="true"){var _=Desktop.textCounter($);if(I=="false")A="width:20px;height:"+_*20+"px;writing-mode:tb;";else A="width:"+(_*20)+"px;height:20px";return""+$+""}};DxFyetVml.drawhtml=function(_,A){var B=A.split("&"),D=B[1],C=B[2],$=B[3];return""+$+""};DxFyetVml.draw=function(K,D,_,L){var E=D.split("|"),A=E[0],J=E[1],I=J.split("$"),M=I[0],B;if(I.length>=2)B=I[1];var F;if(I.length>=3)F=I[2];var $;if(I.length>=4)$=I[3];var C=A.split("&"),H=[],G=C[0];H[0]=G;if(G=="h")H[1]=DxFyetVml.drawhtml(K,A);else if(G=="v")H[1]=DxFyetVml.drawquxian(K,A,M,B,F,$,_,L);else if(L)H[1]=DxFyetVml.drawtext(K,A);return H};DxFyetVml.drawX=function(B,C,A,$,_){if(top.isIE){B.push("");B.push("")}if(!top.isIE||_=="true"){B.push("");B.push("")}};DxFyetVml.drawOva=function(C,D,B,_,$,A){if(top.isIE)C.push("");if(!top.isIE||A=="true")C.push("")};DxFyetVml.drawOvaX=function(C,D,B,_,$,A){if(top.isIE){C.push("");C.push("");C.push("")}if(!top.isIE||A=="true"){C.push("");C.push("");C.push("")}};DxFyetVml.drawOva2=function(C,D,B,_,$,A){if(top.isIE){C.push("");C.push("")}if(!top.isIE||A=="true"){C.push("");C.push("")}};DxFyetVml.drawOvaPoint=function(C,D,B,_,$,A){if(top.isIE){C.push("");C.push("")}if(!top.isIE||A=="true"){C.push("");C.push("")}};DxFyetVml.drawDiamond=function(C,D,B,_,$,A){if(top.isIE)C.push("");if(!top.isIE||A=="true")C.push("")};DxFyetVml.showfcline=function(B,C,N,I){var O=top.E_clientModel.E_getWindow(B),$=WatCore.getWindowDoc(B,O),L=top.E_getObject(B,C,$),P=L.ownerDocument.getElementById(C+"_chart");if(I==null||I==undefined)return;var _=I.split("@#@"),Q="";for(var G=0;G<_.length;G++){var D=_[G].split("|"),A=D[0].split(","),F=A[0],E=A[1],H=D[1].split(","),M=H[0],J=H[1],K=D[2];Q+="";Q+="";Q+=""}if(P!=null)P.insertAdjacentHTML("BeforeEnd",Q)};DxFyetVml.render=function($,J,I){var B=I.getAttribute("cid"),_=I.selectNodes("*");for(var D=0;D<_.length;D++){var C=_[D].nodeName;C=C.substring(1,C.length);var A=C.indexOf("_"),L=C,M;if(A>-1){C=L.substring(0,A);M=L.substring(A+1,L.length);var G=M.split("-");M=G[0]}var K=top.isIE?_[D].text:_[D].textContent;switch(C){case top.DC.UPDATE_DATA:var F=K.split("@wat@");if(M=="showsmtz")DxFyetVml.setData($,B,F[0],J);else if(M=="showfcline")DxFyetVml.showfcline($,B,J,F[0]);break;case top.DC.BK_IMG:var H=top.E_getObject($,B+"_bkimg",J);if(H!=null)H.src=K;break;case top.DC.CREATE_SCD_HTML:H=top.E_getObject($,B,J);if(H!=null){var E=H.outerHTML;WatCore.setParameter($,B,top.DC.TEXT,E);WatCore.sendACallToChart($,B,"enter")}break;case top.DC.WIDTH:top.E_getObject($,B,J).style.width=K;break;case top.DC.HEIGHT:top.E_getObject($,B,J).style.height=K;break;default:break}}};function DxTwMbHxShow(){}DxTwMbHxShow.init=function(F,_){var D=top.E_clientModel.E_getWindow(F),C=WatCore.getWindowDoc(F,D),B=top.E_getObject(F,_,C),A="$|$|$|$|$|$|$",$="$|$|$|$|$|$|$",E="$|$|$|$|$|$|$";DxTwMbHxShow.drawhuxi(B,A,$,E)};DxTwMbHxShow.setData=function(D,_,$,C){var A=top.E_getObject(D,_,C);if(A!=null){var B=$.split("@");if(B.length==3)DxTwMbHxShow.drawhuxi(A,B[0],B[1],B[2])}};DxTwMbHxShow.drawhuxi=function(S,E,P,L){var H=S.clientWidth,C=S.clientHeight,G=C/22,W=[],T=(H/48),U=((C-G)/43);for(var M=0,K=H,I=0;M<42;++M,++I){if(I%6==0)W.push("");else W.push("");K-=T}W.push("");for(M=1;M<=3;++M)W.push("");W.push("");W.push("");for(var M=0,O=G+U,I=3;M<42;++M,++I){if(I%5==0)W.push("");else W.push("");O+=U}W.push("");W.push("
\u65f6\u95f4
");var $=[2,6,10,14,18,22,2,6,10,14,18,22,2,6,10,14,18,22,2,6,10,14,18,22,2,6,10,14,18,22,2,6,10,14,18,22,2,6,10,14,18,22];for(M=0,K=T*6;M<42;++M,K+=T)W.push("
"+$[M]+"
");W.push("
\u547c\u5438
");W.push("
\u8109\u640f
");W.push("
\u4f53\u6e29
");for(M=1;M<=4;++M){O=C-U*((M-1)*5+1);if(M>1)O+=T/2;W.push("
"+M*10+"
")}for(M=1;M<=9;++M){O=C-U*((M-1)*5+1);if(M>1)O+=T/2;W.push("
"+M*20+"
")}for(M=1;M<=9;++M){O=C-U*((M-1)*5+1);if(M>1)O+=T/2;W.push("
"+(M+33)+"
")}var _=[E,P,L],F=["#669900","#ff0000","#3300cc"],J=[10,20,34],N=[2,4,0.2];for(I=0;I<_.length;++I){var D=_[I];if(D){D=D.replace(/\|/g,",").replace(/\$/g,"#,#,#,#,#,#").split(",");var B=null,A=null,Q=T*6.5,R=F[I];for(M=0;M");DxTwMbHxShow.drawX(W,X,V,R);B=X;A=V}}}S.innerHTML=W.join("")};DxTwMbHxShow.drawX=function(A,B,_,$){A.push("");A.push("")};DxTwMbHxShow.render=function($,C,A){var D=A.getAttribute("cid"),_=A.selectNodes("*");for(var F=0;F<_.length;F++){var E=_[F].nodeName;E=E.substring(1,E.length);var B=_[F].text;switch(E){case top.DC.UPDATE_DATA:DxTwMbHxShow.setData($,D,B,C);break;default:break}}};function DxICCardT6ULC(){}DxICCardT6ULC.init=function(E,_){try{var C=top.E_clientModel.E_getWindow(E),B=WatCore.getWindowDoc(E,C),F=WatCore.getWindow(E,C),A=top.E_getObject(E,_,B),D="";A.innerHTML=D}catch($){alert($)}};DxICCardT6ULC.readCardInfo=function(D,A,C){var B=top.E_getObject(D,A,C),E=C.getElementById(A+"_rd"),$;try{$=E.GetData();if($==""){alert("GetData error:"+$.toString(10));return}}catch(_){alert(_.message)}WatCore.setParameter(D,A,top.DC.TEXT,$);WatCore.sendACallToChart(D,A,"enter")};DxICCardT6ULC.clear=function(_,$,A){};DxICCardT6ULC.render=function($,C,A){var D=A.getAttribute("cid"),_=A.selectNodes("*");for(var F=0;F<_.length;F++){var E=_[F].nodeName;E=E.substring(1,E.length);var B=top.isIE?_[F].text:_[F].textContent;switch(E){case top.DC.UPDATE_DATA:DxICCardT6ULC.readCardInfo($,D,C);break;default:break}}};function DxProcessBar(){}DxProcessBar.render=function($,C,A){var E=A.getAttribute("cid"),_=A.selectNodes("*");for(var G=0;G<_.length;G++){var F=_[G].nodeName;F=F.substring(1,F.length);var B=_[G].text;switch(F){case top.DC.WIDTH:top.E_getObject($,E,C).style.width=B;break;case top.DC.HEIGHT:top.E_getObject($,E,C).style.height=B;break;case top.DC.POSITION:var D=E+"_load";top.E_getObject($,D,C).style.width=B;break;case top.DC.VISIBLE:top.E_getObject($,E,C).style.visibility=B;break;default:break}}};var oDraggingMenu=new Object();oDraggingMenu.drag=false;oDraggingMenu.targetCtrid="";oDraggingMenu.targetID="";oDraggingMenu.targetIcon="";oDraggingMenu.functionId="";oDraggingMenu.functionName="";oDraggingMenu.targetysIcon="";oDraggingMenu.isparent="";oDraggingMenu.num=0;oDraggingMenu.orgX=0;oDraggingMenu.orgY=0;function DxTaskBar(){}DxTaskBar.init=function(A,C){var G=top.E_clientModel.E_getWindow(A),_=WatCore.getWindowDoc(A,G),F=_.getElementById(C),I=_.getElementById(C+"_taskmenu");F.taskmenu=I;WatCore.taskbar=F;var B=WatCore.getWindow(A,G);F.interval=B.setInterval("top.DxTaskBar.getTime('"+A+"','"+C+"')",1000);DxTaskBar.getTime(A,C);var J=new Array(),H=new Array();F.windows=J;F.showwindows=H;F.strWinId=A;F.strCtrId=C;var D=F.getAttribute("windowsize");for(var E=0;EVALID_RESIZE_OFFSET||Math.abs(A)>VALID_RESIZE_OFFSET);$.style.visibility="hidden";break;case"mousemove":if(J.button%2==EVT_LEFT_BUTTON){if($.style.visibility=="hidden"){var G=parseInt(oDraggingMenu.num);G++;oDraggingMenu.num=G;if(G>=10){oDraggingMenu.drag=true;$.style.visibility="visible";var H=$.ownerDocument.getElementById("dummyDragImg");if(H!=null)if(oDraggingMenu.targetIcon=="")H.src=top.watLocation2+"/resources/component/chuangti.png";else H.src=oDraggingMenu.targetIcon}}var E=parseInt(I)-22;if(E<0)E=0;var D=parseInt(F)-17;if(D<0)D=0;$.style.left=E;$.style.top=D}break;default:break}J.cancelBubble=true}catch(_){window.status="dragWindow:"+_.description}};DxTaskBar.updateData=function(C,D,A,B){var _=B.getElementById(D+"_taskmenu_table_td2");if(_!=null){_.innerHTML="";$(_).html(A)}};DxTaskBar.doAction=function(A,D,$){var _=WatCore.taskbar;if(_!=null){var C=document.getElementById("desktopbar");C.style.zIndex="2";C.style.height="30px";var B=_.taskmenu;if(B!=null&&B.style.visibility!="hidden")B.style.visibility="hidden";if(DxMenu.openMenuList["openmain"])DxMenu.mSetMainMenuItemStyle(DxMenu.openMenuList["openmain"],"outset")}top.WatCore.call(A,D,"menu&"+$,event)};DxTaskBar.taskmenuclick=function(){var $=WatCore.taskbar,_=$.taskmenu;if(_!=null){var A=document.getElementById("desktopbar");if(_.style.visibility=="hidden"){_.style.visibility="visible";A.style.zIndex="100000";A.style.height="100%"}else{_.style.visibility="hidden";A.style.zIndex="2";A.style.height="30px"}}window.clearTimeout(DxMenu.nMenuTimeout);DxMenu.closeAllMenu(true)};DxTaskBar.popwebformshow=function(){var _=$("#popmessageform");_.css("display","block")};DxTaskBar.pushwebformshow=function(){var _=$("#popmessageform");_.css("display","none")};DxTaskBar.closewindow=function(H,B){var D=WatCore.taskbar,A=D.id,E,F=D.showwindows.length;for(var N=0;N=168){_=168;S=20}else var S=parseInt(_/20);for(N=0;N=168){var N=I.ownerDocument.getElementById(R+"_title");F=top.Desktop.getSltext(F,20);N.innerText=F;A=168;I.style.left=(T-1)*(A)+"px";for(Q=0;QK-10);if((J+parseInt(D.clientHeight))>E-10);I.style.zIndex=1000;I.style.left=L+"px";if(parseInt(J)<0)J=4;I.style.top=J+"px";I.onclick()};DxTaskBar.menustate=function(E,B,A,G,H){var F=top.E_clientModel.E_getWindow(E),D=WatCore.getWindowDoc(E,F),C=D.getElementById(B+"_menuitem"+A);C.taskbutton=H;if(G=="true"){$(C).attr("disabled",false);$("#"+B+"_text",C).css("color","")}else{$(C).attr("disabled",true);$("#"+B+"_text",C).css("color","threedshadow");C.signalment="outset";C.style.backgroundColor="transparent";C.style.backgroundImage="";var _=C.ownerDocument.getElementById(C.id+"_image_parent");if(_!=null)_.style.backgroundImage=""}};DxTaskBar.menuAction=function(C,_,$,H){var F=H.getAttribute("disabled");if(F=="disabled")return;var E=top.E_clientModel.E_getWindow(C),B=WatCore.getWindowDoc(C,E),A=B.getElementById(_),G=A.taskbutton;if(G!=null)if($=="1"){var D=G.windowstate;if(D==top.WIN_STATE_MIN)DxTaskBar.openwindow(G);else if(D==top.WIN_STATE_MAX||D==top.WIN_STATE_MAX2){top.updateWindowStateFromServer(G.showwindow,top.WIN_STATE_NOR);top.E_activeWindow(G.showwindow,false)}}else if($=="2")top.updateWindowStateFromServer(G.showwindow,top.WIN_STATE_MIN);else if($=="3"){top.updateWindowStateFromServer(G.showwindow,top.WIN_STATE_MAX);top.E_activeWindow(G.showwindow,false)}else if($=="5")top.updateWindowStateFromServer(G.showwindow,top.WIN_STATE_CLS)};DxTaskBar.clickTaskMenubar=function(){window.clearTimeout(DxMenu.nMenuTimeout);DxMenu.closeAllMenu(true)};DxTaskBar.taskMenuMouseOver=function($){$.className="DxMenuItem-mouseover";$.style.backgroundImage="url('"+watLocation2+"/resources/component/mback.jpg')"};DxTaskBar.taskMenuMouseOut=function($){$.className="DxMenuItem";$.style.backgroundImage=""};DxTaskBar.rightButton=function(B,E,D,_,A){var C=A.getElementById(E+"_rightButtons");if(C!=null){C.innerHTML="";if(D!="0")$(C).html(_);$(C).width(parseInt(D)*24)}};DxTaskBar.addForm=function(A,C,L,I,M){var B=M.split("@"),N=B[0],D=B[1],H=B[2],J=top.E_getObject(A,C,L),G=I.selectSingleNode("server/templates/template[@tid='"+D+"']"),K=top.isIE?G.selectNodes("content")[0].text:G.selectNodes("content")[0].textContent;K=Desktop.getWebFormContent(A,D,K);$("#popmessageform").html(K);if(D)E_watwebformCacheList.push(D);var F=J.ownerDocument.getElementById(C+"img");if(F!=null)F.style.display="none";var E=G.selectNodes("initial");if(E[0]!=null){var _=top.isIE?E[0].text:E[0].textContent;_=Desktop.getWebFormScript(A,D,_);top.WatCore.execInitScript(A,_)}};DxTaskBar.render=function($,I,H,G){var B=H.getAttribute("cid"),_=H.selectNodes("*");for(var D=0;D<_.length;D++){var C=_[D].nodeName;C=C.substring(1,C.length);var A=C.indexOf("_"),K=C,L;if(A>-1){C=K.substring(0,A);L=K.substring(A+1,K.length)}var J=top.isIE?_[D].text:_[D].textContent;switch(C){case top.DC.UPDATE_DATA:var E=J.split("@wat@");if(L=="rendermenu")DxTaskBar.updateData($,B,E[0],I);else if(L=="rightbutton")DxTaskBar.rightButton($,B,E[0],E[1],I);break;case top.DC.TASKBARTITLE:var F=top.E_getObject($,B+"_taskmenu_table_text",I);if(F!=null)F.innerText=J;break;case top.DC.MINALLWINDOW:DxTaskBar.minallwindow();break;case top.DC.WEBTAB_Add_FORM:DxTaskBar.addForm($,B,I,G,J);break;case top.DC.POP:DxTaskBar.popwebformshow();break;case top.DC.PUSH:DxTaskBar.pushwebformshow();break;default:break}}};var buttoncount=0,dragbutton,wsize=0,hsize=0;function DxWatDesktop(){}DxWatDesktop.init=function(D,F){var C=top.E_clientModel.E_getWindow(D),B=WatCore.getWindowDoc(D,C),A=B.getElementById(F),E=new Array();A.buttons=E;var _=new E_Map();A.desktopgrid=_;$(A).resize(D,function($){top.DxWatDesktop.resize(A)})};DxWatDesktop.resize=function($){DxWatDesktop.resizechange($)};DxWatDesktop.resizechange=function(H){try{var B=H.buttons,F=H.clientWidth||H.ownerDocument.documentElement.clientWidth,L=parseInt(H.clientHeight||H.ownerDocument.documentElement.clientHeight-30);if(L<0)L=300;$(H).width(F+"px");$(H).height(L+"px");wsize=parseInt(F/80);hsize=parseInt(L/100);var G=0,A=0,J=H.desktopgrid.E_keys.E_list.E_contents.length,K;for(var D=J-1;D>=0;D--){K=H.desktopgrid.E_keys.E_list.E_contents[D];H.desktopgrid.E_remove(K)}for(D=0;D=parseInt(A)-80)H=parseInt(A)-80;if(F>=parseInt(G)-70)F=parseInt(G)-70;E=parseInt(H/100);if(H%100>=50)E++;D=parseInt(F/100);if(F%100>=50)D++;var C=E+","+D;return B.desktopgrid.E_get(C)};DxWatDesktop.setLocation=function(C,B){var I=parseInt(B.lx),G=parseInt(B.ly),F=0,E=0,$=0,_=0,A=C.clientWidth||C.ownerDocument.documentElement.clientWidth,H=parseInt(C.clientHeight||C.ownerDocument.documentElement.clientHeight-30);if(H<0)H=300;if(I<0)I=0;if(G<0)G=0;if(I>=parseInt(A)-80)I=parseInt(A)-80;if(G>=parseInt(H)-70)G=parseInt(H)-70;F=parseInt(I/100);if(I%100>=50)F++;E=parseInt(G/100);if(G%100>=50)E++;if(E>=hsize){E=0;F++}var D=F+","+E;while(C.desktopgrid.E_contains(D)){E++;if(E>=hsize){E=0;F++}D=F+","+E}$=F*100;_=E*100;B.style.left=$+"px";B.style.top=_+"px";C.desktopgrid.E_put(D,B)};DxWatDesktop.updateData=function(A,C,J){var S=top.E_clientModel.E_getWindow(A),L=WatCore.getWindowDoc(A,S),G=L.getElementById(C),N=G.buttons,I=G.desktopgrid.E_keys.E_list.E_contents.length,K;for(var O=I-1;O>=0;O--){K=G.desktopgrid.E_keys.E_list.E_contents[O];G.desktopgrid.E_remove(K)}for(O=0;O=0)return;if(D==null||D=="")M.innerText=H;else if(H!=D){var B=M.wid,E=M.cid,I=M.parentElement.parentElement.parentElement.parentElement,K=top.E_clientModel.E_getWindow(B),A=WatCore.getWindowDoc(B,K),J=A.getElementById(E),$=true,C=J.buttons;for(var F=0;FVALID_RESIZE_OFFSET||Math.abs(C)>VALID_RESIZE_OFFSET);dragbutton.style.visibility="hidden";break;case"mousemove":var F=dragbutton.canmove;if(F=="false"){if(top.isIE){dragbutton.detachEvent("onmousemove",DxWatDesktop.agentForDraggingTitleInIE);dragbutton.detachEvent("onmouseup",DxWatDesktop.agentForEndDraggingTitleInIE)}else{dragbutton.removeEventListener("mousemove",DxWatDesktop.agentForDraggingTitleInIE,false);dragbutton.removeEventListener("mouseup",DxWatDesktop.agentForEndDraggingTitleInIE,false)}if(dragbutton.releaseCapture)dragbutton.releaseCapture();else if(window.releaseEvents)window.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP);dragbutton.drag=false;dragbutton=null;alert("\u4e0d\u5141\u8bb8\u79fb\u52a8");return}if(G.button%2==EVT_LEFT_BUTTON){var A=parseInt(dragbutton.num);A++;dragbutton.num=A;if(A>=10){if(!dragbutton.drag)dragbutton.drag=true;if(dragbutton.drag){var J=parseInt(D)-40;if(J<0)J=0;var H=parseInt(_)-35;if(H<0)H=0;$(dragbutton).css({"left":J+"px","top":H+"px"})}}}break;default:break}G.cancelBubble=true}catch(B){window.status="dragWindow:"+B.description}};DxWatDesktop.getNoUseButton=function(C,F,J,A){var D=J.buttons,K,$=J.id+"_button_";for(var G=0;G=41)||(C))return true}else if($){$=$[0].match(/\d+/);if($[0]>=32)return true}else if((!F)&&(!_)){var E=B.match(/Chrome\D?\d+/i);if(E){E=E[0].match(/\d+/);if(E[0]>=41)return true}}return false}catch(A){return true}};DxLodopPrinter.init=function(F,I){try{var C=top.E_clientModel.E_getWindow(F),B=WatCore.getWindowDoc(F,C),_=top.E_getObject(F,I,B),E=""+""+"";_.innerHTML=E}catch($){alert($.message)}if(DxLodopPrinter.needCLodop()){var H=document.head||document.getElementsByTagName("head")[0]||document.documentElement,G=document.createElement("script");G.src="http://localhost:8000/CLodopfuncs.js?priority=1";H.insertBefore(G,H.firstChild);var D=document.createElement("script");D.src="http://localhost:18000/CLodopfuncs.js?priority=0";H.insertBefore(D,H.firstChild);CLodopIsLocal=!!((G.src+D.src).match(/\/\/localho|\/\/127.0.0./i));if(G.attachEvent){CLodopJsState="loading";var A=function(){if(window.event.srcElement.readyState=="loaded")CLodopJsState="complete"};G.attachEvent("onreadystatechange",A);D.attachEvent("onreadystatechange",A)}}};DxLodopPrinter.initshow=function(C,D){try{var B=top.E_clientModel.E_getWindow(C),A=WatCore.getWindowDoc(C,B),_=top.E_getObject(C,D,A)}catch($){alert($.message)}};DxLodopPrinter.getLodop=function(F,B,H){var G="
\u6253\u5370\u63a7\u4ef6\u672a\u5b89\u88c5!\u70b9\u51fb\u8fd9\u91cc\u6267\u884c\u5b89\u88c5,\u5b89\u88c5\u540e\u8bf7\u5237\u65b0\u9875\u9762\u6216\u91cd\u65b0\u8fdb\u5165\u3002",E="
\u6253\u5370\u63a7\u4ef6\u9700\u8981\u5347\u7ea7!\u70b9\u51fb\u8fd9\u91cc\u6267\u884c\u5347\u7ea7,\u5347\u7ea7\u540e\u8bf7\u91cd\u65b0\u8fdb\u5165\u3002",J="
\u6253\u5370\u63a7\u4ef6\u672a\u5b89\u88c5!\u70b9\u51fb\u8fd9\u91cc\u6267\u884c\u5b89\u88c5,\u5b89\u88c5\u540e\u8bf7\u5237\u65b0\u9875\u9762\u6216\u91cd\u65b0\u8fdb\u5165\u3002",A="
\u6253\u5370\u63a7\u4ef6\u9700\u8981\u5347\u7ea7!\u70b9\u51fb\u8fd9\u91cc\u6267\u884c\u5347\u7ea7,\u5347\u7ea7\u540e\u8bf7\u91cd\u65b0\u8fdb\u5165\u3002",K="

\uff08\u6ce8\u610f\uff1a\u5982\u66fe\u5b89\u88c5\u8fc7Lodop\u65e7\u7248\u9644\u4ef6npActiveXPLugin,\u8bf7\u5728\u3010\u5de5\u5177\u3011->\u3010\u9644\u52a0\u7ec4\u4ef6\u3011->\u3010\u6269\u5c55\u3011\u4e2d\u5148\u5378\u5b83\uff09",$="

(\u5982\u679c\u6b64\u524d\u6b63\u5e38\uff0c\u4ec5\u56e0\u6d4f\u89c8\u5668\u5347\u7ea7\u6216\u91cd\u5b89\u88c5\u800c\u51fa\u95ee\u9898\uff0c\u9700\u91cd\u65b0\u6267\u884c\u4ee5\u4e0a\u5b89\u88c5\uff09",C="
CLodop\u4e91\u6253\u5370\u670d\u52a1(localhost\u672c\u5730)\u672a\u5b89\u88c5\u542f\u52a8!\u70b9\u51fb\u8fd9\u91cc\u6267\u884c\u5b89\u88c5,\u5b89\u88c5\u540e\u8bf7\u5237\u65b0\u9875\u9762\u3002",_="
CLodop\u4e91\u6253\u5370\u670d\u52a1\u9700\u5347\u7ea7!\u70b9\u51fb\u8fd9\u91cc\u6267\u884c\u5347\u7ea7,\u5347\u7ea7\u540e\u8bf7\u5237\u65b0\u9875\u9762\u3002",D;try{var L=(navigator.userAgent.indexOf("MSIE")>=0)||(navigator.userAgent.indexOf("Trident")>=0);if(DxLodopPrinter.needCLodop()){try{D=getCLodop()}catch(I){}if(!D&&document.readyState!=="complete"){alert("C-Lodop\u6ca1\u51c6\u5907\u597d\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01");return}if(!D){if(L);return}else{if(CLODOP.CVERSION<"2.0.6.2")if(L);if(B&&B.parentNode)B.parentNode.removeChild(B);if(F&&F.parentNode)F.parentNode.removeChild(F)}}else{var M=L&&(navigator.userAgent.indexOf("x64")>=0);if(F!=undefined||B!=undefined){if(L)D=F;else D=B}else if(CreatedOKLodop7766==null||CreatedOKLodop7766==undefined){D=document.createElement("object");D.setAttribute("width",0);D.setAttribute("height",0);D.setAttribute("style","position:absolute;left:0px;top:-100px;width:0px;height:0px;");if(L)D.setAttribute("classid","clsid:2105C259-1E0C-4534-8141-A753534CB4CA");else D.setAttribute("type","application/x-print-lodop");document.documentElement.appendChild(D);CreatedOKLodop7766=D}else D=CreatedOKLodop7766;if((D==null)||(typeof(D.VERSION)=="undefined"))return D}if(D.VERSION<"6.1.9.0")return D;D.SET_LICENSES("\u5c71\u4e1c\u7535\u4fe1\u516c\u53f8","47DADCBBE10F6B22F60988D6696B4A70","","");return D}catch(I){top.DxLabel.showLabel_("\u63d0\u793a5:\u6253\u5370\u63a7\u4ef6\u5f02\u5e38,\u8bf7\u91cd\u65b0\u5b89\u88c5Lodop\u6253\u5370\u63a7\u4ef6\u6216\u8005\u8054\u7cfb\u6280\u672f\u4eba\u5458")}};DxLodopPrinter.evalGetCommand=function(strWinID,strCtrID,type,command){var oWin=top.E_clientModel.E_getWindow(strWinID),oDoc=WatCore.getWindowDoc(strWinID,oWin),ob=top.E_getObject(strWinID,strCtrID,oDoc),LODOP=$("#"+strCtrID+"_obj",ob).get(0),LODOPEM=$("#"+strCtrID+"_em",ob).get(0),recontent;try{LODOP=DxLodopPrinter.getLodop(LODOP,LODOPEM,ob);if(LODOP!=null&&(typeof(LODOP.VERSION)!="undefined"))recontent=eval(command)}catch(e){top.DxLabel.showLabel_(e.message)}WatCore.setParameter(strWinID,strCtrID,top.DC.UPDATE_GET_CONTENT,recontent);WatCore.sendACallToChart(strWinID,strCtrID,type)};DxLodopPrinter.evalCommand=function(strWinID,strCtrID,command){var oWin=top.E_clientModel.E_getWindow(strWinID),oDoc=WatCore.getWindowDoc(strWinID,oWin),ob=top.E_getObject(strWinID,strCtrID,oDoc),LODOP=top.E_getObject(strWinID,strCtrID+"_obj",oDoc),LODOPEM=$("#"+strCtrID+"_em",ob).get(0),printresult;try{var strs=command.split("@wat@"),nextpage=strs[0];LODOP=DxLodopPrinter.getLodop(LODOP,LODOPEM,ob);if(LODOP!=null&&(typeof(LODOP.VERSION)!="undefined")){eval(strs[1]);if(parseInt(nextpage)>0)WatCore.sendACallToChart(strWinID,strCtrID,nextpage);else if(printresult!=null&&ob.getAttribute("action")=="true")WatCore.sendACallToChart(strWinID,strCtrID,""+printresult)}else top.DxLabel.showLabel_("\u63d0\u793a4:\u6253\u5370\u63a7\u4ef6\u5f02\u5e38,\u8bf7\u91cd\u65b0\u5b89\u88c5Lodop\u6253\u5370\u63a7\u4ef6\u6216\u8005\u8054\u7cfb\u6280\u672f\u4eba\u5458")}catch(e){top.DxLabel.showLabel_("\u63d0\u793a4:\u6253\u5370\u6570\u636e\u5f02\u5e38,\u8bf7\u91cd\u65b0\u5b89\u88c5Lodop\u6253\u5370\u63a7\u4ef6\u6216\u8005\u8054\u7cfb\u6280\u672f\u4eba\u5458")}};DxLodopPrinter.getPrintControlContent=function(_,A){var $="";$+="";$+="";$+=$$(A,_).get(0).outerHTML;$+="";return $};DxLodopPrinter.clientHeight=function(A){var $=A.parentElement,_=$.clientHeight;return _};DxLodopPrinter.evalCommandshow=function(strWinID,strCtrID,command){var oWin=top.E_clientModel.E_getWindow(strWinID),oDoc=WatCore.getWindowDoc(strWinID,oWin),ob=top.E_getObject(strWinID,strCtrID,oDoc);if(!ob.showal){var html="";ob.innerHTML=html;ob.showal=true}var LODOP=$("#"+strCtrID+"_obj",ob).get(0),LODOPEM=$("#"+strCtrID+"_em",ob).get(0);try{LODOP=DxLodopPrinter.getLodop(LODOP,LODOPEM,ob);if(LODOP!=null){eval(command);LODOP.SET_SHOW_MODE("HIDE_PAPER_BOARD",true);if(command.indexOf("SET_PREVIEW_WINDOW")<0)LODOP.SET_PREVIEW_WINDOW(1,3,0,0,0,"");LODOP.SET_SHOW_MODE("PREVIEW_IN_BROWSE",true);if(command.indexOf("PRINT_DESIGN")<0&&command.indexOf("PREVIEW")<0&&command.indexOf("LODOP.PRINT()")<0&&command.indexOf("PRINT_SETUP")<0)LODOP.PREVIEW()}}catch(e){top.DxLabel.showLabel_("\u63d0\u793a3:\u6253\u5370\u63a7\u4ef6\u5f02\u5e38,\u8bf7\u91cd\u65b0\u5b89\u88c5Lodop\u6253\u5370\u63a7\u4ef6\u6216\u8005\u8054\u7cfb\u6280\u672f\u4eba\u5458")}};DxLodopPrinter.doAction=function(strWinID,strCtrID,command){var oWin=top.E_clientModel.E_getWindow(strWinID),oDoc=WatCore.getWindowDoc(strWinID,oWin),ob=top.E_getObject(strWinID,strCtrID,oDoc);if(ob.showal){var LODOP=$("#"+strCtrID+"_obj",ob).get(0),LODOPEM=$("#"+strCtrID+"_em",ob).get(0);try{LODOP=DxLodopPrinter.getLodop(LODOP,LODOPEM,ob);if(LODOP!=null)eval(command)}catch(e){alert("\u63d0\u793a2:\u6253\u5370\u63a7\u4ef6\u5f02\u5e38,\u8bf7\u91cd\u65b0\u5b89\u88c5Lodop\u6253\u5370\u63a7\u4ef6\u6216\u8005\u8054\u7cfb\u6280\u672f\u4eba\u5458")}}};DxLodopPrinter.getAllPrinterName=function(E,H,D){var C=top.E_getObject(E,H,D),_=$("#"+H+"_obj",C).get(0),B=$("#"+H+"_em",C).get(0),G="";try{_=DxLodopPrinter.getLodop(_,B,C);if(_!=null){var F=_.GET_PRINTER_COUNT();for(var I=0;I")};DxDataCommonFunction.updateData=function(F,G,$){var E=top.E_clientModel.E_getWindow(F),D=WatCore.getWindowDoc(F,E),C=D.getElementById(G);if(top.isIE)C.dataDom.loadXML($);else C.dataDom=WatCore.createXmlDom($);C.innerHTML="";var A=C.dataDom.documentElement.selectNodes("cnt"),B="";for(var H=0;H";var _=A[H];B+=DxDataCommonFunction.createContent(F,G,C,_,H);if(H==A.length-1)B+=""}insertHTML(C,"BeforeEnd",B)};DxDataCommonFunction.notify=function(A,B,$,_){top.WatCore.call(A,B,_+"&"+$)};DxDataCommonFunction.createContent=function(D,G,J,I,A){var L=I.selectNodes("txt")[0],K=I.selectNodes("icon")[0],E=I.selectNodes("qxid")[0],F=I.selectNodes("delete")[0],B=top.isIE?E.text:E.textContent,$=top.isIE?K.text:K.textContent,H=top.isIE?L.text:L.textContent,C="";C+="";C+=""+"
 "+H+"
"+" ";var _=top.isIE?F.text:F.textContent;if(_=="true")C+=""+""+"";else C+=""+"";C+="";return C};DxDataCommonFunction.movein=function(_){_.style.backgroundColor="#c4e0ec";var $=_.ownerDocument.getElementById("qxdelete");if($!=null)$.style.visibility="visible"};DxDataCommonFunction.moveout=function(_){_.style.backgroundColor="transparent";var $=_.ownerDocument.getElementById("qxdelete");if($!=null)$.style.visibility="hidden"};DxDataCommonFunction.clear=function(A,_,B){try{B.dataDom=null}catch($){}};DxDataCommonFunction.render=function($,D,B){var E=B.getAttribute("cid"),A=B.selectNodes("*");for(var G=0;G0)b=S-P-9;else b=0;a=Z/5+Q;c.style.left=b+"px";c.style.top=a+"px";A.style.left=(P-12)+"px";if(Z<25){A.style.top=2+"px";N.style.top=2+"px"}else{A.style.top=parseInt(H/4+8)+"px";N.style.top=parseInt(H/4+8)+"px"}N.style.left=(P-11)+"px"}else if(B=="left"){var X=S+J+9;if(X+P>U-10)b=U-10-P;else b=X;a=Z/5+Q;c.style.left=b+"px";c.style.top=a+"px";A.style.left=-9+"px";if(Z<25){A.style.top=2+"px";N.style.top=2+"px"}else{A.style.top=parseInt(H/4)+"px";N.style.top=parseInt(H/4)+"px"}N.style.left=-10+"px"}else if(B=="top"){X=S+J/5;if(X>0)b=X;else b=0;if(Z/5>20)a=Q+20;else a=Z+Q+10;c.style.left=b+"px";c.style.top=a+"px";A.style.left=parseInt(P/4)+"px";A.style.top=-9+"px";N.style.left=parseInt(P/4)+"px";N.style.top=-10+"px"}else if(B=="bottom"){X=S+J/5;if(X>0)b=X;else b=0;var T=Z+Q-14-H;if(T<0)a=0;else a=T;c.style.left=b+"px";c.style.top=a+"px";A.style.left=parseInt(P/4)+"px";A.style.top=(H-9)+"px";N.style.left=parseInt(P/4)+"px";N.style.top=(H-8)+"px"}}else{var F=I.getAttribute("windowlocation");if(F==""){if(B=="right"){A.style.left=(P-12)+"px";A.style.top=parseInt(H/4+8)+"px";N.style.left=(P-11)+"px";N.style.top=parseInt(H/4+8)+"px"}else if(B=="left"){A.style.left=-9+"px";A.style.top=parseInt(H/4)+"px";N.style.left=-10+"px";N.style.top=parseInt(H/4)+"px"}else if(B=="top"){A.style.left=parseInt(P/4)+"px";A.style.top=-9+"px";N.style.left=parseInt(P/4)+"px";N.style.top=-10+"px"}else if(B=="bottom"){A.style.left=parseInt(P/4)+"px";A.style.top=(H-9)+"px";N.style.left=parseInt(P/4)+"px";N.style.top=(H-8)+"px"}}else{var V=__getAbsoluteCoords(c),S=parseInt(V.x),Q=parseInt(V.y),U=parseInt(V.w),Y=parseInt(V.h);if(F=="lefttop"){c.style.left=15+"px";c.style.top=10+"px";A.style.left=-9+"px";A.style.top=parseInt(H/2-10)+"px";N.style.left=-10+"px";N.style.top=parseInt(H/2-10)+"px"}else if(F=="leftcenter"){c.style.left=15+"px";c.style.top=Y/2-H/2+"px";A.style.left=-9+"px";A.style.top=parseInt(H/2-10)+"px";N.style.left=-10+"px";N.style.top=parseInt(H/2-10)+"px"}else if(F=="leftbottom"){c.style.left=2+"px";c.style.top=(Y-H-10-30)+"px";A.style.left=4+"px";A.style.top=(H-11)+"px";N.style.left=4+"px";N.style.top=(H-10)+"px"}else if(F=="center"){c.style.left=((U-P)/2)+"px";c.style.top=((Y-H)/2)+"px";A.style.visibility="hidden";N.style.visibility="hidden"}else if(F=="righttop"){c.style.left=(U-P-15)+"px";c.style.top=10+"px";A.style.left=(P-12)+"px";A.style.top=(parseInt(H/2)-10)+"px";N.style.left=(P-11)+"px";N.style.top=(parseInt(H/2)-10)+"px"}else if(F=="rightcenter"){c.style.left=(U-P-15)+"px";c.style.top=(Y/2-H/2)+"px";A.style.left=(P-12)+"px";A.style.top=(parseInt(H/2)-10)+"px";N.style.left=(P-11)+"px";N.style.top=(parseInt(H/2)-10)+"px"}else if(F=="rightbottom"){c.style.left=(U-P-24)+"px";c.style.top=(Y-H-10-30)+"px";A.style.left=(P-48)+"px";A.style.top=(H-11)+"px";N.style.left=(P-48)+"px";N.style.top=(H-10)+"px"}}}};DxHelpTip.imgclick=function(E,F){var D=top.E_clientModel.E_getWindow(E),B=WatCore.getWindowDoc(E,D),G=top.E_getObject(E,"E_SW_"+F,B);G.style.visibility="hidden";var A=$("#"+F,G).get(0),_=A.getAttribute("cookiename");if(_!=null&&_!="")top.WatCore.SetCookie(_,"true");var C=A.getAttribute("action");if(C=="true")WatCore.sendACallToChart(E,F,"click")};DxHelpTip.clear=function(A,_,B){try{B.dataDom=null}catch($){}};DxHelpTip.render=function($,D,B){var E=B.getAttribute("cid"),A=B.selectNodes("*");for(var G=0;G-1){C=K.substring(0,A);L=K.substring(A+1,K.length)}var J=top.isIE?_[D].text:_[D].textContent;switch(C){case top.DC.TEXT:var G=top.E_getObject($,B,I),F=G.getAttribute("cookiename");if(F!="")top.WatCore.SetCookie(F,J);break;case top.DC.UPDATE_DATA:var E=J.split("@wat@");if(L=="refresh")DxCookie.refresh($,B,I);break;default:break}}};function DxFileUploadEx(){}DxFileUploadEx.init=function(D,_,K){var L=top.E_clientModel.E_getWindow(D),B=WatCore.getWindowDoc(D,L),F=WatCore.getWindow(D,L),I=top.E_getObject(D,_,B),M=K.split("@wat@"),G;G=new Array(M.length);for(var H=0;H=0)$=true;else $=false}else $=true;return $};DxFileUploadEx.execJs=function(paras){var strs=paras.split("@wat@");if(strs.length==4){var strWinId=strs[0],strCtrId=strs[1],action=strs[2],text=strs[3],oWin=top.E_clientModel.E_getWindow(strWinId),ob=top.E_getObject(strWinId,strCtrId,oDoc),oDoc=WatCore.getWindowDoc(strWinId,oWin),win=WatCore.getWindow(strWinId,oWin),jsonobj=eval("("+text+")");$$(strCtrId,strWinId,oDoc).trigger(action,jsonobj)}};DxFileUploadEx.sendFile=function(F,E,A){var K=ob.ownerDocument.getElementById(E+"_uploadify").value;if(A!=null)K=A;if(K==null||K==""){alert("\u8bf7\u8f93\u5165\u4e0a\u4f20\u7684\u5185\u5bb9");return}var B=K.lastIndexOf("\\"),G=K.substring(B+1,K.length);B=G.lastIndexOf(".");if(B<0){alert("\u6587\u4ef6\u540d\u9519\u8bef");return}var $=ob.filepath,C=G.substring(B+1,G.length),_=DxFileUploadEx.isFileType(ob,C);if(!_){alert("\u6240\u9009\u6587\u4ef6\u4e0d\u662f\u5408\u9002\u7c7b\u578b\uff0c\u53ea\u5141\u8bb8\u4e0a\u4f20["+ob.filetype+"]");return}activeState=false;top.WatCore.showLoadingDialog();ob.oldAction=ob.action;var I="";if(ob.useroot=="true"){$="\\";I="&isroot=true"}var D="";if(ob.useabsolute=="true")D="&isabsolute=true";var H=ob.fileserver;if(H==null||H==undefined)H="";var J=encodeURI(G),M=null;if(ob.truename=="true"){M=encodeURI($+G);ob.action=H+ob.action+"?name="+J+"&path="+M+I+D}else{var L=DxFileUploadEx.create();M=encodeURI($+L+"."+C);ob.action=H+ob.action+"?name="+J+"&path="+M+I+D}};DxFileUploadEx.updateSettings=function(B,$,A,_,C){if(_=="displayData")$$($+"_uploadify",B,A).attr("displayData",C);else $$($+"_uploadify",B,A).uploadifySettings(_,C)};DxFileUploadEx.render=function($,F,E){var B=E.getAttribute("cid"),_=E.selectNodes("*");for(var D=0;D<_.length;D++){var C=_[D].nodeName;C=C.substring(1,C.length);var A=C.indexOf("_"),H=C,J;if(A>-1){C=H.substring(0,A);J=H.substring(A+1,H.length)}var G=top.isIE?_[D].text:_[D].textContent;switch(C){case top.DC.PARAMS:DxFileUploadEx.updateSettings($,B,F,J,G);break;case top.DC.SEND:DxFileUploadEx.init($,B,G);break;case top.DC.TEXT:top.E_getObject($,B,F).ownerDocument.getElementById("u11").value=G;break;case top.DC.FILEPATH:top.E_getObject($,B,F).filepath=G;break;case top.DC.FILE_TYPE:top.E_getObject($,B,F).filetype=G.toLowerCase();break;case top.DC.WIDTH:top.E_getObject($,B,F).style.width=G;break;case top.DC.HEIGHT:top.E_getObject($,B,F).style.height=G;break;case top.DC.VISIBLE:top.E_getObject($,B,F).style.visibility=G;break;case top.DC.BORDERSTYLE:top.E_getObject($,B,F).style.borderStyle=G;break;case top.DC.BORDERWIDTH:top.E_getObject($,B,F).style.borderWidth=G;break;case top.DC.BORDERCOLOR:top.E_getObject($,B,F).style.borderColor=G;break;case top.DC.X:top.E_getObject($,"E_SW_"+B,F).style.left=G;break;case top.DC.Y:top.E_getObject($,"E_SW_"+B,F).style.top=G;break;case top.DC.ENABLED:break;case top.DC.BACKGROUND:top.E_getObject($,B,F).style.backgroundColor=G;break;case top.DC.FOREGROUND:top.E_getObject($,B,F).style.color=G;break;case top.DC.FILE_SERVER:var I=top.E_getObject($,B,F);if(I!=null)I.fileserver=G;break;default:break}}};function DxFlexPaper(){}DxFlexPaper.init=function(D,F){var C=top.E_clientModel.E_getWindow(D),B=WatCore.getWindowDoc(D,C),A=top.E_getObject(D,F,B);try{var E="SwfFile="+watLocation2+"/flexpaper/blank.swf&Scale=1&ZoomTransition=easeOut&ZoomTime=0.5&ZoomInterval=0.2&PrintEnabled=true&MinZoomSize=0.2&MaxZoomSize=5&InitViewMode=Portrait&ViewModeToolsVisible=true&ZoomToolsVisible=true&NavToolsVisible=true&CursorToolsVisible=true&SearchToolsVisible=true&localeChain=en_US",_="";_+="";_+="";_+="";_+="";_+="";_+="";_+="";_+="";A.innerHTML=_}catch($){}};DxFlexPaper.renderFlexPaper=function(C,E,B,D){try{var A=top.E_getObject(C,E,B),_="";_+="";_+="";_+="";_+="";_+="";_+="";_+="";_+="";A.innerHTML=_}catch($){}};DxFlexPaper.loadSwf=function(E,G,B,D){try{var A=top.E_getObject(E,G,B),C;if(top.isIE)C=A.ownerDocument.getElementById(G+"_doc");else C=A.ownerDocument.getElementById(G+"_doc2");if(C!=null)C.loadSwf(D);else{var F="SwfFile="+D+"&Scale=1.0&ZoomTransition=easeOut&ZoomTime=0.5&ZoomInterval=0.2&PrintEnabled=true&MinZoomSize=0.2&MaxZoomSize=5&InitViewMode=Portrait&ViewModeToolsVisible=true&ZoomToolsVisible=true&NavToolsVisible=true&CursorToolsVisible=true&SearchToolsVisible=true&localeChain=en_US",_="";_+="";_+="";_+="";_+="";_+="";_+="";_+="";_+="";A.innerHTML=_}}catch($){}};DxFlexPaper.render=function($,G,F){var B=F.getAttribute("cid"),_=F.selectNodes("*");for(var D=0;D<_.length;D++){var C=_[D].nodeName;C=C.substring(1,C.length);var A=C.indexOf("_"),I=C,J;if(A>-1){C=I.substring(0,A);J=I.substring(A+1,I.length)}var H=top.isIE?_[D].text:_[D].textContent;switch(C){case top.DC.UPDATE_DATA:var E=H.split("@wat@");if(J=="loadSwf")DxFlexPaper.loadSwf($,B,G,E[0]);else if(J=="renderFlexPaper")DxFlexPaper.renderFlexPaper($,B,G,E[0]);break;default:break}}};if(typeof JSON!=="object")JSON={};(function(){"use strict";function f($){return $<10?"0"+$:$}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var cx,escapable,gap,indent,meta,rep;function quote($){escapable.lastIndex=0;return escapable.test($)?"\""+$.replace(escapable,function(_){var $=meta[_];return typeof $==="string"?$:"\\u"+("0000"+_.charCodeAt(0).toString(16)).slice(-4)})+"\"":"\""+$+"\""}function str(F,_){var G,E,$,B,C=gap,D,A=_[F];if(A&&typeof A==="object"&&typeof A.toJSON==="function")A=A.toJSON(F);if(typeof rep==="function")A=rep.call(_,F,A);switch(typeof A){case"string":return quote(A);case"number":return isFinite(A)?String(A):"null";case"boolean":case"null":return String(A);case"object":if(!A)return"null";gap+=indent;D=[];if(Object.prototype.toString.apply(A)==="[object Array]"){B=A.length;for(G=0;G";if(C.assistable==true)G+="
";else G+="
";G+="
"+"close";if(C.assistable==true)G+="\u8bf7\u6c42\u534f\u52a9
";else G+="\u79bb\u7ebf\u7559\u8a00
";if(C.assistable==true)G+="
"+""+""+""+""+""+"";else{var $=C.knowledgeUrl;if($!="")$="href="+$;G+=""+""+""+""+"
"+""+"
\u4f60\u6b63\u5728\u8fde\u63a5\u670d\u52a1\u5546"+C.providerName+"
"+"\u5f53\u524d\u65e0\u5de5\u7a0b\u5e08\u5728\u7ebf\uff0c\u8bf7\u7559\u8a00*\u60a8\u8fd8\u53ef\u4ee5\u81ea\u52a9\u67e5\u8be2
"+"
"+"
"+""+"
\u4f60\u6b63\u5728\u8fde\u63a5\u670d\u52a1\u5546
"+""+C.providerName+"
"}if(ra_rules=="C"){count++;G+=""+""}if(C.field0!=null&&C.field0.visible==true){count++;G+=""}if(C.field1!=null&&C.field1.visible==true){count++;G+=""}if(C.field2!=null&&C.field2.visible==true){count++;G+=""}if(C.field3!=null&&C.field3.visible==true){count++;G+=""}if(C.assistable==true)G+="";else G+=""+"";G+="
\u8bf7\u6c42\u670d\u52a1\u53f0*
";G+=C.field0.name;if(C.field0.required)G+="*";G+=""+C.field0.tip+"
";G+=C.field1.name;if(C.field1.required)G+="*";G+=""+C.field1.tip+"
";G+=C.field2.name;if(C.field2.required)G+="*";G+=""+C.field2.tip+"
";G+=C.field3.name;if(C.field3.required)G+="*";G+=""+C.field3.tip+"
 
  \u63a5\u53d7\u90ae\u4ef6\u901a\u77e5  
";if(C.assistable==true)G+="
\u9996\u6b21\u63a5\u53d7\u8fdc\u7a0b\u534f\u52a9\uff0c\u9700\u63a5\u53d7\u5b89\u88c5\u6d4f\u89c8\u5668\u63d2\u4ef6\uff0c\u8bf7\u6ce8\u610f\u9875\u9762\u63d0\u793a
";else G+="
";G+="
";var E=document.createElement("div");E.innerHTML=G;document.body.appendChild(E);var H;if(C.assistable==true){if(helpdesk_style=="ra_style3")H="";else H=""}else if(helpdesk_style=="ra_style3")H="";else H="";var F=top.E_clientModel.E_getWindow(strWin),D=WatCore.getWindowDoc(strWin,F),_=top.E_getObject(strWin,container,D);_.innerHTML=H};DxYcxzHelpdesk.ra_show=function(){if(document.all)document.getElementById("ra_mask").innerHTML="