").append(Z0.parseHTML($)).find(A):$)}).complete(D&&function(A,$){_.each(D,B||[A.responseText,$,A])}),this},Z0.expr.filters.animated=function($){return Z0.grep(Z0.timers,function(_){return $===_.elem}).length};var Z1=V0.document.documentElement;function w($){return Z0.isWindow($)?$:9===$.nodeType?$.defaultView||$.parentWindow:!1}Z0.offset={setOffset:function(E,C,D){var A,B,$,_,J,K,H,I=Z0.css(E,"position"),G=Z0(E),F={};"static"===I&&(E.style.position="relative"),J=G.offset(),$=Z0.css(E,"top"),K=Z0.css(E,"left"),H=("absolute"===I||"fixed"===I)&&Z0.inArray("auto",[$,K])>-1,H?(A=G.position(),_=A.top,B=A.left):(_=parseFloat($)||0,B=parseFloat(K)||0),Z0.isFunction(C)&&(C=C.call(E,D,J)),null!=C.top&&(F.top=C.top-J.top+_),null!=C.left&&(F.left=C.left-J.left+B),"using"in C?C.using.call(E,F):G.css(F)}},Z0.fn.extend({offset:function(D){if(arguments.length)return void 0===D?this:this.each(function($){Z0.offset.setOffset(this,D,$)});var B,C,_={top:0,left:0},A=this[0],$=A&&A.ownerDocument;if($)return B=$.documentElement,Z0.contains(B,A)?(typeof A.getBoundingClientRect!==t&&(_=A.getBoundingClientRect()),C=w($),{top:_.top+(C.pageYOffset||B.scrollTop)-(B.clientTop||0),left:_.left+(C.pageXOffset||B.scrollLeft)-(B.clientLeft||0)}):_},position:function(){if(this[0]){var B,_,A={top:0,left:0},$=this[0];return"fixed"===Z0.css($,"position")?_=$.getBoundingClientRect():(B=this.offsetParent(),_=this.offset(),Z0.nodeName(B[0],"html")||(A=B.offset()),A.top+=Z0.css(B[0],"borderTopWidth",!0),A.left+=Z0.css(B[0],"borderLeftWidth",!0)),{top:_.top-A.top-Z0.css($,"marginTop",!0),left:_.left-A.left-Z0.css($,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var $=this.offsetParent||Z1;while($&&!Z0.nodeName($,"html")&&"static"===Z0.css($,"position"))$=$.offsetParent;return $||Z1})}}),Z0.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(A,$){var _=/Y/.test($);Z0.fn[A]=function(B){return z(this,function(D,B,C){var A=w(D);return void 0===C?A?$ in A?A[$]:A.document.documentElement[B]:D[B]:void(A?A.scrollTo(_?Z0(A).scrollLeft():C,_?C:Z0(A).scrollTop()):D[B]=C)},A,B,arguments.length,null)}}),Z0.each(["top","left"],function(_,$){Z0.cssHooks[$]=J(c0.pixelPosition,function(A,_){return _?(_=l1(A,$),I1.test(_)?Z0(A).position()[$]+"px":_):void 0})}),Z0.each({Height:"height",Width:"width"},function(_,$){Z0.each({padding:"inner"+_,content:$,"":"outer"+_},function(B,A){Z0.fn[A]=function(D,E){var A=arguments.length&&(B||"boolean"!=typeof D),C=B||(D===!0||E===!0?"margin":"border");return z(this,function(B,D,$){var A;return Z0.isWindow(B)?B.document.documentElement["client"+_]:9===B.nodeType?(A=B.documentElement,Math.max(B.body["scroll"+_],A["scroll"+_],B.body["offset"+_],A["offset"+_],A["client"+_])):void 0===$?Z0.css(B,D,C):Z0.style(B,D,$,C)},$,A?D:void 0,A,null)}})}),Z0.fn.size=function(){return this.length},Z0.fn.andSelf=Z0.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z0});var s=V0.jQuery,a0=V0.$;return Z0.noConflict=function($){return V0.$===Z0&&(V0.$=a0),$&&V0.jQuery===Z0&&(V0.jQuery=s),Z0},typeof S0===t&&(V0.jQuery=V0.$=Z0),Z0});(function(B,A){var D=0,C=/^ui-id-\d+$/;B.ui=B.ui||{};if(B.ui.version)return;B.extend(B.ui,{version:"1.9.1",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});B.fn.extend({_focus:B.fn.focus,focus:function($,_){return typeof $==="number"?this.each(function(){var A=this;setTimeout(function(){B(A).focus();if(_)_.call(A)},$)}):this._focus.apply(this,arguments)},scrollParent:function(){var $;if((B.ui.ie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position")))$=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(B.css(this,"position"))&&(/(auto|scroll)/).test(B.css(this,"overflow")+B.css(this,"overflow-y")+B.css(this,"overflow-x"))}).eq(0);else $=this.parents().filter(function(){return(/(auto|scroll)/).test(B.css(this,"overflow")+B.css(this,"overflow-y")+B.css(this,"overflow-x"))}).eq(0);return(/fixed/).test(this.css("position"))||!$.length?B(document):$},zIndex:function(C){if(C!==A)return this.css("zIndex",C);if(this.length){var _=B(this[0]),$,D;while(_.length&&_[0]!==document){$=_.css("position");if($==="absolute"||$==="relative"||$==="fixed"){D=parseInt(_.css("zIndex"),10);if(!isNaN(D)&&D!==0)return D}_=_.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id)this.id="ui-id-"+(++D)})},removeUniqueId:function(){return this.each(function(){if(C.test(this.id))B(this).removeAttr("id")})}});if(!B("
").outerWidth(1).jquery)B.each(["Width","Height"],function(F,_){var $=_==="Width"?["Left","Right"]:["Top","Bottom"],D=_.toLowerCase(),C={innerWidth:B.fn.innerWidth,innerHeight:B.fn.innerHeight,outerWidth:B.fn.outerWidth,outerHeight:B.fn.outerHeight};function E(_,D,C,A){B.each($,function(){D-=parseFloat(B.css(_,"padding"+this))||0;if(C)D-=parseFloat(B.css(_,"border"+this+"Width"))||0;if(A)D-=parseFloat(B.css(_,"margin"+this))||0});return D}B.fn["inner"+_]=function($){if($===A)return C["inner"+_].call(this);return this.each(function(){B(this).css(D,E(this,$)+"px")})};B.fn["outer"+_]=function(A,$){if(typeof A!=="number")return C["outer"+_].call(this,A);return this.each(function(){B(this).css(D,E(this,A,true,$)+"px")})}});function $($,E){var D,F,C,A=$.nodeName.toLowerCase();if("area"===A){D=$.parentNode;F=D.name;if(!$.href||!F||D.nodeName.toLowerCase()!=="map")return false;C=B("img[usemap=#"+F+"]")[0];return!!C&&_(C)}return(/input|select|textarea|button|object/.test(A)?!$.disabled:"a"===A?$.href||E:E)&&_($)}function _($){return B.expr.filters.visible($)&&!B($).parents().andSelf().filter(function(){return B.css(this,"visibility")==="hidden"}).length}B.extend(B.expr[":"],{data:B.expr.createPseudo?B.expr.createPseudo(function($){return function(_){return!!B.data(_,$)}}):function($,A,_){return!!B.data($,_[3])},focusable:function(_){return $(_,!isNaN(B.attr(_,"tabindex")))},tabbable:function(_){var A=B.attr(_,"tabindex"),C=isNaN(A);return(C||A>=0)&&$(_,!C)}});B(function(){var $=document.body,_=$.appendChild(_=document.createElement("div"));_.offsetHeight;B.extend(_.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});B.support.minHeight=_.offsetHeight===100;B.support.selectstart="onselectstart"in _;$.removeChild(_).style.display="none"});(function(){var $=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];B.ui.ie=$.length?true:false;B.ui.ie6=parseFloat($[1],10)===6})();B.fn.extend({disableSelection:function(){return this.bind((B.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function($){$.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});B.extend(B.ui,{plugin:{add:function($,C,_){var D,A=B.ui[$].prototype;for(D in _){A.plugins[D]=A.plugins[D]||[];A.plugins[D].push([C,_[D]])}},call:function(B,A,_){var C,$=B.plugins[A];if(!$||!B.element[0].parentNode||B.element[0].parentNode.nodeType===11)return;for(C=0;C<$.length;C++)if(B.options[$[C][0]])$[C][1].apply(B.element,_)}},contains:B.contains,hasScroll:function($,A){if(B($).css("overflow")==="hidden")return false;var _=(A&&A==="left")?"scrollLeft":"scrollTop",C=false;if($[_]>0)return true;$[_]=1;C=($[_]>0);$[_]=0;return C},isOverAxis:function(A,$,_){return(A>$)&&(A<($+_))},isOver:function(C,E,D,A,$,_){return B.ui.isOverAxis(C,D,$)&&B.ui.isOverAxis(E,A,_)}})})(jQuery);(function(A,_){var C=0,B=Array.prototype.slice,$=A.cleanData;A.cleanData=function(C){for(var D=0,_;(_=C[D])!=null;D++){try{A(_).triggerHandler("remove")}catch(B){}}$(C)};A.widget=function(_,B,E){var D,$,G,C,F=_.split(".")[0];_=_.split(".")[1];D=F+"-"+_;if(!E){E=B;B=A.Widget}A.expr[":"][D.toLowerCase()]=function($){return!!A.data($,D)};A[F]=A[F]||{};$=A[F][_];G=A[F][_]=function(_,$){if(!this._createWidget)return new G(_,$);if(arguments.length)this._createWidget(_,$)};A.extend(G,$,{version:E.version,_proto:A.extend({},E),_childConstructors:[]});C=new B();C.options=A.widget.extend({},C.options);A.each(E,function(_,$){if(A.isFunction($))E[_]=(function(){var A=function(){return B.prototype[_].apply(this,arguments)},C=function($){return B.prototype[_].apply(this,$)};return function(){var _=this._super,D=this._superApply,B;this._super=A;this._superApply=C;B=$.apply(this,arguments);this._super=_;this._superApply=D;return B}})()});G.prototype=A.widget.extend(C,{widgetEventPrefix:C.widgetEventPrefix||_},E,{constructor:G,namespace:F,widgetName:_,widgetBaseClass:D,widgetFullName:D});if($){A.each($._childConstructors,function(B,$){var _=$.prototype;A.widget(_.namespace+"."+_.widgetName,G,$._proto)});delete $._childConstructors}else B._childConstructors.push(G);A.widget.bridge(_,G)};A.widget.extend=function(F){var $=B.call(arguments,1),E=0,C=$.length,G,D;for(;E",options:{disabled:false,create:null},_createWidget:function(_,$){$=A($||this.defaultElement||this)[0];this.element=A($);this.uuid=C++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=A.widget.extend({},this.options,this._getCreateOptions(),_);this.bindings=A();this.hoverable=A();this.focusable=A();if($!==this){A.data($,this.widgetName,this);A.data($,this.widgetFullName,this);this._on(this.element,{remove:function(_){if(_.target===$)this.destroy()}});this.document=A($.style?$.ownerDocument:$.document||$);this.window=A(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:A.noop,_getCreateEventData:A.noop,_create:A.noop,_init:A.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(A.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:A.noop,widget:function(){return this.element},option:function(D,B){var F=D,C,$,E;if(arguments.length===0)return A.widget.extend({},this.options);if(typeof D==="string"){F={};C=D.split(".");D=C.shift();if(C.length){$=F[D]=A.widget.extend({},this.options[D]);for(E=0;E=9)&&!$.button)return this._mouseUp($);if(this._mouseStarted){this._mouseDrag($);return $.preventDefault()}if(this._mouseDistanceMet($)&&this._mouseDelayMet($)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,$)!==false);(this._mouseStarted?this._mouseDrag($):this._mouseUp($))}return!this._mouseStarted},_mouseUp:function($){A(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if($.target===this._mouseDownEvent.target)A.data($.target,this.widgetName+".preventClickEvent",true);this._mouseStop($)}return false},_mouseDistanceMet:function($){return(Math.max(Math.abs(this._mouseDownEvent.pageX-$.pageX),Math.abs(this._mouseDownEvent.pageY-$.pageY))>=this.options.distance)},_mouseDelayMet:function($){return this.mouseDelayMet},_mouseStart:function($){},_mouseDrag:function($){},_mouseStop:function($){},_mouseCapture:function($){return true}})})(jQuery);(function(_,$){_.widget("ui.draggable",_.ui.mouse,{version:"1.9.1",widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!(/^(?:r|a|f)/).test(this.element.css("position")))this.element[0].style.position="relative";(this.options.addClasses&&this.element.addClass("ui-draggable"));(this.options.disabled&&this.element.addClass("ui-draggable-disabled"));this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy()},_mouseCapture:function($){var A=this.options;if(this.helper||A.disabled||_($.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle($);if(!this.handle)return false;_(A.iframeFix===true?"iframe":A.iframeFix).each(function(){_("").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(_(this).offset()).appendTo("body")});return true},_mouseStart:function($){var A=this.options;this.helper=this._createHelper($);this.helper.addClass("ui-draggable-dragging");this._cacheHelperProportions();if(_.ui.ddmanager)_.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};_.extend(this.offset,{click:{left:$.pageX-this.offset.left,top:$.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition($);this.originalPageX=$.pageX;this.originalPageY=$.pageY;(A.cursorAt&&this._adjustOffsetFromHelper(A.cursorAt));if(A.containment)this._setContainment();if(this._trigger("start",$)===false){this._clear();return false}this._cacheHelperProportions();if(_.ui.ddmanager&&!A.dropBehaviour)_.ui.ddmanager.prepareOffsets(this,$);this._mouseDrag($,true);if(_.ui.ddmanager)_.ui.ddmanager.dragStart(this,$);return true},_mouseDrag:function(B,A){this.position=this._generatePosition(B);this.positionAbs=this._convertPositionTo("absolute");if(!A){var $=this._uiHash();if(this._trigger("drag",B,$)===false){this._mouseUp({});return false}this.position=$.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";if(_.ui.ddmanager)_.ui.ddmanager.drag(this,B);return false},_mouseStop:function(C){var B=false;if(_.ui.ddmanager&&!this.options.dropBehaviour)B=_.ui.ddmanager.drop(this,C);if(this.dropped){B=this.dropped;this.dropped=false}var A=this.element[0],D=false;while(A&&(A=A.parentNode))if(A==document)D=true;if(!D&&this.options.helper==="original")return false;if((this.options.revert=="invalid"&&!B)||(this.options.revert=="valid"&&B)||this.options.revert===true||(_.isFunction(this.options.revert)&&this.options.revert.call(this.element,B))){var $=this;_(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if($._trigger("stop",C)!==false)$._clear()})}else if(this._trigger("stop",C)!==false)this._clear();return false},_mouseUp:function($){_("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});if(_.ui.ddmanager)_.ui.ddmanager.dragStop(this,$);return _.ui.mouse.prototype._mouseUp.call(this,$)},cancel:function(){if(this.helper.is(".ui-draggable-dragging"))this._mouseUp({});else this._clear();return this},_getHandle:function(A){var $=!this.options.handle||!_(this.options.handle,this.element).length?true:false;_(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==A.target)$=true});return $},_createHelper:function(A){var B=this.options,$=_.isFunction(B.helper)?_(B.helper.apply(this.element[0],[A])):(B.helper=="clone"?this.element.clone().removeAttr("id"):this.element);if(!$.parents("body").length)$.appendTo((B.appendTo=="parent"?this.element[0].parentNode:B.appendTo));if($[0]!=this.element[0]&&!(/(fixed|absolute)/).test($.css("position")))$.css("position","absolute");return $},_adjustOffsetFromHelper:function($){if(typeof $=="string")$=$.split(" ");if(_.isArray($))$={left:+$[0],top:+$[1]||0};if("left"in $)this.offset.click.left=$.left+this.margins.left;if("right"in $)this.offset.click.left=this.helperProportions.width-$.right+this.margins.left;if("top"in $)this.offset.click.top=$.top+this.margins.top;if("bottom"in $)this.offset.click.top=this.helperProportions.height-$.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var $=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0])){$.left+=this.scrollParent.scrollLeft();$.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&_.ui.ie))$={top:0,left:0};return{top:$.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:$.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var $=this.element.position();return{top:$.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:$.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var C=this.options;if(C.containment=="parent")C.containment=this.helper[0].parentNode;if(C.containment=="document"||C.containment=="window")this.containment=[C.containment=="document"?0:_(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,C.containment=="document"?0:_(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(C.containment=="document"?0:_(window).scrollLeft())+_(C.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(C.containment=="document"?0:_(window).scrollTop())+(_(C.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!(/^(document|window|parent)$/).test(C.containment)&&C.containment.constructor!=Array){var B=_(C.containment),D=B[0];if(!D)return;var A=B.offset(),$=(_(D).css("overflow")!="hidden");this.containment=[(parseInt(_(D).css("borderLeftWidth"),10)||0)+(parseInt(_(D).css("paddingLeft"),10)||0),(parseInt(_(D).css("borderTopWidth"),10)||0)+(parseInt(_(D).css("paddingTop"),10)||0),($?Math.max(D.scrollWidth,D.offsetWidth):D.offsetWidth)-(parseInt(_(D).css("borderLeftWidth"),10)||0)-(parseInt(_(D).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,($?Math.max(D.scrollHeight,D.offsetHeight):D.offsetHeight)-(parseInt(_(D).css("borderTopWidth"),10)||0)-(parseInt(_(D).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=B}else if(C.containment.constructor==Array)this.containment=C.containment},_convertPositionTo:function($,E){if(!E)E=this.position;var C=$=="absolute"?1:-1,D=this.options,A=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,B=(/(html|body)/i).test(A[0].tagName);return{top:(E.top+this.offset.relative.top*C+this.offset.parent.top*C-((this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(B?0:A.scrollTop()))*C)),left:(E.left+this.offset.relative.left*C+this.offset.parent.left*C-((this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():B?0:A.scrollLeft())*C))}},_generatePosition:function(C){var D=this.options,A=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&_.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,B=(/(html|body)/i).test(A[0].tagName),F=C.pageX,I=C.pageY;if(this.originalPosition){var G;if(this.containment){if(this.relative_container){var $=this.relative_container.offset();G=[this.containment[0]+$.left,this.containment[1]+$.top,this.containment[2]+$.left,this.containment[3]+$.top]}else G=this.containment;if(C.pageX-this.offset.click.leftG[2])F=G[2]+this.offset.click.left;if(C.pageY-this.offset.click.top>G[3])I=G[3]+this.offset.click.top}if(D.grid){var H=D.grid[1]?this.originalPageY+Math.round((I-this.originalPageY)/D.grid[1])*D.grid[1]:this.originalPageY;I=G?(!(H-this.offset.click.topG[3])?H:(!(H-this.offset.click.topG[2])?E:(!(E-this.offset.click.left=0;M--){var H=J.snapElements[M].left,O=H+J.snapElements[M].width,N=J.snapElements[M].top,D=N+J.snapElements[M].height;if(!((H-A=0;E--){var A=C.E_keys.E_list.E_contents[E];C.E_remove(A)}E_popgridtextCache.E_remove(_[F])}}catch($){}}function putPopgridtextCache(D,E,C,$){var B=E_popgridtextCache.E_get(D);if(!B){B=new E_Map();E_popgridtextCache.E_put(D,B)}if(B.E_size()>=$){var A=B.E_keys.E_list.E_contents.length;for(var F=A-1;F>=0;F--){var _=B.E_keys.E_list.E_contents[F];B.E_remove(_);break}}B.E_put(E,C);return true}function getPopgridtextCache(_,A){var $=E_popgridtextCache.E_get(_);if(!$)return null;if($.E_contains(A))return $.E_get(A);else return null}function popgridtextCacheContains(_,A){if(E_popgridtextCache.E_contains(_)){var $=E_popgridtextCache.E_get(_);if($.E_contains(A))return $.E_get(A);else return false}else return false}function E_initClientModel(){E_clientModel=new E_ClientModel();E_clientModel.E_addWindow(DESKTOP,E_clientModel.E_desktop)}function E_ClientModel_E_getDesktop(){return this.E_desktop}function E_ClientModel_E_getController(){return this.E_controller}function E_ClientModel_E_addWindow(_,$){this.E_windows.E_put(_,$)}function E_getTempObject($){return E_tempObject.E_get($)}function E_putTempObject(_,$){E_tempObject.E_put(_,$)}function E_getObject(C,$,A){var _,B=E_winObjs.E_get(C);if(B==null){B=new E_Map();E_winObjs.E_put(C,B);_=A.getElementById($);B.E_put($,_)}else{_=B.E_get($);if(_==null){_=A.getElementById($);B.E_put($,_)}}return _}function E_removeObject(C){var A=E_winObjs.E_get(C);if(A!=null){var $=A.E_keys.E_list.E_contents.length;for(var B=$-1;B>=0;B--){var _=A.E_keys.E_list.E_contents[B];A.E_remove(_)}E_winObjs.E_remove(C)}}function E_removeTheObject(A,$){var _=E_winObjs.E_get(A);if(_!=null)_.E_remove($)}function E_ClientModel_E_getWindow($){return this.E_windows.E_get($)}function E_ClientModel_E_getWindowID(B){var C=this.E_getWindowIds(),D=0,_="";for(D=0;D([\s\S]*?)Location:([\s\S]*?)Line Number (\d+), Column (\d+):([\s\S]*?)(?:\-*\^)/;$.test(this.xml);this.parseError.errorCode=-999999;this.parseError.reason=RegExp.$1;this.parseError.url=RegExp.$2;this.parseError.line=parseInt(RegExp.$3);this.parseError.linepos=parseInt(RegExp.$4);this.parseError.srcText=RegExp.$5}};Document.prototype.loadXML=function(B){this.__initError__();this.__changeReadyState__(1);var _=new DOMParser(),$=_.parseFromString(B,"text/xml");while(this.firstChild)this.removeChild(this.firstChild);for(var C=0;C<$.childNodes.length;C++){var A=this.importNode($.childNodes[C],true);this.appendChild(A)}this.__checkForErrors__();this.__changeReadyState__(4)};Document.prototype.load=function($){this.__initError__();this.__changeReadyState__(1);this.__load__($)};Document.prototype.__load__=Document.prototype.load;Document.prototype.__defineGetter__("xml",function(){return(new XMLSerializer()).serializeToString(this,"text/xml")});Node.prototype.__defineGetter__("text",function(){var $="";for(var _=0;_0)return _[0];else return null};Element.prototype.selectSingleNode=function($){if(this.ownerDocument.selectSingleNode)return this.ownerDocument.selectSingleNode($,this);else throw"For XML Elements Only"}}if(!document.all&&typeof(HTMLElement)!="undefined")HTMLElement.prototype.__defineGetter__("children",function(){var $=new Object(),_=0;for(var A=0;A";return $+">"+this.innerHTML+""+this.tagName+">"});pro.__defineSetter__("outerHTML",function(_){var A=this.ownerDocument.createRange();A.setStartBefore(this);var $=A.createContextualFragment(_);this.parentNode.replaceChild($,this);return _})}if(!document.all&&typeof(HTMLElement)!="undefined"){HTMLElement.prototype.insertAdjacentElement=function(_,$){switch(_){case"beforeBegin":this.parentNode.insertBefore($,this);break;case"afterBegin":this.insertBefore($,this.firstChild);break;case"beforeEnd":this.appendChild($);break;case"afterEnd":if(this.nextSibling)this.parentNode.insertBefore($,this.nextSibling);else this.parentNode.appendChild($);break}};HTMLElement.prototype.insertAdjacentHTML=function(B,$){var _=this.ownerDocument.createRange();_.setStartBefore(this);var A=_.createContextualFragment($);this.insertAdjacentElement(B,A)};HTMLElement.prototype.insertAdjacentText=function(_,$){var A=document.createTextNode($);this.insertAdjacentElement(_,A)}}if(!document.all){function __firefox(){HTMLElement.prototype.__defineGetter__("runtimeStyle",__element_style);window.constructor.prototype.__defineGetter__("event",__window_event);Event.prototype.__defineGetter__("srcElement",__event_srcElement)}function __element_style(){return this.style}function __window_event(){return __window_event_constructor()}function __event_srcElement(){return this.target}function __window_event_constructor(){if(document.all)return window.event;var _=__window_event_constructor.caller;while(_!=null){var A=_.arguments[0];if(A){var $=A.constructor;if($.toString().indexOf("Event")!=-1)return A}_=_.caller}return null}if(window.addEventListener)__firefox()}(function(A,G,I){"$:nomunge";var F=A.resize=A.extend(A.resize,{}),_,B="setTimeout",D="setInterval",J="resize",H=J+"-special-event",C="delay",$="throttleWindow";F[C]=350;F[$]=true;A.event.special[J]={setup:function(){if(!F[$]&&this[D])return false;var C=arguments[0];if(C==null)return;var G=top.E_sizeChange.E_get(C);if(G==null){G=A([]);top.E_sizeChange.E_put(C,G)}var B=A(this);G=G.add(B);top.E_sizeChange.E_put(C,G);A.data(this,H,{w:B.width(),h:B.height()});if(_==I)E()},teardown:function(){if(!F[$]&&this[D])return false;if(true)return false;var B=arguments[0];if(B==null)return;var _=A(this),C=top.E_sizeChange.E_get(B);if(C!=null){C=C.not(_);top.E_sizeChange.E_put(B,C);_.removeData(H);if(!C.length)if(!C.length)top.E_sizeChange.E_remove(B)}},add:function(B){if(!F[$]&&this[D])return false;var C;function _(B,_,E){var $=A(this),D=A.data(this,H);D.w=_!==I?_:$.width();D.h=E!==I?E:$.height();C.apply(this,arguments)}if(A.isFunction(B)){C=B;return _}else{C=B.handler;B.handler=_}}};function E(){_=G[D](function(){var _=top.E_sizeChange.E_keys.E_list.E_contents.length;for(var D=_-1;D>=0;D--){try{var B=top.E_sizeChange.E_keys.E_list.E_contents[D],C=top.E_sizeChange.E_get(B);if(C!=null)C.each(function(){var $=A(this),C=$.width(),B=$.height(),D=A.data(this,H);if(D!=null&&(C!==D.w||B!==D.h)){try{$.trigger(J,[D.w=C,D.h=B])}catch(_){}}})}catch($){}}},F[C])}})(jQuery,this);(function(_){var $="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",B=function(_){_=_.replace(/\x0d\x0a/g,"\n");var B="";for(var A=0;A<_.length;A++){var $=_.charCodeAt(A);if($<128)B+=String.fromCharCode($);else if(($>127)&&($<2048)){B+=String.fromCharCode(($>>6)|192);B+=String.fromCharCode(($&63)|128)}else{B+=String.fromCharCode(($>>12)|224);B+=String.fromCharCode((($>>6)&63)|128);B+=String.fromCharCode(($&63)|128)}}return B},A=function($){var A="",B=0,_=c1=c2=0;while(B<$.length){_=$.charCodeAt(B);if(_<128){A+=String.fromCharCode(_);B++}else if((_>191)&&(_<224)){c2=$.charCodeAt(B+1);A+=String.fromCharCode(((_&31)<<6)|(c2&63));B+=2}else{c2=$.charCodeAt(B+1);c3=$.charCodeAt(B+2);A+=String.fromCharCode(((_&15)<<12)|((c2&63)<<6)|(c3&63));B+=3}}return A};_.extend({base64Encode:function(_){var G="",F,H,I,E,C,A,D,J=0;_=B(_);while(J<_.length){F=_.charCodeAt(J++);H=_.charCodeAt(J++);I=_.charCodeAt(J++);E=F>>2;C=((F&3)<<4)|(H>>4);A=((H&15)<<2)|(I>>6);D=I&63;if(isNaN(H))A=D=64;else if(isNaN(I))D=64;G=G+$.charAt(E)+$.charAt(C)+$.charAt(A)+$.charAt(D)}return G},base64Decode:function(_){var G="",F,H,I,E,C,B,D,J=0;_=_.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(J<_.length){E=$.indexOf(_.charAt(J++));C=$.indexOf(_.charAt(J++));B=$.indexOf(_.charAt(J++));D=$.indexOf(_.charAt(J++));F=(E<<2)|(C>>4);H=((C&15)<<4)|(B>>2);I=((B&3)<<6)|D;G=G+String.fromCharCode(F);if(B!=64)G=G+String.fromCharCode(H);if(D!=64)G=G+String.fromCharCode(I)}G=A(G);return G}})})(jQuery);function $$(_,D,A){if(typeof _=="object")return $(_);var C;if(A!=null)C=top.E_getObject(D,_,A);else{var B=top.E_clientModel.E_getWindow(D);if(B!=null){var A=WatCore.getWindowDoc(D,B);C=top.E_getObject(D,_,A)}else C=document.getElementById(_)}return $(C)}function getJQueryDocument(A,F){if(typeof A=="object")return $(A);var E=null;if(E==null){var D=top.E_clientModel.E_getWindow(F),B=WatCore.getWindowDoc(F,D);if(B!=null)E=top.E_getObject(F,A,B);else{E=document.getElementById(A);if(E==null){var _=$getFrames(top.document);for(var G=0,C=_.length;G-1,F=B.indexOf("compatible")>-1&&B.indexOf("MSIE")>-1&&!D,A=B.indexOf("Edge")>-1,E=B.indexOf("Firefox")>-1,_=B.indexOf("Safari")>-1&&B.indexOf("Chrome")==-1,$=B.indexOf("Chrome")>-1&&B.indexOf("Safari")>-1;if(F){var G=new RegExp("MSIE (\\d+\\.\\d+);");G.test(B);var C=parseFloat(RegExp["$1"]);if(C==7)return"IE7";else if(C==8)return"IE8";else if(C==9)return"IE9";else if(C==10)return"IE10";else if(C==11)return"IE11";else return"0"}if(D)return"Opera";if(A)return"Edge";if(E)return"FF";if(_)return"Safari";if($)return"Chrome"}function getBrowserVersion(){var $=navigator.userAgent.toLowerCase();if($.match(/msie ([\d.]+)/)!=null){uaMatch=$.match(/msie ([\d.]+)/);switch(uaMatch[1]){case"4.0":return"IE8";break;case"5.0":return"IE9";break;case"6.0":return"IE10";break;case"7.0":return"IE11";break;default:return"IE"+uaMatch[1]}}else if($.match(/(trident)\/([\w.]+)/)){uaMatch=$.match(/trident\/([\w.]+)/);switch(uaMatch[1]){case"4.0":return"IE8";break;case"5.0":return"IE9";break;case"6.0":return"IE10";break;case"7.0":return"IE11";break;default:return undefined}}return undefined}function detectOS(){var _=navigator.userAgent,$=(navigator.platform=="Win32")||(navigator.platform=="Windows"),J=(navigator.platform=="Mac68K")||(navigator.platform=="MacPPC")||(navigator.platform=="Macintosh")||(navigator.platform=="MacIntel");if(J)return"Mac";var F=(navigator.platform=="X11")&&!$&&!J;if(F)return"Unix";var I=(String(navigator.platform).indexOf("Linux")>-1),E=_.toLowerCase().match(/android/i)=="android";if(I)if(E)return"Android";else return"Linux";if($){var A=_.indexOf("Windows NT 5.0")>-1||_.indexOf("Windows 2000")>-1;if(A)return"Win2000";var B=_.indexOf("Windows NT 5.1")>-1||_.indexOf("Windows XP")>-1;_.indexOf("Windows XP")>-1;if(B)return"WinXP";var C=_.indexOf("Windows NT 5.2")>-1||_.indexOf("Windows 2003")>-1;if(C)return"Win2003";var H=_.indexOf("Windows NT 6.0")>-1||_.indexOf("Windows Vista")>-1;if(H)return"WinVista";var G=_.indexOf("Windows NT 6.1")>-1||_.indexOf("Windows 7")>-1;if(G)return"Win7";var K=_.indexOf("Windows NT 6.2")>-1||_.indexOf("Windows 8")>-1;if(K)return"Win8";var D=_.indexOf("Windows NT 10")>-1||_.indexOf("Windows 10")>-1;if(D)return"Win10"}return"\u5176\u4ed6"}function digits(){var $=navigator.userAgent.toLowerCase(),_=$.indexOf("win64")>-1||$.indexOf("wow64")>-1;if(_)return"64\u4f4d";else return"32\u4f4d"}function getInnerText($){return(typeof $.textContent=="string")?$.textContent:$.innerText}function setInnerText($,_){if(typeof $.textContent=="string")$.textContent=_;else $.innerText=_}function insertHTML(A,C,B){if(!A)return false;C=C.toLowerCase();if(top.isIE)A.insertAdjacentHTML(C,B);else{var _=A.ownerDocument.createRange(),$=null;switch(C){case"beforebegin":_.setStartBefore(A);$=_.createContextualFragment(B);A.parentNode.insertBefore($,A);return A.previousSibling;case"afterbegin":if(A.firstChild){_.setStartBefore(A.firstChild);$=_.createContextualFragment(B);A.insertBefore($,A.firstChild)}else A.innerHTML=B;return A.firstChild;case"beforeend":if(A.lastChild){_.setStartAfter(A.lastChild);$=_.createContextualFragment(B);A.appendChild($)}else A.innerHTML=B;return A.lastChild;case"afterend":_.setStartAfter(A);$=_.createContextualFragment(B);A.parentNode.insertBefore($,A.nextSibling);return A.nextSibling}}}function addEventHandler(F,E,G,$,_,A,B,C,D){var H=G;if($)H=function(E){G.call(this,$,_,A,B,C,D)};if(F.attachEvent)F.attachEvent("on"+E,H);else if(F.addEventListener)F.addEventListener(E,H,false);else F["on"+E]=H}function removeEventHandler(_,$,A){if(_.removeEventListener)_.removeEventListener($,A,false);else if(_.detachEvent)_.detachEvent("on"+$,A);else delete _["on"+$]}function detectZoom(){var _=0,$=window.screen,A=navigator.userAgent.toLowerCase();if(window.devicePixelRatio!==undefined)_=window.devicePixelRatio;else if(A.indexOf("msie")){if($.deviceXDPI&&$.logicalXDPI)_=$.deviceXDPI/$.logicalXDPI}else if(window.outerWidth!==undefined&&window.innerWidth!==undefined)_=window.outerWidth/window.innerWidth;if(_)_=Math.round(_*100);return _}function htmlEncode($){if(true)return $;if($==null||$==undefined)return $;$=$.replace(new RegExp(/(<)/g),"<");$=$.replace(new RegExp(/([\\'])/g),"'");return $}function createRandom(){var $=new Date(),_=""+$.getYear()+$.getMonth()+$.getDate(),A=""+Math.random();A=A.substring(2,A.length);return _+A}function createGuid(){var $="";for(var A=1;A<=32;A++){var _=Math.floor(Math.random()*16).toString(16);$+=_;if((A==8)||(A==12)||(A==16)||(A==20))$+="-"}return $}function changeResizeCursortoemr(D,B){try{var C=(!isIE)?B.layerX:B.offsetX,_=(!isIE)?B.layerY:B.offsetY,$="default";D.nBorderType=getBorderTypeToEmr(D,C,_);switch(D.nBorderType){case 1:$="w-resize";break;case 2:$="e-resize";break;case 4:$="n-resize";break;case 5:$="nw-resize";break;case 6:$="ne-resize";break;case 8:$="s-resize";break;case 9:$="sw-resize";break;case 10:$="se-resize";break}D.style.cursor=$}catch(A){}}function getBorderTypeToEmr(F,E,A){var D=0;try{var _=F.offsetWidth,$=F.offsetHeight,C=8;if(A$-C)D+=8;else D=0}catch(B){}return D}function watMessage($){top.DxLabel.showLabel_($)}function drag(C,E,A,B,D,_){A.onmousedown=function(G){var F=B;G=G||D.event;var I=G.layerX||G.offsetX,H=G.layerY||G.offsetY;if(A.setCapture)A.setCapture();else if(D.captureEvents)D.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);A.draging="true";F.onmousemove=function(E){E=E||D.event;if(!E.pageX)E.pageX=E.clientX;if(!E.pageY)E.pageY=E.clientY;var C=E.pageX-I,B=E.pageY-H+parseInt(A.parentElement.scrollTop)-$(A.parentElement).offset().top;if(A.nBorderType!=8&&A.nBorderType!=4){if(parseInt(B)+$(A).height()>$(_).height()+A.topnumber)A.style.top=$(_).height()+A.topnumber-$(A).height();else if(A.topnumber$(_).height()+A.topnumber)A.style.height=$(_).height()+A.topnumber-parseInt(A.style.top);else A.style.height=parseInt(E.pageY+parseInt(A.parentElement.scrollTop))-parseInt(A.style.top)-$(A.parentElement).offset().top}catch(E){}}else if(A.nBorderType==4){try{var F=B;if(F2147483647)C+=$;return C}function watEval(_){var $=Function;return new $(_)()}(function($){$.fn.Tips=function(A){var _={html:"",times:3000};_this_=$("#tips");_this_.html(A.html);_this_.show();setTimeout(function(){_this_.hide()},A.times)}})(jQuery);var EventUtil={addHandler:function($,_,A){if($.addEventListener)$.addEventListener(_,A,false);else if($.attachEvent)$.attachEvent("on"+_,A);else $["on"+_]=A},removeHandler:function($,_,A){if($.removeEventListener)$.removeEventListener(_,A,false);else if($.detachEvent)$.detachEvent("on"+_,A);else $["on"+_]=null},getEvent:function($){return $?$:window.event},getTarget:function($){return $.target||$.srcElement},preventDefault:function(_){try{if(_.preventDefault)_.preventDefault();else _.returnValue=false}catch($){}},stopPropagation:function(_){try{if(_.stopPropagation)_.stopPropagation();else _.cancelBubble=true}catch($){}},getRelatedTarget:function($){if($.relatedTarget)return $.relatedTarget;else if($.toElement)return $.toElement;else if($.formElement)return $.formElement;else return null},getButton:function($){if(document.implementation.hasFeature("MouseEvents","2.0"))return $.button;else switch($.button){case 0:case 1:case 3:case 5:case 7:return 0;case 2:case 6:return 2;case 4:return 1}},getWheelDelta:function($){if($.wheelDelta)return $.wheelDelta;else return-$.detail*40},getCharCode:function($){if(typeof $.charCode=="number")return $.charCode;else return $.keyCode},mousePosition:function(_,A){var $=EventUtil.getEvent(_);if($.pageX||$.pageY)return{x:$.pageX,y:$.pageY};return{x:$.clientX+A.body.scrollLeft-A.body.clientLeft,y:$.clientY+A.body.scrollTop-A.body.clientTop}}};if(jQuery)(function($){$.extend($.fn,{uploadify:function(_){$(this).each(function(){settings=$.extend({id:$(this).attr("id"),uploader:"uploadify.swf",script:"uploadify.php",expressInstall:null,folder:"/uploadify",height:30,width:110,cancelImg:"cancel.png",wmode:"opaque",scriptAccess:"sameDomain",fileDataName:"Filedata",method:"POST",queueSizeLimit:999,simUploadLimit:1,queueID:false,displayData:"percentage",onInit:function(){},onSelect:function(){},onQueueFull:function(){},onCheck:function(){},onCancel:function(){},onError:function(){},onProgress:function(){},onComplete:function(){},onAllComplete:function(){},oDoc:document,oWin:window,hideButton:false,wid:""},_);var D=location.pathname;D=D.split("/");D.pop();D=D.join("/")+"/";var C={};C.uploadifyID=settings.id;C.pagepath=D;if(settings.buttonImg)C.buttonImg=escape(settings.buttonImg);if(settings.buttonText)C.buttonText=encodeURI(settings.buttonText);if(settings.rollover)C.rollover=true;C.script=settings.script;C.folder=escape(settings.folder);if(settings.scriptData){var A="";for(var B in settings.scriptData)A+="&"+B+"="+settings.scriptData[B];C.scriptData=escape(A.substr(1))}C.width=settings.width;C.height=settings.height;C.wmode=settings.wmode;C.method=settings.method;C.queueSizeLimit=settings.queueSizeLimit;C.simUploadLimit=settings.simUploadLimit;if(settings.hideButton)C.hideButton=true;if(settings.fileDesc)C.fileDesc=settings.fileDesc;if(settings.fileExt)C.fileExt=settings.fileExt;if(settings.multi)C.multi=true;if(settings.auto)C.auto=true;if(settings.sizeLimit)C.sizeLimit=settings.sizeLimit;if(settings.checkScript)C.checkScript=settings.checkScript;if(settings.fileDataName)C.fileDataName=settings.fileDataName;if(settings.queueID)C.queueID=settings.queueID;if(settings.wid)C.wid=settings.wid;if(settings.displayData)$(this).attr("displayData",settings.displayData);if(settings.onInit()!==false){$(this).css("display","none");$(this).after("");swfobject.embedSWF(settings.oDoc,settings.oWin,settings.uploader,settings.id+"Uploader",settings.width,settings.height,"9.0.24",settings.expressInstall,C,{"quality":"high","wmode":settings.wmode,"allowScriptAccess":settings.scriptAccess});if(settings.queueID==false)$("#"+$(this).attr("id")+"Uploader").after("")}$(this).bind("uploadifySelect",{"action":settings.onSelect,"queueID":settings.queueID},function(C,D,B){if(C.data.action(C,D,B)!==false){var A=Math.round(B.size/1024*100)*0.01,E="KB";if(A>1000){A=Math.round(A*0.001*100)*0.01;E="MB"}var _=A.toString().split(".");if(_.length>1)A=_[0]+"."+_[1].substr(0,2);else A=_[0];if(B.name.length>20)fileName=B.name.substr(0,20)+"...";else fileName=B.name;queue=$(this).attr("id")+"Queue";if(C.data.queueID)queue=C.data.queueID;$$(queue,$(this).attr("wid"),null).append("\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
"+fileName+" ("+A+E+")\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
")}});if(typeof(settings.onSelectOnce)=="function")$(this).bind("uploadifySelectOnce",settings.onSelectOnce);$(this).bind("uploadifyQueueFull",{"action":settings.onQueueFull},function(_,$){if(_.data.action(_,$)!==false)alert("The queue is full. The max size is "+$+".")});$(this).bind("uploadifyCheckExist",{"action":settings.onCheck},function(E,G,H,_,B){var A=new Object();A=H;A.folder=D+_;if(B)for(var F in H)var C=F;$.post(G,A,function(D){for(var F in D)if(E.data.action(E,G,H,_,B)!==false){var A=confirm("Do you want to replace the file "+D[F]+"?");if(!A)top.getDocument($(this).attr("id")+"Uploader",$(this).attr("wid")).cancelFileUpload(F,true,true)}if(B)top.getDocument($(this).attr("id")+"Uploader",$(this).attr("wid")).startFileUpload(C,true);else top.getDocument($(this).attr("id")+"Uploader",$(this).attr("wid")).startFileUpload(null,true)},"json")});$(this).bind("uploadifyCancel",{"action":settings.onCancel},function(B,D,A,C,E){if(B.data.action(B,D,$(this).attr("sid"),$(this).attr("wid"),A,C,E)!==false){var _=(E==true)?0:250;$$($(this).attr("id")+D,$(this).attr("wid"),null).fadeOut(_,function(){$(this).remove()})}});if(typeof(settings.onClearQueue)=="function")$(this).bind("uploadifyClearQueue",settings.onClearQueue);var E=[];$(this).bind("uploadifyError",{"action":settings.onError},function(A,D,_,F){if(A.data.action(A,D,$(this).attr("sid"),$(this).attr("wid"),_,F)!==false){var C=new Array(D,_,F);E.push(C);var B=$$($(this).attr("id")+D+"percentage",$(this).attr("wid"),null);B.text(B.attr("value")+" - "+F.type+" Error");$$($(this).attr("id")+D,$(this).attr("wid"),null).addClass("uploadifyError")}});$(this).bind("uploadifyProgress",{"action":settings.onProgress,"toDisplay":settings.displayData},function(A,D,_,C){if(A.data.action(A,D,_,C)!==false){$$($(this).attr("id")+D+"ProgressBar",$(this).attr("wid"),null).css("width",C.percentage+"%");if($(this).attr("displayData")=="percentage")displayData=" - "+C.percentage+"%";if($(this).attr("displayData")=="speed")displayData=" - "+C.speed+"KB/s";if($(this).attr("displayData")==null)displayData=" ";var B=$$($(this).attr("id")+D+"percentage",$(this).attr("wid"),null);B.text(B.attr("value")+displayData)}});$(this).bind("uploadifyComplete",{"action":settings.onComplete},function(B,E,A,_,D){if(B.data.action(B,E,$(this).attr("sid"),$(this).attr("wid"),A,unescape(_),D)!==false){var C=$$($(this).attr("id")+E+"percentage",$(this).attr("wid"),null);C.text(C.attr("value")+" - Completed");$$($(this).attr("id")+E,$(this).attr("wid"),null).fadeOut(250,function(){$(this).remove()})}});if(typeof(settings.onAllComplete)=="function")$(this).bind("uploadifyAllComplete",{"action":settings.onAllComplete},function(A,_){if(A.data.action(A,$(this).attr("sid"),$(this).attr("wid"),_)!==false)E=[]})})},uploadifySettings:function(A,E,F){var B=false;$(this).each(function(){if(A=="scriptData"&&E!=null){if(F)var D=E;else D=$.extend(settings.scriptData,E);var _="";for(var C in D)_+="&"+C+"="+escape(D[C]);E=_.substr(1)}B=top.getDocument($(this).attr("id")+"Uploader",$(this).attr("wid")).updateSettings(A,E)});if(E==null){if(A=="scriptData"){var D=unescape(B).split("&"),_=new Object();for(var G=0;G "),F=new ActiveXObject("Microsoft.XMLHTTP");F.open("GET","./printdlg.html",false);F.send(null);B.innerHTML=(F.responseText);document.body.appendChild(B);$$("btn_config").click(function(){DxPrintConfig.config(C);$$("d_printdlg").remove()});var G=$$(C).find("td[headcol]"),A=$$("p_hidCol")[0],D=$$("p_visiCol")[0];for(var H=0;H