dxbig="borderColor";dxbhj=new Object();dxbhj["borderLeftColor"]=true;dxbhj["borderTopColor"]=true;dxbhj["borderRightColor"]=true;dxbhj["borderBottomColor"]=true;dxbii="borderStyle";dxbhk=new Object();dxbhk["borderLeftStyle"]=true;dxbhk["borderTopStyle"]=true;dxbhk["borderRightStyle"]=true;dxbhk["borderBottomStyle"]=true;dxbij="borderWidth";dxbhl=new Object();dxbhl["borderLeftWidth"]=true;dxbhl["borderTopWidth"]=true;dxbhl["borderRightWidth"]=true;dxbhl["borderBottomWidth"]=true;dxbiq="filter";dxbhq=new Object();dxbhq["color"]=true;dxbhq["fontFamily"]=true;dxbhq["fontWeight"]=true;dxbhq["fontStyle"]=true;dxbhq["fontSize"]=true;dxbhq["textDecoration"]=true;dxbhp=new Object();dxbhp["textAlign"]=true;dxbhp["verticalAlign"]=true;dxbhp["whiteSpace"]=true;function ASPxStyle(){this.dxbht=new Object();this.dxbht["all"]=ASPxStyle.dxbis;this.dxbht["style"]=ASPxStyle.dxbim;this.dxbht["font"]=ASPxStyle.dxbio;this.dxbht["table"]=ASPxStyle.dxbih;this.dxbht["filter"]=ASPxStyle.dxbh4;this.Initialize=ASPxStyle.Initialize;this.dxhq=ASPxStyle.dxhq;this.dxbhg=ASPxStyle.dxbhg;this.dxbh8=ASPxStyle.dxbh8;this.dxwx=ASPxStyle.dxwx;this.dx4p=ASPxStyle.dx4p;this.dx6c=ASPxStyle.dx6c;this.dx5s=ASPxStyle.dx5s;this.dx5e=ASPxStyle.dx5e;this.dx4e=ASPxStyle.dx4e;this.dx5i=ASPxStyle.dx5i;this.dx40=ASPxStyle.dx40;this.dxbiv=this.dxwx;this.dxw0=ASPxStyle.dxw0;this.dxbhv=ASPxStyle.dxbhv;this.dxbhu=ASPxStyle.dxbhu;this.dxbil=ASPxStyle.dxbil;this.AddAttributes=ASPxStyle.AddAttributes;this.dxbie=ASPxStyle.dxbie;this.dxbhm=ASPxStyle.dxbhm;this.dxbhn=ASPxStyle.dxbhn;this.dxbho=ASPxStyle.dxbho;this.dxbhs=ASPxStyle.dxbhs;this.dxbip=ASPxStyle.dxbip;this.dxbic=ASPxStyle.dxbic;this.dxbex=ASPxStyle.dxbex;this.dxbh2=ASPxStyle.dxbh2;this.dxbh1=ASPxStyle.dxbh1;this.dxbh3=ASPxStyle.dxbh3;this.dxbhx=ASPxStyle.dxbhx;this.dxbib=ASPxStyle.dxbib;this.dxr2=ASPxStyle.dxr2;this.dx49=ASPxStyle.dx49;}
ASPxStyle.Initialize=function(){this.attributes=new Object();this.cssClass="";this.endEllipsis=true;this.fixedWidth=false;this.fixedHeight=false;this.useHotTrackStyle=null;this.usePressedStyle=null;this.dxbhr=null;this.dxbhw=null;}
ASPxStyle.dxhq=function(){}
ASPxStyle.dxbhg=function(key,dxbw,dxbia,dxbir,dxbhh){var style=null;var dxbid=this.dxbht[key];if(dxbir){style=ASPxStyle.dxwd();for(var i in this.attributes)if(dxbid(i))style.attributes[i]=dxbw.style[i];if(dxbid("cssClass"))style.cssClass=dxbw.className;}if(dxbhh&&dxbia&&!dxhl)this.dxbh8(key,dxbw);else{if(dxbia){if(!dxhl)dxbw.style.cssText="";else{for(var dxbiu in dxbw.style){if(dxbiu!="length")dxbw.style[dxbiu]="";}}}for(var i in this.attributes)if(dxbid(i))dxbw.style[i]=this.attributes[i];}if(this.cssClass!=""&&dxbid("cssClass"))dxbw.className=this.cssClass;return style;}
ASPxStyle.dxbh8=function(key,dxbw){if(!dxd7(this.dxbhr))this.dxbhr=new Object();if(!dxd7(this.dxbhw))this.dxbhw=new Object();if(!dxd7(this.dxbhr[key])){this.dxbhr[key]=document.createElement("SPAN");this.dxbhg(key,this.dxbhr[key],false,false,false);this.dxbhw[key]=this.dxbhr[key].style.cssText;}if(dxd7(dxbw))dxbw.style.cssText=this.dxbhw[key];}
ASPxStyle.dxwx=function(dxbw,dxbhh){return this.dxbhg("all",dxbw,dxbhh,false,dxbhh);}
ASPxStyle.dx4p=function(dxbw,dxbhh){return this.dxbhg("style",dxbw,dxbhh,false,dxbhh);}
ASPxStyle.dx6c=function(dxbw,dxbhh){return this.dxbhg("filter",dxbw,dxbhh,false,dxbhh);}
ASPxStyle.dx5s=function(dxbw,dxbhh){return this.dxbhg("font",dxbw,dxbhh,false,dxbhh);}
ASPxStyle.dx4e=function(dxbw,dxbhh){return this.dxbhg("table",dxbw,dxbhh,false,dxbhh);}
ASPxStyle.dx5e=function(dxbw,dxbhh,dxbik){if(dxbik&&dxgw(dxbw,"TABLE")){this.dx5s(dxbw,dxbhh);if(this.cssClass!="")dxbw.className=this.cssClass;}for(var i=0;i<dxq9(dxbw).length;i++){this.dx5e(dxbit(dxbw,i),dxbhh,true);}}
ASPxStyle.dx5i=function(dxbw){return this.dxbhg("style",dxbw,false,true,false);}
ASPxStyle.dx40=function(dxbw,dxbhh){if(this.cssClass!=""){dxbw.className=this.cssClass;dxbw.style.borderStyle="none";dxbw.style.filter="";}}
ASPxStyle.dxbhv=function(style){if(style.cssClass!="")this.cssClass=style.cssClass;if(style.fixedWidth)this.fixedWidth=style.fixedWidth;if(style.fixedHeight)this.fixedHeight=style.fixedHeight;if(style.useHotTrackStyle!=null)this.useHotTrackStyle=style.useHotTrackStyle;if(style.usePressedStyle!=null)this.usePressedStyle=style.usePressedStyle;}
ASPxStyle.dxw0=function(style){this.dxbhs();this.dxbhv(style);this.dxbhu(style);for(var i in style.attributes)if(!ASPxStyle.dxbh4(i)){this.attributes[i]=style.attributes[i];if(ASPxStyle.dxbh7(i))this.dxbhm();if(ASPxStyle.dxbh5(i))this.dxbhn();if(ASPxStyle.dxbh6(i))this.dxbho();}}
ASPxStyle.dxbhu=function(style){this.dxbhs();for(var i in style.attributes)if(ASPxStyle.dxbh4(i)){var dxbh9=(this.attributes[i]!=null)?this.attributes[i]:"";if(dxbh9!=""&&style.attributes[i]!="")this.attributes[i]=dxbh9+" "+style.attributes[i];else if(style.attributes[i]!="")this.attributes[i]=style.attributes[i];}}
ASPxStyle.AddAttributes=function(attributes){this.dxbhs();for(var i=0;i<attributes.length;i++)if(dxd7(attributes[i][0])&&dxd7(attributes[i][1]))this.attributes[attributes[i][0]]=attributes[i][1];}
ASPxStyle.dxbil=function(dxbhf,value){this.dxbhs();this.attributes[dxbhf]=value;}
ASPxStyle.dxbie=function(dxbhf){this.dxbhs();dxbhi=this.attributes;this.attributes=new Object();for(var i in dxbhi){if(i!=dxbhf)this.attributes[i]=dxbhi[i];}}
ASPxStyle.dxbhm=function(){this.dxbhs();dxbhi=this.attributes;this.attributes=new Object();for(var i in dxbhi){if(!ASPxStyle.dxbhy(i))this.attributes[i]=dxbhi[i];}}
ASPxStyle.dxbhn=function(){this.dxbhs();dxbhi=this.attributes;this.attributes=new Object();for(var i in dxbhi){if(!ASPxStyle.dxbh0(i))this.attributes[i]=dxbhi[i];}}
ASPxStyle.dxbho=function(){this.dxbhs();dxbhi=this.attributes;this.attributes=new Object();for(var i in dxbhi){if(!ASPxStyle.dxbhz(i))this.attributes[i]=dxbhi[i];}}
ASPxStyle.dxbip=function(){this.cssClass="";this.fixedWidth=false;this.fixedHeight=false;this.useHotTrackStyle=null;this.usePressedStyle=null;for(var i in this.attributes)this.attributes[i]=null;}
ASPxStyle.dxbhs=function(){this.dxbhr=null;this.dxbhw=null;}
ASPxStyle.dxbic=function(){this.attributes["filter"]=null;}
ASPxStyle.dxbis=function(dxbhf){return true;}
ASPxStyle.dxbim=function(dxbhf){return!dxd7(dxbhp[dxbhf]);}
ASPxStyle.dxbio=function(dxbhf){return dxd7(dxbhq[dxbhf]);}
ASPxStyle.dxbih=function(dxbhf){return dxd7(dxbhp[dxbhf]);}
ASPxStyle.dxbh4=function(dxbhf){return(dxbhf==dxbiq)&&ie;}
ASPxStyle.dxbh7=function(dxbhf){return(dxbhf==dxbig);}
ASPxStyle.dxbh5=function(dxbhf){return(dxbhf==dxbii);}
ASPxStyle.dxbh6=function(dxbhf){return(dxbhf==dxbij);}
ASPxStyle.dxbhy=function(dxbhf){return dxd7(dxbhj[dxbhf]);}
ASPxStyle.dxbh0=function(dxbhf){return dxd7(dxbhk[dxbhf]);}
ASPxStyle.dxbhz=function(dxbhf){return dxd7(dxbhl[dxbhf]);}
ASPxStyle.dxbin=function(dxbhf){return ASPxStyle.dxbhy(dxbhf)||ASPxStyle.dxbh0(dxbhf)||ASPxStyle.dxbhz(dxbhf)||ASPxStyle.dxbh7(dxbhf)||ASPxStyle.dxbh5(dxbhf)||ASPxStyle.dxbh6(dxbhf);}
ASPxStyle.dxbex=function(){var ret=ASPxStyle.dxwd();ret.dxbhv(this);for(var i in this.attributes){if(!ASPxStyle.dxbin(i))ret.attributes[i]=this.attributes[i];}return ret;}
ASPxStyle.dxbh2=function(){if(dxd7(this.attributes["borderLeftWidth"]))return this.attributes["borderLeftWidth"];return this.attributes["borderWidth"];}
ASPxStyle.dxbh1=function(){if(dxd7(this.attributes["borderRightWidth"]))return this.attributes["borderRightWidth"];return this.attributes["borderWidth"];}
ASPxStyle.dxbh3=function(){if(dxd7(this.attributes["borderTopWidth"]))return this.attributes["borderTopWidth"];return this.attributes["borderWidth"];}
ASPxStyle.dxbhx=function(){if(dxd7(this.attributes["borderBottomWidth"]))return this.attributes["borderBottomWidth"];return this.attributes["borderWidth"];}
ASPxStyle.dxbib=function(){if(dxd7(this.attributes["textAlign"]))return this.attributes["textAlign"];return "";}
ASPxStyle.dxr2=function(width){var clientWidth=width;if(clientWidth!=null){var borderLeftWidth=ASPxClientUnit.Parse(this.dxbh2());var borderRightWidth=ASPxClientUnit.Parse(this.dxbh1());if(clientWidth.type=="px"&&borderLeftWidth!=null&&borderLeftWidth.type=="px"&&borderRightWidth!=null&&borderRightWidth.type=="px"){clientWidth=clientWidth.Sub(borderLeftWidth);clientWidth=clientWidth.Sub(borderRightWidth);}}return clientWidth;}
ASPxStyle.dx49=function(height){var clientHeight=height;if(clientHeight!=null){var borderTopWidth=ASPxClientUnit.Parse(this.dxbh3());var borderBottomWidth=ASPxClientUnit.Parse(this.dxbhx());if(clientHeight.type=="px"&&borderTopWidth!=null&&borderTopWidth.type=="px"&&borderBottomWidth!=null&&borderBottomWidth.type=="px"){clientHeight=clientHeight.Sub(borderTopWidth);clientHeight=clientHeight.Sub(borderBottomWidth);}}return clientHeight;}
ASPxStyle.dxrw=function(dxbw){var style=ASPxStyle.dxwd();for(var i in dxbw.style)style.attributes[i]=dxbw.style[i];style.cssClass=dxbw.className;return style;}
var dxbif=new Array();ASPxStyle.dxwd=function(){var style;if(dxbif.length>0)style=dxbif.pop();else style=new ASPxStyle();style.Initialize();return style;}
ASPxStyle.dx52=function(style){dxbif.push(style);}