function dxbxm(parentElement,id,dxbvb,lookAndFeel,dxbwe,dxbvf,dxbvk,dxbvh,dxbvu,dxbvo,text,enabled,dxbib,dxbwa,width,height){var dx81=null;var dxcb=null;var style=GetLookAndFeelStyleCollection().dxbvs(dxbvg(dxbvb),lookAndFeel);var fixedWidth=((style!=null)?style.fixedWidth:false)&&!width.IsEmpty();var fixedHeight=((style!=null)?style.fixedHeight:false)&&!height.IsEmpty();if(dxbwe){dxcb=document.createElement("TABLE");if(parentElement!=null)parentElement.appendChild(dxcb);dxcb.border=0;dxcb.cellSpacing=0;dxcb.cellPadding=0;if(dx81==null){dx81=dxcb;if(style!=null)style.dxbwc(dxcb,true);}
parentElement=dxcb;dxcb=document.createElement("TBODY");parentElement.appendChild(dxcb);dxcb.className="LFBtn";parentElement=dxcb;dxcb=document.createElement("TR");parentElement.appendChild(dxcb);parentElement=dxcb;}if(dxbvf!=null)dxcb=dxbvf;else dxcb=document.createElement("TD");if(parentElement!=null)parentElement.appendChild(dxcb);if(dx81==null){dx81=dxcb;if(style!=null)style.dxbwc(dxcb,dxbvf==null);}if(style!=null&&!fixedWidth&&!fixedHeight)style.dxbv2(dxcb,false);parentElement=dxcb;if(dx81!=null)dxbvl(dx81,id,dxbvb,lookAndFeel,style,dxbvh,dxbvu,dxbvo,enabled,dxbib,dxbwa,width,height);if(dxbvf==null)dxbv9(parentElement,style,dxbvk,dxbvh,text,width,height,fixedWidth,fixedHeight);return dx81;}
function dxbvl(dx81,id,dxbvb,lookAndFeel,style,dxbvh,dxbvu,dxbvo,enabled,dxbib,dxbwa,width,height){dx81.id=id;dx81.disabled=!enabled;dx81.title=dxbib;dx81.style.width=width.ToString();dx81.style.height=height.ToString();dx81.style.cursor="default";if(lookAndFeel!=null&&style!=null){var useHotTrackStyle=style.useHotTrackStyle;if(useHotTrackStyle==null)useHotTrackStyle=lookAndFeel.dxbws;var usePressedStyle=style.usePressedStyle;if(usePressedStyle==null)usePressedStyle=lookAndFeel.dxbww;var dxbv8=dxbxb(lookAndFeel);if(useHotTrackStyle||usePressedStyle){var dxbwz=useHotTrackStyle?dxbvb:"";dx81.onmouseover=new Function("OnLFBMouseOver(this, "+dxbv8+", "+dxbwh(style.useHotTrackStyle)+", \""+dxbwz+"\", \""+dxbvu+"\");");dx81.onmouseout=new Function("OnLFBMouseOut(this);");}if(usePressedStyle)dx81.onmousedown=new Function("OnLFBMouseDown(this, "+dxbv8+", "+dxbwh(style.usePressedStyle)+", \""+dxbvb+"\", \""+dxbvo+"\", 0);");}
dx81.onclick=dxbwa;}
function dxbv9(parentElement,style,dxbvk,dxbvh,text,width,height,fixedWidth,fixedHeight){if(fixedWidth||fixedHeight){var clientWidth=(style!=null)?style.dxbjy(width):width;var clientHeight=(style!=null)?style.dxbwv(height):height;dxcb=document.createElement("DIV");parentElement.appendChild(dxcb);if(ie){if(fixedWidth)dxcb.style.overflowX="hidden";if(fixedHeight)dxcb.style.overflowY="hidden";}else dxcb.style.overflow="hidden";if(clientWidth!=null)dxcb.style.width=clientWidth.ToString();if(clientHeight!=null)dxcb.style.height=clientHeight.ToString();parentElement=dxcb;dxcb=document.createElement("TABLE");parentElement.appendChild(dxcb);dxcb.border=0;dxcb.cellSpacing=0;dxcb.cellPadding=0;dxcb.style.width="100%";dxcb.style.height="100%";if(style!=null){style.dxbxe(dxcb,false);style.dxbwn(dxcb,false);}
parentElement=dxcb;dxcb=document.createElement("TBODY");parentElement.appendChild(dxcb);parentElement=dxcb;dxcb=document.createElement("TR");parentElement.appendChild(dxcb);parentElement=dxcb;dxcb=document.createElement("TD");parentElement.appendChild(dxcb);if(style!=null){style.dxbv2(dxcb,false);}
parentElement=dxcb;}if(dxbvk!=null){if(dxbvk.length>0){for(var i=0;i<dxbvk.length;i++)parentElement.appendChild(dxbvk[i]);}else{parentElement.appendChild(dxbvk);}}else{var endEllipsis=((style!=null)?style.endEllipsis:false)&&fixedWidth;if(text!=""&&endEllipsis){var clientWidth=(style!=null)?style.dxbjy(width):width;dxcb=document.createElement("SPAN");parentElement.appendChild(dxcb);if(clientWidth!=null)dxcb.style.width=clientWidth.ToString();dxcb.style.overflow="hidden";dxcb.style.textOverflow="ellipsis";parentElement=dxcb;}if(dxbvh!=""){dxcb=document.createElement("IMG");parentElement.appendChild(dxcb);dxcb.align="absmiddle";dxcb.src=dxbvh;dxcb.ondragstart=new Function("return OnDS(this)");}if(text!=""){dxcb=document.createTextNode(text);parentElement.appendChild(dxcb);}}}
function dxbxg(parentElement,id,dxbvb,lookAndFeel,dxbwe,dxbvf,dxbvk,dxbvh,dxbvu,dxbvo,text,enabled,dxbib,dxbwa,width,height){var dx81=dx77(parentElement);dxbvl(dx81,id,dxbvb,lookAndFeel,null,dxbvh,dxbvu,dxbvo,enabled,dxbib,dxbwa,width,height);if(dxbvh!=""){var img=dx7r(dx81,"IMG",0);if(img!=null)img.src=dxbvh;}if(text!=""){var style=GetLookAndFeelStyleCollection().dxbvs(dxbvg(dxbvb),lookAndFeel);var fixedWidth=((style!=null)?style.fixedWidth:false)&&!width.IsEmpty();var fixedHeight=((style!=null)?style.fixedHeight:false)&&!height.IsEmpty();if(fixedWidth)dx81=dx7r(dx81,"SPAN",0);else if(fixedHeight)dx81=dx7r(dx81,"TD",0);var dxbwr=dxbuy(dx81);if(dxbwr!=null&&dxbwr.tagName=="undefined")dxbwr.nodeValue=text;}}
function dxbv7(parentElement,width,height){var dx81=dx77(parentElement);var dxbvz=dx7r(parentElement,"DIV",0);var dxbwm=dx7r(parentElement,"SPAN",0);var dxbvt=ASPxStyle.dxbju(dx81);if(width!=null&&width.type=="px"){dxbjw(dx81,width.value);if(dxbvz!=null){var dxbvy=(dxbvt!=null)?dxbvt.dxbjy(width):width;dxbjw(dxbvz,dxbvy.value);if(dxbwm!=null)dxbjw(dxbwm,dxbvy.value);}}if(height!=null&&height.type=="px"){dxbwl(dx81,height.value);if(dxbvz!=null){var dxbwi=(dxbvt!=null)?dxbvt.dxbwv(height):height;dxbwl(dxbvz,dxbwi.value);}}}
function dxbw9(parentElement,dxbxa,dxbw5){var dx81=dx77(parentElement);var dxbxi=dxbh5(dx81);var dxbxh=dxbh1(dx81);var width=new ASPxClientUnit(dxbxi+dxbxa,"px");var height=new ASPxClientUnit(dxbxh+dxbw5,"px");dxbv7(parentElement,width,height);}
function dxbvj(){this.dxcb=null;this.style=null;this.imageUrl="";this.dxbvn=function(dxbvr){if(this.IsEmpty())return;var dxbw2=null;if(this.style!=null){dxbw2=this.style.dxbw4(this.dxcb);this.style.dxbw0(this.dxcb,false,false);}
var dxbwp="";var dxbs7=this.dxbs8();if(dxbs7!=null&&this.imageUrl!=""){dxbwp=dxbs7.src;dxbs7.src=this.imageUrl;}
this.dxbvv();if(dx6o(dxbvr))dxbvr.dxbvw(this.dxcb,dxbw2,dxbwp);}
this.dxbvv=function(){var dxbva=dx7o(this.dxcb,"LFBtnTextContainer");if(dxbva!=null&&dxbva.dxbwo){var paddingLeft=ASPxClientUnit.Parse(dxbva.style.paddingLeft).Inc(-1);var paddingTop=ASPxClientUnit.Parse(dxbva.style.paddingTop).Inc(-1);var paddingRight=ASPxClientUnit.Parse(dxbva.style.paddingRight).Inc(1);var paddingBottom=ASPxClientUnit.Parse(dxbva.style.paddingBottom).Inc(1);dxbva.style.paddingLeft=paddingLeft.ToString();dxbva.style.paddingTop=paddingTop.ToString();dxbva.style.paddingRight=paddingRight.ToString();dxbva.style.paddingBottom=paddingBottom.ToString();dxbva.dxbwo=false;}}
this.dxbs8=function(){return(this.dxcb!=null)?dx7r(this.dxcb,"IMG",0):null;}
this.Clear=function(){if(this.style!=null)ASPxStyle.dxbxo(this.style);this.dxcb=null;this.style=null;this.imageUrl="";}
this.dxbvw=function(dxcb,style,imageUrl){this.dxcb=dxcb;this.style=style;this.imageUrl=imageUrl;}
this.IsEmpty=function(){return this.dxcb==null;}}
var dxbwk=60;var dxbv6=400;function dxbvx(){this.inherit=dxbvj;this.inherit();this.dxeh=-1;this.dxbxd=0;this.dxbvd=0;this.dxbvv=function(){var dxbva=dx7o(this.dxcb,"LFBtnTextContainer");if(dxbva!=null){var paddingLeft=ASPxClientUnit.Parse(dxbva.style.paddingLeft).Inc(1);var paddingTop=ASPxClientUnit.Parse(dxbva.style.paddingTop).Inc(1);var paddingRight=ASPxClientUnit.Parse(dxbva.style.paddingRight).Inc(-1);var paddingBottom=ASPxClientUnit.Parse(dxbva.style.paddingBottom).Inc(-1);dxbva.style.paddingLeft=paddingLeft.ToString();dxbva.style.paddingTop=paddingTop.ToString();dxbva.style.paddingRight=paddingRight.ToString();dxbva.style.paddingBottom=paddingBottom.ToString();dxbva.dxbwo=true;}}
this.dxbw3=function(dxcb){this.dxcb=dxcb;this.dxbvd=dxbwk;this.dxeh=window.setTimeout(dxbwy,dxbv6);}
this.dxbxc=function(){if(this.dxbvd>0){this.dxbwj();this.dxbvd=0;}}
this.dxbw7=function(){if(this.dxcb!=null&&this.dxbvd>0)this.dxbw3(this.dxcb,this.dxbvd);}
this.dxbwj=function(){if(this.dxbvd>0){window.clearTimeout(this.dxeh);this.dxeh=-1;}}
this.dxbxn=function(){if(this.dxbvd>0){this.dxbxd++;this.dxcb.onclick();this.dxeh=window.setTimeout(dxbwy,this.dxbvd);}}}
var dxbu9=new Array();dxbu9["normal"]=new dxbvj();dxbu9["hottracked"]=new dxbvj();dxbu9["pressed"]=new dxbvx();function dxbwf(dxcb,lookAndFeel,dxbvb){var style=ASPxStyle.dxbm5();if(dx7o(dxcb,"LFSBtn")!=null){style.dxbos(GetLookAndFeelStyleCollection().dxbv3(dxbvg(dxbvb),lookAndFeel));style.dxbos(GetLookAndFeelStyleCollection().dxbwq(dxbvm(dxbvb),lookAndFeel));}else if(dx7o(dxcb,"LFSBBtn")!=null||dx7n(dxcb,"LFScrollBar")!=null){style.dxbos(GetLookAndFeelStyleCollection().dxbv4(dxbvg(dxbvb),lookAndFeel));style.dxbos(GetLookAndFeelStyleCollection().dxbwu(dxbvm(dxbvb),lookAndFeel));}else{style.dxbos(GetLookAndFeelStyleCollection().dxbvs(dxbvg(dxbvb),lookAndFeel));style.dxbos(GetLookAndFeelStyleCollection().dxbw6(dxbvm(dxbvb),lookAndFeel));}return style;}
function dxbwg(dxcb,lookAndFeel,dxbvb){var style=ASPxStyle.dxbm5();if(dx7o(dxcb,"LFSBtn")!=null){style.dxbos(GetLookAndFeelStyleCollection().dxbv3(dxbvg(dxbvb),lookAndFeel));style.dxbos(GetLookAndFeelStyleCollection().dxbwt(dxbvq(dxbvb),lookAndFeel));}else if(dx7o(dxcb,"LFSBBtn")!=null||dx7n(dxcb,"LFScrollBar")!=null){style.dxbos(GetLookAndFeelStyleCollection().dxbv4(dxbvg(dxbvb),lookAndFeel));style.dxbos(GetLookAndFeelStyleCollection().dxbwx(dxbvq(dxbvb),lookAndFeel));}else{style.dxbos(GetLookAndFeelStyleCollection().dxbvs(dxbvg(dxbvb),lookAndFeel));style.dxbos(GetLookAndFeelStyleCollection().dxbw8(dxbvq(dxbvb),lookAndFeel));}return style;}
function OnLFBMouseOver(dxcb,dxbv8,useHotTrackStyle,dxbvb,dxbvh){if(!dxbw1||!dxbxk)return false;if(!dxbu9["hottracked"].IsEmpty())return false;if(ie&&dx8h(dxcb,event.fromElement))return false;var lookAndFeel=dxbwb(dxbv8);if(lookAndFeel!=null){var style=ASPxStyle.dxbm5();if(useHotTrackStyle==null)useHotTrackStyle=lookAndFeel.dxbws;if(useHotTrackStyle){style.dxbos(dxbwf(dxcb,lookAndFeel,dxbvb));dxbu9["hottracked"].dxbvw(dxcb,style,dxbvh);}if(dxbu9["pressed"].IsEmpty()){var dxbvr=dxbu9["normal"].IsEmpty()?dxbu9["normal"]:null;dxbu9["hottracked"].dxbvn(dxbvr);}else if(!ie||dx8h(dxbu9["pressed"].dxcb,dx75(event))){dxbu9["pressed"].dxbvn(null);dxbu9["pressed"].dxbw7();}}return true;}
function OnLFBMouseOut(dxcb){if(ie&&dx8h(dxcb,event.toElement))return false;dxbu9["normal"].dxbvn();if(dxbu9["pressed"].IsEmpty())dxbu9["normal"].Clear();else dxbu9["pressed"].dxbwj();dxbu9["hottracked"].Clear();return true;}
function OnLFBMouseDown(dxcb,dxbv8,usePressedStyle,dxbvb,dxbvh,dxbxf){if(!dxbw1||!dxbxl)return false;if(ie&&!dxbv0(event))return false;var lookAndFeel=dxbwb(dxbv8);if(lookAndFeel!=null){var style=ASPxStyle.dxbm5();if(usePressedStyle==null)usePressedStyle=lookAndFeel.dxbww;if(usePressedStyle){style.dxbos(dxbwg(dxcb,lookAndFeel,dxbvb));dxbu9["pressed"].dxbvw(dxcb,style,dxbvh);}
var dxbvr=dxbu9["normal"].IsEmpty()?dxbu9["normal"]:null;dxbu9["pressed"].dxbvn(dxbvr);}if(dxbxf)dxbu9["pressed"].dxbw3(dxcb);return true;}
function dx9f(e){if(dxbu9["pressed"].IsEmpty())return false;var dxbxj=dx8h(dxbu9["pressed"].dxcb,dx75(e));dxbu9["pressed"].dxbxc();dxbu9["pressed"].Clear();if(!dxbu9["hottracked"].IsEmpty()&&dxbxj)dxbu9["hottracked"].dxbvn();else{dxbu9["hottracked"].Clear();dxbu9["normal"].dxbvn();dxbu9["normal"].Clear();}}
function dxbwy(){if(!dxbu9["pressed"].IsEmpty())dxbu9["pressed"].dxbxn();}
var dxbve=null;function dxbv5(e){var evt=dx50(e);if(!dxbu9["pressed"].IsEmpty()&&!dxbv0(evt))dx9f(e);if(!dxbu9["hottracked"].IsEmpty()&&dxbu9["hottracked"].dxcb.disabled)OnLFBMouseOut(dxbu9["hottracked"].dxcb);if(dx6o(dxbve))return dxbve(e);return true;}
var dxbvc=null;function dxbwd(e){dx9f(e);if(dx6o(dxbvc))return dxbvc(e);return true;}
var dxbvc=null;function dxbv1(e){var dxcb=dx75(e);if(dx7n(dxcb,"LFSBtn")!=null)return false;if(dx7n(dxcb,"LFSBBtn")!=null)return false;if(dx7n(dxcb,"LFBtn")!=null)return false;else if(dx6o(dxbvi))return dxbvi(e);return true;}
var dxbvp=window.onload;window.onload=function(e){dxbve=window.document.onmousemove;window.document.onmousemove=dxbv5;dxbvc=window.document.onmouseup;window.document.onmouseup=dxbwd;dxbvi=window.document.onselectstart;window.document.onselectstart=dxbv1;if(dx6o(dxbvp))return dxbvp(e);return true;} 