var $AdfDhtmlSpacerPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlSpacerPeer");
$goog$exportSymbol$$("AdfDhtmlSpacerPeer", $AdfDhtmlSpacerPeer$$);
$AdfDhtmlSpacerPeer$$.$InitSubclass$ = function $$AdfDhtmlSpacerPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichSpacer.WIDTH, AdfRichSpacer.HEIGHT)
};
$goog$exportSymbol$$("AdfDhtmlSpacerPeer.InitSubclass", $AdfDhtmlSpacerPeer$$.$InitSubclass$);
$AdfDhtmlSpacerPeer$$.prototype.$ComponentWidthChanged$ = function $$AdfDhtmlSpacerPeer$$$$$ComponentWidthChanged$$($component$$1606_width$$36$$, $div$$10_domElement$$468$$, $newValue$$137$$) {
  $newValue$$137$$ && ($component$$1606_width$$36$$ = $AdfDhtmlSpacerPeer$$.$_getLengthInt$($newValue$$137$$), $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? $div$$10_domElement$$468$$.width = $component$$1606_width$$36$$ : "IMG" == $div$$10_domElement$$468$$.nodeName ? $div$$10_domElement$$468$$.width = $component$$1606_width$$36$$ : ($div$$10_domElement$$468$$ = $div$$10_domElement$$468$$.firstChild, $div$$10_domElement$$468$$ || ($div$$10_domElement$$468$$ = this.$getDomDocument$().createElement("div"), 
  domNode.appendChild($div$$10_domElement$$468$$)), $div$$10_domElement$$468$$.style.paddingLeft = $component$$1606_width$$36$$ + "px"))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSpacerPeer.prototype.ComponentWidthChanged", {$ComponentWidthChanged$:$AdfDhtmlSpacerPeer$$.prototype.$ComponentWidthChanged$});
$AdfDhtmlSpacerPeer$$.prototype.$ComponentHeightChanged$ = function $$AdfDhtmlSpacerPeer$$$$$ComponentHeightChanged$$($component$$1607_height$$41$$, $div$$11_domElement$$469$$, $newValue$$138$$) {
  $newValue$$138$$ && ($component$$1607_height$$41$$ = $AdfDhtmlSpacerPeer$$.$_getLengthInt$($newValue$$138$$), $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? $div$$11_domElement$$469$$.height = $component$$1607_height$$41$$ : "IMG" == $div$$11_domElement$$469$$.nodeName ? $div$$11_domElement$$469$$.height = $component$$1607_height$$41$$ : ($div$$11_domElement$$469$$ = $div$$11_domElement$$469$$.firstChild, $div$$11_domElement$$469$$ || ($div$$11_domElement$$469$$ = this.$getDomDocument$().createElement("div"), 
  domNode.appendChild($div$$11_domElement$$469$$)), $div$$11_domElement$$469$$.style.paddingTop = $component$$1607_height$$41$$ + "px"))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSpacerPeer.prototype.ComponentHeightChanged", {$ComponentHeightChanged$:$AdfDhtmlSpacerPeer$$.prototype.$ComponentHeightChanged$});
$AdfDhtmlSpacerPeer$$.$_getLengthInt$ = function $$AdfDhtmlSpacerPeer$$$$_getLengthInt$$($propInt_value$$192$$) {
  var $propStr$$ = $propInt_value$$192$$;
  0 < $propInt_value$$192$$.toLowerCase().indexOf("px") && ($propStr$$ = $propInt_value$$192$$.replace(/^\s*([\+\-]?\d+)\s*px\s*.*/i, "$1"));
  $propInt_value$$192$$ = 1;
  $propStr$$ && ($propInt_value$$192$$ = 1 * $propStr$$);
  0 > $propInt_value$$192$$ && ($propInt_value$$192$$ = 0);
  return $propInt_value$$192$$
};
