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$$2157_width$$37$$, $div$$10_domElement$$537$$, $newValue$$161$$) {
  $newValue$$161$$ && ($component$$2157_width$$37$$ = $AdfDhtmlSpacerPeer$$.$_getLengthInt$($newValue$$161$$), $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? $div$$10_domElement$$537$$.width = $component$$2157_width$$37$$ : "IMG" == $div$$10_domElement$$537$$.nodeName ? $div$$10_domElement$$537$$.width = $component$$2157_width$$37$$ : ($div$$10_domElement$$537$$ = $div$$10_domElement$$537$$.firstChild, $div$$10_domElement$$537$$ || ($div$$10_domElement$$537$$ = this.$getDomDocument$().createElement("div"), 
  domNode.appendChild($div$$10_domElement$$537$$)), $div$$10_domElement$$537$$.style.paddingLeft = $component$$2157_width$$37$$ + "px"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSpacerPeer.prototype.ComponentWidthChanged", {$ComponentWidthChanged$:$AdfDhtmlSpacerPeer$$.prototype.$ComponentWidthChanged$});
$AdfDhtmlSpacerPeer$$.prototype.$ComponentHeightChanged$ = function $$AdfDhtmlSpacerPeer$$$$$ComponentHeightChanged$$($component$$2158_height$$45$$, $div$$11_domElement$$538$$, $newValue$$162$$) {
  $newValue$$162$$ && ($component$$2158_height$$45$$ = $AdfDhtmlSpacerPeer$$.$_getLengthInt$($newValue$$162$$), $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? $div$$11_domElement$$538$$.height = $component$$2158_height$$45$$ : "IMG" == $div$$11_domElement$$538$$.nodeName ? $div$$11_domElement$$538$$.height = $component$$2158_height$$45$$ : ($div$$11_domElement$$538$$ = $div$$11_domElement$$538$$.firstChild, $div$$11_domElement$$538$$ || ($div$$11_domElement$$538$$ = this.$getDomDocument$().createElement("div"), 
  domNode.appendChild($div$$11_domElement$$538$$)), $div$$11_domElement$$538$$.style.paddingTop = $component$$2158_height$$45$$ + "px"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSpacerPeer.prototype.ComponentHeightChanged", {$ComponentHeightChanged$:$AdfDhtmlSpacerPeer$$.prototype.$ComponentHeightChanged$});
$AdfDhtmlSpacerPeer$$.$_getLengthInt$ = function $$AdfDhtmlSpacerPeer$$$$_getLengthInt$$($propInt_value$$264$$) {
  var $propStr$$ = $propInt_value$$264$$;
  0 < $propInt_value$$264$$.toLowerCase().indexOf("px") && ($propStr$$ = $propInt_value$$264$$.replace(/^\s*([\+\-]?\d+)\s*px\s*.*/i, "$1"));
  $propInt_value$$264$$ = 1;
  $propStr$$ && ($propInt_value$$264$$ = 1 * $propStr$$);
  0 > $propInt_value$$264$$ && ($propInt_value$$264$$ = 0);
  return $propInt_value$$264$$;
};
