function getObject(objectParent, Depth) { return (Depth <= 1? objectParent["obj"]: getObject(objectParent["obj"], --Depth)); }