function dx51(parentElement,id,dx3o,lookAndFeel,dx4r,dx3s,dx3y,dx3u,dx37,dx30,text,enabled,dxqf,dx4n,width,height){var dxgq=null;var dxbw=null;var style=GetLookAndFeelStyleCollection().dx35(dx3t(dx3o),lookAndFeel);var fixedWidth=((style!=null)?style.fixedWidth:false)&&!width.IsEmpty();var fixedHeight=((style!=null)?style.fixedHeight:false)&&!height.IsEmpty();if(dx4r){dxbw=document.createElement("TABLE");if(parentElement!=null)parentElement.appendChild(dxbw);dxbw.border=0;dxbw.cellSpacing=0;dxbw.cellPadding=0;if(dxgq==null){dxgq=dxbw;if(style!=null)style.dx4p(dxbw,true);}
parentElement=dxbw;dxbw=document.createElement("TBODY");parentElement.appendChild(dxbw);dxbw.className="LFBtn";parentElement=dxbw;dxbw=document.createElement("TR");parentElement.appendChild(dxbw);parentElement=dxbw;}if(dx3s!=null)dxbw=dx3s;else dxbw=document.createElement("TD");if(parentElement!=null)parentElement.appendChild(dxbw);if(dxgq==null){dxgq=dxbw;if(style!=null)style.dx4p(dxbw,dx3s==null);}if(style!=null&&!fixedWidth&&!fixedHeight)style.dx4e(dxbw,false);parentElement=dxbw;if(dxgq!=null)dx3x(dxgq,id,dx3o,lookAndFeel,style,dx3u,dx37,dx30,enabled,dxqf,dx4n,width,height);if(dx3s==null)dx4m(parentElement,style,dx3y,dx3u,text,width,height,fixedWidth,fixedHeight);return dxgq;}
function dx3x(dxgq,id,dx3o,lookAndFeel,style,dx3u,dx37,dx30,enabled,dxqf,dx4n,width,height){dxgq.id=id;dxgq.disabled=!enabled;dxgq.title=dxqf;dxgq.style.width=width.ToString();dxgq.style.height=height.ToString();dxgq.style.cursor="default";if(lookAndFeel!=null&&style!=null){var useHotTrackStyle=style.useHotTrackStyle;if(useHotTrackStyle==null)useHotTrackStyle=lookAndFeel.dx46;var usePressedStyle=style.usePressedStyle;if(usePressedStyle==null)usePressedStyle=lookAndFeel.dx5b;var dx4l=dx5r(lookAndFeel);if(useHotTrackStyle||usePressedStyle){var dx5d=useHotTrackStyle?dx3o:"";dxgq.onmouseover=new Function("OnLFBMouseOver(this, "+dx4l+", "+dx4u(style.useHotTrackStyle)+", \""+dx5d+"\", \""+dx37+"\");");dxgq.onmouseout=new Function("OnLFBMouseOut(this);");}if(usePressedStyle)dxgq.onmousedown=new Function("OnLFBMouseDown(this, "+dx4l+", "+dx4u(style.usePressedStyle)+", \""+dx3o+"\", \""+dx30+"\", 0);");}
dxgq.onclick=dx4n;}
function dx4m(parentElement,style,dx3y,dx3u,text,width,height,fixedWidth,fixedHeight){if(fixedWidth||fixedHeight){var clientWidth=(style!=null)?style.dxr2(width):width;var clientHeight=(style!=null)?style.dx49(height):height;dxbw=document.createElement("DIV");parentElement.appendChild(dxbw);if(ie){if(fixedWidth)dxbw.style.overflowX="hidden";if(fixedHeight)dxbw.style.overflowY="hidden";}else dxbw.style.overflow="hidden";if(clientWidth!=null)dxbw.style.width=clientWidth.ToString();if(clientHeight!=null)dxbw.style.height=clientHeight.ToString();parentElement=dxbw;dxbw=document.createElement("TABLE");parentElement.appendChild(dxbw);dxbw.border=0;dxbw.cellSpacing=0;dxbw.cellPadding=0;dxbw.style.width="100%";dxbw.style.height="100%";if(style!=null){style.dx5s(dxbw,false);style.dx40(dxbw,false);}
parentElement=dxbw;dxbw=document.createElement("TBODY");parentElement.appendChild(dxbw);parentElement=dxbw;dxbw=document.createElement("TR");parentElement.appendChild(dxbw);parentElement=dxbw;dxbw=document.createElement("TD");parentElement.appendChild(dxbw);if(style!=null){style.dx4e(dxbw,false);}
parentElement=dxbw;}if(dx3y!=null){if(dx3y.length>0){for(var i=0;i<dx3y.length;i++)parentElement.appendChild(dx3y[i]);}else{parentElement.appendChild(dx3y);}}else{var endEllipsis=((style!=null)?style.endEllipsis:false)&&fixedWidth;if(text!=""&&endEllipsis){var clientWidth=(style!=null)?style.dxr2(width):width;dxbw=document.createElement("SPAN");parentElement.appendChild(dxbw);if(clientWidth!=null)dxbw.style.width=clientWidth.ToString();dxbw.style.overflow="hidden";dxbw.style.textOverflow="ellipsis";parentElement=dxbw;}if(dx3u!=""){dxbw=document.createElement("IMG");parentElement.appendChild(dxbw);dxbw.align="absmiddle";dxbw.src=dx3u;dxbw.ondragstart=new Function("return OnDS(this)");}if(text!=""){dxbw=document.createTextNode(text);parentElement.appendChild(dxbw);}}}
function dx5t(parentElement,id,dx3o,lookAndFeel,dx4r,dx3s,dx3y,dx3u,dx37,dx30,text,enabled,dxqf,dx4n,width,height){var dxgq=dxfv(parentElement);dx3x(dxgq,id,dx3o,lookAndFeel,null,dx3u,dx37,dx30,enabled,dxqf,dx4n,width,height);if(dx3u!=""){var img=dxfe(dxgq,"IMG",0);if(img!=null)img.src=dx3u;}if(text!=""){var style=GetLookAndFeelStyleCollection().dx35(dx3t(dx3o),lookAndFeel);var fixedWidth=((style!=null)?style.fixedWidth:false)&&!width.IsEmpty();var fixedHeight=((style!=null)?style.fixedHeight:false)&&!height.IsEmpty();if(fixedWidth)dxgq=dxfe(dxgq,"SPAN",0);else if(fixedHeight)dxgq=dxfe(dxgq,"TD",0);var dx45=dx3a(dxgq);if(dx45!=null&&dx45.tagName=="undefined")dx45.nodeValue=text;}}
function dx4k(parentElement,width,height){var dxgq=dxfv(parentElement);var dx4c=dxfe(parentElement,"DIV",0);var dx41=dxfe(parentElement,"SPAN",0);var dx36=ASPxStyle.dxrw(dxgq);if(width!=null&&width.type=="px"){dxry(dxgq,width.value);if(dx4c!=null){var dx4b=(dx36!=null)?dx36.dxr2(width):width;dxry(dx4c,dx4b.value);if(dx41!=null)dxry(dx41,dx4b.value);}}if(height!=null&&height.type=="px"){dx4z(dxgq,height.value);if(dx4c!=null){var dx4w=(dx36!=null)?dx36.dx49(height):height;dx4z(dx4c,dx4w.value);}}}
function dx5m(parentElement,dx5p,dx5l){var dxgq=dxfv(parentElement);var dx5w=dxp6(dxgq);var dx5u=dxp1(dxgq);var width=new ASPxClientUnit(dx5w+dx5p,"px");var height=new ASPxClientUnit(dx5u+dx5l,"px");dx4k(parentElement,width,height);}
function dx3w(){this.dxbw=null;this.style=null;this.imageUrl="";this.dx3z=function(dx34){if(this.IsEmpty())return;var dx5g=null;if(this.style!=null){dx5g=this.style.dx5i(this.dxbw);this.style.dx5e(this.dxbw,false,false);}
var dx43="";var dx1f=this.dx1g();if(dx1f!=null&&this.imageUrl!=""){dx43=dx1f.src;dx1f.src=this.imageUrl;}
this.dx38();if(dxd7(dx34))dx34.dx39(this.dxbw,dx5g,dx43);}
this.dx38=function(){var dx3m=dxe9(this.dxbw,"LFBtnTextContainer");if(dx3m!=null&&dx3m.dx42){var paddingLeft=ASPxClientUnit.Parse(dx3m.style.paddingLeft).Inc(-1);var paddingTop=ASPxClientUnit.Parse(dx3m.style.paddingTop).Inc(-1);var paddingRight=ASPxClientUnit.Parse(dx3m.style.paddingRight).Inc(1);var paddingBottom=ASPxClientUnit.Parse(dx3m.style.paddingBottom).Inc(1);dx3m.style.paddingLeft=paddingLeft.ToString();dx3m.style.paddingTop=paddingTop.ToString();dx3m.style.paddingRight=paddingRight.ToString();dx3m.style.paddingBottom=paddingBottom.ToString();dx3m.dx42=false;}}
this.dx1g=function(){return(this.dxbw!=null)?dxfe(this.dxbw,"IMG",0):null;}
this.Clear=function(){if(this.style!=null)ASPxStyle.dx52(this.style);this.dxbw=null;this.style=null;this.imageUrl="";}
this.dx39=function(dxbw,style,imageUrl){this.dxbw=dxbw;this.style=style;this.imageUrl=imageUrl;}
this.IsEmpty=function(){return this.dxbw==null;}}
var dx4y=60;var dx4i=400;function dx4a(){this.inherit=dx3w;this.inherit();this.dx4x=-1;this.dx5o=0;this.dx3q=0;this.dx38=function(){var dx3m=dxe9(this.dxbw,"LFBtnTextContainer");if(dx3m!=null){var paddingLeft=ASPxClientUnit.Parse(dx3m.style.paddingLeft).Inc(1);var paddingTop=ASPxClientUnit.Parse(dx3m.style.paddingTop).Inc(1);var paddingRight=ASPxClientUnit.Parse(dx3m.style.paddingRight).Inc(-1);var paddingBottom=ASPxClientUnit.Parse(dx3m.style.paddingBottom).Inc(-1);dx3m.style.paddingLeft=paddingLeft.ToString();dx3m.style.paddingTop=paddingTop.ToString();dx3m.style.paddingRight=paddingRight.ToString();dx3m.style.paddingBottom=paddingBottom.ToString();dx3m.dx42=true;}}
this.dx5h=function(dxbw){this.dxbw=dxbw;this.dx3q=dx4y;this.dx4x=window.setTimeout(dx5a,dx4i);}
this.dx5q=function(){if(this.dx3q>0){this.dx4v();this.dx3q=0;}}
this.dx5k=function(){if(this.dxbw!=null&&this.dx3q>0)this.dx5h(this.dxbw,this.dx3q);}
this.dx4v=function(){if(this.dx3q>0){window.clearTimeout(this.dx4x);this.dx4x=-1;}}
this.dx5z=function(){if(this.dx3q>0){this.dx5o++;this.dxbw.onclick();this.dx4x=window.setTimeout(dx5a,this.dx3q);}}}
var dx3n=new Array();dx3n["normal"]=new dx3w();dx3n["hottracked"]=new dx3w();dx3n["pressed"]=new dx4a();function dx4s(dxbw,lookAndFeel,dx3o){var style=ASPxStyle.dxwd();if(dxe9(dxbw,"LFSBtn")!=null){style.dxw0(GetLookAndFeelStyleCollection().dx4g(dx3t(dx3o),lookAndFeel));style.dxw0(GetLookAndFeelStyleCollection().dx44(dx31(dx3o),lookAndFeel));}else if(dxe9(dxbw,"LFSBBtn")!=null||dxe4(dxbw,"LFScrollBar")!=null){style.dxw0(GetLookAndFeelStyleCollection().dx4h(dx3t(dx3o),lookAndFeel));style.dxw0(GetLookAndFeelStyleCollection().dx47(dx31(dx3o),lookAndFeel));}else{style.dxw0(GetLookAndFeelStyleCollection().dx35(dx3t(dx3o),lookAndFeel));style.dxw0(GetLookAndFeelStyleCollection().dx5j(dx31(dx3o),lookAndFeel));}return style;}
function dx4t(dxbw,lookAndFeel,dx3o){var style=ASPxStyle.dxwd();if(dxe9(dxbw,"LFSBtn")!=null){style.dxw0(GetLookAndFeelStyleCollection().dx4g(dx3t(dx3o),lookAndFeel));style.dxw0(GetLookAndFeelStyleCollection().dx48(dx33(dx3o),lookAndFeel));}else if(dxe9(dxbw,"LFSBBtn")!=null||dxe4(dxbw,"LFScrollBar")!=null){style.dxw0(GetLookAndFeelStyleCollection().dx4h(dx3t(dx3o),lookAndFeel));style.dxw0(GetLookAndFeelStyleCollection().dx5c(dx33(dx3o),lookAndFeel));}else{style.dxw0(GetLookAndFeelStyleCollection().dx35(dx3t(dx3o),lookAndFeel));style.dxw0(GetLookAndFeelStyleCollection().dx5n(dx33(dx3o),lookAndFeel));}return style;}
function OnLFBMouseOver(dxbw,dx4l,useHotTrackStyle,dx3o,dx3u){if(!dx5f||!dx5y)return false;if(!dx3n["hottracked"].IsEmpty())return false;if(ie&&dxf3(dxbw,event.fromElement))return false;var lookAndFeel=dx4o(dx4l);if(lookAndFeel!=null){var style=ASPxStyle.dxwd();if(useHotTrackStyle==null)useHotTrackStyle=lookAndFeel.dx46;if(useHotTrackStyle){style.dxw0(dx4s(dxbw,lookAndFeel,dx3o));dx3n["hottracked"].dx39(dxbw,style,dx3u);}if(dx3n["pressed"].IsEmpty()){var dx34=dx3n["normal"].IsEmpty()?dx3n["normal"]:null;dx3n["hottracked"].dx3z(dx34);}else if(!ie||dxf3(dx3n["pressed"].dxbw,dxfr(event))){dx3n["pressed"].dx3z(null);dx3n["pressed"].dx5k();}}return true;}
function OnLFBMouseOut(dxbw){if(ie&&dxf3(dxbw,event.toElement))return false;dx3n["normal"].dx3z();if(dx3n["pressed"].IsEmpty())dx3n["normal"].Clear();else dx3n["pressed"].dx4v();dx3n["hottracked"].Clear();return true;}
function OnLFBMouseDown(dxbw,dx4l,usePressedStyle,dx3o,dx3u,dx5v){if(!dx5f||!dx50)return false;if(ie&&!dx4d(event))return false;var lookAndFeel=dx4o(dx4l);if(lookAndFeel!=null){var style=ASPxStyle.dxwd();if(usePressedStyle==null)usePressedStyle=lookAndFeel.dx5b;if(usePressedStyle){style.dxw0(dx4t(dxbw,lookAndFeel,dx3o));dx3n["pressed"].dx39(dxbw,style,dx3u);}
var dx34=dx3n["normal"].IsEmpty()?dx3n["normal"]:null;dx3n["pressed"].dx3z(dx34);}if(dx5v)dx3n["pressed"].dx5h(dxbw);return true;}
function dxg4(e){if(dx3n["pressed"].IsEmpty())return false;var dx5x=dxf3(dx3n["pressed"].dxbw,dxfr(e));dx3n["pressed"].dx5q();dx3n["pressed"].Clear();if(!dx3n["hottracked"].IsEmpty()&&dx5x)dx3n["hottracked"].dx3z();else{dx3n["hottracked"].Clear();dx3n["normal"].dx3z();dx3n["normal"].Clear();}}
function dx5a(){if(!dx3n["pressed"].IsEmpty())dx3n["pressed"].dx5z();}
var dx3r=null;function dx4j(e){var evt=dxdf(e);if(!dx3n["pressed"].IsEmpty()&&!dx4d(evt))dxg4(e);if(!dx3n["hottracked"].IsEmpty()&&dx3n["hottracked"].dxbw.disabled)OnLFBMouseOut(dx3n["hottracked"].dxbw);if(dxd7(dx3r))return dx3r(e);return true;}
var dx3p=null;function dx4q(e){dxg4(e);if(dxd7(dx3p))return dx3p(e);return true;}
var dx3p=null;function dx4f(e){var dxbw=dxfr(e);if(dxe4(dxbw,"LFSBtn")!=null)return false;if(dxe4(dxbw,"LFSBBtn")!=null)return false;if(dxe4(dxbw,"LFBtn")!=null)return false;else if(dxd7(dx3v))return dx3v(e);return true;}
var dx32=window.onload;window.onload=function(e){dx3r=window.document.onmousemove;window.document.onmousemove=dx4j;dx3p=window.document.onmouseup;window.document.onmouseup=dx4q;dx3v=window.document.onselectstart;window.document.onselectstart=dx4f;if(dxd7(dx32))return dx32(e);return true;} 