var qv=M.U(M,"AdfDhtmlSpacerPeer");v("AdfDhtmlSpacerPeer",qv);qv.m=function(){M.hb(this,AdfRichSpacer.WIDTH,AdfRichSpacer.HEIGHT)};v("AdfDhtmlSpacerPeer.InitSubclass",qv.m);qv.prototype.AK=function(a,b,d){d&&(a=qv.wva(d),w.b.G()==w.aa?b.width=a:"IMG"==b.nodeName?b.width=a:(b=b.firstChild,b||(b=this.w().createElement("div"),domNode.appendChild(b)),b.style.paddingLeft=a+"px"))};z.a("AdfDhtmlSpacerPeer.prototype.ComponentWidthChanged",{AK:qv.prototype.AK});
qv.prototype.$ja=function(a,b,d){d&&(a=qv.wva(d),w.b.G()==w.aa?b.height=a:"IMG"==b.nodeName?b.height=a:(b=b.firstChild,b||(b=this.w().createElement("div"),domNode.appendChild(b)),b.style.paddingTop=a+"px"))};z.a("AdfDhtmlSpacerPeer.prototype.ComponentHeightChanged",{$ja:qv.prototype.$ja});qv.wva=function(a){var b=a;0<a.toLowerCase().indexOf("px")&&(b=a.replace(/^\s*([\+\-]?\d+)\s*px\s*.*/i,"$1"));a=1;b&&(a=1*b);0>a&&(a=0);return a};