function getDimension(name, wantInner) {
    return function (element, propertyValue) {
        if (propertyValue === undefined) {
            return augmentDimension(element, name, wantInner) + "px";
        }
        setPropertyValue(element, name, parseFloat(propertyValue) - augmentDimension(element, name, wantInner) + "px");
    };
}
Get/set the inner/outer dimension.