﻿// Copyright (c) ComponentOne L.L.C., All rights reserved.
Type.registerNamespace("C1.Web.UI");C1.Web.UI.DOMScrollOrientation=function(){};C1.Web.UI.DOMScrollOrientation.prototype={horizontal:1,vertical:2,both:3};C1.Web.UI.DOMScrollOrientation.registerEnum("C1.Web.UI.DOMScrollOrientation",false);C1.Web.UI.DOMScrollButtonAlign=function(){};C1.Web.UI.DOMScrollButtonAlign.prototype={startSide:1,twoSides:2,endSide:3};C1.Web.UI.DOMScrollButtonAlign.registerEnum("C1.Web.UI.DOMScrollButtonAlign",false);C1.Web.UI.DOMScrollMode=function(){};C1.Web.UI.DOMScrollMode.prototype={none:1,buttons:2,buttonsHover:3,hover:4,scrollBar:5};C1.Web.UI.DOMScrollMode.registerEnum("C1.Web.UI.DOMScrollMode",false);C1.Web.UI.Orientation=function(){};C1.Web.UI.Orientation.prototype={horizontal:0,vertical:1};C1.Web.UI.Orientation.registerEnum("C1.Web.UI.Orientation",false);C1.Web.UI.PositioningMode=function(){};C1.Web.UI.PositioningMode.prototype={absolute:1,center:2,topLeft:3,topRight:4,topCenter:5,rightTop:6,rightBottom:7,rightMiddle:8,bottomLeft:9,bottomRight:10,bottomCenter:11,leftTop:12,leftBottom:13,leftMiddle:14};C1.Web.UI.PositioningMode.registerEnum("C1.Web.UI.PositioningMode",false);C1.Web.UI.ScrollOrientation=function(){};C1.Web.UI.ScrollOrientation.prototype={horizontal:0,vertical:1};C1.Web.UI.ScrollOrientation.registerEnum("C1.Web.UI.ScrollOrientation",false);C1.Web.UI.ScrollDirection=function(){};C1.Web.UI.ScrollDirection.prototype={increase:-1,decrease:1};C1.Web.UI.ScrollDirection.registerEnum("C1.Web.UI.ScrollDirection",false);C1.Web.UI.ScrollButtonAlign=function(){};C1.Web.UI.ScrollButtonAlign.prototype={startSide:0,twoSides:1,endSide:2};C1.Web.UI.ScrollButtonAlign.registerEnum("C1.Web.UI.ScrollButtonAlign",false);C1.Web.UI.ScrollMode=function(){};C1.Web.UI.ScrollMode.prototype={none:1,buttons:2,buttonsHover:3,hover:4};C1.Web.UI.ScrollMode.registerEnum("C1.Web.UI.ScrollMode",false);C1.Web.UI.AnimationEffect=function(){};C1.Web.UI.AnimationEffect.prototype={none:0,fadeIn:1,fadeOut:2,scrollInFromTop:3,scrollInFromRight:4,scrollInFromBottom:5,scrollInFromLeft:6,scrollOutToTop:7,scrollOutToRight:8,scrollOutToBottom:9,scrollOutToLeft:10,fold:11,unFold:12,openVertically:13,closeVertically:14,openHorizontally:15,closeHorizontally:16,shake:17,bounce:18,dropInFromTop:19,dropInFromRight:20,dropInFromBottom:21,dropInFromLeft:22,dropOutToTop:23,dropOutToRight:24,dropOutToBottom:25,dropOutToLeft:26};C1.Web.UI.AnimationEffect.registerEnum("C1.Web.UI.AnimationEffect",false);C1.Web.UI.ScrollBars=function(){};C1.Web.UI.ScrollBars.prototype={none:0,horizontal:1,vertical:2,both:3,auto:4};C1.Web.UI.ScrollBars.registerEnum("C1.Web.UI.ScrollBars",false);C1.Web.UI.BoxSide=function(){};C1.Web.UI.BoxSide.prototype={top:0,right:1,bottom:2,left:3};C1.Web.UI.BoxSide.registerEnum("C1.Web.UI.BoxSide",false);C1.Web.UI.DockStyle=function(){};C1.Web.UI.DockStyle.prototype={none:0,top:1,bottom:2,left:3,right:4,fill:5};C1.Web.UI.DockStyle.registerEnum("C1.Web.UI.DockStyle",false);C1.Web.UI.DockStyleEnum=function(){};C1.Web.UI.DockStyleEnum.prototype={none:0,top:1,bottom:2,left:3,right:4,fill:5};C1.Web.UI.DockStyleEnum.registerEnum("C1.Web.UI.DockStyleEnum",false);C1.Web.UI.Easing=function(){};C1.Web.UI.Easing.prototype={easeOutElastic:1,easeInElastic:2,easeInOutElastic:3,easeOutBounce:4,easeInBounce:5,easeInOutBounce:6,easeOutExpo:7,easeInExpo:8,easeInOutExpo:9,easeOutQuad:10,easeInQuad:11,easeInOutQuad:12,easeOutSine:13,easeInSine:14,easeInOutSine:15,easeOutCirc:16,easeInCirc:17,easeInOutCirc:18,easeOutCubic:19,easeInCubic:20,easeInOutCubic:21,easeOutQuint:22,easeInQuint:23,easeInOutQuint:24,easeOutBack:25,easeInBack:26,easeInOutBack:27,easeOutQuart:28,easeInQuart:29,easeInOutQuart:30,easeLinear:31};C1.Web.UI.Easing.registerEnum("C1.Web.UI.Easing",false);C1.Web.UI.TextImageRelation=function(){};C1.Web.UI.TextImageRelation.prototype={imageBeforeText:0,textBeforeImage:1,imageAboveText:2,textAboveImage:3};C1.Web.UI.TextImageRelation.registerEnum("C1.Web.UI.TextImageRelation",false);C1.Web.UI.Dock=function(){};C1.Web.UI.Dock.prototype={none:0,top:1,left:2,bottom:3,right:4,fill:5};C1.Web.UI.Dock.registerEnum("C1.Web.UI.Dock",false);C1.Web.UI.FrameworkStringConstants=function(){};C1.Web.UI.C1ClientResLoader=function(a){this._d=window[a]};C1.Web.UI.C1ClientResLoader.prototype={_d:null,getString:function(a){return this.getStringDefault(a,"")},getStringDefault:function(c,b){if(C1.Web.UI.Utils.Common.testIsNull(this._d)){return b}var a=this._d[c];if(C1.Web.UI.Utils.Common.testIsNull(a)){return b}return a.toString()}};C1.Web.UI.C1RoundCornerPanel=function(a){C1.Web.UI.C1RoundCornerPanel.initializeBase(this,[a])};C1.Web.UI.C1RoundCornerPanel.prototype={$7:null,$8:"div",$9:"div",$A:"div",$B:"div",$C:false,$D:"C1Container",$E:"C1Outer",$F:"C1Inner",$10:"C1Content",get_containerTabName:function(){return this.$8},set_containerTabName:function(a){this.$8=a;return a},get_outerTagName:function(){return this.$9},set_outerTagName:function(a){this.$9=a;return a},get_innerTagName:function(){return this.$A},set_innerTagName:function(a){this.$A=a;return a},get_contentTagName:function(){return this.$B},set_contentTagName:function(a){this.$B=a;return a},get_containerCssClass:function(){return this.$D},set_containerCssClass:function(a){this.$D=a;return a},get_outerCssClass:function(){return this.$E},set_outerCssClass:function(a){this.$E=a;return a},get_innerCssClass:function(){return this.$F},set_innerCssClass:function(a){this.$F=a;return a},get_contentCssClass:function(){return this.$10},set_contentCssClass:function(a){this.$10=a;return a},get_contentElement:function(){this.initialize();if(!this.$7){this.$7=document.createElement(this.get_contentTagName());Sys.UI.DomElement.addCssClass(this.$7,this.get_contentCssClass())}return this.$7},initialize:function(){if(this.$C){return}this.$C=true;C1.Web.UI.C1RoundCornerPanel.callBaseMethod(this,"initialize");if(!this.element){this.$11()}else{this.$7=jQuery(":first-child :first-child :first-child",this.element).get(0)}},$11:function(){this.element=document.createElement(this.get_containerTabName());Sys.UI.DomElement.addCssClass(this.element,this.get_containerCssClass());var b=document.createElement(this.get_outerTagName());Sys.UI.DomElement.addCssClass(b,this.get_outerCssClass());var a=document.createElement(this.get_innerTagName());Sys.UI.DomElement.addCssClass(a,this.get_innerCssClass());a.appendChild(this.get_contentElement());b.appendChild(a);this.element.appendChild(b)},addChild:function(a){this.get_contentElement().appendChild(a)},removeChild:function(a){this.get_contentElement().removeChild(a)}};C1.Web.UI.C1ThemeableControlBase=function(a){this._propertiesState={};C1.Web.UI.C1ThemeableControlBase.initializeBase(this,[a]);this._jsonHelper=new C1.Web.UI.Interfaces.JsonSerializableHelper(this.get_element().id,this)};C1.Web.UI.C1ThemeableControlBase.prototype={_jsonHelper:null,get_element:function(){return C1.Web.UI.C1ThemeableControlBase.callBaseMethod(this,"get_element")},get_visualStyle:function(){return(C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.VisualStyle))?"":this._propertiesState.VisualStyle},set_visualStyle:function(c){var b=this.get_visualStyle();if(b!==""&&b!==c){var a=new RegExp("("+b+")","g");this._propertiesState.VisualStyle=c;var d=this.get_element().className;d=d.replace(a,c);this.get_element().className=d;this.invalidate()}return c},invalidate:function(){},saveState:function(){this._jsonHelper.saveState()},get_propertiesState:function(){return this._propertiesState},assignPropertiesState:function(a){this._propertiesState=a},createInstance:function(a){return{}}};C1.Web.UI.C1ThemeHelper=function(){};C1.Web.UI.C1ThemeHelper.registerRunTimeStyleSheet=function(i,a){var h=document.getElementsByTagName("head")[0];var g=h.getElementsByTagName("link");var f=null;for(var e=0;e<g.length;e++){f=g[e];var d=f.getAttribute("id");if(C1.Web.UI.Utils.Common.testIsNull(d)){continue}if(d.endsWith(a)){return}var c=f.getAttribute("type");if(C1.Web.UI.Utils.Common.testIsNull(c)){continue}if(c.toLowerCase()!=="text/css"){continue}var b=f.getAttribute("rel");if(C1.Web.UI.Utils.Common.testIsNull(b)){continue}if(b.toLowerCase()!=="stylesheet"){continue}}f=document.createElement("link");f.setAttribute("type","text/css");f.setAttribute("rel","stylesheet");f.setAttribute("id",a);f.setAttribute("href",i);h.appendChild(f)};C1.Web.UI.C1RoundedCornerPanelBase=function(a){C1.Web.UI.C1RoundedCornerPanelBase.initializeBase(this,[a])};C1.Web.UI.C1RoundedCornerPanelBase.prototype={$7:null,$8:"C1Rcpb",$9:"div",$A:false,$B:"div",get_containerTagName:function(){return this.$B},set_containerTagName:function(a){this.$B=a;return a},get_classPrefix:function(){return this.$8},set_classPrefix:function(a){this.$8=a;return a},get_contentTagName:function(){return this.$9},set_contentTagName:function(a){this.$9=a;return a},get_contentElement:function(){this.initialize();if(!this.$7){this.$7=document.createElement(this.get_contentTagName());Sys.UI.DomElement.addCssClass(this.$7,this.get_classPrefix()+"Content")}return this.$7},initialize:function(){if(this.$A){return}this.$A=true;C1.Web.UI.C1RoundedCornerPanelBase.callBaseMethod(this,"initialize");if(!this.element){this.$C()}else{this.$7=$get(this.get_id()+"_c-ce")}},$C:function(){this.element=document.createElement(this.get_containerTagName());Sys.UI.DomElement.addCssClass(this.element,this.get_classPrefix()+"Container");this.$7=document.createElement(this.get_contentTagName());Sys.UI.DomElement.addCssClass(this.$7,this.get_classPrefix()+"Content");this.element.appendChild(this.$7);var a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-e");this.element.appendChild(a);a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-n");this.element.appendChild(a);a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-ne");this.element.appendChild(a);a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-nw");this.element.appendChild(a);a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-s");this.element.appendChild(a);a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-se");this.element.appendChild(a);a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-sw");this.element.appendChild(a);a=document.createElement("div");Sys.UI.DomElement.addCssClass(a,this.get_classPrefix()+"-w");this.element.appendChild(a)},addChild:function(a){this.get_contentElement().appendChild(a)},removeChild:function(a){this.get_contentElement().removeChild(a)}};C1.Web.UI.C1AjaxHelper=function(a){this.$3=-1;this.$2=a;(a)["getCallbackValueForServer"]=Function.createDelegate(this,this.$6)};C1.Web.UI.C1AjaxHelper.prototype={$1:null,$2:null,$4:60000,get_timeout:function(){return this.$4},set_timeout:function(a){if(a<0){return}this.$4=a;return a},doAjaxRequest:function(c){C1.Web.UI.C1AjaxHelper.$0=++C1.Web.UI.C1AjaxHelper.$0;this.$1=C1.Web.UI.C1AjaxHelper.$0+"|"+c;var b=this.$2.get_id();var a=b+"DoAjaxRequest";window[a]();C1.Web.UI.C1AjaxHelper.requestTimes["r"+C1.Web.UI.C1AjaxHelper.$0]=new Date().getTime();if(this.$3===-1){this.$3=window.setInterval(Function.createDelegate(this,this.$5),5000)}return C1.Web.UI.C1AjaxHelper.$0},$5:function(){try{var i=new Date().getTime();var h=C1.Web.UI.C1AjaxHelper.requestTimes;var g=0;var k=h;for(var j in k){var f={key:j,value:k[j]};if(f.value){if((i-f.value)>this.$4){delete h[f.key];var e=Number.parseInvariant(f.key.substr(1));var d=this.$2.get_id();var c=d+"OnCallbackError";if(C1.Web.UI.C1AjaxHelper.requestErrorsCount>0){C1.Web.UI.C1AjaxHelper.requestErrorsCount--}else{window[c]("Request timeout, reqId:"+e+".",null)}}else{g++}}else{try{delete h[f.key]}catch(b){}}}if(!g){window.clearInterval(this.$3);this.$3=-1;C1.Web.UI.C1AjaxHelper.requestErrorsCount=0}}catch(a){}},$6:function(){return this.$1}};C1.Web.UI.ContentPanel=function(a){C1.Web.UI.ContentPanel.initializeBase(this,[a])};C1.Web.UI.ContentPanel.prototype={$7:null,$8:null,$9:null,setInnerElementsClassNames:function(a,b,c){this._propertiesState.OuterElementClassName=a;this._propertiesState.InnerElementClassName=b;this._propertiesState.ContentElementClassName=c},get_outerElementClassName:function(){return(C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.OuterElementClassName))?"C1Outer":this._propertiesState.OuterElementClassName},set_outerElementClassName:function(a){this._propertiesState.OuterElementClassName=a;return a},get_innerElementClassName:function(){return(C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.InnerElementClassName))?"C1Inner":this._propertiesState.InnerElementClassName},set_innerElementClassName:function(a){this._propertiesState.InnerElementClassName=a;return a},get_contentElementClassName:function(){return(C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.ContentElementClassName))?"C1Content":this._propertiesState.ContentElementClassName},set_contentElementClassName:function(a){this._propertiesState.ContentElementClassName=a;return a},get_outerElement:function(){var b=this.element;var a=b.childNodes;for(var c=0;c<a.length;c++){if(a[c].tagName&&a[c].className){if(Sys.UI.DomElement.containsCssClass(a[c],this.get_outerElementClassName())){return a[c]}}}return null},get_innerElement:function(){var b=this.get_outerElement();if(b){var a=b.childNodes;for(var c=0;c<a.length;c++){if(a[c].tagName&&a[c].className){if(Sys.UI.DomElement.containsCssClass(a[c],this.get_innerElementClassName())){return a[c]}}}}return null},get_contentElement:function(){var b=this.get_innerElement();if(b){var a=b.childNodes;for(var c=0;c<a.length;c++){if(a[c].tagName&&a[c].className){if(Sys.UI.DomElement.containsCssClass(a[c],this.get_contentElementClassName())){return a[c]}}}}return null},get_contentUrl:function(){return(C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.ContentUrl))?"":this._propertiesState.ContentUrl},set_contentUrl:function(a){this._propertiesState.ContentUrl=a;this.$A(this.get_contentUrl());return a},get_contentFrame:function(){return this.$7},get_visible:function(){return C1.Web.UI.ContentPanel.callBaseMethod(this,"get_visible")},set_visible:function(a){if(this.$7){C1.Web.UI.Utils.Common.setOpacity(this.$7,(a)?1:0);this.$7.style.width=this.$7.style.height=(a)?"100%":"0px"}C1.Web.UI.ContentPanel.callBaseMethod(this,"set_visible",[a]);return a},dispose:function(){C1.Web.UI.ContentPanel.callBaseMethod(this,"dispose");if(this.$8){C1.Web.UI.Utils.Common.unListenVisibleState(this.element,this.$8);this.$8=null}},$A:function(a){if(C1.Web.UI.Utils.Common.testIsNull(a)||a===""){if(!C1.Web.UI.Utils.Common.testIsNull(this.$9)){this.get_contentElement().style.overflow=this.$9}}if(!a){return}if(this.isDOMVisible()){if(!this.$7){this.$7=document.createElement("iframe");this.$7.style.height=this.$7.style.width="100%";this.$7.frameBorder="0";this.get_contentElement().appendChild(this.$7)}if(this.$7.src&&this.$7.src===a){}else{this.$9=this.get_contentElement().style.overflow;this.get_contentElement().style.overflow="hidden";this.$7.src=a}}else{if(!this.$7&&a===""){}else{if(!this.$8){this.$8=Function.createDelegate(this,this.$B);C1.Web.UI.Utils.Common.listenVisibleState(this.element,this.$8)}}}},$B:function(b,a){if(a){this.$A(this.get_contentUrl())}}};C1.Web.UI.DockPanel=function(a){C1.Web.UI.DockPanel.initializeBase(this,[a]);this._jObj.addClass("dock-panel")};C1.Web.UI.DockPanel.prototype={onResize:function(){if(this.get_visible()){this.invalidate()}},invalidate:function(){var o=new Array(0);var n=new Array(0);var l=new Array(0);var j=new Array(0);var h=0;var f=0;var d=0;var c=0;var b=null;for(var C=0;C<this.get_children().get_count();C++){var B=this.get_children().get_item(C);if(B.get_visible()){var A=this.getDock(B);if(A===1){this.$7(B);this.element.appendChild(B.element);B.invalidate();var z=B.get_offsetSize();h+=z.height}else{if(A===3){o[o.length]=B}else{if(A===5){l[l.length]=B}else{if(A===4){n[n.length]=B}else{if(A===2){j[j.length]=B}}}}}}}for(var y=0;y<o.length;y++){var x=o[y];this.$7(x);this.element.appendChild(x.element);x.addCssClass("c1-float-left");x.invalidate();var w=x.get_offsetSize();f+=w.width}for(var v=0;v<n.length;v++){var u=n[v];this.$7(u);if(!b){b=u}this.element.appendChild(u.element);u.addCssClass("c1-float-right");u.invalidate();var t=u.get_offsetSize();d+=t.width}for(var s=0;s<j.length;s++){var r=j[s];this.$7(r);if(!b){b=r}this.element.appendChild(r.element);r.addCssClass("c1_clear_both");r.invalidate();var q=r.get_offsetSize();c+=q.height}var a=this.get_offsetSize();var E=a.width-(f+d);E=Math.floor(E/l.length);if(E<0){E=0}var D=a.height-(h+c);if(D<0){D=0}for(var p=0;p<l.length;p++){var m=l[p];this.$7(m);if(b){this.element.insertBefore(m.element,b.element)}else{this.element.appendChild(m.element)}m.addCssClass("c1-float-left");C1.Web.UI.Utils.Common.setSize(m.element,new C1.Web.UI.Utils.Size(E,D));m.invalidate()}for(var k=0;k<n.length;k++){var i=n[k];C1.Web.UI.Utils.Common.setHeight(i.element,D)}for(var g=0;g<o.length;g++){var e=o[g];C1.Web.UI.Utils.Common.setHeight(e.element,D)}},addChild:function(b,a){this.get_children().add(b);this.setDock(b,a)},setDock:function(b,a){if(b.get_parent()!==this){throw Error.argument("Element is not a child of this DockPanel.")}(b)["__dockStyle"]=a},getDock:function(b){var a=(b)["__dockStyle"];return(!a||!(a))?5:a},$7:function(a){a.removeCssClass("c1-float-left");a.removeCssClass("c1-float-right");a.removeCssClass("c1_clear_both")}};C1.Web.UI.DOMScrollBehavior=function(a){this.$11=new Sys.UI.Point(0,0);this.$23=1;this.$24=1;this.$25=2;this.events=new Sys.EventHandlerList();this.$13=jQuery(a);this.$18=Function.createDelegate(this,this.onMouseOver);this.$19=Function.createDelegate(this,this.onMouseOut);this.$1A=Function.createDelegate(this,this.onMouseMove);this.$27=Function.createDelegate(this,this.$35);this.$1B=Function.createDelegate(this,this.onScrollButtonMouseDown);this.$1C=Function.createDelegate(this,this.onScrollButtonMouseUp);this.$1D=Function.createDelegate(this,this.onScrollButtonMouseOver);this.$1E=Function.createDelegate(this,this.onScrollButtonMouseOut)};C1.Web.UI.DOMScrollBehavior.prototype={$0:"c1-domscrollbutton-top",$1:"c1-domscrollbutton-right",$2:"c1-domscrollbutton-bottom",$3:"c1-domscrollbutton-left",$4:"c1-domscrollbutton-top-active",$5:"c1-domscrollbutton-right-active",$6:"c1-domscrollbutton-bottom-active",$7:"c1-domscrollbutton-left-active",$8:"c1-domscrollbutton-top-disabled",$9:"c1-domscrollbutton-right-disabled",$A:"c1-domscrollbutton-bottom-disabled",$B:"c1-domscrollbutton-left-disabled",$C:false,$D:false,$E:false,$F:0,$10:20,$12:4,$13:null,$14:null,$15:null,$16:null,$17:null,$18:null,$19:null,$1A:null,$1B:null,$1C:null,$1D:null,$1E:null,$1F:null,$20:null,$21:null,$22:null,$26:false,$27:null,$28:function(){this.$13.mouseover(this.$18);this.$13.mouseout(this.$19);this.$13.mousemove(this.$1A)},buttonsMarkerHash:null,$29:function(e,d){if(d){this.$2A(d)}if(e){e.mousedown(this.$1B);e.mouseup(this.$1C);e.mouseover(this.$1D);e.mouseout(this.$1E);if(this.buttonsMarkerHash){var c=this.buttonsMarkerHash;for(var b in c){var a={key:b,value:c[b]};e.data(a.key,a.value)}}}},$2A:function(a){a.unbind("mousedown",this.$1B);a.unbind("mouseup",this.$1C);a.unbind("mouseover",this.$1D);a.unbind("mouseout",this.$1E)},$2B:function(){if(this.$23===1){return}if(this.$23===5){this.$13.css("overflow","auto");return}else{this.$13.css("overflow","hidden")}if(this.$23===4){return}var a=this.$13.get(0);if(this.$24===2||this.$24===3){this.set_$2E(this.$39());this.$1F=new C1.Web.UI.PopupBehavior(this.$14.get(0),1,0,0,a,false);this.$1F.markerHash=this.buttonsMarkerHash;this.set_$30(this.$39());this.$21=new C1.Web.UI.PopupBehavior(this.$16.get(0),1,0,0,a,false);this.$21.markerHash=this.buttonsMarkerHash}if(this.$24===1||this.$24===3){this.set_$2F(this.$39());this.$20=new C1.Web.UI.PopupBehavior(this.$15.get(0),1,0,0,a,false);this.$20.markerHash=this.buttonsMarkerHash;this.set_jQ_LeftScrollButton(this.$39());this.$22=new C1.Web.UI.PopupBehavior(this.$17.get(0),1,0,0,a,false);this.$22.markerHash=this.buttonsMarkerHash}},dispose:function(){this.$2C()},$2C:function(){if(!this.$26){return}this.$13.unbind("mouseover",this.$18);this.$13.unbind("mouseout",this.$19);this.$13.unbind("mousemove",this.$1A);this.$18=null;this.$19=null;this.$1A=null;this.$27=null;this.$2D();this.$26=false},$2D:function(){this.$2A(this.$14);this.$2A(this.$15);this.$2A(this.$16);this.$2A(this.$17);this.$1B=null;this.$1C=null;this.$1D=null;this.$1E=null},get_adjustScrollSpeed:function(){return this.$E},set_adjustScrollSpeed:function(a){this.$E=a;return a},get_fitButtonsBounds:function(){return this.$C},set_fitButtonsBounds:function(a){this.$C=a;return a},get_scrollOrientation:function(){return this.$24},set_scrollOrientation:function(a){this.$24=a;this.invalidate();return a},get_scrollMode:function(){return this.$23},set_scrollMode:function(a){this.$23=a;return a},get_scrollStep:function(){return this.$12},set_scrollStep:function(a){this.$12=a;return a},get_scrollButtonAlign:function(){return this.$25},set_scrollButtonAlign:function(a){this.$25=a;this.invalidate();return a},get_$2E:function(){return this.$14},set_$2E:function(a){this.$29(a,this.$14);this.$14=a;this.$14.data("c1domscrlbtntype",1);this.$14.addClass(this.$0);return a},get_topScrollButton:function(){return this.$14.get(0)},get_$2F:function(){return this.$15},set_$2F:function(a){this.$29(a,this.$15);this.$15=a;this.$15.data("c1domscrlbtntype",2);this.$15.addClass(this.$1);return a},get_rightScrollButton:function(){return this.$15.get(0)},get_$30:function(){return this.$16},set_$30:function(a){this.$29(a,this.$16);this.$16=a;this.$16.data("c1domscrlbtntype",3);this.$16.addClass(this.$2);return a},get_bottomScrollButton:function(){return this.$16.get(0)},get_jQ_LeftScrollButton:function(){return this.$17},set_jQ_LeftScrollButton:function(a){this.$29(a,this.$17);this.$17=a;this.$17.data("c1domscrlbtntype",4);this.$17.addClass(this.$3);return a},get_leftScrollButton:function(){return this.$17.get(0)},add_scrollButtonMouseOver:function(a){this.events.addHandler("ScrollButtonMouseOver",a)},remove_scrollButtonMouseOver:function(a){this.events.removeHandler("ScrollButtonMouseOver",a)},$31:function(b){var a=this.events.getHandler("ScrollButtonMouseOver");if(a){a(this,b)}},initialize:function(){if(this.$26){return}this.$2B();this.$28();this.$26=true;this.invalidate()},assignCssClasses:function(b,a,c,d){if(this.$26){if(this.$14){this.$14.removeClass(this.$0)}if(this.$15){this.$15.removeClass(this.$1)}if(this.$15){this.$15.removeClass(this.$2)}if(this.$17){this.$17.removeClass(this.$3)}}this.$0=b;this.$1=a;this.$2=c;this.$3=d;if(this.$26){if(this.$14){this.$14.addClass(b)}if(this.$15){this.$15.addClass(a)}if(this.$16){this.$16.addClass(c)}if(this.$17){this.$17.addClass(d)}this.invalidate()}},assignActiveCssClasses:function(b,a,c,d){this.$14.removeClass(this.$4);this.$15.removeClass(this.$5);this.$16.removeClass(this.$6);this.$17.removeClass(this.$7);this.$4=b;this.$5=a;this.$6=c;this.$7=d;this.invalidate()},assignDisabledCssClasses:function(b,a,c,d){this.$14.removeClass(this.$8);this.$15.removeClass(this.$9);this.$16.removeClass(this.$A);this.$17.removeClass(this.$B);this.$8=b;this.$9=a;this.$A=c;this.$B=d;this.invalidate()},assignPropertiesUsingHash:function(a){if(!a){return}if(!C1.Web.UI.Utils.Common.testIsNull(a.ScrollMode)){this.$23=a.ScrollMode}if(!C1.Web.UI.Utils.Common.testIsNull(a.AdjustScrollSpeed)){this.$E=a.AdjustScrollSpeed}if(!C1.Web.UI.Utils.Common.testIsNull(a.ScrollButtonAlign)){this.$25=a.ScrollButtonAlign}if(!C1.Web.UI.Utils.Common.testIsNull(a.ScrollOrientation)){this.$24=a.ScrollOrientation}if(!C1.Web.UI.Utils.Common.testIsNull(a.FitButtonsBounds)){this.$C=a.FitButtonsBounds}if(!C1.Web.UI.Utils.Common.testIsNull(a.ScrollStep)){this.$12=a.ScrollStep}if(!C1.Web.UI.Utils.Common.testIsNull(a.TopButtonCssClass)){this.$0=a.TopButtonCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.TopButtonActiveCssClass)){this.$4=a.TopButtonActiveCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.TopButtonDisabledCssClass)){this.$8=a.TopButtonDisabledCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.RightButtonCssClass)){this.$1=a.RightButtonCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.RightButtonActiveCssClass)){this.$5=a.RightButtonActiveCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.RightButtonDisabledCssClass)){this.$9=a.RightButtonDisabledCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.BottomButtonCssClass)){this.$2=a.BottomButtonCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.BottomButtonActiveCssClass)){this.$6=a.BottomButtonActiveCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.BottomButtonDisabledCssClass)){this.$A=a.BottomButtonDisabledCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.LeftButtonCssClass)){this.$3=a.LeftButtonCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.LeftButtonActiveCssClass)){this.$7=a.LeftButtonActiveCssClass}if(!C1.Web.UI.Utils.Common.testIsNull(a.LeftButtonDisabledCssClass)){this.$B=a.LeftButtonDisabledCssClass}},invalidate:function(){if(!this.$26){return}if(this.$23===1||this.$23===5){return}var b=false;if(C1.Web.UI.Utils.Common.testIsNull(this.$13)||this.$13.css("display")==="none"){b=true}if(this.$23===4||b){if(this.$1F){this.$1F.hide()}if(this.$20){this.$20.hide()}if(this.$21){this.$21.hide()}if(this.$22){this.$22.hide()}return}var a=C1.Web.UI.Utils.Measurement.getBounds(this.$13.get(0));var d=false;var c=false;switch(this.$24){case 1:if(this.$C){this.$17.height(a.height);this.$15.height(a.height)}d=true;break;case 2:if(this.$C){this.$14.width(a.width);this.$16.width(a.width)}c=true;break;case 3:if(this.$C){this.$17.height(a.height);this.$15.height(a.height);this.$14.width(a.width);this.$16.width(a.width)}d=true;c=true;break}this.$32(d,c,a);this.updateButtonsState(0)},$32:function(i,h,g){if(!g){g=C1.Web.UI.Utils.Measurement.getBounds(this.$13.get(0))}var f=null;var e=null;var d=null;var c=null;if(i){this.$17.css("display","block");this.$15.css("display","block");d=C1.Web.UI.Utils.Measurement.getBounds(this.$17.get(0));c=C1.Web.UI.Utils.Measurement.getBounds(this.$15.get(0))}else{}if(h){this.$14.css("display","block");this.$16.css("display","block");f=C1.Web.UI.Utils.Measurement.getBounds(this.$14.get(0));e=C1.Web.UI.Utils.Measurement.getBounds(this.$16.get(0))}else{}var b=g.width/2;var a=g.height/2;switch(this.$25){case 1:if(i){this.$22.set_x(0);this.$22.set_y(0+Math.round(a-d.height/2));this.$22.show();this.$20.set_x(d.width);this.$20.set_y(0+Math.round(a-c.height/2));this.$20.show()}if(h){this.$1F.set_x(0+Math.round(b-f.width/2));this.$1F.set_y(0);this.$1F.show();this.$21.set_x(0+Math.round(b-e.width/2));this.$21.set_y(f.height);this.$21.show()}break;case 3:if(i){this.$22.set_x(g.width-d.width-c.width);this.$22.set_y(0+Math.round(a-d.height/2));this.$22.show();this.$20.set_x(g.width-c.width);this.$20.set_y(0+Math.round(a-c.height/2));this.$20.show()}if(h){this.$21.set_x(0+Math.round(b-e.width/2));this.$21.set_y(g.height-e.height);this.$21.show();this.$1F.set_x(0+Math.round(b-f.width/2));this.$1F.set_y(g.height-f.height-e.height);this.$1F.show()}break;case 2:if(i){this.$22.set_x(0);this.$22.set_y(0+Math.round(a-d.height/2));this.$22.show();this.$20.set_x(g.width-c.width);this.$20.set_y(0+Math.round(a-c.height/2));this.$20.show()}if(h){this.$1F.set_x(0+Math.round(b-f.width/2));this.$1F.set_y(0);this.$1F.show();this.$21.set_x(0+Math.round(b-e.width/2));this.$21.set_y(g.height-e.height);this.$21.show()}break}},onResize:function(a){this.invalidate();return true},onMouseOver:function(a){return true},onMouseOut:function(a){this.$F=0;this.$34();return true},onMouseMove:function(k){var j=this.get_scrollButtonAlign();var i=this.get_scrollOrientation();if(this.$23!==4){return true}var h=new Sys.UI.Point(k.pageX,k.pageY);var g=C1.Web.UI.Utils.Measurement.getBounds(this.$13.get(0));if(!this.$11){this.$11=new Sys.UI.Point(0,0)}var f=false;if(i===1||i===3){var d=new Sys.UI.Bounds(g.x,g.y,this.$10,g.height);var c=new Sys.UI.Bounds(g.x+g.width-this.$10,g.y,this.$10,g.height);if(C1.Web.UI.Utils.Measurement.isPointInsideRect(h,d)){this.$11.x=-this.$12;f=true}else{if(C1.Web.UI.Utils.Measurement.isPointInsideRect(h,c)){this.$11.x=this.$12;f=true}}}if(i===2||i===3){var b=new Sys.UI.Bounds(g.x,g.y,g.width,this.$10);var a=new Sys.UI.Bounds(g.x,g.y+g.height-this.$10,g.width,this.$10);if(C1.Web.UI.Utils.Measurement.isPointInsideRect(h,b)){this.$11.y=-this.$12;f=true}else{if(C1.Web.UI.Utils.Measurement.isPointInsideRect(h,a)){this.$11.y=this.$12;f=true}}}if(f){this.$33(999)}else{this.$F=0;this.$34()}return true},onScrollButtonMouseDown:function(c){var b=(c.target)?c.target:c.srcElement;if(b){var a=jQuery(b);if(!C1.Web.UI.Utils.Common.testIsNull(a.data("c1domscrlbtntype"))){var d=a.data("c1domscrlbtntype");this.$33(d)}}return true},onScrollButtonMouseUp:function(a){if(this.$23===2){this.$F=0;this.$34()}return true},onScrollButtonMouseOver:function(c){if(this.$23!==2){var b=(c.target)?c.target:c.srcElement;if(b){var a=jQuery(b);if(!C1.Web.UI.Utils.Common.testIsNull(a.data("c1domscrlbtntype"))){var d=a.data("c1domscrlbtntype");if(this.$23===3||this.$23===4){this.$33(d)}}}}this.$31(new Sys.EventArgs());return true},onScrollButtonMouseOut:function(a){this.$F=0;this.$34();return true},events:null,$33:function(a){if(a===999){if(this.$23!==2){this.$D=true}}else{this.$11.x=0;this.$11.y=0;switch(a){case 1:this.$11.y=-this.$12;break;case 2:this.$11.x=this.$12;break;case 3:this.$11.y=this.$12;break;case 4:this.$11.x=-this.$12;break}this.$D=true}this.$35()},$34:function(){this.$11=new Sys.UI.Point(0,0);this.$D=false;if(this.$14){this.$14.removeClass(this.$4)}if(this.$15){this.$15.removeClass(this.$5)}if(this.$16){this.$16.removeClass(this.$6)}if(this.$17){this.$17.removeClass(this.$7)}},$35:function(){if(this.$E){this.$F++}var i=this.$13.attr("scrollwidth");var h=this.$13.attr("scrollheight");var g=this.$13.scrollLeft();var f=this.$13.scrollTop();var e=C1.Web.UI.Utils.Measurement.getBounds(this.$13.get(0));var d=i-e.width;var c=h-e.height;var b=this.$11.y;if(b){if(b>0){b+=this.$F;if(this.$16){this.$16.addClass(this.$6)}}else{b-=this.$F;if(this.$14){this.$14.addClass(this.$4)}}this.$13.scrollTop(this.$13.scrollTop()+b)}var a=this.$11.x;if(a){if(a>0){a+=this.$F;if(this.$15){this.$15.addClass(this.$5)}}else{a-=this.$F;if(this.$17){this.$17.addClass(this.$7)}}this.$13.scrollLeft(this.$13.scrollLeft()+a)}this.updateButtonsState(0);if(this.$D){window.setTimeout(this.$27,10)}else{this.$34()}},updateButtonsState:function(a){if(a>0){this.$37=C1.Web.UI.Utils.Common.clearPendingTimeout(this.$37);if(!this.$36){this.$36=Function.createDelegate(this,this.$38)}this.$37=window.setTimeout(this.$36,a)}else{this.$38()}},$36:null,$37:null,$38:function(){var b=this.$13.attr("scrollwidth");var a=this.$13.attr("scrollheight");var h=this.$13.scrollLeft();var g=this.$13.scrollTop();var f=C1.Web.UI.Utils.Measurement.getBounds(this.$13.get(0));var e=b-f.width;var d=a-f.height;if(this.$14){this.$14.removeClass(this.$8)}if(this.$15){this.$15.removeClass(this.$9)}if(this.$16){this.$16.removeClass(this.$A)}if(this.$17){this.$17.removeClass(this.$B)}var c=this.get_scrollOrientation();if(c===1||c===3){if(h>=e){if(this.$15){this.$15.addClass(this.$9)}if(this.$11.x>0){this.$D=false}}else{}if(h<=0){if(this.$17){this.$17.addClass(this.$B)}if(this.$11.x<0){this.$D=false}}else{}}if(c===2||c===3){if(g>=d){if(this.$16){this.$16.addClass(this.$A)}if(this.$11.y>0){this.$D=false}}else{}if(g<=0){if(this.$14){this.$14.addClass(this.$8)}if(this.$11.y<0){this.$D=false}}else{}}},$39:function(){var a=jQuery("<div style='display:none;'/>");this.$13.append(a);return a}};C1.Web.UI.DragDropEventArgs=function(b,a,c){C1.Web.UI.DragDropEventArgs.initializeBase(this);this._element=b;this._dropTarget=a;this._domEvent=c};C1.Web.UI.DragDropEventArgs.prototype={_element:null,_dropTarget:null,_domEvent:null,_handled:false,get_element:function(){return this._element},get_dropTarget:function(){return this._dropTarget},get_domEvent:function(){return this._domEvent},get_handled:function(){return this._handled},set_handled:function(a){this._handled=a;return a}};C1.Web.UI.DragDrop=function(a){C1.Web.UI.DragDrop.initializeBase(this);this._dragHandles=[];this._dropTargets=[];this.$1_3=jQuery(a);this._mouseDownHandler=Function.createDelegate(this,this.$1_7);this._draghandleMouseDownHandler=Function.createDelegate(this,this.$1_7);this._docMouseMoveHandler=Function.createDelegate(this,this.$1_C);this._docMouseUpHandler=Function.createDelegate(this,this.$1_D)};C1.Web.UI.DragDrop.prototype={$1_0:false,$1_1:false,$1_2:false,_dragHandles:null,_dropTargets:null,_dragInProgress:false,_init:false,_dragElementVisibility:"hidden",_dragElementDisplay:"none",_originalDisplay:"",$1_3:null,$1_4:null,_docMouseMoveHandler:null,_docMouseUpHandler:null,_mouseDownHandler:null,_draghandleMouseDownHandler:null,initialize:function(){C1.Web.UI.DragDrop.callBaseMethod(this,"initialize");this._init=true;this.$1_3.mousedown(this._mouseDownHandler)},dispose:function(){if(this._init&&this._mouseDownHandler&&this.get_element()){this.$1_3.unbind("mousedown",this._mouseDownHandler)}for(var a=0;a<this._dragHandles.length;a++){(this._dragHandles[a]).unbind("mousedown",this._draghandleMouseDownHandler)}C1.Web.UI.DragDrop.callBaseMethod(this,"dispose")},get_element:function(){return this.$1_3.get(0)},get_isDragInProgress:function(){return this._dragInProgress},get_dragElementVisibility:function(){return this._dragElementVisibility},set_dragElementVisibility:function(a){this._dragElementVisibility=a;return a},get_dragElementDisplay:function(){return this._dragElementDisplay},set_dragElementDisplay:function(a){this._dragElementDisplay=a;return a},get_dragVisual:function(){return(!this.$1_4)?null:this.$1_4.get(0)},set_dragVisual:function(a){this.$1_4=(!a)?null:jQuery(a);return a},get_useElementAsDragVisual:function(){return this.$1_0},set_useElementAsDragVisual:function(a){this.$1_0=a;if(a){this.set_dragVisual(this.get_element())}return a},get_useModalLayer:function(){return this.$1_1},set_useModalLayer:function(a){this.$1_1=a;return a},get_startDragOnMouseMove:function(){return this.$1_2},set_startDragOnMouseMove:function(a){this.$1_2=a;return a},setDragHandle:function(b){if(this._mouseDownHandler){this.$1_3.unbind("mousedown",this._mouseDownHandler);this._mouseDownHandler=null}var a=jQuery(b);this._dragHandles[this._dragHandles.length]=a;a.mousedown(this._draghandleMouseDownHandler)},setDropTarget:function(a){this._dropTargets[this._dropTargets.length]=a},beginDrag:function(b){var a=jQuery.Event(b.rawEvent);this.$1_7(a)},getDropTargetAtPoint:function(c){var b=null;var a=this._dropTargets.length;for(var d=0;d<a;d++){if(C1.Web.UI.Utils.Measurement.isPointOverDOMElement(c,this._dropTargets[d])){b=this._dropTargets[d];break}}return b},onDragStart:function(b){var a=this.get_events().getHandler("dragstart");if(a){a(this,new C1.Web.UI.DragDropEventArgs(this.get_element(),null,b))}},onDrag:function(b){var a=this.get_events().getHandler("drag");if(a){a(this,new C1.Web.UI.DragDropEventArgs(this.get_element(),null,b))}},onDragOver:function(b,c){var a=this.get_events().getHandler("dragOver");if(a){a(this,new C1.Web.UI.DragDropEventArgs(this.get_element(),c,b))}},onDropped:function(b){var a=this.get_events().getHandler("drop");if(a){a(this,b)}},add_dragStart:function(a){this.get_events().addHandler("dragstart",a)},remove_dragStart:function(a){this.get_events().removeHandler("dragstart",a)},add_drag:function(a){this.get_events().addHandler("drag",a)},remove_drag:function(a){this.get_events().removeHandler("drag",a)},add_dragOver:function(a){this.get_events().addHandler("dragOver",a)},remove_dragOver:function(a){this.get_events().removeHandler("dragOver",a)},add_dropped:function(a){this.get_events().addHandler("drop",a)},remove_dropped:function(a){this.get_events().removeHandler("drop",a)},$1_5:null,_dragXOffset:0,_dragYOffset:0,$1_6:false,onMouseDown:function(b){if(this._dragInProgress){return}this._dragInProgress=true;jQuery().mouseup(this._docMouseUpHandler);jQuery().mousemove(this._docMouseMoveHandler);this.$1_6=false;if(!this.$1_2){var a=C1.Web.UI.Utils.Measurement.getMousePointerPosition(b.rawEvent);this.$1_8(a);this.onDragStart(b);this.$1_9()}b.preventDefault()},$1_7:function(a){this.onMouseDown(new Sys.UI.DomEvent(a.originalEvent));return true},$1_8:function(a){if(this.get_useModalLayer()){C1.Web.UI.Utils.Common.showModalLayer(this.get_element(),false)}this.$1_5=C1.Web.UI.Utils.Measurement.getLocation(this.get_element());this._dragXOffset=a.x-this.$1_5.x;this._dragYOffset=a.y-this.$1_5.y;if(!this.get_dragVisual()){if(this.get_useElementAsDragVisual()){this.$1_4=jQuery(this.get_element())}else{this.$1_4=this.$1_3.clone()}this.$1_4.hide()}},$1_9:function(){this.$1_6=true;if(!this.$1_4.parent().length){this.$1_4.appendTo(document.body)}this.$1_4.show();this._originalDisplay=this.$1_3.css("display");if(!this.get_useElementAsDragVisual()){this.$1_3.css("visibility",this.get_dragElementVisibility());this.$1_3.css("display",this.get_dragElementDisplay())}this.$1_4.css("position","absolute")},$1_A:false,$1_B:function(){if(this._dragInProgress){this.$1_9()}},$1_C:function(e){try{if(Sys.Browser.agent===Sys.Browser.InternetExplorer){if(e.button<1){this.$1_D(e);return true}}if(!this.$1_6){if(this.$1_A){e.preventDefault();return true}this.$1_A=true;this.$1_8(C1.Web.UI.Utils.Measurement.getMousePointerPosition(e.originalEvent));this.onDragStart(new Sys.UI.DomEvent(e.originalEvent));window.setTimeout(Function.createDelegate(this,this.$1_B),1);e.preventDefault();return true}this.$1_A=false;if(this.get_isDragInProgress()){var b=C1.Web.UI.Utils.Measurement.getMousePointerPosition(e.originalEvent);var a=b.x-this._dragXOffset;var f=b.y-this._dragYOffset;if(f<0){f=0}if(a<0){a=0}this.setLocation(this.get_dragVisual(),a,f);var d=this._dropTargets.length;if(!d){this.onDrag(new Sys.UI.DomEvent(e.originalEvent))}else{this.onDragOver(new Sys.UI.DomEvent(e.originalEvent),this.getDropTargetAtPoint(b))}e.preventDefault()}}catch(c){}return true},$1_D:function(c){this._dragInProgress=false;jQuery().unbind("mousemove",this._docMouseMoveHandler);jQuery().unbind("mouseup",this._docMouseUpHandler);C1.Web.UI.Utils.Common.hideModalLayer();var b=C1.Web.UI.Utils.Measurement.getMousePointerPosition(c.originalEvent);var a=new C1.Web.UI.DragDropEventArgs(this.get_element(),this.getDropTargetAtPoint(b),new Sys.UI.DomEvent(c.originalEvent));this.onDropped(a);if(this.get_useElementAsDragVisual()){}else{if(!a.get_handled()){b=C1.Web.UI.Utils.Measurement.getLocation(this.get_dragVisual());this.setLocation(this.get_element(),b.x,b.y)}}this.$1_3.css("visibility","visible");this.$1_3.css("display",this._originalDisplay);if(this.get_useElementAsDragVisual()){}else{this.$1_4.css("visibility","hidden");this.$1_4.remove()}return true},setLocation:function(b,a,c){Sys.UI.DomElement.setLocation(b,a,c)}};C1.Web.UI.FlowPanel=function(a){C1.Web.UI.FlowPanel.initializeBase(this,[a])};C1.Web.UI.FlowPanel.setFlowPanelOrientation=function(b,a,c){C1.Web.UI.FlowPanel.setFlowPanelOrientation_JQ(jQuery(b),a,c)};C1.Web.UI.FlowPanel.setFlowPanelOrientation_JQ=function(d,c,g){var b="";var a="";if(d.hasClass("c1-h-flow-right")){b="c1-h-flow-right";a="c1-h-child-right"}else{if(d.hasClass("c1-h-flow")){b="c1-h-flow";a="c1-h-child"}else{if(d.hasClass("c1-v-flow-right")){b="c1-v-flow-right";a="c1-v-child-right"}else{if(d.hasClass("c1-v-flow")){b="c1-v-flow";a="c1-v-child"}else{}}}}var h="";var f="";if(!c){h=(g)?"c1-h-flow-right":"c1-h-flow";f=(g)?"c1-h-child-right":"c1-h-child"}else{h=(g)?"c1-v-flow-right":"c1-v-flow";f=(g)?"c1-v-child-right":"c1-v-child"}d.removeClass(b);d.addClass(h);var e=d.children();e.removeClass(a);e.addClass(f)};C1.Web.UI.FlowPanel.determineOrientation=function(a){return C1.Web.UI.FlowPanel.determineOrientation_JQ(jQuery(a))};C1.Web.UI.FlowPanel.determineOrientation_JQ=function(b){var a=""+b.attr("className")+"";return(a.indexOf("c1-h-flow")!==-1)?0:1};C1.Web.UI.FlowPanel.prototype={get_flowRight:function(){return this._jObj.hasClass("c1-h-flow-right")||this._jObj.hasClass("c1-v-flow-right")},set_flowRight:function(a){if(this.get_flowRight()!==a){C1.Web.UI.FlowPanel.setFlowPanelOrientation_JQ(this._jObj,this.get_orientation(),a)}return a},get_orientation:function(){return C1.Web.UI.FlowPanel.determineOrientation(this.element)},set_orientation:function(a){if(this.get_orientation()!==a){C1.Web.UI.FlowPanel.setFlowPanelOrientation(this.element,a,this.get_flowRight())}return a}};C1.Web.UI.PopupBehavior=function(d,f,a,g,c,e){this.$A=jQuery(d);if(C1.Web.UI.Utils.Common.testIsNull(e)){e=false}if(!d.parentNode||!d.parentNode.tagName){e=true}this.events=new Sys.EventHandlerList();this.x=(C1.Web.UI.Utils.Common.testIsNull(a))?0:Math.max(0,a);this.y=(C1.Web.UI.Utils.Common.testIsNull(g))?0:Math.max(0,g);this.$1=(!f)?1:f;this.$2=(c)?c:null;if(e){var b=jQuery("form");if(!b.length){b=jQuery(document.body)}this.$A.appendTo(b.get(0))}this.$C=null;this.$3=false;this.$D()};C1.Web.UI.PopupBehavior.prototype={_showAnimation_StoppedDelegate:null,_hideAnimation_StoppedDelegate:null,x:0,y:0,$1:0,$2:null,$3:false,$4:true,$5:false,$6:false,$7:false,$8:null,$9:null,events:null,$A:null,$B:null,$C:null,markerHash:null,$D:function(){this.$11();this.$A.css("position","absolute")},dispose:function(){if(this.$A){if(this.$3){this.hide()}this.$A.removeAttr("hideWindowedElementsIFrame")}this.$2=null;this.$A=null},get_element:function(){return this.$A.get(0)},get_autoHide:function(){return this.$6},set_autoHide:function(a){this.$6=a;return a},getMouseEvent:function(){if(Sys.Browser.agent===Sys.Browser.InternetExplorer){if(C1.Web.UI.Utils.Common.testIsNull(window.event)){return null}return new Sys.UI.DomEvent(window.event)}var b=this.getMouseEvent.caller;while(!C1.Web.UI.Utils.Common.testIsNull(b)){var a=(b.arguments)[0];if(!C1.Web.UI.Utils.Common.testIsNull(b)){if(a.constructor==="MouseEvent"){return new Sys.UI.DomEvent(a)}}b=b.caller}return null},$E:function(b){if(this.$7){this.$7=false;return false}var a=(b.target)?b.target:b.srcElement;if(this.get_visible()&&this.get_autoHide()){if(!C1.Web.UI.Utils.Common.elementContains(this.get_element(),a)){this.hide()}}return true},$F:function(){this.$7=true;this.$B=Function.createDelegate(this,this.$E);jQuery().mouseup(this.$B)},$10:function(){if(!C1.Web.UI.Utils.Common.testIsNull(this.$B)){jQuery().unbind("mouseup",this.$B);this.$B=null}},add_postSetup:function(a){this.events.addHandler("postSetup",a)},remove_postSetup:function(a){this.events.removeHandler("postSetup",a)},setupPopup:function(){var b=this.getBounds();Sys.UI.DomElement.setLocation(this.get_element(),b.x,b.y);this.addBackgroundIFrame();if(this.$2){this.setZIndexOnTop(this.$2)}else{this.$A.css("z-index",1000)}var a=this.events.getHandler("postSetup");if(!C1.Web.UI.Utils.Common.testIsNull(a)){a(this,null)}},$11:function(){var a=this.get_element();C1.Web.UI.Utils.Common.setVisible(a,false);if(this.$A.attr("originalWidth")){this.$A.css("width",this.$A.attr("originalWidth")+"px");this.$A.removeAttr("originalWidth")}},$12:function(){if(this.$C){jQuery().unbind("move",this.$C);this.$C=null}if(Sys.Browser.agent===Sys.Browser.InternetExplorer){var a=this.$A.data("_hideWindowedElementsIFrame");if(a){a.hide()}}this.$16(Sys.EventArgs.Empty)},adjustPopupPosition:function(c){var b=this.get_element();if(!c){c=this.getBounds()}var a=C1.Web.UI.Utils.Measurement.getBounds(b);var d=false;if(a.x<0){c.x-=a.x;d=true}if(a.y<0){c.y-=a.y;d=true}if(d){Sys.UI.DomElement.setLocation(b,c.x,c.y)}else{}},addBackgroundIFrame:function(){var a=null;if((Sys.Browser.agent===Sys.Browser.InternetExplorer)&&(Sys.Browser.version<7)){a=this.$A.data("_hideWindowedElementsIFrame");if(!a){a=jQuery("<iframe/>");a.attr("src","javascript:'<html></html>';");a.css("position","absolute");a.css("display","none");a.attr("scrolling","no");a.attr("frameborder","0");a.attr("tabIndex ",-1);a.css("filter","progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)");this.$A.before(a);this.$A.data("_hideWindowedElementsIFrame",a);this.$C=Function.createDelegate(this,this.$19);this.$A.bind("move",null,this.$C)}C1.Web.UI.Utils.Common.setBounds(a.get(0),C1.Web.UI.Utils.Measurement.getBounds(this.$A.get(0)));a.css("display",this.$A.css("display"));a.css("left",this.$A.css("left"));a.css("top",this.$A.css("top"));a.css("z-index",this.$A.css("z-index")-1)}},show:function(){if(this.$3){this.setupPopup();return}var a=new Sys.CancelEventArgs();this.$13(a);if(a.get_cancel()){return}if(this.get_autoHide()){this.$F()}this.$3=true;this.$A.addClass("c1-transparent");C1.Web.UI.Utils.Common.setVisible(this.get_element(),true);this.setupPopup();this.$A.removeClass("c1-transparent");this.$18(Sys.EventArgs.Empty);if(this.$8){this.$1A()}else{this.$A.removeClass("c1-transparent");this.$14(Sys.EventArgs.Empty)}},showAt:function(a){this.set_x(a.x);this.set_y(a.y);this.show()},hide:function(){if(!this.$3||!C1.Web.UI.Utils.Common.isVisible(this.get_element())){return}var a=new Sys.CancelEventArgs();this.$15(a);if(a.get_cancel()){return}this.$10();this.$3=false;if(this.$9){this.$1B()}else{this.$11();this.$12()}},getBounds:function(){var i=this.get_element();var h=(jQuery(i).offsetParent()).get(0);var g={x:0,y:0};var f;var e=new Sys.UI.Point(0,0);if(this.$2){f=C1.Web.UI.Utils.Measurement.getBounds(this.$2);if(h.tagName.toLowerCase()==="body"||h.tagName.toLowerCase()==="html"){e=new Sys.UI.Point(0,0)}else{e=C1.Web.UI.Utils.Measurement.getLocation(h)}g={x:f.x-e.x,y:f.y-e.y}}else{f=C1.Web.UI.Utils.Measurement.getBounds(h)}var d=C1.Web.UI.Utils.Measurement.getBounds(i);var c=d.width;var b=d.height;var a;switch(this.$1){case 2:a={x:Math.round(f.width/2-(c/2)),y:Math.round(f.height/2-(b/2))};break;case 3:a={x:0,y:-b};break;case 4:a={x:f.width-c,y:-b};break;case 5:a={x:Math.round(f.width/2-(c/2)),y:-b};break;case 6:a={x:f.width,y:0};break;case 7:a={x:f.width,y:f.height-b};break;case 8:a={x:f.width,y:Math.round(f.height/2-(b/2))};break;case 9:a={x:0,y:f.height};break;case 10:a={x:f.width-c,y:f.height};break;case 11:a={x:Math.round(f.width/2-(c/2)),y:f.height};break;case 12:a={x:-c,y:0};break;case 13:a={x:-c,y:f.height-b};break;case 14:a={x:-c,y:Math.round(f.height/2-(b/2))};break;default:a={x:0,y:0};break}a.x=a.x+this.x+g.x;a.y=a.y+this.y+g.y;var l=new Sys.UI.Bounds(a.x,a.y,c,b);if(this.$4){var k=C1.Web.UI.Utils.Measurement.getWindowClientAreaBounds();var j=new Sys.UI.Bounds(l.x+e.x,l.y+e.y,l.width,l.height);if(j.x<k.x){if(this.$5&&(this.$1===12||this.$1===14||this.$1===13)){l.x=l.x+f.width+l.width}else{l.x=k.x}}if(j.y<k.y){if(this.$5&&(this.$1===3||this.$1===5||this.$1===4)){l.y=l.y+f.height+l.height}else{l.y=k.y}}if((j.x+j.width)>(k.x+k.width)){if(this.$5&&(this.$1===6||this.$1===8||this.$1===7)){l.x=l.x-f.width-l.width}else{l.x-=((j.x+j.width)-(k.x+k.width))}}if((j.y+j.height)>(k.y+k.height)){if(this.$5&&(this.$1===9||this.$1===11||this.$1===10)){l.y=l.y-f.height-l.height}else{l.y-=((j.y+j.height)-(k.y+k.height))}}}return l},setZIndex:function(a){this.$A.css("z-index",a);var b=this.$A.data("_hideWindowedElementsIFrame");if(b){b.css("z-index",(this.$A.css("z-index"))-1)}},setZIndexOnTop:function(a){var b=Math.max(1000,C1.Web.UI.Utils.Common.getMaxZIndex(a));if(b>C1.Web.UI.PopupBehavior.$0){C1.Web.UI.PopupBehavior.$0=b}else{b=++C1.Web.UI.PopupBehavior.$0}this.setZIndex(b)},get_parentElement:function(){return this.$2},set_parentElement:function(a){this.$2=a;this.adjustZIndex();return a},get_windowCollisionDetection:function(){return this.$4},set_windowCollisionDetection:function(a){this.$4=a;return a},get_strictDock:function(){return this.$5},set_strictDock:function(a){this.$5=a;return a},get_positionMode:function(){return this.$1},set_positionMode:function(a){this.$1=a;this.adjustPositionMode();return a},get_x:function(){return this.x},set_x:function(a){if(a!==this.x){this.x=a;if(this.$3){this.setupPopup()}}return a},get_y:function(){return this.y},set_y:function(a){if(a!==this.y){this.y=a;if(this.$3){this.setupPopup()}}return a},get_visible:function(){return this.$3},get_showAnimation:function(){return this.$8},set_showAnimation:function(a){this.$8=a;return a},get_hideAnimation:function(){return this.$9},set_hideAnimation:function(a){this.$9=a;return a},add_showing:function(a){this.events.addHandler("showing",a)},remove_showing:function(a){this.events.removeHandler("showing",a)},$13:function(b){var a=this.events.getHandler("showing");if(a){a(this,b)}},add_shown:function(a){this.events.addHandler("shown",a)},remove_shown:function(a){this.events.removeHandler("shown",a)},$14:function(h){if(this.markerHash){var e=this.$A.data("_hideWindowedElementsIFrame");var d=null;var c=null;if(e){d=e.contents();c=(!d.children().length)?null:d.find("body")}var i=this.markerHash;for(var g in i){var b={key:g,value:i[g]};this.$A.attr(b.key,b.value);if(e){e.attr(b.key,b.value);try{if(d){d.attr(b.key,b.value);if(c){c.attr(b.key,b.value)}}}catch(a){}}}}var f=this.events.getHandler("shown");if(f){f(this,h)}},add_hiding:function(a){this.events.addHandler("hiding",a)},remove_hiding:function(a){this.events.removeHandler("hiding",a)},$15:function(b){var a=this.events.getHandler("hiding");if(a){a(this,b)}},add_hidden:function(a){this.events.addHandler("hidden",a)},remove_hidden:function(a){this.events.removeHandler("hidden",a)},$16:function(b){var a=this.events.getHandler("hidden");if(a){a(this,b)}},$17:function(b){try{if((b)["contentDocument"]){return b.contentDocument}else{if(b.contentWindow){return b.contentWindow.document}else{if((b)["document"]){return(b)["document"]}}}}catch(a){}return null},add_setupPopupDone:function(a){this.events.addHandler("SetupPopup",a)},remove_setupPopupDone:function(a){this.events.removeHandler("SetupPopup",a)},$18:function(b){var a=this.events.getHandler("SetupPopup");if(a){a(this,b)}},adjustZIndex:function(){},adjustPositionMode:function(){},$19:function(c){var b=this.$A.data("_hideWindowedElementsIFrame");if(b){this.$A.before(b);var a=b.get(0);a.style.top=this.$A.css("top");a.style.left=this.$A.css("left")}return true},$1A:function(){if(!this.$8){return}if(!this._showAnimation_StoppedDelegate){this._showAnimation_StoppedDelegate=Function.createDelegate(this,this._showAnimation_Stopped)}this.$8.set_endHandler(this._showAnimation_StoppedDelegate);if(this.$9&&this.$9.get_isAnimating()){this.$9.stop()}if(this.$8&&this.$8.get_isAnimating()){this.$8.stop()}this.$8.start(1)},$1B:function(){if(!this.$9){return}this.$9.start(1);if(!this._hideAnimation_StoppedDelegate){this._hideAnimation_StoppedDelegate=Function.createDelegate(this,this._hideAnimation_Stopped)}this.$9.set_endHandler(this._hideAnimation_StoppedDelegate)},_showAnimation_Stopped:function(a,b){this.$8.set_endHandler(null);C1.Web.UI.Utils.Common.setVisible(this.get_element(),true);this.setupPopup();this.$14(Sys.EventArgs.Empty)},_hideAnimation_Stopped:function(a,b){this.$9.set_endHandler(null);this.$11();this.$12()},beginUpdate:function(){},endUpdate:function(){}};C1.Web.UI.ScrollBehavior=function(b,a,c,d){C1.Web.UI.ScrollBehavior.initializeBase(this);if(!b||typeof(a)==="undefined"){throw Error.argumentNull("parameter null")}if(typeof(c)==="undefined"){c=true}if(typeof(d)==="undefined"){d=false}this.$1_A=a;this.$1_15=true;this.$1_0=jQuery(b);if(!d){this.$1_1=this.$1_0.parent()}else{this.$1_1=this.$1_1E();this.$1_15=false;this.$1_1F()}this.$1_0.css("position","relative");this.$1_B=2;this.$1_C=0;this.$1_D=false;this.$1_16=0;this.$1_19=true;this.$1_1A="decButton";this.$1_1B="decButtonDisabled";this.$1_1C="incButton";this.$1_1D="incButtonDisabled";this.$1_F=null;this.$1_10=1;this.$1_11=1;this.$1_12=1;this.$1_13=false;this.$1_E=c;this.$1_14=18;this.$1_8=Function.createDelegate(this,this.$1_29);this.$1_4=Function.createDelegate(this,this.$1_24);this.$1_5=Function.createDelegate(this,this.$1_25);this.$1_6=Function.createDelegate(this,this.$1_26);this.$1_7=Function.createDelegate(this,this.$1_28);this.$1_9=Function.createDelegate(this,this.$1_2A);this.$1_1.resize(this.$1_8);if(!this.$1_E){this.$1_1.mousemove(this.$1_9);this.$1_1.mouseout(this.$1_7)}this.initialize()};C1.Web.UI.ScrollBehavior.prototype={$1_0:null,$1_1:null,$1_2:null,$1_3:null,$1_4:null,$1_5:null,$1_6:null,$1_7:null,$1_8:null,$1_9:null,_decButton:null,_incButton:null,$1_A:0,$1_B:0,$1_C:0,$1_D:false,$1_E:false,$1_F:null,$1_10:0,$1_11:0,$1_12:0,$1_13:false,$1_14:0,$1_15:false,$1_16:0,$1_17:0,$1_18:0,$1_19:false,$1_1A:null,$1_1B:null,$1_1C:null,$1_1D:null,initialize:function(){if(this.get_isInitialized()){return}this.$1_23();this.$1_2C();this.$1_2B();this.$1_2F();this.$1_31();this.$1_35();C1.Web.UI.ScrollBehavior.callBaseMethod(this,"initialize")},$1_1E:function(){this.$1_0.wrapAll("<div style='position:relative;align:left;'/>");var b=this.$1_0.parent();if(!this.get_orientation()){var a=0;var e=this.$1_0.children();for(var d=0;d<e.length;d++){var c=jQuery(e.get(d));a+=c.outerWidth()}this.$1_0.width(a+3);b.width("100%")}else{b.css("styleFloat","left")}return b},$1_1F:function(){if(!this.$1_1){return}if(this.$1_15){return}if(!this.get_orientation()){return}var b=this.$1_0.css("display");this.$1_0.css("display","none");var a=this.$1_1.parent();if(a&&a.parent()){a=a.parent()}this.$1_1.height(a.height());this.$1_0.css("display",b)},$1_20:function(){if(this.$1_15){return}var a=this.$1_1.parent();a.append(this.$1_0);this.$1_0.width("100%");this.$1_1.remove();this.$1_1=null},dispose:function(){if(this.$1_F){this.$1_F.dispose();this.$1_F=null}if(this.$1_2){this.$1_2.remove();this.$1_2=null}if(this.$1_3){this.$1_3.remove();this.$1_3=null}this.$1_1.unbind("resize",this.$1_8);if(!this.$1_E){this.$1_1.unbind("mousemove",this.$1_9);this.$1_1.unbind("mouseout",this.$1_7)}this.$1_20();C1.Web.UI.ScrollBehavior.callBaseMethod(this,"dispose")},changeButtonClasses:function(d,c,b,a){this.$1_1A=d;this.$1_1B=c;this.$1_1C=b;this.$1_1D=a;this.$1_31();this.$1_30()},get_element:function(){return this.$1_0.get(0)},get_value:function(){return this.$1_16},set_value:function(a){this.$1_32(a);return a},get_minimum:function(){return this.$1_17},set_minimum:function(a){this.$1_17=Math.min(a,this.$1_18);return a},get_maximum:function(){return this.$1_18},set_maximum:function(a){this.$1_18=Math.max(a,this.$1_17);return a},get_orientation:function(){return this.$1_A},get_decButtonClass:function(){return this.$1_1A},get_decButtonDisabledClass:function(){return this.$1_1B},get_incButtonClass:function(){return this.$1_1C},get_incButtonDisabledClass:function(){return this.$1_1D},get_enabled:function(){return this.$1_19},set_enabled:function(a){this.$1_19=a;return a},get_buttonHoverScroll:function(){return this.$1_D},set_buttonHoverScroll:function(a){if(a!==this.$1_D){this.$1_D=a}return a},get_scrollStep:function(){return this.$1_11},set_scrollStep:function(a){this.$1_11=Math.min(10,Math.max(1,a));return a},get_buttonAlign:function(){return this.$1_B},set_buttonAlign:function(a){if(a!==this.$1_B){this.$1_B=a;this.$1_16=0;this.$1_30()}return a},get_buttonGap:function(){return this.$1_C},set_buttonGap:function(a){if(a<0){a=0}if(a!==this.$1_C){this.$1_C=a;this.$1_30()}return a},get_isScrolling:function(){return(this.$1_F&&this.$1_F.get_enabled())},add_scrollStart:function(a){this.get_events().addHandler("scrollstart",a)},remove_scrollStart:function(a){this.get_events().removeHandler("scrollstart",a)},$1_21:function(b){var a=this.get_events().getHandler("scrollstart");if(a){a(this,b)}},add_scrollStop:function(a){this.get_events().addHandler("scrollstop",a)},remove_scrollStop:function(a){this.get_events().removeHandler("scrollstop",a)},$1_22:function(b){var a=this.get_events().getHandler("scrollstop");if(a){a(this,b)}},$1_23:function(){if(!this.$1_1){return}if(Sys.Browser.agent===Sys.Browser.InternetExplorer){this.$1_1.css("overflow","visible");if(!this.$1_A){this.$1_1.css("overflow-x","hidden");this.$1_1.css("overflow-y","hidden")}else{this.$1_1.css("overflow-x","");this.$1_1.css("overflow-y","hidden")}}else{this.$1_1.css("overflow","hidden")}},$1_24:function(a){if(this.$1_19){this.$1_12=3;if(a.target===this._incButton){this.$1_10=-1}else{this.$1_10=1}if(!this.$1_D){this.$1_36()}}return true},$1_25:function(a){this.$1_12=1;if(!this.$1_D){this.$1_37()}return true},$1_26:function(a){if(!this.$1_19){return true}if(!this.$1_D){return true}this.$1_12=1;this.$1_10=(a.target===this._incButton)?-1:1;this.$1_36();return true},$1_27:function(b){var a=this.$1_1.get(0);return C1.Web.UI.Utils.Common.elementContains(a,b)},$1_28:function(a){if(!this.$1_E){if(a.toElement){if(!this.$1_27(a.toElement)){this.$1_37()}}}else{if(this.$1_D){this.$1_37()}}return true},$1_29:function(a){if(!this.get_isInitialized()){return true}if(this.$1_13){return true}this.$1_1F();this.$1_30();return true},$1_2A:function(f){var b=1;var a=false;var g=f.pageX;var e=f.pageY;var d=1;var c=this.$1_1.offset();g-=c.left;e-=c.top;if(!this.$1_A){if(g<this.$1_14){a=true;d=this.$1_14-g}else{if(g>(this.$1_1.outerWidth()-this.$1_14)){a=true;b=-1;d=g-(this.$1_1.outerWidth()-this.$1_14)}}}else{if(e<this.$1_14){a=true;d=this.$1_14-e}else{if(e>(this.$1_1.outerHeight()-this.$1_14)){a=true;b=-1;d=e-(this.$1_1.outerHeight()-this.$1_14)}}}if(a){d=Math.abs(d);this.$1_12=Math.max(1,d/6);if(!this.get_isScrolling()){this.$1_10=b;this.$1_36()}else{if(b!==this.$1_10){this.$1_10=b;this.$1_36()}}}else{if(this.get_isScrolling()){this.$1_37()}}return true},$1_2B:function(){if(!this.$1_E){return}this._decButton.style.left="";this._decButton.style.top="";this._decButton.style.right="";this._decButton.style.bottom="";this._incButton.style.left="";this._incButton.style.top="";this._incButton.style.right="";this._incButton.style.bottom="";if(!this.$1_A){this._decButton.style.top="0px";this._incButton.style.top="0px";switch(this.$1_B){case 0:this._decButton.style.left="0px";this._incButton.style.left=(this.$1_2.outerWidth()+this.$1_C)+"px";break;case 2:this._incButton.style.right="0px";this._decButton.style.right=(this.$1_3.outerWidth()+this.$1_C)+"px";break;case 1:this._decButton.style.left="0px";this._incButton.style.right="0px";break}}else{this._decButton.style.left="0px";this._incButton.style.left="0px";switch(this.$1_B){case 0:this._decButton.style.top="0px";this._incButton.style.top=(this.$1_2.outerHeight()+this.$1_C)+"px";break;case 2:this._incButton.style.bottom="0px";this._decButton.style.bottom=(this.$1_3.outerHeight()+this.$1_C)+"px";break;case 1:this._decButton.style.top="0px";this._incButton.style.bottom="0px";break}}},$1_2C:function(){if(!this.$1_E){return}if(!this._decButton){this.$1_2=this.$1_2D(1);this._decButton=this.$1_2.get(0)}if(!this._incButton){this.$1_3=this.$1_2D(-1);this._incButton=this.$1_3.get(0)}},$1_2D:function(b){var a=jQuery("<a/>");a.attr("href","#");a.addClass((b===1)?this.$1_1A:this.$1_1C);a.css("z-index",4000);a.css("position","absolute");a.attr("onclick","return false;");a.mousedown(this.$1_4);a.mouseup(this.$1_5);a.mouseover(this.$1_6);a.mouseout(this.$1_7);this.$1_1.append(a);return a},$1_2E:0,$1_2F:function(){var b=(!this.$1_A)?this.$1_1.outerWidth():this.$1_1.outerHeight();var a=(!this.$1_A)?this.$1_0.outerWidth():this.$1_0.outerHeight();if(this.$1_E){var d=(!this.$1_A)?this.$1_2.outerWidth():this.$1_2.outerHeight();var c=(!this.$1_A)?this.$1_3.outerWidth():this.$1_3.outerHeight();this.$1_2E=d+c+this.$1_C;if(this.$1_B!==1){b=Math.max(0,b-this.$1_2E)}}else{this.$1_2E=0}this.$1_17=0;this.$1_18=Math.max(0,a-b);this.$1_14=Math.min(b/2,18)},$1_30:function(){if(this.$1_13){return}this.$1_13=true;this.$1_2B();this.$1_2F();this.$1_31();this.$1_35();this.$1_13=false},$1_31:function(){if(!this.$1_E){return}var b=this.$1_18>this.$1_17;var a=this.$1_18>this.$1_17;var f=this.$1_19&&(this.$1_16>this.$1_17);var e=this.$1_19&&(this.$1_16<this.$1_18);this.$1_2.attr("disabled",!f);this.$1_3.attr("disabled",!e);var d=(f)?this.$1_1A:this.$1_1B;var c=(e)?this.$1_1C:this.$1_1D;if(!this.$1_2.hasClass(d)){this.$1_2.addClass(d)}if(!this.$1_3.hasClass(c)){this.$1_3.addClass(c)}if(this.$1_B===1){if(!f){b=false}if(!e){a=false}this.$1_2.css("display",(b)?"":"none");this.$1_3.css("display",(a)?"":"none")}},$1_32:function(a){if(a<=this.$1_17){this.$1_37()}if(a>=this.$1_18){this.$1_37()}a=Math.max(a,this.$1_17);a=Math.min(a,this.$1_18);this.$1_16=a;if(!this.$1_B){a-=this.$1_2E+2}a=-a;this.$1_0.css((!this.$1_A)?"left":"top",a+"px");this.$1_31()},$1_33:null,$1_34:function(b,a){this.$1_35()},$1_35:function(){var b=this.$1_16;var a=this.$1_12*this.$1_11;if(this.$1_10===1){a=-a}b+=a;this.$1_32(b)},$1_36:function(){if(this.get_isScrolling()){this.$1_37()}if(!this.$1_33){this.$1_33=Function.createDelegate(this,this.$1_34)}if(!this.$1_F){this.$1_F=new C1.Web.UI.Timer();this.$1_F.add_tick(this.$1_33)}this.$1_F.set_interval(10);this.$1_F.set_enabled(true);this.$1_21(Sys.EventArgs.Empty)},$1_37:function(){if(this.get_isScrolling()){this.$1_22(Sys.EventArgs.Empty);this.$1_F.set_enabled(false)}this.$1_12=1}};C1.Web.UI.ScrollBehaviorSettings=function(){this.events=new Sys.EventHandlerList();this._propertiesState={}};C1.Web.UI.ScrollBehaviorSettings.prototype={get_scrollButtonAlign:function(){return this.$0("ScrollButtonAlign",2)},set_scrollButtonAlign:function(a){this.$1("ScrollButtonAlign",a);return a},get_scrollMode:function(){return this.$0("ScrollMode",1)},set_scrollMode:function(a){this.$1("ScrollMode",a);return a},get_scrollPosition:function(){return this.$0("ScrollPosition",0)},set_scrollPosition:function(a){this.$1("ScrollPosition",a);return a},get_scrollOrientation:function(){return this.$0("ScrollOrientation",0)},set_scrollOrientation:function(a){this.$1("ScrollOrientation",a);return a},add_propertyChanged:function(a){this.events.addHandler("PropertyChanged",a)},remove_propertyChanged:function(a){this.events.removeHandler("PropertyChanged",a)},raisePropertyChanged:function(b){var a=this.events.getHandler("PropertyChanged");if(a){a(this,new Sys.PropertyChangedEventArgs(b))}},get_propertiesState:function(){return this._propertiesState},assignPropertiesState:function(a){this._propertiesState=a},createInstance:function(a){return new C1.Web.UI.ScrollBehaviorSettings()},$0:function(b,a){if(typeof(this._propertiesState[b])==="undefined"){return a}return this._propertiesState[b]},$1:function(b,a){if(this._propertiesState[b]!==a){this._propertiesState[b]=a;this.raisePropertyChanged(b);this.$2(b);this.$3()}},$2:function(a){},_jsonHelper:null,$3:function(){if(this._jsonHelper){this._jsonHelper.saveState()}}};C1.Web.UI.Timer=function(){C1.Web.UI.Timer.initializeBase(this);this.$1_0=1000;this.$1_1=false;this.$1_2=null};C1.Web.UI.Timer.prototype={$1_0:0,$1_1:false,$1_2:null,dispose:function(){this.set_enabled(false);this.stop();C1.Web.UI.Timer.callBaseMethod(this,"dispose")},get_interval:function(){return this.$1_0},set_interval:function(a){if(a!==this.$1_0){this.$1_0=a;this.raisePropertyChanged("interval");if(this.$1_2){this.stop();this.start()}}return a},get_enabled:function(){return this.$1_1},set_enabled:function(a){if(a!==this.$1_1){this.$1_1=a;this.raisePropertyChanged("enabled");if(a){this.start()}else{this.stop()}}return a},start:function(){this.$1_2=window.setInterval(Function.createDelegate(this,this.$1_3),this.$1_0)},stop:function(){window.clearInterval(this.$1_2);this.$1_2=null},add_tick:function(a){this.get_events().addHandler("tick",a)},remove_tick:function(a){this.get_events().removeHandler("tick",a)},$1_3:function(){var a=this.get_events().getHandler("tick");if(a){a(this,Sys.EventArgs.Empty)}}};C1.Web.UI.UIElement=function(a){this._propertiesState={};this.UID="uiel_"+C1.Web.UI.UIElement.$5();if(a){if(!a.id||a.id===""){a.id=this.UID}(a)["__c1uid"]=this.UID;C1.Web.UI.UIElement.all[this.UID]=this;this.element=a;this._jObj=jQuery(a)}this._propertiesState={}};C1.Web.UI.UIElement.$5=function(){try{C1.Web.UI.UIElement.$0++}catch(a){}if(C1.Web.UI.UIElement.$0<0){C1.Web.UI.UIElement.$0=0}return C1.Web.UI.UIElement.$0};C1.Web.UI.UIElement.prototype={UID:null,element:null,_jObj:null,$1:null,$2:null,$3:false,$4:false,get_clientID:function(){return this._propertiesState.ClientID},get_offsetSize:function(){var a=new C1.Web.UI.Utils.Size(this.element.offsetWidth,this.element.offsetHeight);return a},get_visible:function(){if(typeof(this._propertiesState.Visible)==="undefined"){return true}return this._propertiesState.Visible},set_visible:function(a){if(this._propertiesState.Visible!==a){this._propertiesState.Visible=a}C1.Web.UI.Utils.Common.setVisible(this.element,a);return a},get_enabled:function(){if(typeof(this._propertiesState.Enabled)==="undefined"){return true}return this._propertiesState.Enabled},set_enabled:function(a){if(a){this._jObj.removeAttr("disabled")}else{this._jObj.attr("disabled","-1")}if(this._propertiesState.Visible!==a){this._propertiesState.Visible=a}return a},get_id:function(){return this.element.id},get_isInitialized:function(){return this.$3},get_isUpdating:function(){return this.$4},dispose:function(){},initialize:function(){this.$3=true},isDOMVisible:function(){return C1.Web.UI.Utils.Common.isVisible(this.element)},beginUpdate:function(){this.$4=true},endUpdate:function(){this.$4=false},invalidate:function(){},addCssClass:function(a){this._jObj.addClass(a)},removeCssClass:function(a){this._jObj.removeClass(a)},toggleCssClass:function(a){this._jObj.toggleClass(a)},addChild:function(a){this.get_children().add(a);this.element.appendChild(a.element)},get_children:function(){if(!this.$1){this.$1=new C1.Web.UI.UIElementList(this)}return this.$1},get_parent:function(){return this.$2},get_hasChildren:function(){return this.get_children()&&this.get_children().get_count()>0},get_propertiesState:function(){return this._propertiesState},assignPropertiesState:function(a){this._propertiesState=a},createInstance:function(a){if(Sys.UI.DomElement.containsCssClass(a,"flow-panel")){return new C1.Web.UI.FlowPanel(a)}else{if(Sys.UI.DomElement.containsCssClass(a,"dock-panel")){return new C1.Web.UI.DockPanel(a)}else{return new C1.Web.UI.UIElement(a)}}},$6:function(a){if(this.$2&&a&&this.$2!==a){throw Error.create("UIElement is already a child of another UIElement.")}this.$2=a}};C1.Web.UI.UIElementList=function(a){this.list=[];this.$0=a};C1.Web.UI.UIElementList.prototype={get_owner:function(){return this.$0},get_last:function(){return(this.get_count()>0)?this.get_item(this.get_count()-1):null},get_count:function(){return this.list.length},onListChanged:function(){},add:function(b){var a=this.get_count();this.insert(a,b);return a},insert:function(b,a){if(this.$4()){return}if(a){a.$6(this.$0)}this.list.splice(b,0,a);this.onListChanged()},removeAt:function(a){if(this.$4()){return}(this.list[a]).$6(null);this.list.splice(a,1);this.onListChanged()},removeRange:function(b,c){if(this.$4()){return}for(var a=0;a<c;a++){this.removeAt(b)}},reverse:function(){if(this.$4()){return}this.list.reverse();this.onListChanged()},clear:function(){if(this.$4()){return}for(var a=0;a<this.list.length;a++){(this.list[a]).$6(null)}this.list=[];this.onListChanged()},contains:function(b){for(var a=0;a<this.list.length;a++){if((this.list[a]).get_id()===b.get_id()){return true}}return false},$0:null,$1:false,$2:function(){this.$1=true},$3:function(){this.$1=false},$4:function(){if(this.$1){throw Error.create("UIElementList is locked.")}return false},$5:function(b){for(var a=0;a<this.get_count();a++){if(this.get_item(a).get_id()===b.get_id()){this.removeAt(a);break}}},get_item:function(a){return this.list[a]},set_item:function(b,c){var a=this.list[b];if(c!==a){if(a){a.$6(null)}this.list[b]=c;if(c){c.$6(this.$0)}this.onListChanged()}return c}};Type.registerNamespace("C1.Web.UI.Behavior");C1.Web.UI.Behavior.ResizeHandles=function(){};C1.Web.UI.Behavior.ResizeHandles.prototype={north:1,east:2,south:4,west:8,northEast:16,southEast:32,northWest:64,southWest:128,all:255};C1.Web.UI.Behavior.ResizeHandles.registerEnum("C1.Web.UI.Behavior.ResizeHandles",false);C1.Web.UI.Behavior.ResizePosition=function(){};C1.Web.UI.Behavior.ResizePosition.prototype={none:1,relative:2,absolute:3};C1.Web.UI.Behavior.ResizePosition.registerEnum("C1.Web.UI.Behavior.ResizePosition",false);C1.Web.UI.Behavior.Animation=function(a,b){this._easeType=31;C1.Web.UI.Behavior.Animation.initializeBase(this,[a]);this.UID="animation_"+C1.Web.UI.Behavior.Animation.$2_38();this.$2_16=new C1.Web.UI.Utils.RGBColor();this.$2_0=null;this.$2_6=0;this.$2_1=1;this.$2_18=false;this.$2_1E=1000;this.$2_1D=0;this.$2_7={};this.$2_8={};this.$2_9={};this.$2_A={};this.$2_17={};this.$2_B=true;this.$2_C=true;this.$2_F=false;this.$2_10=false;this.set_keyFrames(b);this._jObj=jQuery(a)};C1.Web.UI.Behavior.Animation.easeOutElastic=function(g,e,i,h){if((g/=h)===1){return e+i}var f=h*0.3;var a=f/4;return(i*Math.pow(2,-10*g)*Math.sin((g*h-a)*(2*Math.PI)/f)+i+e)};C1.Web.UI.Behavior.Animation.easeInElastic=function(g,e,i,h){if((g/=h)===1){return e+i}var f=h*0.3;var a=f/4;return -(i*Math.pow(2,10*(g-=1))*Math.sin((g*h-a)*(2*Math.PI)/f))+e};C1.Web.UI.Behavior.Animation.easeInOutElastic=function(g,e,i,h){if((g/=h/2)===2){return e+i}var f=h*(0.3*1.5);var a=f/4;if(g<1){return -0.5*(i*Math.pow(2,10*(g-=1))*Math.sin((g*h-a)*(2*Math.PI)/f))+e}return i*Math.pow(2,-10*(g-=1))*Math.sin((g*h-a)*(2*Math.PI)/f)*0.5+i+e};C1.Web.UI.Behavior.Animation.easeOutBounce=function(e,a,g,f){if((e/=f)<(1/2.75)){return g*(7.5625*e*e)+a}else{if(e<(2/2.75)){return g*(7.5625*(e-=(1.5/2.75))*e+0.75)+a}else{if(e<(2.5/2.75)){return g*(7.5625*(e-=(2.25/2.75))*e+0.9375)+a}else{return g*(7.5625*(e-=(2.625/2.75))*e+0.984375)+a}}}};C1.Web.UI.Behavior.Animation.easeInBounce=function(e,a,g,f){return g-C1.Web.UI.Behavior.Animation.easeOutBounce(f-e,0,g,f)+a};C1.Web.UI.Behavior.Animation.easeInOutBounce=function(e,a,g,f){if(e<f/2){return C1.Web.UI.Behavior.Animation.easeInBounce(e*2,0,g,f)*0.5+a}else{return C1.Web.UI.Behavior.Animation.easeOutBounce(e*2-f,0,g,f)*0.5+g*0.5+a}};C1.Web.UI.Behavior.Animation.easeOutExpo=function(e,a,g,f){return(e===f)?a+g:g*(-Math.pow(2,-10*e/f)+1)+a};C1.Web.UI.Behavior.Animation.easeInExpo=function(e,a,g,f){return(!e)?a:g*Math.pow(2,10*(e/f-1))+a};C1.Web.UI.Behavior.Animation.easeInOutExpo=function(e,a,g,f){if(!e){return a}if(e===f){return a+g}if((e/=f/2)<1){return g/2*Math.pow(2,10*(e-1))+a}return g/2*(-Math.pow(2,-10*--e)+2)+a};C1.Web.UI.Behavior.Animation.easeOutQuad=function(e,a,g,f){return -g*(e/=f)*(e-2)+a};C1.Web.UI.Behavior.Animation.easeInQuad=function(e,a,g,f){return g*(e/=f)*e+a};C1.Web.UI.Behavior.Animation.easeInOutQuad=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e+a}return -g/2*((--e)*(e-2)-1)+a};C1.Web.UI.Behavior.Animation.easeOutSine=function(e,a,g,f){return g*Math.sin(e/f*(Math.PI/2))+a};C1.Web.UI.Behavior.Animation.easeInSine=function(e,a,g,f){return -g*Math.cos(e/f*(Math.PI/2))+g+a};C1.Web.UI.Behavior.Animation.easeInOutSine=function(e,a,g,f){if((e/=f/2)<1){return g/2*(Math.sin(Math.PI*e/2))+a}return -g/2*(Math.cos(Math.PI*--e/2)-2)+a};C1.Web.UI.Behavior.Animation.easeOutCirc=function(e,a,g,f){return g*Math.sqrt(1-(e=e/f-1)*e)+a};C1.Web.UI.Behavior.Animation.easeInCirc=function(e,a,g,f){return -g*(Math.sqrt(1-(e/=f)*e)-1)+a};C1.Web.UI.Behavior.Animation.easeInOutCirc=function(e,a,g,f){if((e/=f/2)<1){return -g/2*(Math.sqrt(1-e*e)-1)+a}return g/2*(Math.sqrt(1-(e-=2)*e)+1)+a};C1.Web.UI.Behavior.Animation.easeOutCubic=function(e,a,g,f){return g*((e=e/f-1)*e*e+1)+a};C1.Web.UI.Behavior.Animation.easeInCubic=function(e,a,g,f){return g*(e/=f)*e*e+a};C1.Web.UI.Behavior.Animation.easeInOutCubic=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e+a}return g/2*((e-=2)*e*e+2)+a};C1.Web.UI.Behavior.Animation.easeOutQuint=function(e,a,g,f){return g*((e=e/f-1)*e*e*e*e+1)+a};C1.Web.UI.Behavior.Animation.easeInQuint=function(e,a,g,f){return g*(e/=f)*e*e*e*e+a};C1.Web.UI.Behavior.Animation.easeInOutQuint=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e*e*e+a}return g/2*((e-=2)*e*e*e*e+2)+a};C1.Web.UI.Behavior.Animation.easeOutBack=function(e,a,g,f){return g*((e=e/f-1)*e*((1.70158+1)*e+1.70158)+1)+a};C1.Web.UI.Behavior.Animation.easeInBack=function(e,a,g,f){return g*(e/=f)*e*((1.70158+1)*e-1.70158)+a};C1.Web.UI.Behavior.Animation.easeInOutBack=function(f,a,h,g){var e=1.70158;if((f/=g/2)<1){return h/2*(f*f*(((e*=(1.525))+1)*f-e))+a}return h/2*((f-=2)*f*(((e*=(1.525))+1)*f+e)+2)+a};C1.Web.UI.Behavior.Animation.easeOutQuart=function(e,a,g,f){return -g*((e=e/f-1)*e*e*e-1)+a};C1.Web.UI.Behavior.Animation.easeInQuart=function(e,a,g,f){return g*(e/=f)*e*e*e+a};C1.Web.UI.Behavior.Animation.easeInOutQuart=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e*e+a}return -g/2*((e-=2)*e*e*e-2)+a};C1.Web.UI.Behavior.Animation.easeLinear=function(e,a,g,f){return g*e/f+a};C1.Web.UI.Behavior.Animation.$2_38=function(){try{C1.Web.UI.Behavior.Animation.$2_1F++}catch(a){C1.Web.UI.Behavior.Animation.$2_1F=0}if(C1.Web.UI.Behavior.Animation.$2_1F<0){C1.Web.UI.Behavior.Animation.$2_1F=0}return C1.Web.UI.Behavior.Animation.$2_1F};C1.Web.UI.Behavior.Animation.prototype={UID:null,_jObj:null,$2_0:null,$2_1:0,$2_2:null,$2_3:null,$2_4:false,$2_5:false,$2_6:0,$2_7:null,$2_8:null,$2_9:null,$2_A:null,$2_B:false,$2_C:false,$2_D:false,$2_E:false,$2_F:false,$2_10:false,$2_11:0,$2_12:0,$2_13:0,$2_14:0,$2_15:0,$2_16:null,$2_17:null,$2_18:false,$2_19:false,$2_1A:0,$2_1B:0,$2_1C:0,$2_1D:0,$2_1E:0,get_jObj:function(){return this._jObj},get_animatedElement:function(){return this.get_element()},get_activeKeyFrame:function(){return this.$2_6},get_easing:function(){return this._easeType},set_easing:function(a){if(a!==this._easeType){this._easeType=a;this.raisePropertyChanged("easing")}return a},get_currentFrameDurationTime:function(){return this.$2_1E},get_hiddenAtStart:function(){return this.$2_D},set_hiddenAtStart:function(a){if(this.$2_D!==a){this.$2_D=a;if(a){this._jObj.addClass("c1-transparent")}else{this._jObj.removeClass("c1-transparent")}}return a},get_keyFrames:function(){return this.$2_0},set_keyFrames:function(a){if(a){this.$2_0=a;this.raisePropertyChanged("keyFrames")}return a},get_percentage:function(){return(this.$2_18)?((this.$2_1C-this.$2_1A)*100)/this.$2_1E:0},get_isActive:function(){return this.$2_18},get_isAnimating:function(){return this.$2_19},add_started:function(a){this.get_events().addHandler("started",a)},remove_started:function(a){this.get_events().removeHandler("started",a)},add_frameStarted:function(a){this.get_events().addHandler("framestarted",a)},remove_frameStarted:function(a){this.get_events().removeHandler("framestarted",a)},add_frameStopped:function(a){this.get_events().addHandler("framestopped",a)},remove_frameStopped:function(a){this.get_events().removeHandler("framestopped",a)},add_animating:function(a){this.get_events().addHandler("animating",a)},remove_animating:function(a){this.get_events().removeHandler("animating",a)},add_stopped:function(a){this.get_events().addHandler("stopped",a)},remove_stopped:function(a){this.get_events().removeHandler("stopped",a)},setValueSyncHandler:function(a){this.$2_20=a},$2_20:null,dispose:function(){this.$2_18=false;this.$2_22();C1.Web.UI.Behavior.Animation.callBaseMethod(this,"dispose")},queue:function(){C1.Web.UI.Behavior.AnimationManager.get_queue().add(this)},start:function(a){this.queue();this.$2_1=(typeof(a)==="undefined")?1:a;C1.Web.UI.Behavior.AnimationManager.start()},pause:function(){if(this.$2_18){this.$2_22();this.raisePropertyChanged("isAnimating")}},resume:function(){if(this.$2_18){this.$2_21();this.raisePropertyChanged("isAnimating")}},useOverflowHiddenForChilds:false,$2_21:function(){this.$2_19=true;if(this.useOverflowHiddenForChilds){this._jObj.addClass("c1-in-animation-hide-scrollbars")}},$2_22:function(){this.$2_19=false;this._jObj.removeClass("c1-in-animation-hide-scrollbars")},stop:function(a){if(C1.Web.UI.Utils.Common.testIsNull(a)){a=true}this.$2_24(a)},reset:function(){if(this.get_isAnimating()){return}this.$2_2D()},$2_23:function(a){this.$2_6=0;this.$2_E=false;this.onStarted(Sys.EventArgs.Empty);this.$2_2C();this.$2_34(a)},$2_24:function(b){var a=new Sys.CancelEventArgs();this.onFrameStopped(a);if(a.get_cancel()){return}this.$2_18=false;this.$2_22();if(this.$2_1C!==this.$2_1B){this.$2_1C=this.$2_1B;this.raisePropertyChanged("percentage");if(b){this.$2_35(this.$2_1B)}}this.raisePropertyChanged("isAnimating");this.raisePropertyChanged("isActive");if(!b){this.$2_8={};this.$2_9={};this.$2_6++;if(this.$2_6>=this.$2_0.length){this.$2_6=0;this.$2_1--;if(this.$2_1>0||this.$2_1<-1){if(this.$2_1<-1){this.$2_1=-1}this.$2_2D();this.$2_34(new Date().getTime())}else{this.onStopped(Sys.EventArgs.Empty)}}else{this.$2_34(new Date().getTime())}}else{this.onStopped(Sys.EventArgs.Empty)}},$2_25:function(f,e,d){var c=f;for(var b in c){var a={key:b,value:c[b]};if(d){e[a.key]=f[a.key]}else{if(typeof(e[a.key])==="undefined"){e[a.key]=f[a.key]}}}},$2_26:function(e){if(e<0||e>=this.$2_0.length){throw Error.argumentOutOfRange()}var c=this.$2_0[e];var d=c;for(var b in d){var a={key:b,value:d[b]};if(a.key==="duration"){this.$2_1E=(c[a.key]);continue}if(a.key==="unit"){this.$2_2=c[a.key];continue}if(a.key==="fontUnit"){this.$2_3=c[a.key];continue}if(a.key==="visible"){this.$2_F=true;this.$2_B=c[a.key];continue}if(a.key==="enabled"){this.$2_10=true;this.$2_C=c[a.key];continue}this.$2_29(c,a.key)}if(!e){this.$2_25(this.$2_7,this.$2_8,false)}},$2_27:function(b){if(String.isInstanceOfType((b))){b=(b*1)}var a;switch(b){case 1:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutElastic);break;case 2:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInElastic);break;case 3:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutElastic);break;case 4:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutBounce);break;case 5:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInBounce);break;case 6:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutBounce);break;case 7:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutExpo);break;case 8:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInExpo);break;case 9:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutExpo);break;case 10:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutQuad);break;case 11:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInQuad);break;case 12:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutQuad);break;case 13:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutSine);break;case 14:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInSine);break;case 15:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutSine);break;case 16:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutCirc);break;case 17:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInCirc);break;case 18:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutCirc);break;case 19:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutCubic);break;case 20:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInCubic);break;case 21:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutCubic);break;case 22:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutQuint);break;case 23:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInQuint);break;case 24:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutQuint);break;case 25:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutBack);break;case 26:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInBack);break;case 27:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutBack);break;case 28:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeOutQuart);break;case 29:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInQuart);break;case 30:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeInOutQuart);break;default:a=Function.createDelegate(null,C1.Web.UI.Behavior.Animation.easeLinear);break}return a},$2_28:function(b){var a=31;switch(b){case"EaseOutElastic":a=1;break;case"EaseInElastic":a=2;break;case"EaseInOutElastic":a=3;break;case"EaseOutBounce":a=4;break;case"EaseInBounce":a=5;break;case"EaseInOutBounce":a=6;break;case"EaseOutExpo":a=7;break;case"EaseInExpo":a=8;break;case"EaseInOutExpo":a=9;break;case"EaseOutQuad":a=10;break;case"EaseInQuad":a=11;break;case"EaseInOutQuad":a=12;break;case"EaseOutSine":a=13;break;case"EaseInSine":a=14;break;case"EaseInOutSine":a=15;break;case"EaseOutCirc":a=16;break;case"EaseInCirc":a=17;break;case"EaseInOutCirc":a=18;break;case"EaseOutCubic":a=19;break;case"EaseInCubic":a=20;break;case"EaseInOutCubic":a=21;break;case"EaseOutQuint":a=22;break;case"EaseInQuint":a=23;break;case"EaseInOutQuint":a=24;break;case"EaseOutBack":a=25;break;case"EaseInBack":a=26;break;case"EaseInOutBack":a=27;break;case"EaseOutQuart":a=28;break;case"EaseInQuart":a=29;break;case"EaseInOutQuart":a=30;break}return this.$2_27(a)},$2_29:function(d,c){var b=d[c];if(typeof(b.to)!=="undefined"){this.$2_9[c]=b.to}if(!C1.Web.UI.Utils.Common.testIsNull(b.easing)){var a=b.easing;this.$2_17[c]=this.$2_28(a)}else{this.$2_17[c]=this.$2_27(this.get_easing())}if(typeof(b.from)!=="undefined"){this.$2_8[c]=b.from}else{var e=this.$2_2E(c);if(typeof(e)!=="undefined"){if(Object.getType(e)===String){if(c.toLowerCase().indexOf("color")<0){e=parseFloat(e)}}this.$2_8[c]=e}}if(c==="scale"){if(typeof(b.center)!=="undefined"){this.$2_4=b.center}if(typeof(b.scaleFont)!=="undefined"){this.$2_5=b.scaleFont}}},$2_2C:function(){var c=this.get_element().style;if(typeof(c)!=="undefined"){var d=c;for(var b in d){var a={key:b,value:d[b]};var f=a.key;var e=typeof(c[f]);if(e!=="undefined"&&e!=="function"&&!C1.Web.UI.Behavior.Animation.$2_2A[f]){if(C1.Web.UI.Behavior.Animation.$2_2B[f]||c[f]!==""){this.$2_7[f]=c[f]}}}}},$2_2D:function(){var c=this.get_element().style;if(typeof(c)!=="undefined"){var d=this.$2_7;for(var b in d){var a={key:b,value:d[b]};try{c[a.key]=this.$2_7[a.key]}catch(e){}}}},$2_2E:function(c){var b=this.get_element();if(!b){return null}if(c==="left"){return(b)["offsetLeft"]}if(c==="top"){return(b)["offsetTop"]}if(c==="width"){return(b)["offsetWidth"]}if(c==="height"){return(b)["offsetHeight"]}if(c==="opacity"){return C1.Web.UI.Utils.Common.getOpacity(b)}if(c==="backgroundPositionX"){return C1.Web.UI.Utils.Common.getCurrentStyle(b,"backgroundPositionX",0)}if(c==="backgroundPositionY"){return C1.Web.UI.Utils.Common.getCurrentStyle(b,"backgroundPositionY",0)}if(c==="scale"){return 1}var a=(b)["style"];if(typeof(a)!=="undefined"&&c&&c.length>0){return(a)[c]}return null},onStarted:function(b){var a=this.get_events().getHandler("started");if(a){a(this,b)}},onStopped:function(b){C1.Web.UI.Behavior.AnimationManager.$9(this);var a=this.get_events().getHandler("stopped");if(a){a(this,b)}},onFrameStarted:function(b){var a=this.get_events().getHandler("framestarted");if(a){a(this,b)}},onFrameStopped:function(b){var a=this.get_events().getHandler("framestopped");if(a){a(this,b)}},onAnimating:function(b){var a=this.get_events().getHandler("animating");if(a){a(this,b)}},$2_2F:function(b){var a={};if(this.$2_16.parse(b)){a.Red=this.$2_16.get_red();a.Green=this.$2_16.get_green();a.Blue=this.$2_16.get_blue()}else{a.Red=255;a.Green=255;a.Blue=255}return a},$2_30:function(f,d,c){var b=f.toString(16);var a=d.toString(16);var g=c.toString(16);if(b.length===1){b="0"+b}if(a.length===1){a="0"+a}if(g.length===1){g="0"+g}var e="#"+b;e+=a+g;return e},caclulateValue:function(e,b,c,d){var a=b-e;if(!a){return e}return this.$2_17[c]((d-this.$2_1A),e,a,this.$2_1E)},$2_31:function(i,h,g,f){var e=this.$2_2F(i);var d=this.$2_2F(h);var c=e.Red;var b=e.Green;var a=e.Blue;if(c!==d.Red){c=Math.max(0,Math.min(255,Math.round(this.caclulateValue(c,d.Red,g,f))))}if(b!==d.Green){b=Math.max(0,Math.min(255,Math.round(this.caclulateValue(b,d.Green,g,f))))}if(a!==d.Blue){a=Math.max(0,Math.min(255,Math.round(this.caclulateValue(a,d.Blue,g,f))))}return this.$2_30(c,b,a)},$2_32:function(d,c){var b=this.get_element();if(!b){return}this.$2_A[d]=c;if(d==="width"||d==="height"){c=Math.round(c);if(c<0){c=0}this.$2_A[d]=c}else{if(d==="left"||d==="top"||d==="backgroundPositionX"||d==="backgroundPositionY"){c=Math.round(c);this.$2_A[d]=c}}if(this.$2_20){c=this.$2_20(this,d,this.$2_8[d],this.$2_9[d],this.$2_A[d])}if(d==="width"||d==="height"||d==="left"||d==="top"||d==="backgroundPositionX"||d==="backgroundPositionY"){c=c+this.$2_2}if(d==="opacity"){C1.Web.UI.Utils.Common.setOpacity(b,c);return}var a=b.style;if(typeof(a)!=="undefined"&&d&&d.length>0){a[d]=c}},$2_33:function(){var b=this.get_element();if(!b){return}var a=C1.Web.UI.Utils.Common.getCurrentStyle(b,"width",null);var e=C1.Web.UI.Utils.Common.getCurrentStyle(b,"height",null);var d=C1.Web.UI.Utils.Common.getCurrentStyle(b,"backgroundColor",null);if((!a||a===""||a==="auto")&&(!e||e===""||e==="auto")){this._jObj.css("width",b.offsetWidth)}if(!d||d===""||d==="transparent"||d==="rgba(0, 0, 0, 0)"){var c=C1.Web.UI.Utils.Common.getCurrentStyle(b,"position","");if(c!=="absolute"){this._jObj.css("background-color",C1.Web.UI.Utils.Common.getInheritedBackgroundColor(b))}}this.$2_E=true},$2_34:function(b){if(C1.Web.UI.Utils.Common.testIsNull(b)){b=new Date().getTime()}this.onFrameStarted(Sys.EventArgs.Empty);this.$2_1E=1000;this.$2_1D=0;this.$2_F=false;this.$2_10=false;this.$2_2="px";this.$2_3="pt";this.$2_4=true;this.$2_5=false;this.$2_26(this.$2_6);this.$2_1A=b;this.$2_1C=this.$2_1A;this.$2_1B=this.$2_1A+this.$2_1E;if(typeof(this.$2_9.opacity)!=="undefined"){if(!this.$2_E&&Sys.Browser.agent===Sys.Browser.InternetExplorer){this.$2_33()}}var a=this.get_element();if(typeof(this.$2_9.scale)!=="undefined"){this.$2_14=a.offsetTop;this.$2_13=a.offsetLeft;this.$2_12=a.offsetHeight;this.$2_11=a.offsetWidth;this.$2_15=parseFloat(C1.Web.UI.Utils.Common.getCurrentStyle(a,"fontSize",9))}if(this.$2_F){C1.Web.UI.Utils.Common.setVisible(a,this.$2_B)}if(this.$2_10){this._jObj.attr("disabled",!this.$2_C)}this.$2_18=true;this.$2_21();if(this.$2_D){this._jObj.removeClass("c1-transparent")}},$2_35:function(d){if(!this.$2_19){this.$2_1D=new Date().getTime()-this.$2_1C;return}d-=this.$2_1D;if(d>this.$2_1B){d=this.$2_1B}this.$2_1C=d;this.onAnimating(Sys.EventArgs.Empty);var c=this.$2_9;for(var b in c){var a={key:b,value:c[b]};if(a.key==="scale"){this.$2_36(this.$2_37(a.key,d));continue}this.$2_32(a.key,this.$2_37(a.key,d))}if(this.$2_1C>=this.$2_1B){this.$2_24(false);return}},$2_36:function(c){var b=Math.round(this.$2_11*c);var a=Math.round(this.$2_12*c);this._jObj.css("width",b+this.$2_2);this._jObj.css("height",a+this.$2_2);if(this.$2_4){this._jObj.css("top",(this.$2_14+Math.round((this.$2_12-a)/2))+this.$2_2);this._jObj.css("left",(this.$2_13+Math.round((this.$2_11-b)/2))+this.$2_2)}if(this.$2_5){var d=this.$2_15*c;if(this.$2_3==="px"||this.$2_3==="pt"){d=Math.round(d)}this._jObj.css("font-size",d+this.$2_3)}},$2_37:function(d,c){if(d.toLowerCase().indexOf("color")>=0){return this.$2_31(this.$2_8[d],this.$2_9[d],d,c)}var b=this.$2_8[d];var a=this.$2_9[d];if(b&&String.isInstanceOfType(b)&&c<this.$2_1B){return b}else{if(a&&String.isInstanceOfType(a)&&c>=this.$2_1B){return a}}var e=this.caclulateValue(this.$2_8[d],this.$2_9[d],d,c);return this.caclulateValue(this.$2_8[d],this.$2_9[d],d,c)}};C1.Web.UI.Behavior.AnimationCollection=function(){this.list=[]};C1.Web.UI.Behavior.AnimationCollection.prototype={get_last:function(){return(this.get_count()>0)?this.get_item(this.get_count()-1):null},get_count:function(){return this.list.length},onListChanged:function(){},add:function(b){var a=this.get_count();this.insert(a,b);return a},insert:function(a,b){if(this.contains(b)){return}this.list.splice(a,0,b);this.onListChanged()},removeAt:function(a){this.list.splice(a,1);this.onListChanged()},removeRange:function(b,c){for(var a=0;a<c;a++){this.removeAt(b)}},reverse:function(){this.list.reverse();this.onListChanged()},clear:function(){this.list=[];this.onListChanged()},contains:function(b){for(var a=0;a<this.list.length;a++){if((this.list[a]).UID===b.UID){return true}}return false},indexOf:function(b){for(var a=0;a<this.list.length;a++){if((this.list[a]).UID===b.UID){return a}}return -1},get_length:function(){return this.list.length},$0:function(b){for(var a=0;a<this.get_count();a++){if(this.get_item(a).UID===b.UID){this.removeAt(a);break}}},get_item:function(a){return this.list[a]},set_item:function(b,c){var a=this.list[b];if(c!==a){this.list[b]=c;this.onListChanged()}return c}};C1.Web.UI.Behavior.AnimationEffects=function(a,b){C1.Web.UI.Behavior.AnimationEffects.initializeBase(this,[a]);this.$2_2=(C1.Web.UI.Utils.Common.testIsNull(b))?0:b;this.$2_3=1000;this.$2_4=31;this.$2_5=null;this.$2_6=null;this.$2_7=false;this.$2_8=false;this.$2_9=true;this.$2_A=true;this.$2_12=jQuery(a)};C1.Web.UI.Behavior.AnimationEffects.createAnimationByType=function(k,d,b,g,f,j,h,i,a,e){if(C1.Web.UI.Utils.Common.testIsNull(k)||C1.Web.UI.Utils.Common.testIsNull(d)||!k){return null}if(C1.Web.UI.Utils.Common.testIsNull(h)){h=false}if(C1.Web.UI.Utils.Common.testIsNull(i)){i=false}if(C1.Web.UI.Utils.Common.testIsNull(a)){a=true}if(C1.Web.UI.Utils.Common.testIsNull(g)){g=31}if(C1.Web.UI.Utils.Common.testIsNull(e)){e=true}var c=new C1.Web.UI.Behavior.AnimationEffects(d,k);c.$2_2=k;c.$2_3=b;c.$2_7=h;c.$2_8=i;c.$2_9=a;c.$2_4=g;c.$2_5=f;c.$2_6=j;c.$2_A=e;c.$2_B=!e;return c};C1.Web.UI.Behavior.AnimationEffects.playAnimationEffect=function(k,d,b,g,f,j,h,i,a,e){if(C1.Web.UI.Utils.Common.testIsNull(k)||C1.Web.UI.Utils.Common.testIsNull(d)||!k){return false}if(C1.Web.UI.Utils.Common.testIsNull(h)){h=false}if(C1.Web.UI.Utils.Common.testIsNull(i)){i=false}if(C1.Web.UI.Utils.Common.testIsNull(a)){a=true}if(C1.Web.UI.Utils.Common.testIsNull(g)){g=31}if(C1.Web.UI.Utils.Common.testIsNull(e)){e=true}if(!C1.Web.UI.Utils.Common.testIsNull(k)&&k){var c=C1.Web.UI.Behavior.AnimationEffects.createAnimationByType(k,d,b,g,f,j,h,i,a,e);if(c){c.play();return true}}return false};C1.Web.UI.Behavior.AnimationEffects.prototype={$2_0:false,get_useOverflowHiddenForChilds:function(){return this.$2_0},set_useOverflowHiddenForChilds:function(a){this.$2_0=a;if(this.$2_1){this.$2_1.useOverflowHiddenForChilds=a}return a},beforeDetermineBoundsHandler:null,afterDetermineBoundsHandler:null,$2_1:null,$2_2:0,$2_3:0,$2_4:0,$2_5:null,$2_6:null,$2_7:false,$2_8:false,$2_9:false,$2_A:false,$2_B:false,$2_C:null,$2_D:null,$2_E:null,$2_F:false,$2_10:false,$2_11:null,$2_12:null,$2_13:null,get_animation:function(){return this.$2_1},get_animatedElement:function(){return(this.$2_13)?this.$2_13.get(0):this.$2_12.get(0)},get_originalElement:function(){return this.get_element()},get_effect:function(){return this.$2_2},set_effect:function(a){this.$2_2=a;return a},get_duration:function(){return this.$2_3},set_duration:function(a){this.$2_3=a;return a},get_easing:function(){return this.$2_4},set_easing:function(a){this.$2_4=a;return a},get_startHandler:function(){return this.$2_5},set_startHandler:function(a){this.$2_5=a;return a},get_endHandler:function(){return this.$2_6},set_endHandler:function(a){this.$2_6=a;return a},get_useClone:function(){return this.$2_7},set_useClone:function(a){this.$2_7=a;return a},get_cloneDeep:function(){return this.$2_8},set_cloneDeep:function(a){this.$2_8=a;return a},get_resetOnEnd:function(){return this.$2_9},set_resetOnEnd:function(a){this.$2_9=a;return a},get_hiddenAtStart:function(){return this.$2_A},set_hiddenAtStart:function(a){this.$2_A=a;this.$2_B=!this.$2_A;if(this.$2_1){this.$2_1.set_hiddenAtStart(a)}return a},get_isAnimating:function(){if(this.$2_1){return this.$2_1.get_isAnimating()}return false},setValueSyncHandler:function(a){this.$2_14=a;if(this.$2_1){this.$2_1.setValueSyncHandler(this.$2_14)}},$2_14:null,play:function(){this.start(1)},start:function(a){if(!this.$2_1){this.$2_15()}if(this.$2_1){this.$2_1.start(a)}},stop:function(){if(this.$2_1){this.$2_1.stop(true)}},queue:function(){if(!this.$2_1){this.$2_15()}if(this.$2_1){this.$2_1.queue()}},pause:function(){if(this.$2_1){this.$2_1.pause()}},resume:function(){if(this.$2_1){this.$2_1.resume()}},reset:function(){if(this.$2_1){this.$2_1.reset()}},initialize:function(){C1.Web.UI.Behavior.AnimationEffects.callBaseMethod(this,"initialize")},dispose:function(){if(this.$2_1){this.$2_1.dispose();this.$2_1=null}C1.Web.UI.Behavior.AnimationEffects.callBaseMethod(this,"dispose");this.$2_5=null;this.$2_6=null},add_started:function(a){this.get_events().addHandler("started",a)},remove_started:function(a){this.get_events().removeHandler("started",a)},add_stopped:function(a){this.get_events().addHandler("stopped",a)},remove_stopped:function(a){this.get_events().removeHandler("stopped",a)},onStarted:function(b){var a=this.get_events().getHandler("started");if(a){a(this,b)}},onStopped:function(b){var a=this.get_events().getHandler("stopped");if(a){a(this,b)}},$2_15:function(){var b=this.get_element();if(this.$2_12.data("___c1StartedAnimation")){(this.$2_12.data("___c1StartedAnimation")).stop(true)}if(this.$2_12.data("___c1StartedAnimation")){}var a=this.$2_18(this.$2_12);if(this.beforeDetermineBoundsHandler){this.beforeDetermineBoundsHandler()}if(this.$2_A){this.$2_12.addClass("c1-transparent")}this.$2_12.css("display","block");var h=C1.Web.UI.Utils.Measurement.getStyleBounds(b);this.$2_12.css("left",h.x);this.$2_12.css("top",h.y);this.$2_12.css("display",a.Display);if(this.$2_A){this.$2_12.removeClass("c1-transparent")}if(this.afterDetermineBoundsHandler){this.afterDetermineBoundsHandler()}if(this.$2_7){this.$2_12.addClass("c1-transparent");this.$2_13=this.$2_12.clone();this.$2_13.css("display","block");C1.Web.UI.Utils.Common.setBounds(this.get_animatedElement(),h);this.$2_12.after(this.$2_13);this.$2_13.removeClass("c1-transparent")}var g=this.$2_3;var f=this.determineAnimationFramesByType(this.$2_2,g,h);var e=null;if(f!==""){e=C1.Web.UI.Utils.JSON.fromJSONString(f)}if(e){this.$2_1=new C1.Web.UI.Behavior.Animation(this.get_animatedElement(),e);this.$2_1.useOverflowHiddenForChilds=this.get_useOverflowHiddenForChilds();this.$2_1.setValueSyncHandler(this.$2_14);this.$2_1.set_hiddenAtStart(this.$2_A);if(this.$2_1){this.$2_1.set_easing(this.$2_4);var d=(f.indexOf("height:")!==-1)||(f.indexOf("width:")!==-1);var c=(f.indexOf("left:")!==-1)||(f.indexOf("top:")!==-1);if(!this.$2_C){this.$2_C=Function.createDelegate(this,this.$2_16)}if(!this.$2_D){this.$2_D=Function.createDelegate(this,this.$2_17)}this.$2_E=a;this.$2_F=c;this.$2_10=d;this.$2_11=h;this.$2_1.add_started(this.$2_C);this.$2_1.add_stopped(this.$2_D)}}},$2_16:function(c,b){this.onStarted(Sys.EventArgs.Empty);var a=c;C1.Web.UI.Utils.Common.setVisible(a.get_animatedElement(),true);this.$2_12.data("___c1StartedAnimation",a);if(this.$2_7||this.$2_10){a.get_jObj().css("width",this.$2_11.width);a.get_jObj().css("height",this.$2_11.height)}if(this.$2_10){a.get_jObj().css("overflow","hidden");a.get_jObj().css("display","block")}if(this.$2_F){a.get_jObj().css("position","absolute");a.get_jObj().css("top",this.$2_11.y);a.get_jObj().css("left",this.$2_11.x)}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_5)){this.$2_5(c,b)}},$2_17:function(c,b){var a=c;a.remove_started(this.$2_C);a.remove_stopped(this.$2_D);if(this.$2_9){a.reset();this.$2_19(this.$2_12,this.$2_E)}this.$2_12.removeData("___c1StartedAnimation");if(this.$2_7){this.$2_13.remove()}if(this.$2_7&&!this.$2_B){this.$2_12.removeClass("c1-transparent")}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_6)){this.$2_6(c,b)}if(this.$2_7&&this.$2_B){this.$2_12.removeClass("c1-transparent")}this.$2_E=null;this.$2_1=null;this.onStopped(Sys.EventArgs.Empty)},determineAnimationFramesByType:function(p,l,k){var j=', "height":{"from":'+k.height+', "to":'+k.height+"}";var i=', "width":{"from":'+k.width+', "to":'+k.width+"}";var h="";switch(p){case 1:h='[{"duration":'+l+', "opacity":{"from":0, "to":1.0}}]';break;case 2:h='[{"duration":'+l+', "opacity":{"from":1.0, "to":0}}]';break;case 3:h='[{"duration":'+l+i+', "height":{"from":0, "to":'+k.height+"}}]";break;case 7:h='[{"duration":'+l+i+', "height":{"from":'+k.height+', "to":0}}]';break;case 4:h='[{"duration":'+l+j+', "left":{"from":'+(k.x+k.width)+', "to":'+k.x+'} , "width":{"from":0, "to":'+k.width+"}}]";break;case 8:h='[{"duration":'+l+j+', "left":{"from":'+k.x+', "to":'+(k.x+k.width)+'} , "width":{"from":'+k.width+', "to":0}}]';break;case 5:h='[{"duration":'+l+i+', "top":{"from":'+(k.y+k.height)+', "to":'+k.y+'} , "height":{"from":0, "to":'+k.height+"}}]";break;case 9:h='[{"duration":'+l+i+', "top":{"from":'+k.y+', "to":'+(k.y+k.height)+'} , "height":{"from":'+k.height+', "to":0}}]';break;case 6:h='[{"duration":'+l+j+', "width":{"from":0, "to":'+k.width+"}}]";break;case 10:h='[{"duration":'+l+j+', "width":{"from":'+k.width+', "to":0}}]';break;case 11:var g=Math.round(k.height/6);h='[{"duration":'+(l/2)+i+', "height":{"from":'+k.height+', "to":'+g+'}}, {"duration":'+(l/2)+', "height":{"from":'+g+', "to":'+g+'} , "width":{"from":'+k.width+', "to":0}}]';break;case 12:var f=Math.round(k.height/6);h='[{"duration":'+(l/2)+', "height":{"from":'+f+', "to":'+f+'} , "width":{"from":0, "to":'+k.width+'}},{"duration":'+(l/2)+i+', "height":{"from":'+f+', "to":'+k.height+"}}]";break;case 15:h='[{"duration":'+l+j+', "left":{"from":'+(k.x+(k.width/2))+', "to":'+k.x+'} , "width":{"from":0, "to":'+k.width+"}}]";break;case 16:h='[{"duration":'+l+j+', "left":{"from":'+k.x+', "to":'+(k.x+(k.width/2))+'} , "width":{"from":'+k.width+', "to":0}}]';break;case 13:h='[{"duration":'+l+i+', "top":{"from":'+(k.y+(k.height/2))+', "to":'+k.y+'} , "height":{"from":0, "to":'+k.height+"}}]";break;case 14:h='[{"duration":'+l+i+', "top":{"from":'+k.y+', "to":'+(k.y+(k.height/2))+'} , "height":{"from":'+k.height+', "to":0}}]';break;case 17:var e=l/5;var d=k.x-4;var c=k.x+4;h='[{"duration":'+e+i+j+', "left":{"from":'+d+', "to":'+c+'}}, {"duration":'+e+i+j+', "left":{"from":'+c+', "to":'+d+'}}, {"duration":'+e+i+j+', "left":{"from":'+d+', "to":'+c+'}}, {"duration":'+e+i+j+', "left":{"from":'+c+', "to":'+d+"}}]";break;case 18:var b=l/5;var a=k.y-4;var v=k.y+4;h='[{"duration":'+b+i+j+', "top":{"from":'+a+', "to":'+v+'}}, {"duration":'+b+i+j+', "top":{"from":'+v+', "to":'+a+'}}, {"duration":'+b+i+j+', "top":{"from":'+a+', "to":'+v+'}}, {"duration":'+b+i+j+', "top":{"from":'+v+', "to":'+a+"}}]";break;case 21:var u=k.y+k.height;h='[{"duration":'+l+i+j+', "top":{"from":'+u+', "to":'+k.y+'}, "opacity":{"from":0, "to":1.0}}]';break;case 23:var t=k.y-k.height;h='[{"duration":'+l+i+j+', "top":{"from":'+k.y+', "to":'+t+'}, "opacity":{"from":1.0, "to":0}}]';break;case 19:var s=k.y-k.height;h='[{"duration":'+l+i+j+', "top":{"from":'+s+', "to":'+k.y+'}, "opacity":{"from":0, "to":1.0}}]';break;case 25:var r=k.y+k.height;h='[{"duration":'+l+i+j+', "top":{"from":'+k.y+', "to":'+r+'}, "opacity":{"from":1.0, "to":0}}]';break;case 22:var q=k.x-k.width;h='[{"duration":'+l+i+j+', "left":{"from":'+q+', "to":'+k.x+'}, "opacity":{"from":0, "to":1.0}}]';break;case 24:var o=k.x+k.width;h='[{"duration":'+l+i+j+', "left":{"from":'+k.x+', "to":'+o+'}, "opacity":{"from":1.0, "to":0}}]';break;case 20:var n=k.x+k.width;h='[{"duration":'+l+i+j+', "left":{"from":'+n+', "to":'+k.x+'}, "opacity":{"from":0, "to":1.0}}]';break;case 26:var m=k.x-k.width;h='[{"duration":'+l+i+j+', "left":{"from":'+k.x+', "to":'+m+'}, "opacity":{"from":1.0, "to":0}}]';break;default:break}return h},$2_18:function(b){var a={};a.Display=b.css("display");a.Width=b.css("width");a.Height=b.css("height");a.Top=b.css("top");a.Left=b.css("left");a.Overflow=b.css("overflow");a.Position=b.css("position");return a},$2_19:function(b,a){if(!a){return}b.css("display",a.Display);b.css("width",a.Width);b.css("height",a.Height);b.css("top",a.Top);b.css("left",a.Left);b.css("overflow",a.Overflow);b.css("postion",a.Position)}};C1.Web.UI.Behavior.AnimationManager=function(){};C1.Web.UI.Behavior.AnimationManager.get_fps=function(){return C1.Web.UI.Behavior.AnimationManager.$5};C1.Web.UI.Behavior.AnimationManager.set_fps=function(a){if(a<=0){return}if(a>1000){a=1000}C1.Web.UI.Behavior.AnimationManager.$5=a;C1.Web.UI.Behavior.AnimationManager.$8();C1.Web.UI.Behavior.AnimationManager.$7();return a};C1.Web.UI.Behavior.AnimationManager.get_queue=function(){return C1.Web.UI.Behavior.AnimationManager.$0};C1.Web.UI.Behavior.AnimationManager.get_activeAnimations=function(){return C1.Web.UI.Behavior.AnimationManager.$1};C1.Web.UI.Behavior.AnimationManager.start=function(){var b=new Date().getTime();for(var a=0;a<C1.Web.UI.Behavior.AnimationManager.$0.get_length();a++){C1.Web.UI.Behavior.AnimationManager.$1.add(C1.Web.UI.Behavior.AnimationManager.$0.get_item(a));C1.Web.UI.Behavior.AnimationManager.$0.get_item(a).$2_23(b)}C1.Web.UI.Behavior.AnimationManager.$0.clear();C1.Web.UI.Behavior.AnimationManager.$6();C1.Web.UI.Behavior.AnimationManager.$7()};C1.Web.UI.Behavior.AnimationManager.stop=function(b){for(var a=0;a<C1.Web.UI.Behavior.AnimationManager.$1.get_length();a++){C1.Web.UI.Behavior.AnimationManager.$1.get_item(a).stop(b)}C1.Web.UI.Behavior.AnimationManager.$8()};C1.Web.UI.Behavior.AnimationManager.pause=function(){for(var a=0;a<C1.Web.UI.Behavior.AnimationManager.$1.get_length();a++){C1.Web.UI.Behavior.AnimationManager.$1.get_item(a).pause()}};C1.Web.UI.Behavior.AnimationManager.resume=function(){for(var a=0;a<C1.Web.UI.Behavior.AnimationManager.$1.get_length();a++){C1.Web.UI.Behavior.AnimationManager.$1.get_item(a).resume()}};C1.Web.UI.Behavior.AnimationManager.$6=function(){if(C1.Web.UI.Behavior.AnimationManager.$1.get_length()<1){C1.Web.UI.Behavior.AnimationManager.$8();return}var b=new Date().getTime();for(var a=0;a<C1.Web.UI.Behavior.AnimationManager.$1.get_length();a++){(C1.Web.UI.Behavior.AnimationManager.$1.get_item(a)).$2_35(b)}};C1.Web.UI.Behavior.AnimationManager.$7=function(){if(!C1.Web.UI.Behavior.AnimationManager.$4){C1.Web.UI.Behavior.AnimationManager.$4=true;C1.Web.UI.Behavior.AnimationManager.$3=window.setInterval(C1.Web.UI.Behavior.AnimationManager.$2,Math.round(1000/C1.Web.UI.Behavior.AnimationManager.$5))}};C1.Web.UI.Behavior.AnimationManager.$8=function(){if(C1.Web.UI.Behavior.AnimationManager.$4){C1.Web.UI.Behavior.AnimationManager.$4=false;window.clearInterval(C1.Web.UI.Behavior.AnimationManager.$3)}};C1.Web.UI.Behavior.AnimationManager.$9=function(a){C1.Web.UI.Behavior.AnimationManager.$1.$0(a)};C1.Web.UI.Behavior.ResizeBehaviorHelperEventArgs=function(b,a){C1.Web.UI.Behavior.ResizeBehaviorHelperEventArgs.initializeBase(this);this.$1_0=b;this.$1_1=a};C1.Web.UI.Behavior.ResizeBehaviorHelperEventArgs.prototype={$1_0:0,$1_1:0,get_width:function(){return this.$1_0},get_height:function(){return this.$1_1}};C1.Web.UI.Behavior.ResizeBehavior=function(a){this._sizeType=255;this._easing=31;this._resizeHandles=255;this._resizeRestriction=-1;this._last=new Sys.UI.Point(0,0);this._grabType=255;this._lastBound=new Sys.UI.Bounds(0,0,2,2);this._resizePosition=1;C1.Web.UI.Behavior.ResizeBehavior.initializeBase(this,[a]);C1.Web.UI.Behavior.ResizeBehavior.callBaseMethod(this,"initialize");this._onMouseDown=Function.createDelegate(this,this.$2_1D);this._onMouseUp=Function.createDelegate(this,this.$2_1E);this._onMouseOver=Function.createDelegate(this,this.$2_1B);this._onMouseOut=Function.createDelegate(this,this.$2_1C);this.$2_3=jQuery();this.$2_4=jQuery(document.body);this.$2_2=jQuery(a);if(this.$2_2.css("position")!=="absolute"){this.$2_2.css("position","relative")}this._jHandleNorth=this.$2_D("n",0);this._jHandleEast=this.$2_D("e",0);this._jHandleSouth=this.$2_D("s",0);this._jHandleWest=this.$2_D("w",0);this._jHandleSE=this.$2_D("se",1001);this._jHandleSW=this.$2_D("sw",1002);this._jHandleNE=this.$2_D("ne",1003);this._jHandleNW=this.$2_D("nw",1004);this._jHandleProxy=this.$2_E("proxy",10000);this.$2_2.mousedown(this._onMouseDown);this.$2_2.mouseout(this._onMouseOut);this.$2_2.mouseover(this._onMouseOver);this._onSelectionStart=Function.createDelegate(this,this.$2_1F);this._onMouseUp=Function.createDelegate(this,this.$2_1E);this._oldPosition=C1.Web.UI.Utils.Common.getCurrentStyle(this.get_element(),"position","").toString()};C1.Web.UI.Behavior.ResizeBehavior.prototype={_jHandleNorth:null,_jHandleSouth:null,_jHandleEast:null,_jHandleWest:null,_jHandleNW:null,_jHandleSW:null,_jHandleNE:null,_jHandleSE:null,_jHandleProxy:null,_onMouseOver:null,_onMouseOut:null,_onMouseDown:null,_onMouseUp:null,_onMouseMove:null,_onSelectionStart:null,$2_1:null,$2_2:null,$2_3:null,$2_4:null,_isResizing:false,_maxHeight:100000,_minHeight:0,_maxWidth:100000,_minWidth:0,_preserveRatio:false,_resizeCssClass:"c1-resize",_autoHideHandles:false,_transparentHandles:false,_ghost:false,_step:1,_duration:0,_oldtop:0,_oldleft:0,_oldwidth:0,_oldheight:0,_useProxy:false,_scale:1,_oldPosition:"",isFixIE6BUG:true,$2_5:"_CloneID",add_resizeStart:function(a){this.get_events().addHandler(this.get_id()+"_ResizeStart",a)},remove_resizeStart:function(a){this.get_events().removeHandler(this.get_id()+"_ResizeStart",a)},add_resizing:function(a){this.get_events().addHandler(this.get_id()+"_Resizing",a)},remove_resizing:function(a){this.get_events().removeHandler(this.get_id()+"_Resizing",a)},add_resizeEnd:function(a){this.get_events().addHandler(this.get_id()+"_ResizeEnd",a)},remove_resizeEnd:function(a){this.get_events().removeHandler(this.get_id()+"_ResizeEnd",a)},add_helperResizing:function(a){this.get_events().addHandler(this.get_id()+"_HelperResizing",a)},remove_helperResizing:function(a){this.get_events().removeHandler(this.get_id()+"_HelperResizing",a)},$2_6:function(){var b=new Sys.EventArgs();var a=this.get_events().getHandler(this.get_id()+"_ResizeStart");if(a){a(this,b)}},$2_7:function(){var b=new Sys.EventArgs();var a=this.get_events().getHandler(this.get_id()+"_Resizing");if(a){a(this,b)}},$2_8:function(){var b=new Sys.EventArgs();var a=this.get_events().getHandler(this.get_id()+"_ResizeEnd");if(a){a(this,b)}},$2_9:function(d,c){var b=new C1.Web.UI.Behavior.ResizeBehaviorHelperEventArgs(d,c);var a=this.get_events().getHandler(this.get_id()+"_HelperResizing");if(a){a(this,b)}},get_resizePosition:function(){return this._resizePosition},set_resizePosition:function(a){this._resizePosition=a;return a},get_animationDuration:function(){return this._duration},set_animationDuration:function(a){if(this._duration!==a){this._duration=a;this.raisePropertyChanged("AnimationDuration")}return a},get_easing:function(){return this._easing},set_easing:function(a){if(this._easing!==a){this._easing=a;this.raisePropertyChanged("Easing")}return a},get_autoHideHandles:function(){return this._autoHideHandles},set_autoHideHandles:function(a){if(a!==this._autoHideHandles){this._autoHideHandles=a;this.raisePropertyChanged("AutoHideHandles")}if(a){this.showHandles(0)}else{this.showHandles(this.get_grabHandles())}this.$2_14();return a},get_ghost:function(){return this._ghost},set_ghost:function(a){if(a!==this._ghost){this._ghost=a;this.raisePropertyChanged("Ghost")}if(a){this.$2_10()}else{this.$2_13()}return a},get_transparentHandles:function(){return this._transparentHandles},set_transparentHandles:function(a){if(a!==this._transparentHandles){this._transparentHandles=a;this.raisePropertyChanged("TransparentHandles")}this.$2_16(a);this.$2_14();return a},get_maxHeight:function(){return this._maxHeight},set_maxHeight:function(a){if(this._maxHeight!==a){this._maxHeight=a;this.raisePropertyChanged("MaxHeight")}return a},get_minHeight:function(){return this._minHeight},set_minHeight:function(a){if(this._minHeight!==a){this._minHeight=a;this.raisePropertyChanged("MinHeight")}return a},get_maxWidth:function(){return this._maxWidth},set_maxWidth:function(a){if(this._maxWidth!==a){this._maxWidth=a;this.raisePropertyChanged("MaxWidth")}return a},get_minWidth:function(){return this._minWidth},set_minWidth:function(a){if(this._minWidth!==a){this._minWidth=a;this.raisePropertyChanged("MinWidth")}return a},get_preserveRatio:function(){return this._preserveRatio},set_preserveRatio:function(a){if(this._preserveRatio!==a){this._preserveRatio=a;this.raisePropertyChanged("PreserveRatio")}return a},get_useHelper:function(){return this._useProxy},set_useHelper:function(a){if(this._useProxy!==a){this._useProxy=a;this.raisePropertyChanged("UseHelper")}return a},get_resizeCssClass:function(){return this._resizeCssClass},set_resizeCssClass:function(a){if(this._resizeCssClass!==a){this.$2_B(this.get_element().childNodes,a);this._resizeCssClass=a;this.raisePropertyChanged("ResizeCssClass")}return a},get_grabHandles:function(){return this._resizeHandles},set_grabHandles:function(a){if(this._resizeHandles!==a){this._resizeHandles=a;this.raisePropertyChanged("ResizeHandles")}this.showHandles(this._resizeHandles);return a},get_restrictSizing:function(){return this._resizeRestriction},set_restrictSizing:function(a){if(this._resizeRestriction!==a){this._resizeRestriction=a}return a},get_step:function(){return this._step},set_step:function(a){if(this._step!==a){this._step=a;this.raisePropertyChanged("Step")}return a},get_ghostElement:function(){return(!this.$2_1)?null:this.$2_1.get(0)},get_clonedElementIDSuffix:function(){return this.$2_5},set_clonedElementIDSuffix:function(a){this.$2_5=a;return a},$2_A:true,get_enabled:function(){return this.$2_A},set_enabled:function(a){if(this.$2_A!==a){this.$2_A=a;this.raisePropertyChanged("Enabled")}return a},setGrabHandlerStyle:function(a,b){if((a&2)===2){this.$2_C(this._jHandleEast,b)}if((a&1)===1){this.$2_C(this._jHandleNorth,b)}if((a&16)===16){this.$2_C(this._jHandleNE,b)}if((a&64)===64){this.$2_C(this._jHandleNW,b)}if((a&4)===4){this.$2_C(this._jHandleSouth,b)}if((a&32)===32){this.$2_C(this._jHandleSE,b)}if((a&128)===128){this.$2_C(this._jHandleSW,b)}if((a&8)===8){this.$2_C(this._jHandleWest,b)}},getGrabHandlerStyle:function(c){var b=null;if((c&2)===2){b=this._jHandleEast}if((c&1)===1){b=this._jHandleNorth}if((c&16)===16){b=this._jHandleNE}if((c&64)===64){b=this._jHandleNW}if((c&4)===4){b=this._jHandleSouth}if((c&32)===32){b=this._jHandleSE}if((c&128)===128){b=this._jHandleSW}if((c&8)===8){b=this._jHandleWest}var a=(!b)?null:b.get(0);return(!a)?null:a.style},dispose:function(){if(this._onMouseDown){this.$2_2.unbind("mousedown",this._onMouseDown);this._onMouseDown=null}if(this._onMouseOut){this.$2_2.unbind("mouseout",this._onMouseOut);this._onMouseOut=null}if(this._onMouseOver){this.$2_2.unbind("mouseover",this._onMouseOver);this._onMouseOver=null}C1.Web.UI.Behavior.ResizeBehavior.callBaseMethod(this,"dispose")},onBeforeResize:function(b,a){return true},onResizeHeight:function(a){a=this.get_step()*Math.round(a/this.get_step());var b=Math.min(Math.max(this._lastBound.height+a,this._minHeight),this._maxHeight);if(this.get_preserveRatio()){b=this.getAdjustedHeight(b);if(this._grabType===4||this._grabType===1){C1.Web.UI.Utils.Common.setOuterWidth(this.get_element(),b*this._scale)}}C1.Web.UI.Utils.Common.setOuterHeight(this.get_element(),b)},onResizeWidth:function(b){b=this.get_step()*Math.round(b/this.get_step());var a=Math.min(Math.max(this._lastBound.width+b,this._minWidth),this._maxWidth);if(this.get_preserveRatio()){a=this.getAdjustedWidth(a);if(this._grabType===2||this._grabType===8){C1.Web.UI.Utils.Common.setOuterHeight(this.get_element(),a/this._scale)}}C1.Web.UI.Utils.Common.setOuterWidth(this.get_element(),a)},getAdjustedHeight:function(c){var b=(this.get_maxHeight()<(this.get_maxWidth()/this._scale))?this.get_maxHeight():parseInt((this.get_maxWidth()/this._scale));var a=(this.get_minHeight()>(this.get_minWidth()/this._scale))?this.get_minHeight():parseInt(this.get_minWidth()/this._scale);if(c>b){c=b}if(c<a){c=a}return c},getAdjustedWidth:function(c){var b=(this.get_maxWidth()<(this.get_maxHeight()*this._scale))?this.get_maxWidth():parseInt(this.get_maxHeight()*this._scale);var a=(this.get_minWidth()>(this.get_minHeight()*this._scale))?this.get_minWidth():parseInt(this.get_minHeight()*this._scale);if(c>b){c=b}if(c<a){c=a}return c},$2_B:function(c,b){for(var a=0;a<c.length;a++){if(c[a].tagName){if(c[a].className){if(Sys.UI.DomElement.containsCssClass(c[a],"c1-resize-handle")){c[a].className=c[a].className.replace("c1-resize-handle "+this._resizeCssClass,"c1-resize-handle "+b)}}}}},$2_C:function(f,e){var d=e;for(var c in d){var b={key:c,value:d[c]};try{f.css(b.key,e[b.key])}catch(a){}}},$2_D:function(c,b){var a=jQuery("<div style='overflow:hidden;position:absolute;display:block;font-size:0.1px;'/>");if(b){a.css("z-index",b)}a.addClass("c1-resize-handle");a.addClass(this.get_resizeCssClass()+"-"+c);this.$2_2.append(a);return a},$2_E:function(c,b){var a=jQuery("<div style='position:absolute;display:none;'/>");a.css("z-index",b);a.addClass("c1-resize-handle");a.addClass(this.get_resizeCssClass()+"-"+c);this.$2_2.append(a);return a},$2_F:function(b){var a="EaseLinear";switch(b){case 1:a="EaseOutElastic";break;case 2:a="EaseInElastic";break;case 3:a="EaseInOutElastic";break;case 4:a="EaseOutBounce";break;case 5:a="EaseInBounce";break;case 6:a="EaseInOutBounce";break;case 7:a="EaseOutExpo";break;case 8:a="EaseInExpo";break;case 9:a="EaseInOutExpo";break;case 10:a="EaseOutQuad";break;case 11:a="EaseInQuad";break;case 12:a="EaseInOutQuad";break;case 13:a="EaseOutSine";break;case 14:a="EaseInSine";break;case 15:a="EaseInOutSine";break;case 16:a="EaseOutCirc";break;case 17:a="EaseInCirc";break;case 18:a="EaseInOutCirc";break;case 19:a="EaseOutCubic";break;case 20:a="EaseInCubic";break;case 21:a="EaseInOutCubic";break;case 22:a="EaseOutQuint";break;case 23:a="EaseInQuint";break;case 24:a="EaseInOutQuint";break;case 25:a="EaseOutBack";break;case 26:a="EaseInBack";break;case 27:a="EaseInOutBack";break;case 28:a="EaseOutQuart";break;case 29:a="EaseInQuart";break;case 30:a="EaseInOutQuart";break}return a},$2_10:function(){if(!this._jHandleProxy.children().length){var b=this.$2_2.clone();b.attr("id",this.$2_2.attr("id")+"_cloneID");b.width("100%");b.height("100%");b.css("position","static");var a=b.find("[id!='']");a.each(Function.createDelegate(this,this.$2_11));this._jHandleProxy.append(b);b.each(Function.createDelegate(this,this.$2_12));b.css("opacity",0.5);this.$2_1=b}},$2_11:function(b,a){a.id+=this.$2_5;return true},$2_12:function(c,b){var a=jQuery(b);if(a.hasClass("c1-resize-handle")){a.remove()}return true},$2_13:function(){this._jHandleProxy.children().remove()},$2_14:function(){if(!this.isFixIE6BUG){return}if(Sys.Browser.InternetExplorer===Sys.Browser.agent&&Sys.Browser.version<7){try{C1.Web.UI.Utils.Common.setOuterWidth(this.get_element(),this.$2_2.outerWidth()+1);C1.Web.UI.Utils.Common.setOuterWidth(this.get_element(),this.$2_2.outerWidth()-1)}catch(a){}}},$2_15:function(j,i,h,g,f){var e={};e.to=i-C1.Web.UI.Utils.Common.getBorderWidth(j,3)-C1.Web.UI.Utils.Common.getBorderWidth(j,1);e.easing=this.$2_F(f);var d={};d.to=h-C1.Web.UI.Utils.Common.getBorderWidth(j,0)-C1.Web.UI.Utils.Common.getBorderWidth(j,2);d.easing=this.$2_F(f);var c={};c.duration=g;c.width=e;c.height=d;var b=[];b[0]=c;var a=new C1.Web.UI.Behavior.Animation(j,b);a.add_stopped(Function.createDelegate(this,this._animation_Stopped));a.add_animating(Function.createDelegate(this,this._animation_Animating));a.start(1)},_animation_Animating:function(a,b){this.$2_7()},_animation_Stopped:function(a,b){this.$2_14();this.$2_8()},showHandles:function(a){if(!a&&this._isResizing){return}if((a&2)===2){this._jHandleEast.css("display","block")}else{this._jHandleEast.css("display","none")}if((a&1)===1){this._jHandleNorth.css("display","block")}else{this._jHandleNorth.css("display","none")}if((a&16)===16){this._jHandleNE.css("display","block")}else{this._jHandleNE.css("display","none")}if((a&64)===64){this._jHandleNW.css("display","block")}else{this._jHandleNW.css("display","none")}if((a&4)===4){this._jHandleSouth.css("display","block")}else{this._jHandleSouth.css("display","none")}if((a&32)===32){this._jHandleSE.css("display","block")}else{this._jHandleSE.css("display","none")}if((a&128)===128){this._jHandleSW.css("display","block")}else{this._jHandleSW.css("display","none")}if((a&8)===8){this._jHandleWest.css("display","block")}else{this._jHandleWest.css("display","none")}},$2_16:function(b){var a=(b)?0:1;this._jHandleNE.css("opacity",a);this._jHandleSW.css("opacity",a);this._jHandleSE.css("opacity",a);this._jHandleNW.css("opacity",a);this._jHandleEast.css("opacity",a);this._jHandleNorth.css("opacity",a);this._jHandleSouth.css("opacity",a);this._jHandleWest.css("opacity",a)},$2_17:function(a){return(a.style.top)?parseInt(a.style.top):0},$2_18:function(a){return(a.style.left)?parseInt(a.style.left):0},proxy_ResizeLeft:function(a){this.proxy_ResizeWidth(-a);a=this.$2_1A(a);this._jHandleProxy.css("left",(this._oldleft+a)+"px")},proxy_ResizeTop:function(a){this.proxy_ResizeHeight(-a);a=this.$2_19(a);this._jHandleProxy.css("top",(this._oldtop+a)+"px")},proxy_ResizeHeight:function(a){var b=0;a=this.get_step()*Math.round(a/this.get_step());if(this.$2_2.outerHeight()+a>1){b=Math.abs(this.$2_2.outerHeight()+a)}if(this.get_preserveRatio()){b=this.getAdjustedHeight(b);if(this._grabType===4||this._grabType===1){C1.Web.UI.Utils.Common.setOuterWidth(this._jHandleProxy.get(0),b*this._scale)}}else{if(b>this.get_maxHeight()){b=this.get_maxHeight()}if(b<this.get_minHeight()){b=this.get_minHeight()}}C1.Web.UI.Utils.Common.setOuterHeight(this._jHandleProxy.get(0),b)},proxy_ResizeWidth:function(b){var a=0;b=this.get_step()*Math.round(b/this.get_step());if(this.$2_2.outerWidth()+b>1){a=Math.abs(this.$2_2.outerWidth()+b)}if(this.get_preserveRatio()){a=this.getAdjustedWidth(a);if(this._grabType===2||this._grabType===8){C1.Web.UI.Utils.Common.setOuterHeight(this._jHandleProxy.get(0),a/this._scale)}}else{if(a>this.get_maxWidth()){a=this.get_maxWidth()}if(a<this.get_minWidth()){a=this.get_minWidth()}}C1.Web.UI.Utils.Common.setOuterWidth(this._jHandleProxy.get(0),a)},$2_19:function(c){var b=0;var a=0;if(this.get_preserveRatio()){b=(this.get_maxHeight()<(this.get_maxWidth()/this._scale))?this.get_maxHeight():parseInt((this.get_maxWidth()/this._scale));a=(this.get_minHeight()>(this.get_minWidth()/this._scale))?this.get_minHeight():parseInt(this.get_minWidth()/this._scale)}else{b=this.get_maxHeight();a=this.get_minHeight()}if(c>0){if(a>this._lastBound.height-c){c=this._lastBound.height-a}}else{if(b<this._lastBound.height-c){c=this._lastBound.height-b}}return c},$2_1A:function(c){var b=0;var a=0;if(this.get_preserveRatio()){b=(this.get_maxWidth()<(this.get_maxHeight()*this._scale))?this.get_maxWidth():parseInt(this.get_maxHeight()*this._scale);a=(this.get_minWidth()>(this.get_minHeight()*this._scale))?this.get_minWidth():parseInt(this.get_minHeight()*this._scale)}else{b=this._maxWidth;a=this._minWidth}if(c>0){if(a>this._lastBound.width-c){c=this._lastBound.width-a}}else{if(b<this._lastBound.width-c){c=this._lastBound.width-b}}return c},_ResizeLeft:function(b){this.onResizeWidth(-b);b=this.$2_1A(b);var a=this._lastBound.x+b;if(a<0){a=0}this.$2_2.css("left",a+"px")},_ResizeTop:function(a){this.onResizeHeight(-a);a=this.$2_19(a);var b=this._lastBound.y+a;if(b<0){b=0}this.$2_2.css("top",b+"px")},$2_1B:function(a){if(!this.get_enabled()){return true}if(this.get_autoHideHandles()){this.showHandles(this.get_grabHandles())}this.$2_14();if(!this._useProxy){if(this.get_animationDuration()>0||this.get_ghost()){this._useProxy=true}else{this._useProxy=false}}if(this._isResizing){return true}return true},$2_1C:function(a){if(!this.get_enabled()){return true}if(this.get_autoHideHandles()){this.showHandles(0)}this._sizeType=255;return true},$2_1D:function(b){if(!this.get_enabled()){return true}this._sizeType=255;if(b.target===this._jHandleEast.get(0)){this._sizeType=2;this._onMouseMove=Function.createDelegate(this,this.$2_21)}if(b.target===this._jHandleSE.get(0)){this._sizeType=32;this._onMouseMove=Function.createDelegate(this,this.$2_27)}if(b.target===this._jHandleNE.get(0)){this._sizeType=16;this._onMouseMove=Function.createDelegate(this,this.$2_25)}if(b.target===this._jHandleNorth.get(0)){this._sizeType=1;this._onMouseMove=Function.createDelegate(this,this.$2_22)}if(b.target===this._jHandleWest.get(0)){this._sizeType=8;this._onMouseMove=Function.createDelegate(this,this.$2_20)}if(b.target===this._jHandleSouth.get(0)){this._sizeType=4;this._onMouseMove=Function.createDelegate(this,this.$2_23)}if(b.target===this._jHandleNW.get(0)){this._sizeType=64;this._onMouseMove=Function.createDelegate(this,this.$2_24)}if(b.target===this._jHandleSW.get(0)){this._sizeType=128;this._onMouseMove=Function.createDelegate(this,this.$2_26)}if(this.get_restrictSizing()!==-1){var a=this._sizeType;if(!(a&this._resizeRestriction)){return true}}if(this._sizeType!==255){this.setDocumentCursor(this._sizeType);if(this.get_resizePosition()===1){this.$2_2.css("position",this._oldPosition);if(C1.Web.UI.Utils.Common.getCurrentStyle(this.get_element(),"position","").toString()==="absolute"){if(!(this._sizeType===4||this._sizeType===2||this._sizeType===32)){}}}else{if(this.get_resizePosition()===2){this.$2_2.css("position","relative")}else{}}this._isResizing=true;this._last.x=b.clientX;this._last.y=b.clientY;this._lastBound.width=this.$2_2.outerWidth();this._lastBound.height=this.$2_2.outerHeight();this._lastBound.x=this.$2_18(this.get_element());this._lastBound.y=this.$2_17(this.get_element());if(this.get_preserveRatio()){switch(this._sizeType){case 16:this._onMouseMove=Function.createDelegate(this,this.$2_22);break;case 64:this._onMouseMove=Function.createDelegate(this,this.$2_20);break;case 32:this._onMouseMove=Function.createDelegate(this,this.$2_21);break;case 128:this._onMouseMove=Function.createDelegate(this,this.$2_20);break}}if(Sys.Browser.agent===Sys.Browser.InternetExplorer){this.get_element().setCapture(null)}this.$2_3.mouseup(this._onMouseUp);this.$2_3.bind("selectstart",this._onSelectionStart);this.$2_3.mousemove(this._onMouseMove);if(this.get_preserveRatio()){this._scale=this.$2_2.outerWidth()/this.$2_2.outerHeight();this._grabType=this._sizeType;switch(this._sizeType){case 16:this._grabType=1;break;case 64:this._grabType=8;break;case 32:this._grabType=2;break;case 128:this._grabType=8;break}}if(this._useProxy){C1.Web.UI.Utils.Common.setOuterWidth(this._jHandleProxy.get(0),this.$2_2.outerWidth());C1.Web.UI.Utils.Common.setOuterHeight(this._jHandleProxy.get(0),this.$2_2.outerHeight());this._jHandleProxy.css("top","-"+C1.Web.UI.Utils.Common.getBorderWidth(this.get_element(),0).toString()+"px");this._jHandleProxy.css("left","-"+C1.Web.UI.Utils.Common.getBorderWidth(this.get_element(),3).toString()+"px");this._oldtop=-parseInt(C1.Web.UI.Utils.Common.getBorderWidth(this.get_element(),0));this._oldleft=-parseInt(C1.Web.UI.Utils.Common.getBorderWidth(this.get_element(),3));this._oldwidth=this._jHandleProxy.outerWidth();this._oldheight=this._jHandleProxy.outerHeight();this._jHandleProxy.css("display","block")}this.$2_6()}return true},$2_1E:function(d){if(!this.get_enabled()){return true}this.$2_4.css("cursor","default");this.$2_3.unbind("mousemove",this._onMouseMove);this.$2_3.unbind("mouseup",this._onMouseUp);this.$2_3.unbind("selectstart",this._onSelectionStart);this._isResizing=false;if(this._useProxy){if(C1.Web.UI.Utils.Common.getCurrentStyle(this.get_element(),"position","").toString()==="absolute"){var b=this.get_element().offsetLeft+this.$2_18(this._jHandleProxy.get(0))-this._oldleft;this.get_element().style.left=b.toString()+"px";var a=this.get_element().offsetTop+this.$2_17(this._jHandleProxy.get(0))-this._oldtop;this.get_element().style.top=a.toString()+"px"}else{var e=this.$2_18(this.get_element())+this.$2_18(this._jHandleProxy.get(0))-this._oldleft;this.get_element().style.left=e.toString()+"px";var c=this.$2_17(this.get_element())+this.$2_17(this._jHandleProxy.get(0))-this._oldtop;this.get_element().style.top=c.toString()+"px"}if(this.get_animationDuration()>0){this.$2_15(this.get_element(),this._jHandleProxy.outerWidth(),this._jHandleProxy.outerHeight(),this.get_animationDuration(),this.get_easing())}else{C1.Web.UI.Utils.Common.setOuterWidth(this.get_element(),this._jHandleProxy.outerWidth());C1.Web.UI.Utils.Common.setOuterHeight(this.get_element(),this._jHandleProxy.outerHeight());this.$2_8()}this._jHandleProxy.css("display","none")}else{this.$2_8()}if(Sys.Browser.agent===Sys.Browser.InternetExplorer){this.get_element().releaseCapture(null)}return true},$2_1F:function(a){a.preventDefault();return false},setDocumentCursor:function(a){switch(a){case 2:this.$2_4.css("cursor","e-resize");break;case 1:this.$2_4.css("cursor","n-resize");break;case 16:this.$2_4.css("cursor","ne-resize");break;case 64:this.$2_4.css("cursor","nw-resize");break;case 4:this.$2_4.css("cursor","s-resize");break;case 32:this.$2_4.css("cursor","se-resize");break;case 128:this.$2_4.css("cursor","sw-resize");break;case 8:this.$2_4.css("cursor","w-resize");break}},$2_20:function(a){if(this._useProxy){this.proxy_ResizeLeft(a.clientX-this._last.x);this.$2_9(this._jHandleProxy.outerWidth(),this._jHandleProxy.outerHeight())}else{if(!this.onBeforeResize(8,a.clientX-this._last.x)){return true}this._ResizeLeft(a.clientX-this._last.x);this.$2_14();this.$2_7()}return true},$2_21:function(a){if(this._useProxy){this.proxy_ResizeWidth(a.clientX-this._last.x);this.$2_9(this._jHandleProxy.outerWidth(),this._jHandleProxy.outerHeight())}else{if(!this.onBeforeResize(2,a.clientX-this._last.x)){return true}this.onResizeWidth(a.clientX-this._last.x);this.$2_14();this.$2_7()}return true},$2_22:function(a){if(this._useProxy){this.proxy_ResizeTop(a.clientY-this._last.y);this.$2_9(this._jHandleProxy.outerWidth(),this._jHandleProxy.outerHeight())}else{if(!this.onBeforeResize(1,a.clientY-this._last.y)){return true}this._ResizeTop(a.clientY-this._last.y);this.$2_14();this.$2_7()}return true},$2_23:function(a){if(this._useProxy){this.proxy_ResizeHeight(a.clientY-this._last.y);this.$2_9(this._jHandleProxy.outerWidth(),this._jHandleProxy.outerHeight())}else{if(!this.onBeforeResize(4,a.clientY-this._last.y)){return true}this.onResizeHeight(a.clientY-this._last.y);this.$2_14();this.$2_7()}return true},$2_24:function(a){this.$2_22(a);this.$2_20(a);return true},$2_25:function(a){this.$2_22(a);this.$2_21(a);return true},$2_26:function(a){this.$2_23(a);this.$2_20(a);return true},$2_27:function(a){this.$2_23(a);this.$2_21(a);return true}};Type.registerNamespace("C1.Web.UI.Behavior.SuperPanel");C1.Web.UI.Behavior.SuperPanel.C1ScrollbarVisibility=function(){};C1.Web.UI.Behavior.SuperPanel.C1ScrollbarVisibility.prototype={none:0,always:1,auto:2};C1.Web.UI.Behavior.SuperPanel.C1ScrollbarVisibility.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1ScrollbarVisibility",false);C1.Web.UI.Behavior.SuperPanel.C1SuperPanelScrollMode=function(){};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelScrollMode.prototype={scrollBar:1,buttons:2,buttonsHover:4,edge:8};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelScrollMode.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1SuperPanelScrollMode",true);C1.Web.UI.Behavior.SuperPanel.C1VScrollBarPosition=function(){};C1.Web.UI.Behavior.SuperPanel.C1VScrollBarPosition.prototype={left:0,right:1};C1.Web.UI.Behavior.SuperPanel.C1VScrollBarPosition.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1VScrollBarPosition",false);C1.Web.UI.Behavior.SuperPanel.C1HScrollBarPosition=function(){};C1.Web.UI.Behavior.SuperPanel.C1HScrollBarPosition.prototype={top:0,bottom:1};C1.Web.UI.Behavior.SuperPanel.C1HScrollBarPosition.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1HScrollBarPosition",false);C1.Web.UI.Behavior.SuperPanel.C1ScrollButtonAlign=function(){};C1.Web.UI.Behavior.SuperPanel.C1ScrollButtonAlign.prototype={startSide:0,twoSide:1,endSide:2};C1.Web.UI.Behavior.SuperPanel.C1ScrollButtonAlign.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1ScrollButtonAlign",false);C1.Web.UI.Behavior.SuperPanel.C1HButtonLocation=function(){};C1.Web.UI.Behavior.SuperPanel.C1HButtonLocation.prototype={top:0,middle:1,bottom:2};C1.Web.UI.Behavior.SuperPanel.C1HButtonLocation.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1HButtonLocation",false);C1.Web.UI.Behavior.SuperPanel.C1VButtonLocation=function(){};C1.Web.UI.Behavior.SuperPanel.C1VButtonLocation.prototype={left:0,center:1,right:2};C1.Web.UI.Behavior.SuperPanel.C1VButtonLocation.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1VButtonLocation",false);C1.Web.UI.Behavior.SuperPanel.C1ScrollingSource=function(){};C1.Web.UI.Behavior.SuperPanel.C1ScrollingSource.prototype={byFunction:0,clickOnTrack:1,dragingHandle:2,clickOnTrackArrow:3,clickOnButtons:4,hoverOnButtons:5,edgeHover:6,mouseWheel:7,keyBoard:8,guesture:9};C1.Web.UI.Behavior.SuperPanel.C1ScrollingSource.registerEnum("C1.Web.UI.Behavior.SuperPanel.C1ScrollingSource",false);C1.Web.UI.Behavior.SuperPanel.C1HScroller=function(a){C1.Web.UI.Behavior.SuperPanel.C1HScroller.initializeBase(this);this._panel=a;this.$11="h"};C1.Web.UI.Behavior.SuperPanel.C1HScroller.prototype={get_scrollbarLocation:function(){return this.getProperty("ScrollbarLocation",1)},set_scrollbarLocation:function(a){this.$0.ScrollbarLocation=a;this._panel.$2_6D();this._panel.$2_76("ScrollbarLocation");return a},get_buttonLocation:function(){return this.getProperty("ButtonLocation",1)},set_buttonLocation:function(a){this.$0.ButtonLocation=a;this._panel.$2_6D();this._panel.$2_76("ButtonLocation");return a},$30:function(b){if(C1.Web.UI.Utils.Common.testIsNull(this.$1)){this.$1=b}if(!this.$A){this.$2=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$2A());this.$3=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$22());this.$4=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$23());this.$5=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$24());this.$6=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$21());this.$7=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$33());this.$3.appendChild(this.$4);this.$3.appendChild(this.$5);this.$2.appendChild(this.$3);this.$2.appendChild(this.$6);this.$2.appendChild(this.$7);this.$1.appendChild(this.$2);var a=jQuery(this.$2);this.$C=Number.parseInvariant(a.css("padding-left").replace("px",""));this.$D=Number.parseInvariant(a.css("padding-right").replace("px",""));if(this.get_showArrows()){this.$6.style.display="";this.$7.style.display=""}else{this.$6.style.display="none";this.$7.style.display="none"}this.$3.style.left=this.$C+"px";a.css("padding",0);this.$A=true;this.$8=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$20());this.$9=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$1E());this._panel.$2_3.appendChild(this.$8);this._panel.$2_3.appendChild(this.$9);this.$B=true}}};C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase=function(){this.$0={};this.$D=0;this.$C=0};C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase.$23=function(b){var a="EaseLinear";switch(b){case 1:a="EaseOutElastic";break;case 2:a="EaseInElastic";break;case 3:a="EaseInOutElastic";break;case 4:a="EaseOutBounce";break;case 5:a="EaseInBounce";break;case 6:a="EaseInOutBounce";break;case 7:a="EaseOutExpo";break;case 8:a="EaseInExpo";break;case 9:a="EaseInOutExpo";break;case 10:a="EaseOutQuad";break;case 11:a="EaseInQuad";break;case 12:a="EaseInOutQuad";break;case 13:a="EaseOutSine";break;case 14:a="EaseInSine";break;case 15:a="EaseInOutSine";break;case 16:a="EaseOutCirc";break;case 17:a="EaseInCirc";break;case 18:a="EaseInOutCirc";break;case 19:a="EaseOutCubic";break;case 20:a="EaseInCubic";break;case 21:a="EaseInOutCubic";break;case 22:a="EaseOutQuint";break;case 23:a="EaseInQuint";break;case 24:a="EaseInOutQuint";break;case 25:a="EaseOutBack";break;case 26:a="EaseInBack";break;case 27:a="EaseInOutBack";break;case 28:a="EaseOutQuart";break;case 29:a="EaseInQuart";break;case 30:a="EaseInOutQuart";break}return a};C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase.prototype={$1:null,$2:null,$3:null,$4:null,$5:null,$6:null,$7:null,$8:null,$9:null,$A:false,$B:false,_panel:null,$C:0,$D:0,$E:false,$F:false,$10:false,$11:null,$12:false,get_$13:function(){return this.$E},set_$13:function(a){this.$E=a;return a},get_$14:function(){return !(this.$2.style.display==="none")},set_$14:function(a){this.$2.style.display=(a)?"":"none";return a},get_smallChange:function(){return Math.min(this.getProperty("SmallChange",1),this.get_largeChange())},set_smallChange:function(a){if(this.get_smallChange()!==a){if(a<0){return}this.$0.SmallChange=a;this._panel.$2_76("SmallChange")}return a},get_largeChange:function(){return Math.min(this.getProperty("LargeChange",10),this.get_maximum()-this.get_minimum()+1)},set_largeChange:function(a){if(this.get_largeChange()!==a){if(a<0){return}this.$0.LargeChange=a;this._panel.$2_76("LargeChange")}return a},get_value:function(){return this.getProperty("Value",0)},set_value:function(a){if(this.get_value()!==a){if(a<this.get_minimum()){a=this.get_minimum()}if(a>this.get_maximum()){a=this.get_maximum()}this.$0.Value=a;this._panel.$2_76("Value");this.$2E()}return a},get_$15:function(){return this.get_maximum()-this.get_largeChange()+1},get_maximum:function(){return this.getProperty("Maximum",100)},set_maximum:function(a){if(this.getProperty("Maximum",100)!==a){if(this.get_minimum()>a){this.$0.Minimum=a}if(a<this.getProperty("Value",0)){this.$0.Value=a}this.$0.Maximum=a;this._panel.$2_76("Maximum")}return a},get_minimum:function(){return this.getProperty("Minimum",0)},set_minimum:function(a){if(this.get_minimum()!==a){if(this.get_maximum()<a){this.$0.Maximum=a}if(a>this.get_value()){this.$0.Value=a}this.$0.Minimum=a;this._panel.$2_76("Minimum")}return a},get_mode:function(){return this.getProperty("Mode",1)},set_mode:function(a){this.$0.Mode=a;this._panel.rePaint();this._panel.$2_76("Mode");return a},get_visibility:function(){return this.getProperty("Visibility",2)},set_visibility:function(a){this.$0.Visibility=a;this._panel.rePaint();this._panel.$2_76("Visibility");return a},get_showArrows:function(){return this.getProperty("ShowArrows",true)},set_showArrows:function(a){this.$0.ShowArrows=a;this._panel.rePaint();this._panel.$2_76("ShowArrows");return a},get_buttonAlign:function(){return this.getProperty("ButtonAlign",1)},set_buttonAlign:function(a){this.$0.ButtonAlign=a;this._panel.rePaint();this._panel.$2_76("ButtonAlign");return a},get_isDragVisible:function(){return this.$F},set_isDragVisible:function(a){this.$F=a;this.$3.style.display=(a)?"":"none";return a},get_enabled:function(){return this.$10},set_enabled:function(b){this.$10=b;var a=(this.$11==="v")?this._panel.get_css().get_$2B():this._panel.get_css().get_$2A();a=a+"-Disabled";if(!b){Sys.UI.DomElement.addCssClass(this.$2,a)}else{Sys.UI.DomElement.removeCssClass(this.$2,a)}return b},get_$16:function(){if(this.$11==="h"){return this.$4.offsetWidth+this.$5.offsetWidth}return this.$4.offsetHeight+this.$5.offsetHeight},get_$17:function(){if(this.$11==="h"){return this.$2.offsetWidth-this.$C-this.$D}return this.$2.offsetHeight-this.$C-this.$D},get_$18:function(){var b=this.get_$19();var a=b/this.get_largeChange();var d=this.get_$17()/a;var c=this.get_$16();if(d<c){d=c}return d},get_$19:function(){return this.get_maximum()-this.get_minimum()},get_valueReachBound:function(){var a=this.get_valueReachLowerBound()||this.get_valueReachHigherBound();return a},get_valueReachLowerBound:function(){var a=this.get_value()<=this.get_minimum();return a},get_valueReachHigherBound:function(){var a=this.get_value()===this.get_$15();return a},get_$1A:function(){return this.$12},set_$1A:function(a){this.$12=a;this.$9.style.display=(a)?"":"none";this.$8.style.display=(a)?"":"none";return a},get_increaseButtonOffsetX:function(){return this.getProperty("IncreaseButtonOffsetX",0)},set_increaseButtonOffsetX:function(a){this.$0.IncreaseButtonOffsetX=a;this._panel.$2_6D();this._panel.$2_76("IncreaseButtonOffsetX");return a},get_decreaseButtonOffsetX:function(){return this.getProperty("DecreaseButtonOffsetX",0)},set_decreaseButtonOffsetX:function(a){this.$0.DecreaseButtonOffsetX=a;this._panel.$2_6D();this._panel.$2_76("DecreaseButtonOffsetX");return a},get_increaseButtonOffsetY:function(){return this.getProperty("IncreaseButtonOffsetY",0)},set_increaseButtonOffsetY:function(a){this.$0.IncreaseButtonOffsetY=a;this._panel.$2_6D();this._panel.$2_76("IncreaseButtonOffsetY");return a},get_decreaseButtonOffsetY:function(){return this.getProperty("DecreaseButtonOffsetY",0)},set_decreaseButtonOffsetY:function(a){this.$0.DecreaseButtonOffsetY=a;this._panel.$2_6D();this._panel.$2_76("DecreaseButtonOffsetY");return a},get_hoverEdgeSpan:function(){return this.getProperty("HoverEdgeSpan",20)},set_hoverEdgeSpan:function(a){this.$0.HoverEdgeSpan=a;this._panel.$2_6D();this._panel.$2_76("HoverEdgeSpan");return a},$1B:function(a){if(C1.Web.UI.Utils.Common.testIsNull(a)){return}this.$0=a},getProperty:function(b,a){return C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_75(b,a,this.$0)},$1C:function(){this.$1D();this.$1E()},$1D:function(){var a=this.get_$18();if(isNaN(a)){a=this.get_$16()}if(this.$11==="v"){this.$3.style.height=a+"px"}else{this.$3.style.width=a+"px"}},$1E:function(){var b=this.get_$15();var a=this.get_$17();var g=this.get_$18();var f=a-g;var e;var d=this.get_value();var c=this.get_minimum();if(d>=this.get_$15()){e=f}else{e=f*((d-c)/b)}e+=this.$C;if(isNaN(e)){e=0}if(this.$11==="v"){if(this._panel.get_animationDuration()<=0){this.$3.style.top=e+"px"}else{this.$22(this.$3,e,this._panel.get_animationDuration(),this._panel.get_animationEasing(),null)}}else{if(!this._panel.get_animationDuration()){this.$3.style.left=e+"px"}else{this.$22(this.$3,e,this._panel.get_animationDuration(),this._panel.get_animationEasing(),null)}}},$1F:function(){var b=this._panel.$2_4;if(!this.get_$13()){if(this.$11==="v"){this._panel.$2_3.scrollTop=0;b.style.top="0px"}else{this._panel.$2_3.scrollLeft=0;b.style.left="0px"}}else{var a=this.get_value();var e=this.get_$15();if(a>e){a=e}var d=a-this.get_minimum();var c;if(this.$11==="v"){this._panel.$2_3.scrollTop=0;c=(this._panel.$2_3.offsetHeight-b.offsetHeight)/e;c=c*d;if(isNaN(c)){c=0}if(this._panel.get_animationDuration()<=0){b.style.top=c+"px";this.$21(this,null)}else{this.$22(b,c,this._panel.get_animationDuration(),this._panel.get_animationEasing(),Function.createDelegate(this,this.$21))}}else{this._panel.$2_3.scrollLeft=0;c=(this._panel.$2_3.offsetWidth-b.offsetWidth)/e;c=c*d;if(isNaN(c)){c=0}if(this._panel.get_animationDuration()<=0){b.style.left=c+"px";this.$21(this,null)}else{this.$22(b,c,this._panel.get_animationDuration(),this._panel.get_animationEasing(),Function.createDelegate(this,this.$21))}}}},$20:function(d){var b=this._panel.$2_4;var a=d;if(this.$11==="v"){var e=b.offsetHeight-this._panel.$2_3.offsetHeight;if(a>Math.abs(e)){a=e}if(this._panel.get_animationDuration()<=0){b.style.top=-a+"px";this.$21(this,null)}else{this.$22(b,-a,this._panel.get_animationDuration(),this._panel.get_animationEasing(),Function.createDelegate(this,this.$21))}}else{var c=b.offsetWidth-this._panel.$2_3.offsetWidth;if(a>Math.abs(c)){a=c}if(this._panel.get_animationDuration()<=0){b.style.left=-a+"px";this.$21(this,null)}else{this.$22(b,-a,this._panel.get_animationDuration(),this._panel.get_animationEasing(),Function.createDelegate(this,this.$21))}}},$21:function(c,b){var a=new C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs();a.set_source(this._panel.$2_28);this._panel.$2_30("_scrolled",this._panel.get_onClientScrolled(),a)},$22:function(j,i,h,g,f){var e={};var d=[];if(this.$11==="v"){var b={};b.to=parseInt(i);b.easing=C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase.$23(g);e.duration=h;e.top=b}else{var a={};a.to=parseInt(i);a.easing=C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase.$23(g);e.duration=h;e.left=a}d[0]=e;var c=new C1.Web.UI.Behavior.Animation(j,d);if(!C1.Web.UI.Utils.Common.testIsNull(f)){c.add_stopped(f)}c.start(1)},$24:function(g){var b=jQuery(this.$2);var a=jQuery(g);var h;if(this.$11==="v"){h=this._panel.get_hScroller();if(h.get_$14()){var f=this.$1.offsetHeight-h.$2.offsetHeight;b.height(f);a.height(f);if(!(h).get_scrollbarLocation()){a.css("top",h.$2.offsetHeight);b.css("top",h.$2.offsetHeight)}else{a.css("top",0);b.css("top",0)}}else{var e=this.$1.offsetHeight;b.height(e);a.height(e);a.css("top",0)}if(!(this).get_scrollbarLocation()){b.css("right","");b.css("left",0)}else{b.css("left","");b.css("right",0)}}else{h=this._panel.get_vScroller();if(h.get_$14()){var d=this.$1.offsetWidth-h.$2.offsetWidth;b.width(d);a.width(d);if(!(h).get_scrollbarLocation()){a.css("left",h.$2.offsetWidth);b.css("left",h.$2.offsetWidth)}else{a.css("left",0);b.css("left",0)}}else{var c=this.$1.offsetWidth;b.width(c);a.width(c);a.css("left",0)}if(!(this).get_scrollbarLocation()){b.css("bottom","");b.css("top",0)}else{b.css("top","");b.css("bottom",0)}}this.set_isDragVisible(this.get_enabled()&&!(this.get_$17()<=this.get_$16()))},$25:function(c){if(!this._panel.get_useCustomScrollBar()){}else{if(!this.get_$13()){return}if(c>0){var b=this.get_value()+this.get_smallChange();var a=this.get_$15();if(b>=a){b=a}this.set_value(b)}else{this.set_value(this.get_value()-this.get_smallChange())}this.$1C();this.$1F()}},$26:function(c){if(!this.get_$13()){return}if(c>0){var b=this.get_value()+this.get_largeChange();var a=this.get_$15();if(b>=a){b=a}this.set_value(b)}else{this.set_value(this.get_value()-this.get_largeChange())}this.$1C();this.$1F()},$27:function(c,b){var a=this.$28(b,c);if(this.$11==="v"){this.$3.style.top=a+"px"}else{this.$3.style.left=a+"px"}this.$29(a);this.$1F()},$28:function(e,c){var b=e;var a=this.get_$18();b=b+c;if(b<this.$C){b=this.$C}if(this.$11==="v"){var f=this.$2.offsetHeight-this.$D-a;if(b>f){b=f}}else{var d=this.$2.offsetWidth-this.$D-a;if(b>d){b=d}}return b},$29:function(a){this.set_value(this.$2A(a))},$2A:function(c){var b=this.get_$17();var a=this.get_smallChange();var d=this.get_$15()*((c-this.$C)/(b-this.get_$18()));d=Math.round(d/a)*a;return d},$2B:function(a){this.set_value(this.$2C(a))},$2C:function(c){var b;var a;if(this.$11==="v"){a=c/(this._panel.$2_4.offsetHeight-this._panel.$2_3.offsetHeight)}else{a=c/(this._panel.$2_4.offsetWidth-this._panel.$2_3.offsetWidth)}var d=this.get_$15();b=d*a;if(b>=d){b=d}return b},$2D:function(){if((this.get_mode()&2)===2||(this.get_mode()&4)===4){this.set_$1A(true)}else{this.set_$1A(false);return}var b=0;if(!this._panel.get_useCustomScrollBar()){b=18}if(this.$11==="v"){var a=this;if(!a.get_buttonLocation()){this.$8.style.left=this.get_decreaseButtonOffsetX()+"px";this.$9.style.left=this.get_increaseButtonOffsetX()+"px"}else{if(a.get_buttonLocation()===1){var g=this._panel.$2_3.offsetWidth;var f=(g/2)-(this.$8.offsetWidth/2);this.$8.style.left=(f+this.get_decreaseButtonOffsetX())+"px";f=(g/2)-(this.$9.offsetWidth/2);this.$9.style.left=(f+this.get_increaseButtonOffsetX())+"px"}else{if(a.get_buttonLocation()===2){this.$8.style.right=this.get_decreaseButtonOffsetX()+"px";this.$9.style.right=this.get_increaseButtonOffsetX()+"px"}}}if(a.get_buttonAlign()===1){this.$8.style.top=this.get_decreaseButtonOffsetY()+"px";this.$9.style.bottom=this.get_increaseButtonOffsetY()+b+"px"}else{if(!a.get_buttonAlign()){this.$8.style.top=this.get_decreaseButtonOffsetY()+"px";this.$9.style.top=(this.$8.offsetHeight+this.get_increaseButtonOffsetY())+"px"}else{if(a.get_buttonAlign()===2){this.$8.style.bottom=(this.$9.offsetHeight+this.get_decreaseButtonOffsetY()+b)+"px";this.$9.style.bottom=this.get_increaseButtonOffsetY()+b+"px"}}}}else{var e=this;if(!e.get_buttonLocation()){this.$8.style.top=this.get_decreaseButtonOffsetY()+"px";this.$9.style.top=this.get_increaseButtonOffsetY()+"px"}else{if(e.get_buttonLocation()===1){var d=this._panel.$2_3.offsetHeight;var c=(d/2)-(this.$8.offsetHeight/2);this.$8.style.top=(c+this.get_decreaseButtonOffsetY())+"px";c=(d/2)-(this.$9.offsetHeight/2);this.$9.style.top=(c+this.get_increaseButtonOffsetY())+"px"}else{if(e.get_buttonLocation()===2){this.$8.style.bottom=this.get_decreaseButtonOffsetY()+"px";this.$9.style.bottom=this.get_increaseButtonOffsetY()+"px"}}}if(e.get_buttonAlign()===1){this.$8.style.left=this.get_decreaseButtonOffsetX()+"px";this.$9.style.right=this.get_increaseButtonOffsetX()+b+"px"}else{if(!e.get_buttonAlign()){this.$8.style.left=this.get_decreaseButtonOffsetX()+"px";this.$9.style.left=(this.$8.offsetWidth+this.get_increaseButtonOffsetX())+"px"}else{if(e.get_buttonAlign()===2){this.$8.style.right=(this.$9.offsetWidth+this.get_decreaseButtonOffsetX()+b)+"px";this.$9.style.right=this.get_increaseButtonOffsetX()+b+"px"}}}}},$2E:function(){var b;var a;var d;var c;if(this.$11==="v"){b=this._panel.get_css().get_$35();a=this._panel.get_css().get_$36();d=this._panel.get_css().get_$39();c=this._panel.get_css().get_$3A()}else{b=this._panel.get_css().get_$37();a=this._panel.get_css().get_$38();d=this._panel.get_css().get_$3B();c=this._panel.get_css().get_$3C()}if(this.get_valueReachLowerBound()||!this.get_$13()){Sys.UI.DomElement.addCssClass(this.$6,b);Sys.UI.DomElement.addCssClass(this.$8,d)}else{Sys.UI.DomElement.removeCssClass(this.$6,b);Sys.UI.DomElement.removeCssClass(this.$8,d)}if(this.get_valueReachHigherBound()||!this.get_$13()){Sys.UI.DomElement.addCssClass(this.$7,a);Sys.UI.DomElement.addCssClass(this.$9,c)}else{Sys.UI.DomElement.removeCssClass(this.$7,a);Sys.UI.DomElement.removeCssClass(this.$9,c)}},$2F:function(d,c){var b=(c)?this.get_largeChange():this.get_smallChange();if(d){var a=this.get_value()+b;if(a>=this.get_$15()){a=this.get_$15()}return a}else{var e=this.get_value()-b;if(e<=this.get_minimum()){e=this.get_minimum()}return e}}};C1.Web.UI.Behavior.SuperPanel.C1VScroller=function(a){C1.Web.UI.Behavior.SuperPanel.C1VScroller.initializeBase(this);this._panel=a;this.$11="v"};C1.Web.UI.Behavior.SuperPanel.C1VScroller.prototype={get_scrollbarLocation:function(){return this.getProperty("ScrollbarLocation",1)},set_scrollbarLocation:function(a){this.$0.ScrollbarLocation=a;this._panel.rePaint();this._panel.saveState();return a},get_buttonLocation:function(){return this.getProperty("ButtonLocation",1)},set_buttonLocation:function(a){this.$0.ButtonLocation=a;this._panel.$2_6D();this._panel.saveState();return a},$30:function(b){if(C1.Web.UI.Utils.Common.testIsNull(this.$1)){this.$1=b}if(!this.$A){this.$2=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$2B());this.$3=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$26());this.$4=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$27());this.$5=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$28());this.$6=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$31());this.$7=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$32());this.$3.appendChild(this.$4);this.$3.appendChild(this.$5);this.$2.appendChild(this.$3);this.$2.appendChild(this.$6);this.$2.appendChild(this.$7);this.$1.appendChild(this.$2);var a=jQuery(this.$2);this.$C=Number.parseInvariant(a.css("padding-top").replace("px",""));this.$D=Number.parseInvariant(a.css("padding-bottom").replace("px",""));if(this.get_showArrows()){this.$6.style.display="";this.$7.style.display=""}else{this.$6.style.display="none";this.$7.style.display="none"}this.$3.style.top=this.$C+"px";a.css("padding",0);this.$A=true;this.$8=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$1D());this.$9=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this._panel.get_css().get_$1F());this._panel.$2_3.appendChild(this.$8);this._panel.$2_3.appendChild(this.$9);this.$B=true}}};C1.Web.UI.Behavior.SuperPanel.SuperPanelBehaviorWrapper=function(a){C1.Web.UI.Behavior.SuperPanel.SuperPanelBehaviorWrapper.initializeBase(this,[a]);this.$2_2=document.createElement("div");this.$2_2.id=a.id+"_spWrapper";a.parentNode.insertBefore(this.$2_2,a);this.$2_2.appendChild(a)};C1.Web.UI.Behavior.SuperPanel.SuperPanelBehaviorWrapper.prototype={$2_0:null,$2_1:null,$2_2:null,$2_3:null,$2_4:null,initialize:function(){C1.Web.UI.Behavior.SuperPanel.SuperPanelBehaviorWrapper.callBaseMethod(this,"initialize");if(!C1.Web.UI.Utils.Common.testIsNull(this.get_width())&&this.get_width().length>0){this.$2_2.style.width=this.get_width()}if(!C1.Web.UI.Utils.Common.testIsNull(this.get_height())&&this.get_height().length>0){this.$2_2.style.height=this.get_height()}if(!this.$2_0){this.$2_0=new C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior(this.$2_2,null,null)}this.$2_0.set_$2_2D(this.get_id()+"__jsonserverstate");this.$2_0.initialize()},get_settingsInputID:function(){return this.$2_1},set_settingsInputID:function(a){this.$2_1=a;return a},get_width:function(){return this.$2_3},set_width:function(a){this.$2_3=a;return a},get_height:function(){return this.$2_4},set_height:function(a){this.$2_4=a;return a}};C1.Web.UI.Behavior.SuperPanel.CssStyles=function(a){this.$0=a};C1.Web.UI.Behavior.SuperPanel.CssStyles.prototype={$0:null,$1:"C1{0}ButtonTop",$2:"C1{0}ButtonRight",$3:"C1{0}ButtonBottom",$4:"C1{0}ButtonLeft",$5:"C1{0}HBarTrackLeft",$6:"C1{0}HBarDrag",$7:"C1{0}HBarDragLeft",$8:"C1{0}HBarDragRight",$9:"C1{0}VBarTrack",$A:"C1{0}VBarDrag",$B:"C1{0}VBarDragTop",$C:"C1{0}VBarDragBottom",$D:"C1{0}StateContainer",$E:"C1{0}HBarContainer",$F:"C1{0}VBarContainer",$10:"C1{0}Content",$11:"C1{0}ContentWrapper",$12:"C1{0}ScrollWrapper",$13:"C1{0}TemplateOuterWrapper",$14:"C1{0}TemplateInnerScrollWrapper",$15:"C1{0}VBarTrackTop",$16:"C1{0}VBarTrackBottom",$17:"C1{0}HBarTrackRight",$18:"C1{0}Focus",$19:"C1{0}NoRounder",$1A:"C1{0}DropShadow",$1B:"C1{0}Disabled",$1C:"C1{0}PanelContainer",get_$1D:function(){return this.$51(this.$1)},set_$1D:function(a){this.$1=a;return a},get_$1E:function(){return this.$51(this.$2)},set_$1E:function(a){this.$2=a;return a},get_$1F:function(){return this.$51(this.$3)},set_$1F:function(a){this.$3=a;return a},get_$20:function(){return this.$51(this.$4)},set_$20:function(a){this.$4=a;return a},get_$21:function(){return this.$51(this.$5)},set_$21:function(a){this.$5=a;return a},get_$22:function(){return this.$51(this.$6)},set_$22:function(a){this.$6=a;return a},get_$23:function(){return this.$51(this.$7)},set_$23:function(a){this.$7=a;return a},get_$24:function(){return this.$51(this.$8)},set_$24:function(a){this.$8=a;return a},get_$25:function(){return this.$51(this.$9)},set_$25:function(a){this.$9=a;return a},get_$26:function(){return this.$51(this.$A)},set_$26:function(a){this.$A=a;return a},get_$27:function(){return this.$51(this.$B)},set_$27:function(a){this.$B=a;return a},get_$28:function(){return this.$51(this.$C)},set_$28:function(a){this.$C=a;return a},get_$29:function(){return this.$51(this.$D)},set_$29:function(a){this.$D=a;return a},get_$2A:function(){return this.$51(this.$E)},set_$2A:function(a){this.$E=a;return a},get_$2B:function(){return this.$51(this.$F)},set_$2B:function(a){this.$F=a;return a},get_$2C:function(){return this.$51(this.$10)},set_$2C:function(a){this.$10=a;return a},get_$2D:function(){return this.$51(this.$11)},set_$2D:function(a){this.$11=a;return a},get_$2E:function(){return this.$51(this.$12)},set_$2E:function(a){this.$12=a;return a},get_$2F:function(){return this.$51(this.$13)},set_$2F:function(a){this.$13=a;return a},get_$30:function(){return this.$51(this.$14)},set_$30:function(a){this.$14=a;return a},get_$31:function(){return this.$51(this.$15)},set_$31:function(a){this.$15=a;return a},get_$32:function(){return this.$51(this.$16)},set_$32:function(a){this.$16=a;return a},get_$33:function(){return this.$51(this.$17)},set_$33:function(a){this.$17=a;return a},get_$34:function(){return this.$51(this.$18)},set_$34:function(a){this.$18=a;return a},get_$35:function(){return this.get_$31()+"-Disabled"},get_$36:function(){return this.get_$32()+"-Disabled"},get_$37:function(){return this.get_$21()+"-Disabled"},get_$38:function(){return this.get_$33()+"-Disabled"},get_$39:function(){return this.get_$1D()+"-Disabled"},get_$3A:function(){return this.get_$1F()+"-Disabled"},get_$3B:function(){return this.get_$20()+"-Disabled"},get_$3C:function(){return this.get_$1E()+"-Disabled"},get_$3D:function(){return this.get_$20()+"-Hover"},get_$3E:function(){return this.get_$1E()+"-Hover"},get_$3F:function(){return this.get_$1D()+"-Hover"},get_$40:function(){return this.get_$1F()+"-Hover"},get_$41:function(){return this.get_$1F()+"-Active"},get_$42:function(){return this.get_$1E()+"-Active"},get_$43:function(){return this.get_$1D()+"-Active"},get_$44:function(){return this.get_$1F()+"-Active"},get_$45:function(){return this.get_$31()+"-Hover"},get_$46:function(){return this.get_$32()+"-Hover"},get_$47:function(){return this.get_$21()+"-Hover"},get_$48:function(){return this.get_$33()+"-Hover"},get_$49:function(){return this.get_$26()+"-Hover"},get_$4A:function(){return this.get_$22()+"-Hover"},get_$4B:function(){return this.get_$21()+"-Active"},get_$4C:function(){return this.get_$32()+"-Active"},get_$4D:function(){return this.get_$31()+"-Active"},get_$4E:function(){return this.get_$33()+"-Active"},get_$4F:function(){return this.$51(this.$19)},set_$4F:function(a){this.$19=a;return a},get_$50:function(){return this.$51(this.$1A)},set_$50:function(a){this.$1A=a;return a},get_disabled:function(){return this.$51(this.$1B)},set_disabled:function(a){this.$1B=a;return a},get_panelContainer:function(){return this.$51(this.$1C)},set_panelContainer:function(a){this.$1C=a;return a},$51:function(a){return String.format(a,this.$0.get_$2_2E()+"-"+this.$0.get_visualStyle().toLowerCase()+"-")}};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs=function(){C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs.initializeBase(this)};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs.prototype={$2_0:null,$2_1:0,get_info:function(){return this.$2_0},set_info:function(a){this.$2_0=a;return a},get_source:function(){return this.$2_1},set_source:function(a){this.$2_1=a;return a}};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior=function(a,c,b){this.$2_1B={};this.$2_28=0;C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.initializeBase(this,[a]);this.$2_1E=b;if(!C1.Web.UI.Utils.Common.testIsNull(c)){this.$2_1B=c}this.$2_9=Function.createDelegate(this,this.$2_45);this.$2_12=Function.createDelegate(null,C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_47);this.$2_29=jQuery(document.documentElement)};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_47=function(a){a.preventDefault();a.stopPropagation();return false};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_61=function(b){var a=0;if(!C1.Web.UI.Utils.Common.testIsNull(b.wheelDelta)){a=b.wheelDelta/120}else{if(!C1.Web.UI.Utils.Common.testIsNull(b.detail)){a=-b.detail/3}}return a};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72=function(c,b){var a=document.createElement(c);if(!C1.Web.UI.Utils.Common.stringIsNullOrEmpty(b)){a.className=b}a.className=b;return a};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_75=function(d,c,b){if(C1.Web.UI.Utils.Common.testIsNull(b)){return c}var a=b[d];if(C1.Web.UI.Utils.Common.testIsNull(a)){return c}return a};C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.prototype={$2_0:null,$2_1:null,$2_2:null,$2_3:null,$2_4:null,$2_5:0,$2_6:0,$2_7:false,$2_8:null,$2_9:null,$2_A:null,$2_B:null,$2_C:null,$2_D:null,$2_E:0,$2_F:null,$2_10:null,$2_11:false,$2_12:null,$2_18:null,$2_19:null,$2_1A:null,$2_1C:null,$2_1D:null,$2_1E:null,$2_1F:null,$2_20:0,$2_21:0,$2_22:null,$2_23:0,$2_24:false,$2_25:0,$2_26:false,$2_27:false,$2_29:null,$2_2A:false,$2_2B:false,$2_2C:false,initialize:function(){C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.callBaseMethod(this,"initialize");this.set_visualStyle(this.$2_1E);if(!C1.Web.UI.Utils.Common.testIsNull(this.get_$2_2D())){var b=C1.Web.UI.Utils.JSON.fromJSONString((jQuery("#"+this.get_$2_2D()).get(0)).value);var a=b.PanelBehaviorSettings;var c=b.VisualStyle;if(C1.Web.UI.Utils.Common.testIsNull(c)){c="ArcticFox"}this.set_visualStyle(c.toString());this.$2_1B=a}if(!C1.Web.UI.Utils.Common.testIsNull(this.get_element())){this.$2_31()}},rePaint:function(){if(!this.$2_11){return}this.$2_67();this.$2_69(this.$2_4);this.$2_6D()},get_$2_2D:function(){return this.$2_1F},set_$2_2D:function(a){this.$2_1F=a;return a},get_contentWidth:function(){return this.$2_20},set_contentWidth:function(a){this.$2_20=a;return a},get_contentHeight:function(){return this.$2_21},set_contentHeight:function(a){this.$2_21=a;return a},get_useCustomScrollBar:function(){return this.$2_74("UseCustomScrollBar",true)},set_useCustomScrollBar:function(a){this.$2_1B.UseCustomScrollBar=a;this.$2_76("UseCustomScrollBar");return a},get_allowResize:function(){return this.$2_74("AllowResize",true)},set_allowResize:function(a){this.$2_1B.AllowResize=a;if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_1A)){this.$2_1A.set_enabled(a)}this.$2_6B(this.get_element(),!a);this.$2_76("AllowResize");return a},get_animationDuration:function(){return this.$2_74("AnimationDuration",500)},set_animationDuration:function(a){this.$2_1B.AnimationDuration=a;this.$2_76("AnimationDuration");return a},get_animationEasing:function(){return this.$2_74("AnimationEasing",31)},set_animationEasing:function(a){this.$2_1B.AnimationEasing=a;this.$2_76("AnimationEasing");return a},get_hScroller:function(){if(!this.$2_0){this.$2_0=new C1.Web.UI.Behavior.SuperPanel.C1HScroller(this)}return this.$2_0},get_vScroller:function(){if(!this.$2_1){this.$2_1=new C1.Web.UI.Behavior.SuperPanel.C1VScroller(this)}return this.$2_1},get_showDropShadow:function(){return this.$2_74("ShowDropShadow",true)},set_showDropShadow:function(a){this.$2_1B.ShowDropShadow=a;this.$2_76("ShowDropShadow");if(a){Sys.UI.DomElement.addCssClass(this.get_element(),this.get_css().get_$50())}else{Sys.UI.DomElement.removeCssClass(this.get_element(),this.get_css().get_$50())}return a},get_showRounder:function(){return this.$2_74("ShowRounder",true)},set_showRounder:function(a){this.$2_1B.ShowRounder=a;this.$2_76("ShowRounder");if(a){Sys.UI.DomElement.removeCssClass(this.get_element(),this.get_css().get_$4F())}else{Sys.UI.DomElement.addCssClass(this.get_element(),this.get_css().get_$4F())}return a},get_visualStyle:function(){return this.$2_1D},set_visualStyle:function(c){var b="C1SuperPanel_{0}";var a="";if(!C1.Web.UI.Utils.Common.testIsNull(c)){a=String.format(b,c)}else{return}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_1D)){Sys.UI.DomElement.removeCssClass(this.get_element(),String.format(b,this.$2_1D))}Sys.UI.DomElement.addCssClass(this.get_element(),a);if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_1D)){this.$2_77(this.get_element().childNodes,c.toLowerCase(),this.$2_1D.toLowerCase())}this.$2_1D=c;return c},get_mouseWheelSupport:function(){return this.$2_74("MouseWheelSupport",true)},set_mouseWheelSupport:function(a){this.$2_1B.MouseWheelSupport=a;this.$2_76("MouseWheelSupport");return a},get_bubbleScrollingEvent:function(){return this.$2_74("BubbleScrollingEvent",true)},set_bubbleScrollingEvent:function(a){this.$2_1B.BubbleScrollingEvent=a;this.$2_76("BubbleScrollingEvent");return a},get_keyDownInterval:function(){return this.$2_74("KeyDownInterval",100)},set_keyDownInterval:function(a){this.$2_1B.KeyDownInterval=a;this.$2_76("KeyDownInterval");return a},get_keyboardSupport:function(){return this.$2_74("KeyboardSupport",true)},set_keyboardSupport:function(a){this.$2_1B.KeyboardSupport=a;this.$2_76("KeyboardSupport");return a},get_onClientInitialized:function(){return this.$2_74("OnClientInitialized",null)},set_onClientInitialized:function(a){this.$2_1B.OnClientInitialized=a;this.$2_76("OnClientInitialized");return a},get_onClientScrolled:function(){return this.$2_74("OnClientScrolled",null)},set_onClientScrolled:function(a){this.$2_1B.OnClientScrolled=a;this.$2_76("OnClientScrolled");return a},get_onClientScrolling:function(){return this.$2_74("OnClientScrolling",null)},set_onClientScrolling:function(a){this.$2_1B.OnClientScrolling=a;this.$2_76("OnClientScrolling");return a},get_onClientResized:function(){return this.$2_74("OnClientResized",null)},set_onClientResized:function(a){this.$2_1B.OnClientResized=a;this.$2_76("OnClientResized");return a},get_onClientDragEnd:function(){return this.$2_74("OnClientDragEnd",null)},set_onClientDragEnd:function(a){this.$2_1B.OnClientDragEnd=a;this.$2_76("OnClientDragEnd");return a},get_css:function(){if(C1.Web.UI.Utils.Common.testIsNull(this.$2_1C)){this.$2_1C=new C1.Web.UI.Behavior.SuperPanel.CssStyles(this)}return this.$2_1C},get_$2_2E:function(){return this.$2_74("CssIdentifier","spnl")},set_$2_2E:function(a){this.$2_1B.CssIdentifier=a;this.$2_76("CssIdentifier");return a},get_enabled:function(){return this.$2_74("Enabled",true)},set_enabled:function(a){this.$2_1B.Enabled=a;this.$2_63();this.$2_76("Enabled");return a},get_$2_2F:function(){var b=jQuery(this.get_element());var a=b.innerHeight();if(a===this.$2_23){return this.$2_25}this.$2_23=a;this.$2_25=a;if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_18)){this.$2_8.style.display="none";this.$2_25=this.$2_25-this.$2_18.offsetHeight;this.$2_8.style.display=""}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_19)){this.$2_25=this.$2_25-this.$2_19.offsetHeight}if(this.$2_25<0){this.$2_25=0}return this.$2_25},get_enableGestureScrolling:function(){return this.$2_74("EnableGestureScrolling",true)},set_enableGestureScrolling:function(a){this.$2_1B.EnableGestureScrolling=a;this.$2_76("EnableGestureScrolling");return a},add_onInitialized:function(a){this.get_events().addHandler(this.get_id()+"_initialized",a)},remove_onInitialized:function(a){this.get_events().removeHandler(this.get_id()+"_initialized",a)},add_onScrolled:function(a){this.get_events().addHandler(this.get_id()+"_scrolled",a)},remove_onScrolled:function(a){this.get_events().removeHandler(this.get_id()+"_scrolled",a)},add_onScrolling:function(a){this.get_events().addHandler(this.get_id()+"_scrolling",a)},remove_onScrolling:function(a){this.get_events().removeHandler(this.get_id()+"_scrolling",a)},add_onResized:function(a){this.get_events().addHandler(this.get_id()+"_resized",a)},remove_onResized:function(a){this.get_events().removeHandler(this.get_id()+"_resized",a)},add_onDragEnd:function(a){this.get_events().addHandler(this.get_id()+"_dragEnd",a)},remove_onDragEnd:function(a){this.get_events().removeHandler(this.get_id()+"_dragEnd",a)},$2_30:function(d,c,b){d=this.get_id()+d;var a=null;if(!C1.Web.UI.Utils.Common.testIsNull(c)){a=(window)[c]}if(a){a(this,b)}a=this.get_events().getHandler(d);if(a){a(this,b)}},$2_31:function(){C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.callBaseMethod(this,"initialize");this.$2_73();if(C1.Web.UI.Utils.Common.isVisible(this.get_element())){this.$2_62()}else{this.$2_10=Function.createDelegate(this,this.$2_33);C1.Web.UI.Utils.Common.listenVisibleState(this.get_element(),this.$2_10)}},scrollToChild:function(c){if(C1.Web.UI.Utils.Common.testIsNull(c)){return}var b=jQuery(c);var a=jQuery(this.$2_3);var g=a.offset();var f=b.offset();var e=f.top-g.top;var d=f.left-g.left;this.scrollOffset(d,e)},scrollChildIntoView:function(j){if(C1.Web.UI.Utils.Common.testIsNull(j)){return}this.$2_3.scrollTop=0;this.$2_3.scrollLeft=0;var i=j.offsetTop;var h=j.offsetLeft;var g=-this.$2_71(this.$2_4.style.top);var f=-this.$2_71(this.$2_4.style.left);var e=g+this.$2_3.offsetHeight;var d=i<g;var c=i>(e-j.offsetHeight);var b=h<f;var a=h>(f+this.$2_3.offsetWidth);if((d||c)&&(b||a)){this.scrollTo(h,i);return}if(d){this.scrollTo(f,i);return}if(c){this.scrollTo(f,i+j.offsetHeight-this.$2_3.offsetHeight);return}if(b||a){this.scrollTo(h,g)}},scrollTo:function(b,d){var c={};c.functionName="ScrollTo";c.direction="h";c.newValue=this.get_hScroller().$2C(b);if(!this.$2_32(c,0)){this.get_hScroller().$2B(b);this.get_hScroller().$20(b);this.get_hScroller().$1C()}var a={};a.functionName="ScrollTo";a.direction="v";c.newValue=this.get_vScroller().$2C(d);if(!this.$2_32(a,0)){this.get_vScroller().$2B(d);this.get_vScroller().$20(d);this.get_vScroller().$1C()}},scrollOffset:function(b,d){var c=-this.$2_71(this.$2_4.style.left)+b;var a=-this.$2_71(this.$2_4.style.top)+d;this.scrollTo(c,a)},$2_32:function(c,b){var a=new C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs();this.$2_28=b;a.set_source(b);a.set_info(c);this.$2_30("_scrolling",this.get_onClientScrolling(),a);return a.get_cancel()},$2_33:function(b,a){C1.Web.UI.Utils.Common.unListenVisibleState(this.get_element(),this.$2_10);this.$2_62();this.$2_6D()},$2_34:function(a){if(C1.Web.UI.Utils.Common.testIsNull(a)){return false}if(a===this.$2_3){return true}if(C1.Web.UI.Utils.Common.testIsNull(a.parentNode)){return false}return this.$2_34(a.parentNode)},$2_35:function(){C1.Web.UI.Utils.RawEvent.addHandler(this.get_element(),"mousewheel",Function.createDelegate(this,this.$2_60));C1.Web.UI.Utils.RawEvent.addHandler(this.get_element(),"DOMMouseScroll",Function.createDelegate(this,this.$2_60));Sys.UI.DomEvent.addHandler(this.get_element(),"keydown",Function.createDelegate(this,this.$2_48));if(this.get_enableGestureScrolling()){var j=jQuery(this.$2_3);j.mousedown(Function.createDelegate(this,this.$2_46))}var i=jQuery("."+this.get_css().get_$21(),this.$2_2).get(0);Sys.UI.DomEvent.addHandler(i,"mousedown",Function.createDelegate(this,this.$2_5E));Sys.UI.DomEvent.addHandler(i,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(i,"mouseout",Function.createDelegate(this,this.$2_3F));var h=jQuery("."+this.get_css().get_$33(),this.$2_2).get(0);Sys.UI.DomEvent.addHandler(h,"mousedown",Function.createDelegate(this,this.$2_5C));Sys.UI.DomEvent.addHandler(h,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(h,"mouseout",Function.createDelegate(this,this.$2_3F));var g=jQuery("."+this.get_css().get_$31(),this.$2_2).get(0);Sys.UI.DomEvent.addHandler(g,"mousedown",Function.createDelegate(this,this.$2_5A));Sys.UI.DomEvent.addHandler(g,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(g,"mouseout",Function.createDelegate(this,this.$2_3F));var f=jQuery("."+this.get_css().get_$32(),this.$2_2).get(0);Sys.UI.DomEvent.addHandler(f,"mousedown",Function.createDelegate(this,this.$2_58));Sys.UI.DomEvent.addHandler(f,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(f,"mouseout",Function.createDelegate(this,this.$2_3F));var e=jQuery("."+this.get_css().get_$26(),this.$2_2);e.mousedown(Function.createDelegate(this,this.$2_46));Sys.UI.DomEvent.addHandler(e.get(0),"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(e.get(0),"mouseout",Function.createDelegate(this,this.$2_3F));var d=jQuery("."+this.get_css().get_$22(),this.$2_2);d.mousedown(Function.createDelegate(this,this.$2_46));Sys.UI.DomEvent.addHandler(d.get(0),"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(d.get(0),"mouseout",Function.createDelegate(this,this.$2_3F));var c=jQuery("."+this.get_css().get_$2B(),this.$2_2);c.mousedown(Function.createDelegate(this,this.$2_4D));var b=jQuery("."+this.get_css().get_$2A(),this.$2_2);b.mousedown(Function.createDelegate(this,this.$2_49));Sys.UI.DomEvent.addHandler(document,"mouseup",Function.createDelegate(this,this.$2_4F));this.$2_A=jQuery("."+this.get_css().get_$2D()+" > ."+this.get_css().get_$20(),this.get_element()).get(0);this.$2_B=jQuery("."+this.get_css().get_$2D()+" > ."+this.get_css().get_$1D(),this.get_element()).get(0);this.$2_C=jQuery("."+this.get_css().get_$2D()+" > ."+this.get_css().get_$1F(),this.get_element()).get(0);this.$2_D=jQuery("."+this.get_css().get_$2D()+" > ."+this.get_css().get_$1E(),this.get_element()).get(0);Sys.UI.DomEvent.addHandler(this.$2_A,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_A,"mouseout",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_A,"mousedown",Function.createDelegate(this,this.$2_3E));Sys.UI.DomEvent.addHandler(this.$2_B,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_B,"mouseout",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_B,"mousedown",Function.createDelegate(this,this.$2_3E));Sys.UI.DomEvent.addHandler(this.$2_C,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_C,"mouseout",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_C,"mousedown",Function.createDelegate(this,this.$2_3E));Sys.UI.DomEvent.addHandler(this.$2_D,"mouseover",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_D,"mouseout",Function.createDelegate(this,this.$2_3F));Sys.UI.DomEvent.addHandler(this.$2_D,"mousedown",Function.createDelegate(this,this.$2_3E));Sys.UI.DomEvent.addHandler(this.$2_4,"scroll",Function.createDelegate(this,this.$2_36));var a=jQuery(this.$2_3);a.mousemove(Function.createDelegate(this,this.$2_38));a.mouseout(Function.createDelegate(this,this.$2_37))},$2_36:function(a){if(this.get_useCustomScrollBar()){return}this.get_hScroller().set_value((this.$2_4.scrollLeft/(this.$2_4.scrollWidth-this.$2_4.clientWidth))*(this.get_hScroller().get_maximum()-this.get_hScroller().get_minimum()));this.get_vScroller().set_value((this.$2_4.scrollTop/(this.$2_4.scrollHeight-this.$2_4.clientHeight))*(this.get_vScroller().get_maximum()-this.get_vScroller().get_minimum()))},$2_37:function(a){this.$2_39();return true},$2_38:function(i){this.$2_26=false;this.$2_27=false;if(!this.$2_24){if(((this.get_vScroller().get_mode()&8)===8)){this.$2_26=true}if(((this.get_hScroller().get_mode()&8)===8)){this.$2_27=true}}this.$2_39();var h=new Sys.UI.Point(i.pageX,i.pageY);var g=jQuery(this.$2_3);var f=g.offset().left;var e=g.offset().top;f=h.x-f;e=h.y-e;var d=this.get_hScroller().get_hoverEdgeSpan();var c=this.get_vScroller().get_hoverEdgeSpan();var b=g.innerHeight();var a=g.innerWidth();if(this.$2_27){if(f<d){this.$2_F=window.setInterval(Function.createDelegate(this,this.$2_3A),this.get_keyDownInterval());return false}if(f>(a-d)){this.$2_F=window.setInterval(Function.createDelegate(this,this.$2_3C),this.get_keyDownInterval());return false}}if(this.$2_26){if(e<c){this.$2_F=window.setInterval(Function.createDelegate(this,this.$2_3B),this.get_keyDownInterval());return false}if(e>(b-c)){this.$2_F=window.setInterval(Function.createDelegate(this,this.$2_3D),this.get_keyDownInterval());return false}}return true},$2_39:function(){if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_F)){window.clearInterval(this.$2_F);this.$2_F=null}},$2_3A:function(){if(this.get_hScroller().get_valueReachLowerBound()){this.$2_39()}else{this.$2_55(6)}},$2_3B:function(){if(this.get_vScroller().get_valueReachLowerBound()){this.$2_39()}else{this.$2_53(6)}},$2_3C:function(){if(this.get_hScroller().get_valueReachHigherBound()){this.$2_39()}else{this.$2_57(6)}},$2_3D:function(){if(this.get_vScroller().get_valueReachHigherBound()){this.$2_39()}else{this.$2_51(6)}},$2_3E:function(b){if(!this.get_enabled()){return}var a=b.target;if(Sys.UI.DomElement.containsCssClass(a,this.get_css().get_$20())){Sys.UI.DomElement.addCssClass(a,this.get_css().get_$41());this.$2_54();this.$2_44(Function.createDelegate(this,this.$2_54));return}if(Sys.UI.DomElement.containsCssClass(a,this.get_css().get_$1E())){Sys.UI.DomElement.addCssClass(a,this.get_css().get_$42());this.$2_56();this.$2_44(Function.createDelegate(this,this.$2_56));return}if(Sys.UI.DomElement.containsCssClass(a,this.get_css().get_$1D())){Sys.UI.DomElement.addCssClass(a,this.get_css().get_$43());this.$2_52();this.$2_44(Function.createDelegate(this,this.$2_52));return}if(Sys.UI.DomElement.containsCssClass(a,this.get_css().get_$1F())){Sys.UI.DomElement.addCssClass(a,this.get_css().get_$44());this.$2_50();this.$2_44(Function.createDelegate(this,this.$2_50))}},$2_3F:function(c){if(!this.get_enabled()){return}var b=c.target;if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$20())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$3D());this.$2_44(Function.createDelegate(this,this.$2_43));return}if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$1E())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$3E());this.$2_44(Function.createDelegate(this,this.$2_42));return}if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$1D())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$3F());this.$2_44(Function.createDelegate(this,this.$2_41));return}if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$1F())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$40());this.$2_44(Function.createDelegate(this,this.$2_40));return}if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$31())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$45());return}if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$32())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$46());return}if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$21())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$47());return}if(Sys.UI.DomElement.containsCssClass(b,this.get_css().get_$33())){Sys.UI.DomElement.toggleCssClass(b,this.get_css().get_$48());return}var a=b.className;if(!C1.Web.UI.Utils.Common.testIsNull(a)&&a.startsWith(this.get_css().get_$26())){Sys.UI.DomElement.toggleCssClass(this.get_vScroller().$3,this.get_css().get_$49());return}if(!C1.Web.UI.Utils.Common.testIsNull(a)&&a.startsWith(this.get_css().get_$22())){Sys.UI.DomElement.toggleCssClass(this.get_hScroller().$3,this.get_css().get_$4A())}},$2_40:function(){this.$2_51(5)},$2_41:function(){this.$2_53(5)},$2_42:function(){this.$2_57(5)},$2_43:function(){this.$2_55(5)},$2_44:function(a){if(this.$2_E>0){window.clearInterval(this.$2_E);this.$2_E=-1}else{this.$2_E=window.setInterval(a,this.get_keyDownInterval())}},$2_45:function(a){var k=new Sys.UI.Point(a.pageX,a.pageY);var j=a.data;var i=j.v;var h=j.h;var g=j.c;var f=j.ot;var e=j.ol;var d=j.p;var c=j.bar;var b;if(g){var u=j.hbar;var t=j.vbar;var s=d.x-k.x;var r=d.y-k.y;var q=-j.wrapperOL+s;var p=-j.wrapperOT+r;q=(q<0)?0:q;p=(p<0)?0:p;if(u.get_$13()){var o={};o.newValue=u.$2C(q);if(this.$2_32(o,9)){return true}u.$2B(q);u.$20(q);u.$1C()}if(t.get_$13()){var n={};n.newValue=t.$2C(p);if(this.$2_32(n,9)){return true}t.$2B(p);t.$20(p);t.$1C()}}else{if(i){b=k.y-d.y;var m={};m.newValue=c.$2A(c.$28(f,b));if(this.$2_32(m,9)){return true}c.$27(b,f)}else{if(h){b=k.x-d.x;var l={};l.newValue=c.$2A(c.$28(e,b));if(this.$2_32(l,9)){return true}c.$27(b,e)}}}return true},$2_46:function(d){if(!this.get_enabled()){return true}var b=new Sys.UI.Point(d.pageX,d.pageY);var a=d.target;var e={};e.p=b;var c=a.className;if(c.startsWith(String.format("C1{0}VBarDrag",this.get_$2_2E()+"-"+this.get_visualStyle().toLowerCase()+"-"))){this.$2_2B=true;e.ot=this.$2_71(this.get_vScroller().$3.style.top);e.bar=this.get_vScroller();e.v=true;e.source=2}else{if(c.startsWith(String.format("C1{0}HBarDrag",this.get_$2_2E()+"-"+this.get_visualStyle().toLowerCase()+"-"))){this.$2_2C=true;e.ol=this.$2_71(this.get_hScroller().$3.style.left);e.bar=this.get_hScroller();e.h=true;e.source=2}else{if(this.$2_34(a)&&this.get_enableGestureScrolling()){this.$2_24=true;e.ot=this.$2_71(this.get_vScroller().$3.style.top);e.ol=this.$2_71(this.get_hScroller().$3.style.left);e.wrapperOL=this.$2_71(this.$2_4.style.left);e.wrapperOT=this.$2_71(this.$2_4.style.top);e.c=true;e.hbar=this.get_hScroller();e.vbar=this.get_vScroller();e.source=9}}}this.$2_29.bind("mousemove",e,this.$2_9);if(!this.$2_24){this.$2_29.bind("selectstart",null,this.$2_12);C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_47(d)}return true},$2_48:function(c){if(!this.get_keyboardSupport()||!this.get_enabled()){return}var b=false;var a={};var d=false;switch(c.keyCode){case 37:a.key=37;a.newValue=(c.shiftKey)?this.get_hScroller().$2F(false,true):this.get_hScroller().$2F(false,false);if(!this.$2_32(a,8)){if(c.shiftKey){this.get_hScroller().$26(-1);b=true}else{this.get_hScroller().$25(-1);b=true}}break;case 39:a.key=39;a.newValue=(c.shiftKey)?this.get_hScroller().$2F(true,true):this.get_hScroller().$2F(true,false);if(!this.$2_32(a,8)){if(c.shiftKey){this.get_hScroller().$26(1);b=true}else{this.get_hScroller().$25(1);b=true}}break;case 36:a.key=36;a.newValue=this.get_vScroller().get_minimum();if(!this.$2_32(a,8)){this.get_vScroller().set_value(this.get_vScroller().get_minimum());this.get_vScroller().$1C();this.get_vScroller().$1F()}break;case 35:a.key=35;a.newValue=this.get_vScroller().get_maximum();if(!this.$2_32(a,8)){this.get_vScroller().set_value(this.get_vScroller().get_maximum());this.get_vScroller().$1C();this.get_vScroller().$1F()}break;case 38:a.key=38;a.newValue=(c.shiftKey)?this.get_vScroller().$2F(false,true):this.get_vScroller().$2F(false,false);if(!this.$2_32(a,8)){if(c.shiftKey){this.get_vScroller().$26(-1)}else{this.get_vScroller().$25(-1)}d=true}break;case 40:a.key=40;a.newValue=(c.shiftKey)?this.get_vScroller().$2F(true,true):this.get_vScroller().$2F(true,false);if(!this.$2_32(a,8)){if(c.shiftKey){this.get_vScroller().$26(1)}else{this.get_vScroller().$25(1)}d=true}break;case 9:return}if(b){if(!this.get_hScroller().get_valueReachBound()||!this.get_bubbleScrollingEvent()){c.preventDefault();c.stopPropagation()}}else{if(d){if(!this.get_vScroller().get_valueReachBound()||!this.get_bubbleScrollingEvent()){c.preventDefault();c.stopPropagation()}}}},$2_49:function(d){if(!this.get_enabled()){return false}var b=d.target;var a=jQuery(this.get_hScroller().$3);var e=a.offset().left;var c=d.pageX;this.$2_7=c>e;if(!C1.Web.UI.Utils.Common.testIsNull(b.className)&&b.className===this.get_css().get_$2A()){this.$2_4A();this.$2_6=window.setInterval(Function.createDelegate(this,this.$2_4A),this.get_keyDownInterval())}return true},$2_4A:function(){var a={};a.direction="h";a.newValue=(this.$2_7)?this.get_hScroller().$2F(true,true):this.get_hScroller().$2F(false,true);if(!this.$2_32(a,1)){this.$2_4B(this.get_hScroller())}},$2_4B:function(a){if(this.$2_7){a.$26(1)}else{a.$26(-1)}this.$2_4C(a)},$2_4C:function(a){if(a.get_valueReachBound()){this.$2_4F(null)}},$2_4D:function(d){if(!this.get_enabled()){return false}var b=d.target;var a=jQuery(this.get_vScroller().$3);var e=a.offset().top;var c=d.pageY;this.$2_7=c>e;if(!C1.Web.UI.Utils.Common.testIsNull(b.className)&&b.className===this.get_css().get_$2B()){this.$2_4E();this.$2_6=window.setInterval(Function.createDelegate(this,this.$2_4E),this.get_keyDownInterval())}return true},$2_4E:function(){var a={};a.direction="v";a.newValue=(this.$2_7)?this.get_vScroller().$2F(true,true):this.get_vScroller().$2F(false,true);if(!this.$2_32(a,1)){this.$2_4B(this.get_vScroller())}},$2_4F:function(a){Sys.UI.DomElement.removeCssClass(this.$2_A,this.get_css().get_$41());Sys.UI.DomElement.removeCssClass(this.$2_B,this.get_css().get_$43());Sys.UI.DomElement.removeCssClass(this.$2_C,this.get_css().get_$44());Sys.UI.DomElement.removeCssClass(this.$2_D,this.get_css().get_$42());Sys.UI.DomElement.removeCssClass(this.get_vScroller().$7,this.get_css().get_$4C());Sys.UI.DomElement.removeCssClass(this.get_vScroller().$6,this.get_css().get_$4D());Sys.UI.DomElement.removeCssClass(this.get_hScroller().$7,this.get_css().get_$4E());Sys.UI.DomElement.removeCssClass(this.get_hScroller().$6,this.get_css().get_$4B());if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_E)){window.clearInterval(this.$2_E)}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_5)){window.clearInterval(this.$2_5)}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_6)){window.clearInterval(this.$2_6)}this.$2_29.unbind("mousemove",this.$2_9);this.$2_29.unbind("selectstart",this.$2_12);if(this.$2_2A||this.$2_2B||this.$2_2C){this.$2_30("_dragEnd",this.get_onClientDragEnd(),null)}this.$2_2B=false;this.$2_2C=false;this.$2_2A=false;this.$2_24=false},$2_50:function(){this.$2_51(4)},$2_51:function(b){var a={};a.newValue=this.get_vScroller().$2F(true,false);if(!this.$2_32(a,b)){this.get_vScroller().$25(1)}},$2_52:function(){this.$2_53(4)},$2_53:function(b){var a={};a.newValue=this.get_vScroller().$2F(false,false);if(!this.$2_32(a,b)){this.get_vScroller().$25(-1)}},$2_54:function(){this.$2_55(4)},$2_55:function(b){var a={};a.newValue=this.get_hScroller().$2F(false,false);if(!this.$2_32(a,b)){this.get_hScroller().$25(-1)}},$2_56:function(){this.$2_57(4)},$2_57:function(b){var a={};a.newValue=this.get_hScroller().$2F(true,false);if(!this.$2_32(a,b)){this.get_hScroller().$25(1)}},$2_58:function(a){if(!this.get_enabled()){return}Sys.UI.DomElement.addCssClass(a.target,this.get_css().get_$4C());this.$2_59();this.$2_5=window.setInterval(Function.createDelegate(this,this.$2_50),this.get_keyDownInterval());a.preventDefault();a.stopPropagation()},$2_59:function(){this.$2_51(3)},$2_5A:function(a){if(!this.get_enabled()){return}Sys.UI.DomElement.addCssClass(a.target,this.get_css().get_$4D());this.$2_5B();this.$2_5=window.setInterval(Function.createDelegate(this,this.$2_52),this.get_keyDownInterval());a.preventDefault();a.stopPropagation()},$2_5B:function(){this.$2_53(3)},$2_5C:function(b){if(!this.get_enabled()){return}Sys.UI.DomElement.addCssClass(b.target,this.get_css().get_$4E());var a={};a.arrow="right";this.$2_5D();this.$2_5=window.setInterval(Function.createDelegate(this,this.$2_56),this.get_keyDownInterval());b.preventDefault();b.stopPropagation()},$2_5D:function(){this.$2_57(3)},$2_5E:function(a){if(!this.get_enabled()){return}Sys.UI.DomElement.addCssClass(a.target,this.get_css().get_$4B());this.$2_5F();this.$2_5=window.setInterval(Function.createDelegate(this,this.$2_54),this.get_keyDownInterval());a.preventDefault();a.stopPropagation()},$2_5F:function(){this.$2_55(3)},$2_60:function(g){if(!this.get_enabled()){return true}var b=new Sys.UI.DomEvent(g);var a=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_61(g);if(!this.get_useCustomScrollBar()){return true}if(!this.get_mouseWheelSupport()){return true}var h=b.target;var f=false;var e;if(!C1.Web.UI.Utils.Common.testIsNull(h.className)&&h.className.startsWith(String.format("C1{0}HBar",this.get_$2_2E()+"-"+this.get_visualStyle().toLowerCase()+"-"))){f=true}if(f){var d={};d.direction="h";d.newValue=this.get_hScroller().$2F((-a>0),false);if(!this.$2_32(d,7)){this.get_hScroller().$25(-a)}e=this.get_hScroller()}else{var c={};c.direction="v";c.newValue=this.get_vScroller().$2F((-a>0),false);if(!this.$2_32(c,7)){this.get_vScroller().$25(-a)}e=this.get_vScroller()}if(!e.get_valueReachBound()||!this.get_bubbleScrollingEvent()){b.stopPropagation();b.preventDefault();return false}return true},$2_62:function(){if(!this.$2_11){this.$2_11=true;this.$2_65();this.$2_6D();window.setTimeout(Function.createDelegate(this,this.$2_35),0);if(!this.get_enabled()){this.$2_63()}this.$2_30("_initialized",this.get_onClientInitialized(),null)}},$2_63:function(){this.$2_1A.set_enabled(this.get_enabled());this.$2_6B(this.get_element(),!this.get_enabled());var a=jQuery("*",this.get_element());a.each(Function.createDelegate(this,this.$2_64))},$2_64:function(d,c){if(!this.get_enabled()){Sys.UI.DomElement.addCssClass(this.get_element(),this.get_css().get_disabled());var b=c.getAttribute("disabled");if(!C1.Web.UI.Utils.Common.testIsNull(b)){var a=b.toString();if(a.length>0){c.oldDisabled=a}}c.setAttribute("disabled","disabled")}else{Sys.UI.DomElement.removeCssClass(this.get_element(),this.get_css().get_disabled());var e=c.oldDisabled;if(!C1.Web.UI.Utils.Common.testIsNull(e)&&e.length>0){c.setAttribute("disabled",e)}else{c.attributes.removeNamedItem("disabled")}}return true},$2_65:function(){this.$2_66();var i=this.get_element().getAttributeNode("tabindex");if(C1.Web.UI.Utils.Common.testIsNull(i)){var c=document.createAttribute("tabindex");c.value="0";this.get_element().attributes.setNamedItem(c)}this.$2_68();this.$2_22=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this.get_css().get_panelContainer());this.$2_8=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this.get_css().get_$29());this.$2_3=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this.get_css().get_$2D());this.$2_2=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this.get_css().get_$2E());this.$2_4=C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_72("div",this.get_css().get_$2F());this.$2_4.id=this.get_element().id+"_content";this.$2_70(this.get_element(),this.$2_4);var h=this.get_element().childNodes;var g=h.length;var f=[];for(var b=0;b<g;b++){var a=h[b];if(a.nodeType===1){if(Sys.UI.DomElement.containsCssClass(a,"sp_header")){this.$2_18=a;continue}if(Sys.UI.DomElement.containsCssClass(a,"sp_footer")){this.$2_19=a;continue}}f[f.length]=a}var e=f.length;for(var j=0;j<e;j++){this.$2_4.appendChild(f[j])}this.$2_3.appendChild(this.$2_4);this.$2_8.appendChild(this.$2_3);this.$2_8.appendChild(this.$2_2);if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_19)){this.get_element().insertBefore(this.$2_8,this.$2_19)}else{this.get_element().appendChild(this.$2_8)}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_18)){this.$2_22.appendChild(this.$2_18)}this.$2_22.appendChild(this.$2_8);if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_19)){this.$2_22.appendChild(this.$2_19)}this.get_element().appendChild(this.$2_22);this.$2_6A(this.get_element());if(this.get_contentHeight()>0){this.get_element().style.height=this.get_contentHeight()+"px"}if(this.get_contentWidth()>0){this.get_element().style.width=this.get_contentWidth()+"px"}this.$2_67();this.$2_69(this.$2_4);var d=false;if(this.get_contentHeight()>0&&this.get_hScroller().get_$13()){this.get_hScroller().$30(this.$2_2);this.get_element().style.height=(this.get_contentHeight()+this.get_hScroller().$2.offsetHeight)+"px";d=true}if(this.get_contentWidth()>0&&this.get_vScroller().get_$13()){this.get_vScroller().$30(this.$2_2);this.get_element().style.width=(this.get_contentWidth()+this.get_vScroller().$2.offsetWidth)+"px";d=true}if(d){this.$2_67()}this.$2_23=jQuery(this.get_element()).innerHeight();this.$2_25=this.$2_23;if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_18)){this.$2_8.style.display="none";this.$2_25=this.$2_25-this.$2_18.offsetHeight;this.$2_8.style.display=""}if(!C1.Web.UI.Utils.Common.testIsNull(this.$2_19)){this.$2_25=this.$2_25-this.$2_19.offsetHeight}},$2_66:function(){var a=this.get_element().style;if(a.width===""){a.width=this.get_element().offsetWidth+"px"}if(a.height===""){a.height=this.get_element().offsetHeight+"px"}},$2_67:function(){var b=this.$2_2.style;b.position="absolute";var a=jQuery(this.get_element());var e=a.innerHeight();b.left="0";b.top="0";var d=a.innerWidth();var c=this.get_$2_2F();b.width=d+"px";b.height=c+"px";this.$2_3.style.width=d+"px";this.$2_3.style.height=c+"px";this.$2_22.style.width=d+"px";this.$2_22.style.height=e+"px";return new Sys.UI.Point(d,e)},$2_68:function(){this.set_showRounder(this.get_showRounder());this.set_showDropShadow(this.get_showDropShadow())},$2_69:function(a){this.get_vScroller().set_$13(a.offsetHeight>this.get_$2_2F());this.get_hScroller().set_$13(a.offsetWidth>this.$2_2.offsetWidth)},$2_6A:function(a){this.$2_1A=new C1.Web.UI.Behavior.ResizeBehavior(a);this.$2_1A.set_useHelper(true);this.$2_1A.set_resizeCssClass(this.get_$2_2E()+"-"+this.get_visualStyle().toLowerCase());this.$2_1A.add_resizeEnd(Function.createDelegate(this,this.$2_6C));this.$2_1A.set_resizePosition(3);if(!this.get_allowResize()){this.$2_1A.set_enabled(false);this.$2_6B(a,true)}this.get_element().style.overflow=""},$2_6B:function(c,b){var a=jQuery(">.c1-resize-handle",c);if(b){a.css("cursor","default")}else{a.css("cursor","")}},$2_6C:function(j,i){var h=this.get_element().style.overflow;this.get_element().style.overflow="hidden";var g=this.$2_71(this.get_element().style.top);var f=this.$2_71(this.get_element().style.left);if(g<0){this.get_element().style.top="0px";var b=this.$2_71(this.get_element().style.height)+g;if(b<0){b=0}this.get_element().style.height=b+"px"}if(f<0){this.get_element().style.left="0px";var a=this.$2_71(this.get_element().style.width)+f;if(a<0){a=0}this.get_element().style.width=a+"px"}var e=this.$2_67();this.$2_69(this.$2_4);this.$2_6D();this.get_element().style.overflow=h;var d=new C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs();var c={};c.width=e.x;c.height=e.y;d.set_info(c);this.$2_30("_resized",this.get_onClientResized(),d)},$2_6D:function(){Sys.UI.DomElement.addCssClass(this.$2_2,"c1-transparent");this.get_hScroller().$30(this.$2_2);this.get_vScroller().$30(this.$2_2);this.$2_6E();this.get_vScroller().$2D();this.get_hScroller().$2D();this.get_hScroller().$2E();this.get_vScroller().$2E();Sys.UI.DomElement.removeCssClass(this.$2_2,"c1-transparent")},$2_6E:function(){this.$2_6F(this.get_vScroller());this.$2_6F(this.get_hScroller());this.get_vScroller().$24(this.$2_3);this.get_hScroller().$24(this.$2_3);if(!this.get_useCustomScrollBar()){this.$2_4.style.width="100%";this.$2_4.style.height="100%";this.$2_4.style.overflow="auto";return}this.$2_4.style.width="";this.$2_4.style.height="";this.$2_4.style.overflow="";this.get_vScroller().$1C();this.get_hScroller().$1C();this.get_vScroller().$1F();this.get_hScroller().$1F()},$2_6F:function(a){if(!this.get_useCustomScrollBar()){a.set_$14(false);return}if((a.get_mode()&1)!==1||!a.get_visibility()||(a.get_visibility()===2&&!a.get_$13())){a.set_$14(false)}else{a.set_$14(true);a.set_isDragVisible(a.get_$13());a.set_enabled(a.get_$13())}},$2_70:function(k,j){var i=jQuery(k);var h=jQuery(j);var g=this.$2_71(i.css("padding-left"));var f=this.$2_71(i.css("padding-top"));var e=this.$2_71(i.css("padding-right"));var d=this.$2_71(i.css("padding-bottom"));h.css("padding-left",g);h.css("padding-top",f);h.css("padding-right",e);h.css("padding-bottom",d);i.css("padding",0);var c=g+e;var b=f+d;if(b>0){var a=i.height()+b;i.height(a)}if(c>0){var l=i.width()+c;i.width(l)}},$2_71:function(a){if(Object.getType(a)===Number){return a}return Number.parseInvariant(a.replace("px",""))},$2_73:function(){this.get_hScroller().$1B(this.$2_1B.HScroller);this.get_vScroller().$1B(this.$2_1B.VScroller)},$2_74:function(b,a){return C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.$2_75(b,a,this.$2_1B)},$2_76:function(a){this.raisePropertyChanged(a)},$2_77:function(e,d,c){var b=c;for(var a=0;a<e.length;a++){if(e[a].tagName){if(e[a].tagName.toUpperCase()==="DIV"){if(e[a].className){if(e[a].className.indexOf("-"+b+"-")>-1){e[a].className=e[a].className.replace("-"+b+"-","-"+d.toLowerCase()+"-")}}this.$2_77(e[a].childNodes,d,c)}}}},saveState:function(){this.$2_1B.HScroller=this.get_hScroller().$0;this.$2_1B.VScroller=this.get_vScroller().$0;return this.$2_1B}};Type.registerNamespace("C1.Web.UI.Interfaces");C1.Web.UI.Interfaces.IAjaxRequestSupport=function(){};C1.Web.UI.Interfaces.IAjaxRequestSupport.registerInterface("C1.Web.UI.Interfaces.IAjaxRequestSupport");C1.Web.UI.Interfaces.IC1Dockable=function(){};C1.Web.UI.Interfaces.IC1Dockable.registerInterface("C1.Web.UI.Interfaces.IC1Dockable");C1.Web.UI.Interfaces.IC1DropContainer=function(){};C1.Web.UI.Interfaces.IC1DropContainer.registerInterface("C1.Web.UI.Interfaces.IC1DropContainer");C1.Web.UI.Interfaces.IJsonSerializableSupport=function(){};C1.Web.UI.Interfaces.IJsonSerializableSupport.registerInterface("C1.Web.UI.Interfaces.IJsonSerializableSupport");C1.Web.UI.Interfaces.JsonSerializableHelper=function(c,b){this.control=b;var a=c;this._inputField=$get(a+"__jsonserverstate");if(this._inputField){this.assignInputField(this._inputField)}else{throw Error.create("(CE101004) Control "+a+" can not be initialized because PropertiesState field is missing. Make sure what method RenderJsonDataField called on server side")}};C1.Web.UI.Interfaces.JsonSerializableHelper.prototype={_inputField:null,_propertiesState:null,control:null,saveState:function(){if(this._inputField){this._inputField.value=C1.Web.UI.Utils.JSON.toJSONString(this._propertiesState)}else{throw Error.create("(CE101005) Can't save properties state.")}},assignInputField:function(c){this._inputField=c;this._inputField.name=this._inputField.id;var b=this._inputField.value;var a=this._inputField.parentNode;a.removeChild(this._inputField);a.appendChild(this._inputField);this._propertiesState=C1.Web.UI.Utils.JSON.fromJSONString(b);if(!this._propertiesState){throw Error.create("(CE101002)Control can not be initialized because PropertiesState JSON string is wrong.")}this.control.assignPropertiesState(this._propertiesState)}};Type.registerNamespace("C1.Web.UI.Utils");C1.Web.UI.Utils.BrowserHistory=function(){};C1.Web.UI.Utils.BrowserHistory.get_events=function(){if(!C1.Web.UI.Utils.BrowserHistory.$4){C1.Web.UI.Utils.BrowserHistory.$4=new Sys.EventHandlerList();C1.Web.UI.Utils.BrowserHistory.$3="###";C1.Web.UI.Utils.BrowserHistory.$0=Function.createDelegate(null,C1.Web.UI.Utils.BrowserHistory.$6);C1.Web.UI.Utils.BrowserHistory.$1=Function.createDelegate(null,C1.Web.UI.Utils.BrowserHistory.$5);C1.Web.UI.Utils.RawEvent.addHandler(window.document,"click",C1.Web.UI.Utils.BrowserHistory.$1);C1.Web.UI.Utils.BrowserHistory.$2=window.setInterval(Function.createDelegate(null,C1.Web.UI.Utils.BrowserHistory.$6),300)}return C1.Web.UI.Utils.BrowserHistory.$4};C1.Web.UI.Utils.BrowserHistory.add_urlHashChanged=function(a){C1.Web.UI.Utils.BrowserHistory.get_events().addHandler("UrlHashChanged",a)};C1.Web.UI.Utils.BrowserHistory.remove_urlHashChanged=function(a){C1.Web.UI.Utils.BrowserHistory.get_events().removeHandler("UrlHashChanged",a)};C1.Web.UI.Utils.BrowserHistory.back=function(){window.history.back()};C1.Web.UI.Utils.BrowserHistory.forward=function(){window.history.forward()};C1.Web.UI.Utils.BrowserHistory.setUrl=function(a){window.location.href=a};C1.Web.UI.Utils.BrowserHistory.setUrlHash=function(a){window.location.hash=a};C1.Web.UI.Utils.BrowserHistory.getVerticalLinkInfo=function(c,d){var b=new C1.Web.UI.Utils.C1VerticalLinkInfo();b.urlHash=c;if(!C1.Web.UI.Utils.Common.testIsNull(d)&&d!==""){if(c.startsWith(d)){c=c.substr(d.length)}else{return null}}var a=c.indexOf("-pagetitle:");var f=c.indexOf(":pagetitle-");if(a!==-1&&f!==-1){var e=c.substring(a+"-pagetitle:".length,f);e=window.unescape(e);b.pageTitle=e;b.urlHashWithoutTitleAndPrefix=c.substring(0,a)+c.substring(f,c.length-"-pagetitle:".length)}else{b.urlHashWithoutTitleAndPrefix=c;b.pageTitle=""}b.previousPageTitle="";b.nextPageTitle="";return b};C1.Web.UI.Utils.BrowserHistory.getUrlHashPart=function(c,d,e){var b=c.indexOf(d);if(b===-1){return null}var a=c.length;if(!C1.Web.UI.Utils.Common.testIsNull(e)&&e!==""){a=c.indexOf(e);if(a===-1){return null}}return c.substring(b+d.length,a)};C1.Web.UI.Utils.BrowserHistory.$5=function(c){var b=C1.Web.UI.Utils.RawEvent.findTargetByTagName(c,"A");if(b){var a=(b).href;var d=a.indexOf("#");if(d!==-1){window.location.href=a;return C1.Web.UI.Utils.RawEvent.cancelBrowserResponse(c)}}window.setTimeout(C1.Web.UI.Utils.BrowserHistory.$0,1);return true};C1.Web.UI.Utils.BrowserHistory.$6=function(){var a=""+window.location.hash+"";if(C1.Web.UI.Utils.BrowserHistory.$3!==a){C1.Web.UI.Utils.BrowserHistory.$3=a;C1.Web.UI.Utils.BrowserHistory.$7()}};C1.Web.UI.Utils.BrowserHistory.$7=function(){var a=C1.Web.UI.Utils.BrowserHistory.get_events().getHandler("UrlHashChanged");if(a){a((C1.Web.UI.Utils.BrowserHistory.$3.length>0)?C1.Web.UI.Utils.BrowserHistory.$3.substring(1,C1.Web.UI.Utils.BrowserHistory.$3.length):"")}};C1.Web.UI.Utils.C1VerticalLinkInfo=function(){};C1.Web.UI.Utils.C1VerticalLinkInfo.prototype={urlHash:null,urlHashWithoutTitleAndPrefix:null,pageTitle:null,previousPageTitle:null,nextPageTitle:null};C1.Web.UI.Utils.CallbackHelper=function(){};C1.Web.UI.Utils.CallbackHelper.updateJsonHiddenField=function(c,b){var a=$get(C1.Web.UI.Utils.CallbackHelper.$0(c));if(a){a.value=b}else{throw Error.invalidOperation("json hidden field is missing")}};C1.Web.UI.Utils.CallbackHelper.updateWebFormsInternals=function(d,c){var b=C1.Web.UI.Utils.CallbackHelper.$0(d);var a=C1.Web.UI.Utils.CallbackHelper.$1(d);if(!C1.Web.UI.Utils.Common.testIsNull(window.__theFormPostCollection)){var f=(window.__theFormPostCollection).length;for(var e=0;e<f;e++){if(((window.__theFormPostCollection)[e].name===a)||((window.__theFormPostCollection)[e].name===b)){(window.__theFormPostCollection)[e].value=c;break}}}if(!C1.Web.UI.Utils.Common.testIsNull(window.__theFormPostData)){window.__theFormPostData=C1.Web.UI.Utils.CallbackHelper.$2(window.__theFormPostData,a,c,true);window.__theFormPostData=C1.Web.UI.Utils.CallbackHelper.$2(window.__theFormPostData,b,c,true)}};C1.Web.UI.Utils.CallbackHelper.$0=function(a){return a+"__jsonserverstate"};C1.Web.UI.Utils.CallbackHelper.$1=function(a){return a+"__jsonserverstate_ffcache"};C1.Web.UI.Utils.CallbackHelper.$2=function(g,e,d,c){var b=e+"=";var a=0;if(g.substr(0,b.length)!==b){b="&"+b;a=g.indexOf(b)}if(a>=0){if(c){d=window.WebForm_EncodeCallback(d)}a+=b.length;var h=g.indexOf("&",a);var f=g.substr(a,h-a);g=g.replace(b+f,b+d)}return g};C1.Web.UI.Utils._RuntimeDebugStub=function(){};C1.Web.UI.Utils._RuntimeDebugStub.$0=function(c,b,a){};C1.Web.UI.Utils._RuntimeDebugStub.$1=function(){};C1.Web.UI.Utils._RuntimeDebugStub.$2=function(a){};C1.Web.UI.Utils._RuntimeDebugStub.$3=function(a){};C1.Web.UI.Utils._RuntimeDebugStub.$4=function(b,a){};C1.Web.UI.Utils.Common=function(){};C1.Web.UI.Utils.Common.elementContains=function(b,a){if(C1.Web.UI.Utils.Common.testIsNull(a)||C1.Web.UI.Utils.Common.testIsNull(b)){return false}if(Sys.Browser.agent===Sys.Browser.InternetExplorer){return b.contains(a)}if(a===b){return true}return(jQuery(a).parents().index(b)>=0)};C1.Web.UI.Utils.Common.getElementByCssClass=function(c,d){var b=jQuery(c);if(b.hasClass(d)){return c}var a=b.children("."+d);return(!a.length)?null:a.get(0)};C1.Web.UI.Utils.Common.getElementsByCssClass=function(c,d){var b=jQuery(c);var a=b.children("."+d);return(b.hasClass(d))?b.add(a.get()).get():a.get()};C1.Web.UI.Utils.Common.getElementByCssClassRecur=function(c,d){var b=jQuery(c);if(b.hasClass(d)){return c}var a=b.find("."+d);return(!a.length)?null:a.get(0)};C1.Web.UI.Utils.Common.getElementByTagName=function(c,b){var a=jQuery(c).children(b);return(!a.length)?null:a.get(0)};C1.Web.UI.Utils.Common.getCurrentStyle=function(c,d,b){var a=jQuery.curCSS(c,d,true);return(C1.Web.UI.Utils.Common.testIsNull(a))?((C1.Web.UI.Utils.Common.testIsNull(b))?null:b):a};C1.Web.UI.Utils.Common.getOpacity=function(a){if(!a){throw Error.argumentNull()}return jQuery.curCSS(a,"opacity",true)};C1.Web.UI.Utils.Common.setOpacity=function(b,a){if(!b){throw Error.argumentNull()}jQuery(b).css("opacity",Math.min(1,Math.max(0,a)))};C1.Web.UI.Utils.Common.parseSize=function(d,c){if(d){if(d==="inherit"||d==="auto"){return 0}var b=0;var a=C1.Web.UI.Utils.Common.$15(d);b=a.size;if(a.type==="em"){var e=C1.Web.UI.Utils.Common.$12(c);if(!e){e=16}b=b*e}return Math.round(b)}return 0};C1.Web.UI.Utils.Common.isVisible=function(a){return C1.Web.UI.Utils.Common.isVisible_JQ(jQuery(a))};C1.Web.UI.Utils.Common.isVisible_JQ=function(c){var b=c.is(":visible");if(!b){return false}var a=c.parent();if(a){return a.width()>0||a.height()>0}return false};C1.Web.UI.Utils.Common.isBorderVisible=function(a,b){if(!a){throw Error.argumentNull("element")}if(b<0||b>3){throw Error.argumentOutOfRange("boxSide")}return C1.Web.UI.Utils.Common.getCurrentStyle(a,C1.Web.UI.Utils.Common.$9[b],null)!=="none"};C1.Web.UI.Utils.Common.getBorderWidth=function(a,b){if(!a){throw Error.argumentNull("element")}if(b<0||b>3){throw Error.argumentOutOfRange("boxSide")}if(!C1.Web.UI.Utils.Common.isBorderVisible(a,b)){return 0}return C1.Web.UI.Utils.Common.$16(C1.Web.UI.Utils.Common.getCurrentStyle(a,C1.Web.UI.Utils.Common.$A[b],null))};C1.Web.UI.Utils.Common.getPadding=function(a,b){if(!a){throw Error.argumentNull("element")}if(b<0||b>3){throw Error.argumentOutOfRange("boxSide")}return C1.Web.UI.Utils.Common.$13(C1.Web.UI.Utils.Common.getCurrentStyle(a,C1.Web.UI.Utils.Common.$B[b],null),a)};C1.Web.UI.Utils.Common.getMargin=function(a,b){if(!a){throw Error.argumentNull("element")}if(b<0||b>3){throw Error.argumentOutOfRange("boxSide")}return C1.Web.UI.Utils.Common.$14(C1.Web.UI.Utils.Common.getCurrentStyle(a,C1.Web.UI.Utils.Common.$C[b],null),a)};C1.Web.UI.Utils.Common.getBorderBox=function(b){if(!b){throw Error.argumentNull("element")}var a={top:C1.Web.UI.Utils.Common.getBorderWidth(b,0),right:C1.Web.UI.Utils.Common.getBorderWidth(b,1),bottom:C1.Web.UI.Utils.Common.getBorderWidth(b,2),left:C1.Web.UI.Utils.Common.getBorderWidth(b,3)};a.horizontal=a.left+a.right;a.vertical=a.top+a.bottom;return a};C1.Web.UI.Utils.Common.getPaddingBox=function(b){if(!b){throw Error.argumentNull("element")}var a={top:C1.Web.UI.Utils.Common.getPadding(b,0),right:C1.Web.UI.Utils.Common.getPadding(b,1),bottom:C1.Web.UI.Utils.Common.getPadding(b,2),left:C1.Web.UI.Utils.Common.getPadding(b,3)};a.horizontal=a.left+a.right;a.vertical=a.top+a.bottom;return a};C1.Web.UI.Utils.Common.getMarginBox=function(b){if(!b){throw Error.argumentNull("element")}var a={top:C1.Web.UI.Utils.Common.getMargin(b,0),right:C1.Web.UI.Utils.Common.getMargin(b,1),bottom:C1.Web.UI.Utils.Common.getMargin(b,2),left:C1.Web.UI.Utils.Common.getMargin(b,3)};a.horizontal=a.left+a.right;a.vertical=a.top+a.bottom;return a};C1.Web.UI.Utils.Common.setBounds=function(a,b){if(!a){throw Error.argumentNull("element")}if(!b){throw Error.argumentNull("bounds")}C1.Web.UI.Utils.Common.setSize(a,new C1.Web.UI.Utils.Size(b.width,b.height));Sys.UI.DomElement.setLocation(a,b.x,b.y)};C1.Web.UI.Utils.Common.getContentBounds=function(c,d){var b=C1.Web.UI.Utils.Measurement.getBounds(c);var a=C1.Web.UI.Utils.Common.getBorderBox(c);b.x+=a.left;b.y+=a.top;b.width-=a.horizontal;b.height-=a.vertical;a=C1.Web.UI.Utils.Common.getPaddingBox(c);b.x+=a.left;b.y+=a.top;b.width-=a.horizontal;b.height-=a.vertical;return b};C1.Web.UI.Utils.Common.isBrowserStandardMode=function(){if(Sys.Browser.agent===Sys.Browser.Safari){return true}if(Sys.Browser.agent===Sys.Browser.Opera&&Sys.Browser.version>8){return true}if(document.compatMode==="CSS1Compat"){return true}return false};C1.Web.UI.Utils.Common.getOuterWidth=function(a){return jQuery(a).outerWidth(true)};C1.Web.UI.Utils.Common.getOuterHeight=function(a){return jQuery(a).outerHeight(true)};C1.Web.UI.Utils.Common.setOuterWidth=function(a,b){b-=C1.Web.UI.Utils.Common.getMargin(a,3);b-=C1.Web.UI.Utils.Common.getMargin(a,1);if(C1.Web.UI.Utils.Common.isBrowserStandardMode()){b-=C1.Web.UI.Utils.Common.getPadding(a,3);b-=C1.Web.UI.Utils.Common.getPadding(a,1);b-=C1.Web.UI.Utils.Common.getBorderWidth(a,3);b-=C1.Web.UI.Utils.Common.getBorderWidth(a,1)}if(b<0){a.style.width="auto"}else{a.style.width=b+"px"}};C1.Web.UI.Utils.Common.setOuterHeight=function(c,a){var b=a;a-=C1.Web.UI.Utils.Common.getMargin(c,0);a-=C1.Web.UI.Utils.Common.getMargin(c,2);if(C1.Web.UI.Utils.Common.isBrowserStandardMode()){a-=C1.Web.UI.Utils.Common.getPadding(c,0);a-=C1.Web.UI.Utils.Common.getPadding(c,2);a-=C1.Web.UI.Utils.Common.getBorderWidth(c,0);a-=C1.Web.UI.Utils.Common.getBorderWidth(c,2)}if(a<0){c.style.height="auto"}else{c.style.height=a+"px"}};C1.Web.UI.Utils.Common.getContentWidth=function(b){var a=b.offsetWidth;a-=C1.Web.UI.Utils.Common.getPadding(b,3);a-=C1.Web.UI.Utils.Common.getPadding(b,1);a-=C1.Web.UI.Utils.Common.getBorderWidth(b,3);a-=C1.Web.UI.Utils.Common.getBorderWidth(b,1);return a};C1.Web.UI.Utils.Common.getContentHeight=function(b){var a=b.offsetHeight;a-=C1.Web.UI.Utils.Common.getPadding(b,0);a-=C1.Web.UI.Utils.Common.getPadding(b,2);a-=C1.Web.UI.Utils.Common.getBorderWidth(b,0);a-=C1.Web.UI.Utils.Common.getBorderWidth(b,2);return a};C1.Web.UI.Utils.Common.getInheritedBackgroundColor=function(c){if(!c){return"#FFFFFF"}var b=C1.Web.UI.Utils.Common.getCurrentStyle(c,"backgroundColor",null);try{while(!b||b===""||b==="transparent"||b==="rgba(0, 0, 0, 0)"){c=c.parentNode;if(!c){b="#FFFFFF"}else{b=C1.Web.UI.Utils.Common.getCurrentStyle(c,"backgroundColor",null)}}}catch(a){b="#FFFFFF"}return b};C1.Web.UI.Utils.Common.getMaxZIndex=function(c){if(!c){return 0}var b=0;var a=c;while(a){if(a.style&&((a.style.zIndex)||!a.style.zIndex)){if(a.style.zIndex>b){b=a.style.zIndex*1}}a=a.parentNode}return b};C1.Web.UI.Utils.Common.testIsNull=function(a){return(typeof(a)==="undefined")||(typeof(a)==="object"&&!a)};C1.Web.UI.Utils.Common.stringIsNullOrEmpty=function(a){return(typeof(a)==="undefined")||(typeof(a)==="object"&&!a)||a===""};C1.Web.UI.Utils.Common.clearPendingTimeout=function(a){if(a){window.clearTimeout(a)}return null};C1.Web.UI.Utils.Common.setVisible=function(b,c){if(b&&c!==C1.Web.UI.Utils.Common.isVisible(b)){var a=jQuery(b);if(c){a.show()}else{a.hide()}a.css("visibility",(c)?"visible":"hidden")}C1.Web.UI.Utils.Common.notifyVisibleState(b)};C1.Web.UI.Utils.Common.notifyVisibleState=function(c){if(!C1.Web.UI.Utils.Common.$6){return}for(var b=0;b<C1.Web.UI.Utils.Common.$7.length;b++){try{var a=C1.Web.UI.Utils.Common.$6[b];var h=C1.Web.UI.Utils.Common.isVisible(a);for(var g=0;g<C1.Web.UI.Utils.Common.$0.length;g++){var f=C1.Web.UI.Utils.Common.$0[g];f(a,h)}if(h!==C1.Web.UI.Utils.Common.$8[b]){C1.Web.UI.Utils.Common.$8[b]=h;var e=C1.Web.UI.Utils.Common.$7[b];e(a,h)}}catch(d){}}};C1.Web.UI.Utils.Common.listenVisibleState=function(c,d){if(!c){C1.Web.UI.Utils.Common.$0[C1.Web.UI.Utils.Common.$0.length]=d;return}var b=c.id;if(!b||b===""){throw Error.create("ListenVisibleState failed, element id is empty")}if(!C1.Web.UI.Utils.Common.$6){C1.Web.UI.Utils.Common.$6=new Array(0);C1.Web.UI.Utils.Common.$8=new Array(0);C1.Web.UI.Utils.Common.$7=new Array(0)}var a=C1.Web.UI.Utils.Common.$6.length;C1.Web.UI.Utils.Common.$6[a]=c;C1.Web.UI.Utils.Common.$8[a]=C1.Web.UI.Utils.Common.isVisible(c);C1.Web.UI.Utils.Common.$7[a]=d};C1.Web.UI.Utils.Common.unListenVisibleState=function(c,d){if(!c){Array.remove(C1.Web.UI.Utils.Common.$0,d);return}if(!C1.Web.UI.Utils.Common.$6){return}var b=C1.Web.UI.Utils.Common.$6.length;for(var a=0;a<b;a++){if(C1.Web.UI.Utils.Common.$6[a]===c){Array.removeAt(C1.Web.UI.Utils.Common.$6,a);Array.removeAt(C1.Web.UI.Utils.Common.$8,a);Array.removeAt(C1.Web.UI.Utils.Common.$7,a)}}};C1.Web.UI.Utils.Common.showModalLayer=function(d,c){C1.Web.UI.Utils.Common.$4=c;if(!C1.Web.UI.Utils.Common.$3){if(!C1.Web.UI.Utils.Common.$2){if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version<7){var e=jQuery("<IFRAME/>");e.attr("id","c1modallayeriframe");e.css("display","none");e.css("position","absolute");C1.Web.UI.Utils.Common.$1=e.get(0);C1.Web.UI.Utils.Common.setOpacity(C1.Web.UI.Utils.Common.$1,0.01);e.appendTo(document.body)}var a=jQuery("<DIV/>");a.attr("id","c1modallayer");a.css("display","none");a.css("position","absolute");a.css("background-color","gray");C1.Web.UI.Utils.Common.$2=a.get(0);C1.Web.UI.Utils.Common.setOpacity(C1.Web.UI.Utils.Common.$2,0.01);a.appendTo(document.body)}if(C1.Web.UI.Utils.Common.$4){C1.Web.UI.Utils.Common.$5=window.document.documentElement.style.overflow;window.document.documentElement.style.overflow="hidden"}var b=0;if(d){b=C1.Web.UI.Utils.Common.getMaxZIndex(d)}if(b<100){b=102}if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version<7){C1.Web.UI.Utils.Common.$1.style.zIndex=(b-2);C1.Web.UI.Utils.Common.$1.style.display=""}C1.Web.UI.Utils.Common.$2.style.zIndex=(b-1);C1.Web.UI.Utils.Common.$2.style.display="";C1.Web.UI.Utils.Common.$3=true;C1.Web.UI.Utils.Common.$D()}};C1.Web.UI.Utils.Common.showModalLayerWithOpacity=function(c,a,b){C1.Web.UI.Utils.Common.showModalLayer(c,a);if(b>=0&&b<=1){if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version<7){C1.Web.UI.Utils.Common.setOpacity(C1.Web.UI.Utils.Common.$1,b)}C1.Web.UI.Utils.Common.setOpacity(C1.Web.UI.Utils.Common.$2,b)}};C1.Web.UI.Utils.Common.hideModalLayer=function(){try{if(C1.Web.UI.Utils.Common.$2){if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version<7){C1.Web.UI.Utils.Common.$1.style.display="none"}C1.Web.UI.Utils.Common.$2.style.display="none"}C1.Web.UI.Utils.Common.$3=false;if(C1.Web.UI.Utils.Common.$4){window.document.documentElement.style.overflow=C1.Web.UI.Utils.Common.$5}}catch(a){C1.Web.UI.Utils.Common.$3=false}};C1.Web.UI.Utils.Common.$D=function(){var a=C1.Web.UI.Utils.Common.$F();a.width=a.width+a.x-20;a.height=a.height+a.y;a.x=0;a.y=0;if(a.width<0){a.width=0}if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version<7){C1.Web.UI.Utils.Common.$E(C1.Web.UI.Utils.Common.$1,a)}C1.Web.UI.Utils.Common.$E(C1.Web.UI.Utils.Common.$2,a)};C1.Web.UI.Utils.Common.$E=function(c,b){var a=jQuery(c);a.css("left",b.x);a.css("top",b.y);a.width(b.width);a.height(b.height)};C1.Web.UI.Utils.Common.$F=function(){var b=C1.Web.UI.Utils.Measurement.getWindowClientAreaSize();var a=document.body.scrollLeft+document.documentElement.scrollLeft;var c=document.body.scrollTop+document.documentElement.scrollTop;return new Sys.UI.Bounds((a<0)?0:a,(c<0)?0:c,b.width,b.height)};C1.Web.UI.Utils.Common.setSize=function(d,c){if(!d){throw Error.argumentNull("element")}if(!c){throw Error.argumentNull("size")}var b=C1.Web.UI.Utils.Common.getBorderBox(d);var a=C1.Web.UI.Utils.Common.getPaddingBox(d);var e=new C1.Web.UI.Utils.Size(c.width-b.horizontal-a.horizontal,c.height-b.vertical-a.vertical);C1.Web.UI.Utils.Common.setContentSize(d,e)};C1.Web.UI.Utils.Common.setContentSize=function(d,c){if(!d){throw Error.argumentNull("element")}if(!c){throw Error.argumentNull("size")}if(!jQuery.boxModel){var a=C1.Web.UI.Utils.Common.getBorderBox(d);var e=C1.Web.UI.Utils.Common.getPaddingBox(d);c=new C1.Web.UI.Utils.Size(c.width+a.horizontal+e.horizontal,c.height+a.vertical+e.vertical)}var b=jQuery(d);b.width((c.width<0)?0:c.width);b.height((c.height<0)?0:c.height)};C1.Web.UI.Utils.Common.setHeight=function(d,b){if(!d){throw Error.argumentNull("element")}if(C1.Web.UI.Utils.Common.testIsNull(b)){throw Error.argumentNull("height")}var c=C1.Web.UI.Utils.Common.getBorderBox(d);var a=C1.Web.UI.Utils.Common.getPaddingBox(d);var e=C1.Web.UI.Utils.Common.getMarginBox(d);b=b-c.vertical-a.vertical-e.vertical;if(!jQuery.boxModel){b=b+c.vertical+a.vertical}jQuery(d).height((b<0)?0:b)};C1.Web.UI.Utils.Common.setWidth=function(c,d){if(!c){throw Error.argumentNull("element")}if(C1.Web.UI.Utils.Common.testIsNull(d)){throw Error.argumentNull("width")}var b=C1.Web.UI.Utils.Common.getBorderBox(c);var a=C1.Web.UI.Utils.Common.getPaddingBox(c);var e=C1.Web.UI.Utils.Common.getMarginBox(c);d=d-b.horizontal-a.horizontal-e.horizontal;if(!jQuery.boxModel){d=d+b.horizontal+a.horizontal}jQuery(c).width((d<0)?0:d)};C1.Web.UI.Utils.Common.parseHTML=function(k,c,l){var j="|$#";var i="~!@";var h="~:~";var g=k.split(j);if(g.length===3){var f=g[0];var e=g[1];var d=f.split(i);var b=e.split(i);for(var a=0;a<d.length;a++){if(d[a]){C1.Web.UI.Utils.Common.$10(d[a],h)}}c.innerHTML=g[2];C1.Web.UI.Utils.Common.$11(b,l)}};C1.Web.UI.Utils.Common.$10=function(i,h){var g=i.split(h);var f=g[0];var e=g[1];if(f.toLowerCase()==="href"){var d=jQuery("<link type='text/css' rel='stylesheet' href='"+e+"'/>");var c=jQuery("head");d.appendTo(c.get(0))}else{if(f.toLowerCase()==="text"){if(Sys.Browser.agent===Sys.Browser.InternetExplorer){window.css=e;document.createStyleSheet("javascript:css")}else{var b=jQuery("<style type='text/css'>"+e+"</style>");var a=jQuery("head");b.appendTo(a.get(0))}}}};C1.Web.UI.Utils.Common.$11=function(j,i){var h="~:~";var g=window.Sys._ScriptLoader.getInstance();var f=window.i;window.Sys._ScriptLoader.readLoadedScripts();window.i=f;for(var e=0;e<j.length;e++){if(j[e]){var d=j[e].split(h);var c=d[0];var b=d[1];if(c.toLowerCase()==="src"){var a=window.Sys._ScriptLoader.isScriptLoaded(b);if(a){continue}g.queueScriptReference(b)}else{if(c.toLowerCase()==="text"){g.queueScriptBlock(b)}}}}g.loadScripts(90,i,null,null)};C1.Web.UI.Utils.Common.executePostbackReference=function(c){var b=c.indexOf("(");var a=c.indexOf(")");var f=c.substring(0,b);var e=c.substring(b+1,a);var d=e.split(",");if(d.length>1){window[f](d[0].trim(),d[1].trim())}else{if(d.length>0){window[f](d[0].trim())}else{window[f]()}}};C1.Web.UI.Utils.Common.$12=function(a){return window.C1__GetPixelFontSize(a)};C1.Web.UI.Utils.Common.$13=function(b,a){return C1.Web.UI.Utils.Common.parseSize(b,a)};C1.Web.UI.Utils.Common.$14=function(b,a){return C1.Web.UI.Utils.Common.parseSize(b,a)};C1.Web.UI.Utils.Common.$15=function(f){if(!f){throw Error.argumentNull("value")}f=f.trim().toLowerCase();var b=f.length;var a=-1;for(var d=0;d<b;d++){var c=f.substr(d,1);if((c<"0"||c>"9")&&c!=="-"&&c!=="."&&c!==","){break}a=d}if(a===-1){throw Error.argument("unit has no digits")}var g;if(a<(b-1)){g=f.substr(a+1).trim()}else{g="px"}var e=parseFloat(f.substr(0,a+1));if(g==="px"){e=Math.floor(e)}return{size:e,type:g}};C1.Web.UI.Utils.Common.$16=function(d){if(!C1.Web.UI.Utils.Common.borderThicknesses){C1.Web.UI.Utils.Common.borderThicknesses={};var b=document.createElement("div");b.style.visibility="hidden";b.style.position="absolute";b.style.fontSize="1px";document.body.appendChild(b);var a=document.createElement("div");a.style.height="0px";a.style.overflow="hidden";b.appendChild(a);var e=b.offsetHeight;a.style.borderTop="solid black";a.style.borderTopWidth="thin";C1.Web.UI.Utils.Common.borderThicknesses.thin=b.offsetHeight-e;a.style.borderTopWidth="medium";C1.Web.UI.Utils.Common.borderThicknesses.medium=b.offsetHeight-e;a.style.borderTopWidth="thick";C1.Web.UI.Utils.Common.borderThicknesses.thick=b.offsetHeight-e;b.removeChild(a);document.body.removeChild(b)}if(d){switch(d){case"thin":case"medium":case"thick":return C1.Web.UI.Utils.Common.borderThicknesses[d];case"inherit":return 0}var c=C1.Web.UI.Utils.Common.$15(d);return c.size}return 0};C1.Web.UI.Utils.Measurement=function(){};C1.Web.UI.Utils.Measurement.getLocation=function(b){if(b===document.documentElement||b===document.body){return new Sys.UI.Point(0,0)}var a=jQuery(b).offset();return new Sys.UI.Point(Math.round(a.left),Math.round(a.top))};C1.Web.UI.Utils.Measurement.getBounds=function(c){var b=jQuery(c);var a=b.offset();return new Sys.UI.Bounds(Math.round(a.left),Math.round(a.top),b.outerWidth(true),b.outerHeight(true))};C1.Web.UI.Utils.Measurement.getStyleLocation=function(b){var a=new Sys.UI.Point(C1.Web.UI.Utils.Measurement.$1(b),C1.Web.UI.Utils.Measurement.$2(b));a.x-=(C1.Web.UI.Utils.Common.getMargin(b,3));a.y-=(C1.Web.UI.Utils.Common.getMargin(b,0));if(Sys.Browser.agent===Sys.Browser.InternetExplorer&&b.offsetParent){if(b.offsetParent.tagName!=="HTML"&&b.offsetParent.tagName!=="BODY"){a.x+=C1.Web.UI.Utils.Common.getBorderWidth(b.offsetParent,3);a.y+=C1.Web.UI.Utils.Common.getBorderWidth(b.offsetParent,0)}}return a};C1.Web.UI.Utils.Measurement.getStyleBounds=function(c){var b=C1.Web.UI.Utils.Measurement.getStyleLocation(c);var a=new Sys.UI.Bounds(b.x,b.y,(c.offsetWidth||0),(c.offsetHeight||0));var g=C1.Web.UI.Utils.Common.getBorderBox(c);var f=C1.Web.UI.Utils.Common.getPaddingBox(c);var e=g.horizontal+f.horizontal;var d=g.vertical+f.vertical;a.width-=e;a.height-=d;if(a.width<0){a.width=0}if(a.height<0){a.height=0}C1.Web.UI.Utils.Measurement.$0(c,a);return a};C1.Web.UI.Utils.Measurement.getMousePointerPosition=function(c){if(!c){c=window.event}var b=new Sys.UI.Point(0,0);var a=c;if(a.pageX||a.pageY){b.x=a.pageX;b.y=a.pageY}else{var f=document.documentElement;var d=document.body;b.x=a.clientX+(((f.scrollLeft))?f.scrollLeft:d.scrollLeft)-(((f.clientLeft))?f.clientLeft:0);b.y=a.clientY+(((f.scrollTop))?f.scrollTop:d.scrollTop)-(((f.clientTop))?f.clientTop:0)}return b};C1.Web.UI.Utils.Measurement.getWindowClientAreaBounds=function(){var b=C1.Web.UI.Utils.Measurement.getWindowClientAreaSize();var a=C1.Web.UI.Utils.Measurement.getWindowClientAreaScrollOffsets();var c=new Sys.UI.Bounds(a.x,a.y,b.width,b.height);return c};C1.Web.UI.Utils.Measurement.getWindowClientAreaSize=function(){var b=0,a=0;if((window)["innerWidth"]){b=(window)["innerWidth"];a=(window)["innerHeight"]}else{if(document.documentElement&&((document.documentElement.clientWidth)||(document.documentElement.clientHeight))){b=document.documentElement.clientWidth;a=document.documentElement.clientHeight}else{if(document.body&&((document.body.clientWidth)||(document.body.clientHeight))){b=document.body.clientWidth;a=document.body.clientHeight}}}return new C1.Web.UI.Utils.Size(b,a)};C1.Web.UI.Utils.Measurement.getWindowClientAreaScrollOffsets=function(){var b=document.body;var a=new Sys.UI.Point(b.scrollLeft+document.documentElement.scrollLeft,b.scrollTop+document.documentElement.scrollTop);return a};C1.Web.UI.Utils.Measurement.isPointOverDOMElement=function(a,c){var b=Sys.UI.DomElement.getBounds(c);return C1.Web.UI.Utils.Measurement.isPointInsideRect(a,b)};C1.Web.UI.Utils.Measurement.isPointInsideRect=function(a,b){if(a.x<b.x||a.x>(b.x+b.width)){return false}if(a.y<b.y||a.y>(b.y+b.height)){return false}return true};C1.Web.UI.Utils.Measurement.setAbsoluteLocation=function(b,a){Sys.UI.DomElement.setLocation(b,a.x,a.y)};C1.Web.UI.Utils.Measurement.$0=function(e,c){var b=C1.Web.UI.Utils.Common.getCurrentStyle(e,"width",null);if(b){b=b.replace("px","");if(b!==""&&b!=="auto"&&b.indexOf("%")===-1){var f=b*1;if(!isNaN(f)){c.width=f}}}var a=C1.Web.UI.Utils.Common.getCurrentStyle(e,"height",null);if(a){a=a.replace("px","");if(a!==""&&a!=="auto"&&a.indexOf("%")===-1){var d=a*1;if(!isNaN(d)){c.height=d}}}};C1.Web.UI.Utils.Measurement.$1=function(c){var b=c.offsetLeft;var a=jQuery(c);var d=a.css("position");if(c.offsetParent){if(d==="absolute"||d==="relative"){if(Sys.Browser.agent===Sys.Browser.InternetExplorer){if(d==="relative"){b-=C1.Web.UI.Utils.Common.getBorderWidth(c.offsetParent,3)}}return b}b+=C1.Web.UI.Utils.Measurement.$1(c.offsetParent)}return b};C1.Web.UI.Utils.Measurement.$2=function(c){var b=c.offsetTop;var a=jQuery(c);var d=a.css("position");if(c.offsetParent){if(c.offsetParent.style&&(d==="absolute"||d==="relative")){if(Sys.Browser.agent===Sys.Browser.InternetExplorer){}return b}b+=C1.Web.UI.Utils.Measurement.$2(c.offsetParent)}return b};C1.Web.UI.Utils.Size=function(b,a){this.width=b;this.height=a};C1.Web.UI.Utils.Size.get_empty=function(){return new C1.Web.UI.Utils.Size(0,0)};C1.Web.UI.Utils.Size.prototype={width:0,height:0};C1.Web.UI.Utils.Rectangle=function(b,d,c,a){this._x=b;this._y=d;this.$0=c;this.$1=a};C1.Web.UI.Utils.Rectangle.union=function(f,d){var e=Math.min(f.get_x(),d.get_x());var c=Math.min(f.get_y(),d.get_y());var h=Math.max(f.get_x()+f.get_width(),d.get_x()+d.get_width());var g=Math.max(f.get_y()+f.get_height(),d.get_y()+d.get_height());return new C1.Web.UI.Utils.Rectangle(e,c,h-e,g-c)};C1.Web.UI.Utils.Rectangle.get_empty=function(){return new C1.Web.UI.Utils.Rectangle(0,0,0,0)};C1.Web.UI.Utils.Rectangle.prototype={get_x:function(){return this._x},set_x:function(a){this._x=a;return a},get_y:function(){return this._y},set_y:function(a){this._y=a;return a},get_width:function(){return this.$0},set_width:function(a){this.$0=a;return a},get_height:function(){return this.$1},set_height:function(a){this.$1=a;return a},get_bottom:function(){return this._y+this.$1},get_right:function(){return this._x+this.$0},get_size:function(){return new C1.Web.UI.Utils.Size(this.$0,this.$1)},set_size:function(a){this.$0=a.width;this.$1=a.height;return a},get_location:function(){return new Sys.UI.Point(this._x,this._y)},set_location:function(a){this._x=a.x;this._y=a.y;return a},offset:function(a,b){this.set_x(this.get_x()+a);this.set_y(this.get_y()+b)},_x:0,_y:0,$0:0,$1:0};C1.Web.UI.Utils.RawEvent=function(){};C1.Web.UI.Utils.RawEvent.addHandler=function(b,a,c){C1.Web.UI.Utils.RawEvent.$0(b,a,c)};C1.Web.UI.Utils.RawEvent.removeHandler=function(b,a,c){C1.Web.UI.Utils.RawEvent.$1(b,a,c)};C1.Web.UI.Utils.RawEvent.cancelBrowserResponse=function(a){if(C1.Web.UI.Utils.Common.testIsNull(a)){a=window.event}if(C1.Web.UI.Utils.Common.testIsNull(a)){return false}if(!C1.Web.UI.Utils.Common.testIsNull((a)["stopPropagation"])){a.stopPropagation()}if(!C1.Web.UI.Utils.Common.testIsNull((a)["preventDefault"])){a.preventDefault()}a.cancelBubble=true;a.returnValue=false;return false};C1.Web.UI.Utils.RawEvent.getTarget=function(a){return(((a)["target"])?(a)["target"]:a.srcElement)};C1.Web.UI.Utils.RawEvent.findTargetByTagName=function(c,b){var a=C1.Web.UI.Utils.RawEvent.getTarget(c);b=b.toUpperCase();while(a&&a.tagName){if(a.tagName.toUpperCase()===b){return a}a=a.parentNode}return null};C1.Web.UI.Utils.RawEvent.$0=function(c,b,a){if((c)["attachEvent"]){c.attachEvent("on"+b,a)}else{if((c)["addEventListener"]){c.addEventListener(b,a,false)}else{(c)["on"+b]=a}}};C1.Web.UI.Utils.RawEvent.$1=function(c,b,a){if((c)["detachEvent"]){c.detachEvent("on"+b,a)}else{if((c)["removeEventListener"]){c.removeEventListener(b,a,false)}else{(c)["on"+b]=null}}};C1.Web.UI.Utils.AccessKeyHelper=function(){};C1.Web.UI.Utils.AccessKeyHelper.registerAccessKey=function(d,c,b){d=""+d+"";d=d.toUpperCase();c.accessKey="";if(!C1.Web.UI.Utils.AccessKeyHelper.$0){C1.Web.UI.Utils.AccessKeyHelper.$1={};C1.Web.UI.Utils.AccessKeyHelper.$2={};C1.Web.UI.Utils.AccessKeyHelper.$3={};C1.Web.UI.Utils.AccessKeyHelper.$0=Function.createDelegate(null,C1.Web.UI.Utils.AccessKeyHelper.$4);jQuery().keydown(C1.Web.UI.Utils.AccessKeyHelper.$0)}if(C1.Web.UI.Utils.Common.testIsNull(C1.Web.UI.Utils.AccessKeyHelper.$1[d])){C1.Web.UI.Utils.AccessKeyHelper.$1[d]=[]}var a=C1.Web.UI.UIElement.$5();(C1.Web.UI.Utils.AccessKeyHelper.$1[d])[(C1.Web.UI.Utils.AccessKeyHelper.$1[d]).length]=a;C1.Web.UI.Utils.AccessKeyHelper.$2[a]=c;C1.Web.UI.Utils.AccessKeyHelper.$3[a]=b};C1.Web.UI.Utils.AccessKeyHelper.unRegisterAccessKey=function(d,c){d=""+d+"";d=d.toUpperCase();var b=(C1.Web.UI.Utils.AccessKeyHelper.$1[d]);if(!C1.Web.UI.Utils.Common.testIsNull(b)){for(var a=0;a<b.length;a++){var e=b[a];if(!C1.Web.UI.Utils.Common.testIsNull(C1.Web.UI.Utils.AccessKeyHelper.$2[e])){if((C1.Web.UI.Utils.AccessKeyHelper.$2[e]).id===c.id){C1.Web.UI.Utils.AccessKeyHelper.$2[e]=null;C1.Web.UI.Utils.AccessKeyHelper.$3[e]=null;b.splice(a,1);if(!b.length){C1.Web.UI.Utils.AccessKeyHelper.$1[d]=null}}}}}};C1.Web.UI.Utils.AccessKeyHelper.$4=function(i){var h=true;if(i.altKey){var g=i.keyCode;if(g!==18){var f=String.fromCharCode(i.keyCode);var e=(C1.Web.UI.Utils.AccessKeyHelper.$1[f]);if(!C1.Web.UI.Utils.Common.testIsNull(e)){for(var d=0;d<e.length;d++){var c=e[d];if(!C1.Web.UI.Utils.Common.testIsNull(C1.Web.UI.Utils.AccessKeyHelper.$3[c])){var b=(C1.Web.UI.Utils.AccessKeyHelper.$3[c]);h=b(i.originalEvent)}else{if(!C1.Web.UI.Utils.Common.testIsNull(C1.Web.UI.Utils.AccessKeyHelper.$2[c])){try{(C1.Web.UI.Utils.AccessKeyHelper.$2[c]).focus()}catch(a){}}}}}}}return h};C1.Web.UI.Utils.JSON=function(){};C1.Web.UI.Utils.JSON.toJSONString=function(a){return window.__JSONC1.stringify(a)};C1.Web.UI.Utils.JSON.fromJSONString=function(a){return window.__JSONC1.parse(a)};C1.Web.UI.Utils.RGBColor=function(){this._r=0;this._g=0;this._b=0;this.$0={};this.$0.aliceblue="f0f8ff";this.$0.antiquewhite="faebd7";this.$0.aqua="00ffff";this.$0.aquamarine="7fffd4";this.$0.azure="f0ffff";this.$0.beige="f5f5dc";this.$0.bisque="ffe4c4";this.$0.black="000000";this.$0.blanchedalmond="ffebcd";this.$0.blue="0000ff";this.$0.blueviolet="8a2be2";this.$0.brown="a52a2a";this.$0.burlywood="deb887";this.$0.cadetblue="5f9ea0";this.$0.chartreuse="7fff00";this.$0.chocolate="d2691e";this.$0.coral="ff7f50";this.$0.cornflowerblue="6495ed";this.$0.cornsilk="fff8dc";this.$0.crimson="dc143c";this.$0.cyan="00ffff";this.$0.darkblue="00008b";this.$0.darkcyan="008b8b";this.$0.darkgoldenrod="b8860b";this.$0.darkgray="a9a9a9";this.$0.darkgreen="006400";this.$0.darkkhaki="bdb76b";this.$0.darkmagenta="8b008b";this.$0.darkolivegreen="556b2f";this.$0.darkorange="ff8c00";this.$0.darkorchid="9932cc";this.$0.darkred="8b0000";this.$0.darksalmon="e9967a";this.$0.darkseagreen="8fbc8f";this.$0.darkslateblue="483d8b";this.$0.darkslategray="2f4f4f";this.$0.darkturquoise="00ced1";this.$0.darkviolet="9400d3";this.$0.deeppink="ff1493";this.$0.deepskyblue="00bfff";this.$0.dimgray="696969";this.$0.dodgerblue="1e90ff";this.$0.feldspar="d19275";this.$0.firebrick="b22222";this.$0.floralwhite="fffaf0";this.$0.forestgreen="228b22";this.$0.fuchsia="ff00ff";this.$0.gainsboro="dcdcdc";this.$0.ghostwhite="f8f8ff";this.$0.gold="ffd700";this.$0.goldenrod="daa520";this.$0.gray="808080";this.$0.green="008000";this.$0.greenyellow="adff2f";this.$0.honeydew="f0fff0";this.$0.hotpink="ff69b4";this.$0["indianred "]="cd5c5c";this.$0["indigo "]="4b0082";this.$0.ivory="fffff0";this.$0.khaki="f0e68c";this.$0.lavender="e6e6fa";this.$0.lavenderblush="fff0f5";this.$0.lawngreen="7cfc00";this.$0.lemonchiffon="fffacd";this.$0.lightblue="add8e6";this.$0.lightcoral="f08080";this.$0.lightcyan="e0ffff";this.$0.lightgoldenrodyellow="fafad2";this.$0.lightgrey="d3d3d3";this.$0.lightgreen="90ee90";this.$0.lightpink="ffb6c1";this.$0.lightsalmon="ffa07a";this.$0.lightseagreen="20b2aa";this.$0.lightskyblue="87cefa";this.$0.lightslateblue="8470ff";this.$0.lightslategray="778899";this.$0.lightsteelblue="b0c4de";this.$0.lightyellow="ffffe0";this.$0.lime="00ff00";this.$0.limegreen="32cd32";this.$0.linen="faf0e6";this.$0.magenta="ff00ff";this.$0.maroon="800000";this.$0.mediumaquamarine="66cdaa";this.$0.mediumblue="0000cd";this.$0.mediumorchid="ba55d3";this.$0.mediumpurple="9370d8";this.$0.mediumseagreen="3cb371";this.$0.mediumslateblue="7b68ee";this.$0.mediumspringgreen="00fa9a";this.$0.mediumturquoise="48d1cc";this.$0.mediumvioletred="c71585";this.$0.midnightblue="191970";this.$0.mintcream="f5fffa";this.$0.mistyrose="ffe4e1";this.$0.moccasin="ffe4b5";this.$0.navajowhite="ffdead";this.$0.navy="000080";this.$0.oldlace="fdf5e6";this.$0.olive="808000";this.$0.olivedrab="6b8e23";this.$0.orange="ffa500";this.$0.orangered="ff4500";this.$0.orchid="da70d6";this.$0.palegoldenrod="eee8aa";this.$0.palegreen="98fb98";this.$0.paleturquoise="afeeee";this.$0.palevioletred="d87093";this.$0.papayawhip="ffefd5";this.$0.peachpuff="ffdab9";this.$0.peru="cd853f";this.$0.pink="ffc0cb";this.$0.plum="dda0dd";this.$0.powderblue="b0e0e6";this.$0.purple="800080";this.$0.red="ff0000";this.$0.rosybrown="bc8f8f";this.$0.royalblue="4169e1";this.$0.saddlebrown="8b4513";this.$0.salmon="fa8072";this.$0.sandybrown="f4a460";this.$0.seagreen="2e8b57";this.$0.seashell="fff5ee";this.$0.sienna="a0522d";this.$0.silver="c0c0c0";this.$0.skyblue="87ceeb";this.$0.slateblue="6a5acd";this.$0.slategray="708090";this.$0.snow="fffafa";this.$0.springgreen="00ff7f";this.$0.steelblue="4682b4";this.$0.tan="d2b48c";this.$0.teal="008080";this.$0.thistle="d8bfd8";this.$0.tomato="ff6347";this.$0.turquoise="40e0d0";this.$0.violet="ee82ee";this.$0.violetred="d02090";this.$0.wheat="f5deb3";this.$0.white="ffffff";this.$0.whitesmoke="f5f5f5";this.$0.yellow="ffff00";this.$0.yellowgreen="9acd32"};C1.Web.UI.Utils.RGBColor.prototype={_r:0,_g:0,_b:0,$0:null,get_red:function(){return this._r},set_red:function(a){this._r=((a<0)?0:((a>255)?255:a));return a},get_green:function(){return this._g},set_green:function(a){this._g=((a<0)?0:((a>255)?255:a));return a},get_blue:function(){return this._b},set_blue:function(a){this._b=((a<0)?0:((a>255)?255:a));return a},parse:function(e){e=e.replace("/ /g","");if(e.charAt(0)==="#"){e=e.substr(1,6)}e=e.toLowerCase();var d=this.$0;for(var c in d){var f={key:c,value:d[c]};if(f.key===e){e=this.$0[f.key]}}var b=new RegExp("^rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$");var a=b.exec(e);if(a){this._r=parseInt(a[1]);this._g=parseInt(a[2]);this._b=parseInt(a[3]);this.$1();return true}b=new RegExp("^(\\w{2})(\\w{2})(\\w{2})$");a=b.exec(e);if(a){this._r=parseInt(a[1],16);this._g=parseInt(a[2],16);this._b=parseInt(a[3],16);this.$1();return true}b=new RegExp("^(\\w{1})(\\w{1})(\\w{1})$");a=b.exec(e);if(a){this._r=parseInt(a[1]+a[1],16);this._g=parseInt(a[2]+a[2],16);this._b=parseInt(a[3]+a[3],16);this.$1();return true}return false},$1:function(){this._r=(this._r<0||isNaN(this._r))?0:((this._r>255)?255:this._r);this._g=(this._g<0||isNaN(this._g))?0:((this._g>255)?255:this._g);this._b=(this._b<0||isNaN(this._b))?0:((this._b>255)?255:this._b)},toRGBString:function(){return String.format("rgb{{0}, {1}, {2}}",this._r,this._g,this._b)},toHexString:function(){var b=this._r.toString(16);var a=this._g.toString(16);var d=this._b.toString(16);if(b.length===1){b="0"+b}if(a.length===1){a="0"+a}if(d.length===1){d="0"+d}var c="#"+b;c+=a+d;return c}};C1.Web.UI.Utils.StringUtils=function(){};C1.Web.UI.Utils.StringUtils.dateFormat=function(d,e,c){e=C1.Web.UI.Utils.StringUtils.$0(e,c);var b=Function.createDelegate(null,function(f){switch(f){case"yyyy":return d.getFullYear();case"MMMM":return(c.dateTimeFormat.MonthNames)[d.getMonth()];case"MMM":return(c.dateTimeFormat.AbbreviatedMonthNames)[d.getMonth()];case"MM":return C1.Web.UI.Utils.StringUtils.zz((d.getMonth()+1),2);case"M":return C1.Web.UI.Utils.StringUtils.zz((d.getMonth()+1),1);case"mm":return C1.Web.UI.Utils.StringUtils.zz(d.getMinutes(),2);case"m":return C1.Web.UI.Utils.StringUtils.zz(d.getMinutes(),1);case"dddd":return(c.dateTimeFormat.DayNames)[d.getDay()];case"ddd":return(c.dateTimeFormat.AbbreviatedDayNames)[d.getDay()];case"dd":return C1.Web.UI.Utils.StringUtils.zz(d.getDate(),2);case"d":return C1.Web.UI.Utils.StringUtils.zz(d.getDate(),1);case"hh":var g=d.getHours();return C1.Web.UI.Utils.StringUtils.zz(((g%12)?g:12),2);case"h":g=d.getHours();return C1.Web.UI.Utils.StringUtils.zz(((g%12)?g:12),1);case"HH":return C1.Web.UI.Utils.StringUtils.zz(d.getHours(),2);case"H":return C1.Web.UI.Utils.StringUtils.zz(d.getHours(),1);case"ss":return C1.Web.UI.Utils.StringUtils.zz(d.getSeconds(),2);case"s":return C1.Web.UI.Utils.StringUtils.zz(d.getSeconds(),1);case"tt":return(d.getHours()<12)?c.dateTimeFormat.AMDesignator:c.dateTimeFormat.PMDesignator;case"t":return(d.getHours()<12)?(((c.dateTimeFormat.AMDesignator).length>0)?(c.dateTimeFormat.AMDesignator).charAt(0):""):(((c.dateTimeFormat.PMDesignator).length>0)?(c.dateTimeFormat.PMDesignator).charAt(0):"");case"a/p":return(d.getHours()<12)?"a":"p"}return"?"});var a=e.replace(new RegExp("(yyyy|MMMM|MMM|MM|M|mm|m|dddd|ddd|dd|d|hh|h|HH|H|ss|s|tt|t|a\\/p)","g"),b);a=a.replace(new RegExp("('|\")","gi"),"");return a};C1.Web.UI.Utils.StringUtils.$0=function(i,h){switch(i){case"d":var g=h.dateTimeFormat.ShortDatePattern;if(g){i=g}else{i="yyyy/MM/dd"}break;case"t":var f=h.dateTimeFormat.ShortTimePattern;if(f){i=f}else{i="H:mm"}break;case"T":var e=h.dateTimeFormat.LongTimePattern;if(e){i=e}else{i="H:mm:ss"}break;case"f":case"F":var d=h.dateTimeFormat.FullDateTimePattern;if(d){i=d}else{i="d MMMM yyyy H:mm:ss"}break;case"s":var c=h.dateTimeFormat.SortableDateTimePattern;if(c){i=c}else{i="yyyy-MM-ddTHH:mm:ss"}break;case"u":var b=h.dateTimeFormat.UniversalSortableDateTimePattern;if(b){i=b}else{i="yyyy-MM-dd HH:mm:ssZ"}break;case"r":case"R":var a=h.dateTimeFormat.RFC1123Pattern;if(a){i=a}else{i="yyyy-MM-dd HH:mm:ssZ"}break}return i};C1.Web.UI.Utils.StringUtils.stringFormat=function(k,j,g){var i="";for(var h=0;true;){var f=k.indexOf("{",h);var e=k.indexOf("}",h);if(f<0&&e<0){i+=k.slice(h);break}if(e>0&&(e<f||f<0)){i+=k.slice(h,e+1);h=e+2;continue}i+=k.slice(h,f);h=f+1;if(k.charAt(h)==="{"){i+="{";h++;continue}if(e<0){break}var d=C1.Web.UI.Utils.StringUtils.stringSplit(k.slice(h,e),":",2);var c=Number.parseInvariant(d[0]);var b=j[c];if(C1.Web.UI.Utils.Common.testIsNull(b)){b=""}if(Date.isInstanceOfType(b)){if(d.length>1){i+=C1.Web.UI.Utils.StringUtils.dateFormat(b,d[1],g)}else{var a=C1.Web.UI.Utils.StringUtils.$0("d",g)+" "+C1.Web.UI.Utils.StringUtils.$0("T",g);i+=C1.Web.UI.Utils.StringUtils.dateFormat(b,a,g)}}else{i+=b.toString()}h=e+1}return i};C1.Web.UI.Utils.StringUtils.stringSplit=function(d,c,e){if(C1.Web.UI.Utils.Common.testIsNull(e)){return d.split(c)}var b=[];var a=d.split(c);for(var f=0;f<a.length;f++){if(f>=e){b[e-1]=b[e-1]+c+a[f]}else{b.push(a[f])}}return b};C1.Web.UI.Utils.StringUtils.zz=function(c,b){var a=c.toString();while(a.length<b){a="0"+a}return a};C1.Web.UI.Utils.UTFSupport=function(){};C1.Web.UI.Utils.UTFSupport.encodeString=function(c){for(var b=0;b<C1.Web.UI.Utils.UTFSupport.$0.length;b++){var a=new RegExp(C1.Web.UI.Utils.UTFSupport.$2[b],"g");c=c.replace(a,C1.Web.UI.Utils.UTFSupport.$1[b])}return c};C1.Web.UI.Utils.UTFSupport.decodeString=function(c){if(C1.Web.UI.Utils.Common.testIsNull(c)){return c}for(var b=0;b<C1.Web.UI.Utils.UTFSupport.$1.length;b++){var a=new RegExp("("+C1.Web.UI.Utils.UTFSupport.$1[b]+")","g");c=c.replace(a,C1.Web.UI.Utils.UTFSupport.$0[b])}return c};Type.registerNamespace("C1.Web.UI.SerializablePrimitives");C1.Web.UI.SerializablePrimitives.IC1ItemsOwner=function(){};C1.Web.UI.SerializablePrimitives.IC1ItemsOwner.registerInterface("C1.Web.UI.SerializablePrimitives.IC1ItemsOwner");C1.Web.UI.SerializablePrimitives.C1Item=function(a){this.$8=-1;C1.Web.UI.SerializablePrimitives.C1Item.initializeBase(this,[a]);this._items=new C1.Web.UI.SerializablePrimitives.C1ItemsCollection(this)};C1.Web.UI.SerializablePrimitives.C1Item.prototype={$7:false,dispose:function(){C1.Web.UI.SerializablePrimitives.C1Item.callBaseMethod(this,"dispose")},initialize:function(){C1.Web.UI.SerializablePrimitives.C1Item.callBaseMethod(this,"initialize")},initializeItems:function(){if(this.$7){return}this.$7=true;var b=this._propertiesState.Items;var a=this.get_items();if(b){for(var f=0;f<b.length;f++){var e=b[f];var d=$get(e.ClientID);if(d){var c=this.createInstance(d);c.assignPropertiesState(e);a.add(c);c.initialize()}else{throw Error.create("(CE101003)Child UIElement with Client ID "+e.ClientID+" can not be initialized. DOMElement not found.")}}}},get_index:function(){return this.$8},set_index:function(a){this.$8=a;return a},calculateCurrentLevel:function(){if(this._owner&&C1.Web.UI.SerializablePrimitives.C1Item.isInstanceOfType(this._owner)){return(this._owner).calculateCurrentLevel()+1}else{return 0}},$9:function(a){this._owner=a},_items:null,_owner:null,get_items:function(){this.initializeItems();return this._items},get_owner:function(){return this._owner},createInstance:function(a){return new C1.Web.UI.SerializablePrimitives.C1Item(a)}};C1.Web.UI.SerializablePrimitives.C1ItemsCollection=function(a){this.list=[];this.$0=a};C1.Web.UI.SerializablePrimitives.C1ItemsCollection.prototype={get_owner:function(){return this.$0},get_last:function(){return(this.get_count()>0)?this.get_item(this.get_count()-1):null},get_count:function(){return this.list.length},onListChanged:function(){},add:function(b){var a=this.get_count();this.insert(a,b);return a},insert:function(a,b){if(b){b.$9(this.$0);b.$8=a}this.list.splice(a,0,b);this.onListChanged()},removeAt:function(a){(this.list[a]).$9(null);this.list.splice(a,1);this.onListChanged()},removeRange:function(b,c){for(var a=0;a<c;a++){this.removeAt(b)}},reverse:function(){this.list.reverse();this.onListChanged()},clear:function(){for(var a=0;a<this.list.length;a++){(this.list[a]).$9(null)}this.list=[];this.onListChanged()},contains:function(b){for(var a=0;a<this.list.length;a++){if((this.list[a]).UID===b.UID){return true}}return false},indexOf:function(b){for(var a=0;a<this.list.length;a++){if((this.list[a]).UID===b.UID){return a}}return -1},get_length:function(){return this.list.length},$0:null,$1:function(b){for(var a=0;a<this.get_count();a++){if(this.get_item(a).UID===b.UID){this.removeAt(a);break}}},get_item:function(a){return this.list[a]},set_item:function(b,c){var a=this.list[b];if(c!==a){if(a){a.$9(null)}this.list[b]=c;if(c){c.$9(this.$0)}this.onListChanged()}return c}};C1.Web.UI.FrameworkStringConstants.registerClass("C1.Web.UI.FrameworkStringConstants");C1.Web.UI.C1ClientResLoader.registerClass("C1.Web.UI.C1ClientResLoader");C1.Web.UI.UIElement.registerClass("C1.Web.UI.UIElement",null,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.C1RoundCornerPanel.registerClass("C1.Web.UI.C1RoundCornerPanel",C1.Web.UI.UIElement,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.C1ThemeableControlBase.registerClass("C1.Web.UI.C1ThemeableControlBase",Sys.UI.Control,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.C1ThemeHelper.registerClass("C1.Web.UI.C1ThemeHelper");C1.Web.UI.C1RoundedCornerPanelBase.registerClass("C1.Web.UI.C1RoundedCornerPanelBase",C1.Web.UI.UIElement,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.C1AjaxHelper.registerClass("C1.Web.UI.C1AjaxHelper");C1.Web.UI.ContentPanel.registerClass("C1.Web.UI.ContentPanel",C1.Web.UI.UIElement,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.DockPanel.registerClass("C1.Web.UI.DockPanel",C1.Web.UI.UIElement);C1.Web.UI.DOMScrollBehavior.registerClass("C1.Web.UI.DOMScrollBehavior");C1.Web.UI.DragDropEventArgs.registerClass("C1.Web.UI.DragDropEventArgs",Sys.EventArgs);C1.Web.UI.DragDrop.registerClass("C1.Web.UI.DragDrop",Sys.Component);C1.Web.UI.FlowPanel.registerClass("C1.Web.UI.FlowPanel",C1.Web.UI.UIElement);C1.Web.UI.PopupBehavior.registerClass("C1.Web.UI.PopupBehavior");C1.Web.UI.ScrollBehavior.registerClass("C1.Web.UI.ScrollBehavior",Sys.Component);C1.Web.UI.ScrollBehaviorSettings.registerClass("C1.Web.UI.ScrollBehaviorSettings",null,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.Timer.registerClass("C1.Web.UI.Timer",Sys.Component);C1.Web.UI.UIElementList.registerClass("C1.Web.UI.UIElementList");C1.Web.UI.Behavior.Animation.registerClass("C1.Web.UI.Behavior.Animation",Sys.UI.Behavior);C1.Web.UI.Behavior.AnimationCollection.registerClass("C1.Web.UI.Behavior.AnimationCollection");C1.Web.UI.Behavior.AnimationEffects.registerClass("C1.Web.UI.Behavior.AnimationEffects",Sys.UI.Behavior);C1.Web.UI.Behavior.AnimationManager.registerClass("C1.Web.UI.Behavior.AnimationManager");C1.Web.UI.Behavior.ResizeBehaviorHelperEventArgs.registerClass("C1.Web.UI.Behavior.ResizeBehaviorHelperEventArgs",Sys.EventArgs);C1.Web.UI.Behavior.ResizeBehavior.registerClass("C1.Web.UI.Behavior.ResizeBehavior",Sys.UI.Behavior);C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase.registerClass("C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase");C1.Web.UI.Behavior.SuperPanel.C1HScroller.registerClass("C1.Web.UI.Behavior.SuperPanel.C1HScroller",C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase);C1.Web.UI.Behavior.SuperPanel.C1VScroller.registerClass("C1.Web.UI.Behavior.SuperPanel.C1VScroller",C1.Web.UI.Behavior.SuperPanel.C1ScrollerBase);C1.Web.UI.Behavior.SuperPanel.SuperPanelBehaviorWrapper.registerClass("C1.Web.UI.Behavior.SuperPanel.SuperPanelBehaviorWrapper",Sys.UI.Behavior);C1.Web.UI.Behavior.SuperPanel.CssStyles.registerClass("C1.Web.UI.Behavior.SuperPanel.CssStyles");C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs.registerClass("C1.Web.UI.Behavior.SuperPanel.C1SuperPanelArgs",Sys.CancelEventArgs);C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior.registerClass("C1.Web.UI.Behavior.SuperPanel.C1SuperPanelBehavior",Sys.UI.Behavior);C1.Web.UI.Interfaces.JsonSerializableHelper.registerClass("C1.Web.UI.Interfaces.JsonSerializableHelper");C1.Web.UI.Utils.BrowserHistory.registerClass("C1.Web.UI.Utils.BrowserHistory");C1.Web.UI.Utils.C1VerticalLinkInfo.registerClass("C1.Web.UI.Utils.C1VerticalLinkInfo");C1.Web.UI.Utils.CallbackHelper.registerClass("C1.Web.UI.Utils.CallbackHelper");C1.Web.UI.Utils._RuntimeDebugStub.registerClass("C1.Web.UI.Utils._RuntimeDebugStub");C1.Web.UI.Utils.Common.registerClass("C1.Web.UI.Utils.Common");C1.Web.UI.Utils.Measurement.registerClass("C1.Web.UI.Utils.Measurement");C1.Web.UI.Utils.Size.registerClass("C1.Web.UI.Utils.Size");C1.Web.UI.Utils.Rectangle.registerClass("C1.Web.UI.Utils.Rectangle");C1.Web.UI.Utils.RawEvent.registerClass("C1.Web.UI.Utils.RawEvent");C1.Web.UI.Utils.AccessKeyHelper.registerClass("C1.Web.UI.Utils.AccessKeyHelper");C1.Web.UI.Utils.JSON.registerClass("C1.Web.UI.Utils.JSON");C1.Web.UI.Utils.RGBColor.registerClass("C1.Web.UI.Utils.RGBColor");C1.Web.UI.Utils.StringUtils.registerClass("C1.Web.UI.Utils.StringUtils");C1.Web.UI.Utils.UTFSupport.registerClass("C1.Web.UI.Utils.UTFSupport");C1.Web.UI.SerializablePrimitives.C1Item.registerClass("C1.Web.UI.SerializablePrimitives.C1Item",C1.Web.UI.UIElement,C1.Web.UI.SerializablePrimitives.IC1ItemsOwner,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.SerializablePrimitives.C1ItemsCollection.registerClass("C1.Web.UI.SerializablePrimitives.C1ItemsCollection");C1.Web.UI.FrameworkStringConstants.frameworK_ASSEMBLY_NAME="C1.Web.UI.2";C1.Web.UI.FrameworkStringConstants.frameworK_SCRIPT_RESOURCE_PATH="C1.Web.UI.Resources.C1.Web.UI.Client.js";C1.Web.UI.FrameworkStringConstants.frameworK_CSS_RESOURCE_PATH="C1.Web.UI.Resources.Framework.css";C1.Web.UI.C1AjaxHelper.$0=-1;C1.Web.UI.C1AjaxHelper.requestTimes={};C1.Web.UI.C1AjaxHelper.requestErrorsCount=0;C1.Web.UI.PopupBehavior.$0=0;C1.Web.UI.UIElement.all={};C1.Web.UI.UIElement.$0=0;C1.Web.UI.Behavior.Animation.$2_1F=0;C1.Web.UI.Behavior.Animation.$2_2A={posTop:true,posRight:true,posBottom:true,posLeft:true,posHeight:true,posWidth:true,length:true,parentRule:true};C1.Web.UI.Behavior.Animation.$2_2B={display:true,position:true,top:true,right:true,bottom:true,left:true};C1.Web.UI.Behavior.AnimationManager.$0=null;C1.Web.UI.Behavior.AnimationManager.$1=null;C1.Web.UI.Behavior.AnimationManager.$2=null;C1.Web.UI.Behavior.AnimationManager.$3=0;C1.Web.UI.Behavior.AnimationManager.$4=false;C1.Web.UI.Behavior.AnimationManager.$5=0;C1.Web.UI.Behavior.AnimationManager.$0=new C1.Web.UI.Behavior.AnimationCollection();C1.Web.UI.Behavior.AnimationManager.$1=new C1.Web.UI.Behavior.AnimationCollection();C1.Web.UI.Behavior.AnimationManager.$2=Function.createDelegate(null,C1.Web.UI.Behavior.AnimationManager.$6);C1.Web.UI.Behavior.AnimationManager.$5=1000;C1.Web.UI.Utils.BrowserHistory.$0=null;C1.Web.UI.Utils.BrowserHistory.$1=null;C1.Web.UI.Utils.BrowserHistory.$2=0;C1.Web.UI.Utils.BrowserHistory.$3=null;C1.Web.UI.Utils.BrowserHistory.$4=null;C1.Web.UI.Utils.Common.$0=new Array(0);C1.Web.UI.Utils.Common.$1=null;C1.Web.UI.Utils.Common.$2=null;C1.Web.UI.Utils.Common.$3=false;C1.Web.UI.Utils.Common.$4=false;C1.Web.UI.Utils.Common.$5=null;C1.Web.UI.Utils.Common.$6=null;C1.Web.UI.Utils.Common.$7=null;C1.Web.UI.Utils.Common.$8=null;C1.Web.UI.Utils.Common.$9=["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"];C1.Web.UI.Utils.Common.$A=["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"];C1.Web.UI.Utils.Common.$B=["paddingTop","paddingRight","paddingBottom","paddingLeft"];C1.Web.UI.Utils.Common.$C=["marginTop","marginRight","marginBottom","marginLeft"];C1.Web.UI.Utils.Common.borderThicknesses=null;var $0=(window)["Sys"];if(C1.Web.UI.Utils.Common.testIsNull($0.Debug)){$0.Debug=new C1.Web.UI.Utils._RuntimeDebugStub()}C1.Web.UI.Utils.AccessKeyHelper.$0=null;C1.Web.UI.Utils.AccessKeyHelper.$1=null;C1.Web.UI.Utils.AccessKeyHelper.$2=null;C1.Web.UI.Utils.AccessKeyHelper.$3=null;C1.Web.UI.Utils.UTFSupport.$0=["\n","\r",'"',"@","+","'","<",">","%","{","}"];C1.Web.UI.Utils.UTFSupport.$1=["!ESC!NN!","!ESC!RR!","!ESC!01!","!ESC!02!","!ESC!03!","!ESC!04!","!ESC!05!","!ESC!06!","!ESC!07!","!ESC!08!","!ESC!09!"];C1.Web.UI.Utils.UTFSupport.$2=["(\n)","(\r)",'(")',"(@)","(\\+)","(')","(\\<)","(\\>)","(%)","(\\{)","(\\})"];function C1__GetPixelFontSize(a){if(typeof(a)=="string"){a=document.getElementById(a)}if(!a||!a.tagName){return null}var c,b;if(typeof document.defaultView!="undefined"&&typeof document.defaultView.getComputedStyle!="undefined"){var b=document.defaultView.getComputedStyle(a,"");c=parseInt(b.getPropertyValue("font-size"),10)}else{b=a.currentStyle;if(b){var d=a.style.left;a.style.left="10em";c=Math.round(a.style.pixelLeft/10);a.style.left=d}}if(!isNaN(c)){return c}return null}if(!this.__JSONC1){__JSONC1={}}(function(){function f(n,k){n=n.toString();while(n.length<k){n="0"+n}return n}Date.prototype.c1ToJSON=function(key){return""+f(this.getFullYear(),4)+"-"+f(this.getMonth()+1,2)+"-"+f(this.getDate(),2)+"T"+f(this.getHours(),2)+":"+f(this.getMinutes(),2)+":"+f(this.getSeconds(),2)+":"+f(this.getMilliseconds(),3)+"Z"};if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=Date.prototype.c1ToJSON;String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.c1ToJSON==="function"){value=value.c1ToJSON(key)}else{if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof __JSONC1.stringify!=="function"){__JSONC1.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("json stringify")}return str("",{"":value})}}if(typeof __JSONC1.parse!=="function"){__JSONC1.parse=function(text,customReviver){var reviver=function(key,value){var a;if(typeof value==="string"){a=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?):(\d{3})Z$/.exec(value);if(a){var dt1=new Date(+a[1],+a[2]-1,+a[3],+a[4],+a[5],+a[6],+a[7]);dt1.setFullYear(+a[1]);return dt1}}if(customReviver&&typeof customReviver=="function"){return customReviver.call(this,key,value)}return value};if(window.JSON&&(typeof JSON.parse=="function")){return JSON.parse(text,reviver)}var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("json parse")}}})();Sys.Browser.WebKit={};if(navigator.userAgent.indexOf("WebKit/")>-1){Sys.Browser.agent=Sys.Browser.WebKit;Sys.Browser.version=parseFloat(navigator.userAgent.match(/WebKit\/(\d+(\.\d+)?)/)[1]);Sys.Browser.name="WebKit"};
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();