I have an object structure/hierarchy like the one below: 

```

var obj = {

    dimensions : {

        x : 100,
        y : 100,
        w : 300,
        h : 400,
        cmp : function () {

            return this.x + this.y;

        }

    },

    definition : {

        base : {

            rect1 : {

              // how do I get the value of dimensions.x ??
              // or, for that matter, is there a way I could call dimensions.cmp()?

            },

            rect2 : {
                // things go here
            }

        }

    }

};

```

My question is: Is to possible to get the value of dimensions.x from within the dimensions.definition.rect1 function?